diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml deleted file mode 100644 index b333032..0000000 --- a/B4A/Objects/AndroidManifest.xml +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/B4A/Objects/Mazapa_Reparto.apk b/B4A/Objects/Mazapa_Reparto.apk deleted file mode 100644 index 369a211..0000000 Binary files a/B4A/Objects/Mazapa_Reparto.apk and /dev/null differ 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/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/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 5caf8c2..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$color.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$color.class deleted file mode 100644 index 1591312..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 f0965e9..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 376deda..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 a408bd9..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 03cdab7..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 5cb2fae..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 f980f3b..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 a411acd..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 31ba7e8..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 4739a38..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 d9c3fd5..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 7786e1a..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$color.class b/B4A/Objects/bin/classes/androidx/core/R$color.class deleted file mode 100644 index 61e14c4..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 5381e6f..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 f178cab..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 b732ac1..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 6392e90..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 1c6312d..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 b2844a1..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 50fd52f..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 1f213ee..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 51de758..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 97ebd2a..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 b76b451..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$color.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$color.class deleted file mode 100644 index 1c15e5e..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 a3e1321..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 5b09a9c..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 8cee3b7..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 1de176b..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 cf0d014..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 b581b5d..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 4e517ff..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 d7da8aa..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 21ef9f4..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 76e8b9e..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 10aa42b..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$color.class b/B4A/Objects/bin/classes/androidx/fragment/R$color.class deleted file mode 100644 index 2e2795b..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 7b915a7..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 9f65d61..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 c0d3f8f..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 cd7e77c..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 3d9f895..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 b6cb9e3..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 47a416e..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 72d7487..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 3dc54db..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 df2aa0d..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 7f5d3e5..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$color.class b/B4A/Objects/bin/classes/androidx/media/R$color.class deleted file mode 100644 index 2e9f00a..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 796fc2f..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 751c8a7..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 b63a479..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 0691d4f..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 89ccda9..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 7d36c7a..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 5571bea..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 9902154..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 a00f195..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 e2f9193..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 f2a0d6d..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$color.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$color.class deleted file mode 100644 index 007f652..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 cb9ff25..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 0e25c2b..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 54ec117..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 c18a74b..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 a624b6f..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 5354292..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 0564dbb..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 33f7878..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 93c4afd..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 470179f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/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 1ee977e..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$color.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$color.class deleted file mode 100644 index 6732cf3..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 41d54cb..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 0789b2c..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 b8ffd60..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 bc9a0f2..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 a33d929..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 6983038..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 fb52b63..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 56d5c5f..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 630ca34..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 eca6403..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 661d945..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$color.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$color.class deleted file mode 100644 index c6106ea..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 644ec52..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 83b276c..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 3eaa3b7..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 356b97b..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 ec927c5..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 5a5228d..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 a10eae2..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 280898d..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 f955a81..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 508aded..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 069ba4c..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$color.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$color.class deleted file mode 100644 index ed42e9e..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 f1a89ef..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 741a88c..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 ca1c964..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 fd008b2..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 412692d..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 717ecda..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 ee69d1d..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 497ed03..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 c59a87d..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 b55675e..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 b59135e..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$color.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$color.class deleted file mode 100644 index edb9a6a..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 78b03d6..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 14b8ee2..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 0812b56..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 6c59867..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 cf8863e..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 39a532c..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 29001b0..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 8c93c18..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 379fdbc..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 6862157..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$anim.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$anim.class deleted file mode 100644 index c0f6b85..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$attr.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$attr.class deleted file mode 100644 index 92ce676..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$color.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$color.class deleted file mode 100644 index 6c36ba5..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$dimen.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$dimen.class deleted file mode 100644 index 574870f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$drawable.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$drawable.class deleted file mode 100644 index 1305f6c..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$id.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$id.class deleted file mode 100644 index c679877..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$integer.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$integer.class deleted file mode 100644 index a959cfa..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$layout.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$layout.class deleted file mode 100644 index 43bd1d3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$string.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$string.class deleted file mode 100644 index 7933f82..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$style.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$style.class deleted file mode 100644 index 9ce2f85..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$styleable.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$styleable.class deleted file mode 100644 index e889e0b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$xml.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$xml.class deleted file mode 100644 index d010aba..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R.class deleted file mode 100644 index 6efacc6..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class deleted file mode 100644 index 60efce1..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/animatedcounter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.class deleted file mode 100644 index 68eb1ac..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class deleted file mode 100644 index b16399d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/anotherprogressbar.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$1.class deleted file mode 100644 index 6095e11..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$2.class deleted file mode 100644 index 903e50f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.class deleted file mode 100644 index e763ad3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.class deleted file mode 100644 index 8748e81..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$_mnewversion.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$_mnewversion.class deleted file mode 100644 index 5920954..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$_mnewversion.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$appupdater_BR.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$appupdater_BR.class deleted file mode 100644 index 15e7bcc..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater$appupdater_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater.class deleted file mode 100644 index c5a4e08..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/appupdater.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class deleted file mode 100644 index 9c7867e..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbitset.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class deleted file mode 100644 index 29ffa66..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbreadcrumb.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class deleted file mode 100644 index 02a1257..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xbytesbuilder.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache$_b4xcacheitem.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache$_b4xcacheitem.class deleted file mode 100644 index ecd8e96..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache$_b4xcacheitem.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class deleted file mode 100644 index 05e8613..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcache.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class deleted file mode 100644 index 69eb56e..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcollections.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate$ResumableSub_Show.class deleted file mode 100644 index 9bb407d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate$_colorpickerpart.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate$_colorpickerpart.class deleted file mode 100644 index 0b9698d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate$_colorpickerpart.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class deleted file mode 100644 index a267139..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcolortemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.class deleted file mode 100644 index c56e705..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class deleted file mode 100644 index d8a9503..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcombobox.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class deleted file mode 100644 index 7293d34..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xcomparatorsort.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate$ResumableSub_Show.class deleted file mode 100644 index 6cff941..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class deleted file mode 100644 index eba32be..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdatetemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_Show.class deleted file mode 100644 index 70518d7..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowCustom.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowCustom.class deleted file mode 100644 index 2dc4213..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowCustom.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.class deleted file mode 100644 index f887f0b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class deleted file mode 100644 index 82b8fcc..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xdialog.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class deleted file mode 100644 index 0f25f8a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class deleted file mode 100644 index 8428036..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xfloattextfield.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter$_b4xformatdata.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter$_b4xformatdata.class deleted file mode 100644 index 84b2d33..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter$_b4xformatdata.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class deleted file mode 100644 index 3bb6f0c..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xformatter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class deleted file mode 100644 index 2e30358..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4ximageview.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate$ResumableSub_Show.class deleted file mode 100644 index 14a0c92..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class deleted file mode 100644 index 9c1e56c..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xinputtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate$ResumableSub_Show.class deleted file mode 100644 index ea690a3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class deleted file mode 100644 index f60f70b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlisttemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.class deleted file mode 100644 index 1acf71a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class deleted file mode 100644 index 7a6de96..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xloadingindicator.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class deleted file mode 100644 index b409133..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xlongtexttemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index d84efed..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 3551571..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class deleted file mode 100644 index e7ab4e9..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class deleted file mode 100644 index 1bd2d39..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class deleted file mode 100644 index 9c28508..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xmainpage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class deleted file mode 100644 index f7e1181..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xorderedmap.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class deleted file mode 100644 index 0f0fd13..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpages.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class deleted file mode 100644 index c079726..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesdelegator.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$PagesMenuListener.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$PagesMenuListener.class deleted file mode 100644 index e1a174b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$PagesMenuListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.class deleted file mode 100644 index 6e1084a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4amenuitem.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4amenuitem.class deleted file mode 100644 index 1932752..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4amenuitem.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageinfo.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageinfo.class deleted file mode 100644 index 2f00740..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageinfo.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageparent.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageparent.class deleted file mode 100644 index 2725a60..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageparent.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class deleted file mode 100644 index c67532b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xpagesmanager.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.class deleted file mode 100644 index 06dd714..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class deleted file mode 100644 index a246f48..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xplusminus.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.class deleted file mode 100644 index dfa0abf..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class deleted file mode 100644 index 3d34eb0..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xradiobutton.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate$ResumableSub_Show.class deleted file mode 100644 index 99435d0..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class deleted file mode 100644 index 43bc54a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsearchtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class deleted file mode 100644 index 34a9e4a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xseekbar.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xset.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xset.class deleted file mode 100644 index 31abe42..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xset.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class deleted file mode 100644 index 4be38c0..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xsignaturetemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.class deleted file mode 100644 index 6569f9f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class deleted file mode 100644 index b9e98ee..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xswitch.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate$ResumableSub_Show.class deleted file mode 100644 index 2bba924..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class deleted file mode 100644 index b842cc7..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/b4xtimedtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class deleted file mode 100644 index eb90ee9..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/batteryutilities.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index c1befa3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class deleted file mode 100644 index b234b71..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_buscar.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index 9d332d7..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 90d125f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class deleted file mode 100644 index 1245148..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class deleted file mode 100644 index 8b18d28..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cheklist.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index bc72464..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.class deleted file mode 100644 index f49959f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class deleted file mode 100644 index 1ace7ae..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_cliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index cbb9d46..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class deleted file mode 100644 index 8204dfc..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class deleted file mode 100644 index a4cfac1..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class deleted file mode 100644 index 47085fd..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class deleted file mode 100644 index 5ab2525..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.class deleted file mode 100644 index 65c6252..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class deleted file mode 100644 index d740872..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class deleted file mode 100644 index e36b034..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_clientes.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class deleted file mode 100644 index 0dcaef6..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalle_promo.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index cdc9e92..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class deleted file mode 100644 index 9cd0dd9..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_detalleventa.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index e272e4f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto.class deleted file mode 100644 index 9c129c6..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_foto.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 082a394..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico.class deleted file mode 100644 index 3f7305e..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_historico.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class deleted file mode 100644 index 73828ce..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_mapas.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.class deleted file mode 100644 index 0815597..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class deleted file mode 100644 index 382ea0b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_noventa.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class deleted file mode 100644 index fd3dcc0..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_nuevocliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class deleted file mode 100644 index a2a4a7a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_pedidos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index bde2835..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.class deleted file mode 100644 index 5b5a684..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal.class deleted file mode 100644 index ade619b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_principal.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index cec1f8e..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos.class deleted file mode 100644 index 696b467..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_productos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class deleted file mode 100644 index 88817d7..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_tabulador.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class deleted file mode 100644 index 2f2ef32..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_ticketsdia.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index fc72ea3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class deleted file mode 100644 index 09eb9f2..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/c_updateavailable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass$_camerainfoandid.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass$_camerainfoandid.class deleted file mode 100644 index 89e21c1..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass$_camerainfoandid.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass$_camerasize.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass$_camerasize.class deleted file mode 100644 index e12a684..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass$_camerasize.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class deleted file mode 100644 index af97771..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cameraexclass.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class deleted file mode 100644 index e41e2dd..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class deleted file mode 100644 index 3e9875d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class deleted file mode 100644 index 1d01c5a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class deleted file mode 100644 index 8ab7cef..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class deleted file mode 100644 index 1bbcc4a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class deleted file mode 100644 index 5a2b66e..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/cl_appupdate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager$_dbcommand.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager$_dbcommand.class deleted file mode 100644 index 5e27648..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager$_dbcommand.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager$_dbresult.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager$_dbresult.class deleted file mode 100644 index dc2cb8e..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager$_dbresult.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class deleted file mode 100644 index 11dfa75..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/dbrequestmanager.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_check.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_check.class deleted file mode 100644 index cf49e74..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_check.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.class deleted file mode 100644 index adfbfa3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.class deleted file mode 100644 index 31c21cb..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.class deleted file mode 100644 index 66a1200..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.class deleted file mode 100644 index 68cb3c8..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_historico.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_historico.class deleted file mode 100644 index f6bfbeb..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_historico.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_login.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_login.class deleted file mode 100644 index f9e1267..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_login.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.class deleted file mode 100644 index c48fd5f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.class deleted file mode 100644 index 6aa8f1d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.class deleted file mode 100644 index 7890442..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.class deleted file mode 100644 index 8a2d9a3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.class deleted file mode 100644 index 214f1d8..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.class deleted file mode 100644 index cebe8a6..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_principal.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_principal.class deleted file mode 100644 index 95b02b8..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_principal.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.class deleted file mode 100644 index 5e5f472..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.class deleted file mode 100644 index 089e32f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_productos.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_productos.class deleted file mode 100644 index f701bdc..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_productos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.class deleted file mode 100644 index 392dd57..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.class deleted file mode 100644 index 31c5a03..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter$_animage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter$_animage.class deleted file mode 100644 index eb7ae1f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter$_animage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class deleted file mode 100644 index 8dc1887..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/escposprinter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class deleted file mode 100644 index 875cc37..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/fileprovider.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$1.class deleted file mode 100644 index 1ede74d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$2.class deleted file mode 100644 index b9835dc..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$ResumableSub_Service_Start.class deleted file mode 100644 index 09dee7d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$ResumableSub_Service_Start.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$firebasemessaging_BR.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$firebasemessaging_BR.class deleted file mode 100644 index 139e5fd..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging$firebasemessaging_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging.class deleted file mode 100644 index bebf772..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/firebasemessaging.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$1.class deleted file mode 100644 index 2b263c9..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$B4AMenuItemsClickListener.class deleted file mode 100644 index a37e82b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$B4AMenuItemsClickListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$HandleKeyDelayed.class deleted file mode 100644 index 049abf2..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$HandleKeyDelayed.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$ResumeMessage.class deleted file mode 100644 index fc8456b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$ResumeMessage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$WaitForLayout.class deleted file mode 100644 index c4a59e4..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto$WaitForLayout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto.class deleted file mode 100644 index 20f7c16..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/foto.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob$_multipartfiledata.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob$_multipartfiledata.class deleted file mode 100644 index a0a2e64..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob$_multipartfiledata.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob.class deleted file mode 100644 index d622e8b..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httpjob.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class deleted file mode 100644 index 553df91..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/httputils2service.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class deleted file mode 100644 index cd53b0c..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/madewithlove.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$1.class deleted file mode 100644 index 91c4120..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$B4AMenuItemsClickListener.class deleted file mode 100644 index efdfafb..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$B4AMenuItemsClickListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$HandleKeyDelayed.class deleted file mode 100644 index c02e941..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$HandleKeyDelayed.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$ResumeMessage.class deleted file mode 100644 index b776449..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$ResumeMessage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$WaitForLayout.class deleted file mode 100644 index 5e0b891..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main$WaitForLayout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main.class deleted file mode 100644 index 2a08be0..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/main.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class deleted file mode 100644 index 74ffe53..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/manageexternalstorage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$1.class deleted file mode 100644 index a0b0177..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.class deleted file mode 100644 index d4625ac..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$HandleKeyDelayed.class deleted file mode 100644 index d90b721..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$HandleKeyDelayed.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.class deleted file mode 100644 index b8a639e..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$ResumeMessage.class deleted file mode 100644 index 28b252f..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$ResumeMessage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$WaitForLayout.class deleted file mode 100644 index 6850ecd..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente$WaitForLayout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class deleted file mode 100644 index 2842715..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_cliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$1.class deleted file mode 100644 index 2dabeb9..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.class deleted file mode 100644 index eb01f02..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$HandleKeyDelayed.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$HandleKeyDelayed.class deleted file mode 100644 index bd625ef..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$HandleKeyDelayed.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class deleted file mode 100644 index 18e5991..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumeMessage.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumeMessage.class deleted file mode 100644 index 2406af5..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$ResumeMessage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$WaitForLayout.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$WaitForLayout.class deleted file mode 100644 index 3ba9a9d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas$WaitForLayout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class deleted file mode 100644 index 141eae3..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/mapa_rutas.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$1.class deleted file mode 100644 index 755d15d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$2.class deleted file mode 100644 index d05f4df..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$newinst2_BR.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$newinst2_BR.class deleted file mode 100644 index c5968e7..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2$newinst2_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2.class deleted file mode 100644 index fac6614..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/newinst2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/roundslider.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/roundslider.class deleted file mode 100644 index 1679af2..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/roundslider.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.class deleted file mode 100644 index df321fa..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class deleted file mode 100644 index 37083c0..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/scrollinglabel.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$1.class deleted file mode 100644 index c696295..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$2.class deleted file mode 100644 index c97c0c6..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$starter_BR.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$starter_BR.class deleted file mode 100644 index 0f3b95d..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter$starter_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter.class deleted file mode 100644 index c5c6cb2..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/starter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/subs.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/subs.class deleted file mode 100644 index 2cae576..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/subs.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class deleted file mode 100644 index 084195a..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/swiftbutton.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$1.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$1.class deleted file mode 100644 index 9684064..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$2.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$2.class deleted file mode 100644 index 6df6c67..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.class deleted file mode 100644 index f042b28..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class deleted file mode 100644 index e08e0e7..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.class deleted file mode 100644 index 6058ded..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$tracker_BR.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$tracker_BR.class deleted file mode 100644 index 67a9362..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker$tracker_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker.class deleted file mode 100644 index 936ccc8..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/tracker.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class b/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.class deleted file mode 100644 index 59e2be6..0000000 Binary files a/B4A/Objects/bin/classes/reparto_mazapa/keymon/lat/xuiviewsutils.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/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/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/extra/compiled_resources/reparto_mazapa.keymon.lat.zip b/B4A/Objects/bin/extra/compiled_resources/reparto_mazapa.keymon.lat.zip deleted file mode 100644 index d70b29f..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/reparto_mazapa.keymon.lat.zip and /dev/null differ diff --git a/B4A/Objects/bin/temp.ap_ b/B4A/Objects/bin/temp.ap_ deleted file mode 100644 index c1f64bc..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 1bf1f76..0000000 Binary files a/B4A/Objects/classes.dex and /dev/null differ diff --git a/B4A/Objects/d8_arguments.txt b/B4A/Objects/d8_arguments.txt deleted file mode 100644 index 20cfb6b..0000000 --- a/B4A/Objects/d8_arguments.txt +++ /dev/null @@ -1,444 +0,0 @@ ---release ---output -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects ---lib -C:\Android\platforms\android-30\android.jar -C:\Android\tools\..\extras\b4a_local\unpacked-b4ashared-63837499356000\dex_v1\b4ashared.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\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\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\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\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-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\viewpager\viewpager\1.0.0\unpacked-viewpager-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\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-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\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\firebase\firebase-common\19.3.1\unpacked-firebase-common-19.3.1\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-components\16.0.0\unpacked-firebase-components-16.0.0\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\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\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-maps\17.0.1\unpacked-play-services-maps-17.0.1\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-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\firebase\firebase-core\17.5.1\unpacked-firebase-core-17.5.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-sdk\19.0.0\unpacked-play-services-measurement-sdk-19.0.0\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\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\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\interpolator\interpolator\1.0.0\unpacked-interpolator-1.0.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-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_local\unpacked-baqrcode-63580278352000\dex_v1\baqrcode.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-core-63837499358000\dex_v1\core.zip -C:\Android\tools\..\extras\b4a_local\unpacked-firebaseanalytics-63837499358000\dex_v1\firebaseanalytics.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-reflection-63837499358000\dex_v1\reflection.zip -C:\Android\tools\..\extras\b4a_local\unpacked-runtimepermissions.androidx-63822351362000\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-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-zxing_scanner-63580278356000\dex_v1\zxing_scanner.zip -C:\Android\tools\..\extras\b4a_local\unpacked-firebasenotifications-63837499358000\dex_v1\firebasenotifications.zip -C:\Android\tools\..\extras\b4a_local\unpacked-stringutils-63837499358000\dex_v1\stringutils.zip -C:\Android\tools\..\extras\b4a_local\unpacked-core-zxing-63580278780000\dex_v1\core-zxing.zip -C:\Android\tools\..\extras\b4a_local\unpacked-zxingscanner-63580278896000\dex_v1\zxingscanner.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-63837499358000\dex_v1\okhttp.zip -C:\Android\tools\..\extras\b4a_local\unpacked-bitmapcreator-63837499358000\dex_v1\bitmapcreator.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\collection\collection\1.1.0\collection-1.1.0.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_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:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\coordinatorlayout\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\core\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\drawerlayout\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\fragment\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\media\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\androidx\swiperefreshlayout\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\base\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\common\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\android\gms\maps\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\com\google\firebase\messaging\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\animatedcounter.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\anotherprogressbar$ResumableSub_BusyLoop.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\anotherprogressbar.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$appupdater_BR.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$ResumableSub_download_newApk.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$ResumableSub_Service_Start.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater$_mnewversion.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\appupdater.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbitset.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbreadcrumb.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xbytesbuilder.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcache$_b4xcacheitem.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcache.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcollections.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate$ResumableSub_Show.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate$_colorpickerpart.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcolortemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcombobox$ResumableSub_RaiseEvent.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcombobox.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xcomparatorsort.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdatetemplate$ResumableSub_Show.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdatetemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_Show.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_ShowCustom.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog$ResumableSub_ShowTemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xdialog.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xfloattextfield.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xformatter$_b4xformatdata.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xformatter.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4ximageview.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xinputtemplate$ResumableSub_Show.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xinputtemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlisttemplate$ResumableSub_Show.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlisttemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xloadingindicator$ResumableSub_MainLoop.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xloadingindicator.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xlongtexttemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_B4XPage_Appear.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_b_envioBD_Click.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage$ResumableSub_b_terpc_Click.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xmainpage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xorderedmap.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpages.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesdelegator.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$PagesMenuListener.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$ResumableSub_HandleCloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4amenuitem.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4xpageinfo.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager$_b4xpageparent.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xpagesmanager.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xplusminus$ResumableSub_StartDownLoop.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xplusminus.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xradiobutton$ResumableSub_SetValueImpl.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xradiobutton.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsearchtemplate$ResumableSub_Show.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsearchtemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xseekbar.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xset.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xsignaturetemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xswitch$ResumableSub_SetValueImpl.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xswitch.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xtimedtemplate$ResumableSub_Show.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\b4xtimedtemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\batteryutilities.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass$_camerainfoandid.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass$_camerasize.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cameraexclass.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_DownloadApk.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_IsvalidWV.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_ReadWebVN.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_TryApkUpdate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate$ResumableSub_UpdateApk.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\cl_appupdate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_buscar$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_buscar.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_B4XPage_Appear.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist$ResumableSub_InitializeCamera2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cheklist.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente$ResumableSub_Guardado.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_cliente.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_b_GetDirs_Click.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_caculaRutaGPS.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_distanciaEntreCoords.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_generaListViewRutas.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_ListView1_ItemClick.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes$ResumableSub_traeRutaDia.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_clientes.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalleventa.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_detalle_promo.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_foto$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_foto.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_historico$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_historico.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_mapas.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_noventa$ResumableSub_GUARDA_Click.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_noventa.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_nuevocliente.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_pedidos.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal$ResumableSub_envioinfo.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_principal.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_productos$ResumableSub_B4XPage_CloseRequest.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_productos.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_tabulador.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_ticketsdia.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_updateavailable$ResumableSub_B4XPage_Appear.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\c_updateavailable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager$_dbcommand.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager$_dbresult.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\dbrequestmanager.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\escposprinter$_animage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\escposprinter.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\fileprovider.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\firebasemessaging$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\firebasemessaging$2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\firebasemessaging$firebasemessaging_BR.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\firebasemessaging$ResumableSub_Service_Start.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\firebasemessaging.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$B4AMenuItemsClickListener.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$HandleKeyDelayed.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$ResumeMessage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto$WaitForLayout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\foto.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httpjob$_multipartfiledata.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httpjob.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\httputils2service.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\madewithlove.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$B4AMenuItemsClickListener.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$HandleKeyDelayed.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$ResumeMessage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main$WaitForLayout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\main.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\manageexternalstorage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$B4AMenuItemsClickListener.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$HandleKeyDelayed.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$ResumableSub_MapFragment1_Ready.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$ResumeMessage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente$WaitForLayout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_cliente.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$B4AMenuItemsClickListener.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$HandleKeyDelayed.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$ResumableSub_MapFragment1_Ready.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$ResumeMessage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas$WaitForLayout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\mapa_rutas.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2$newinst2_BR.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\newinst2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$anim.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$attr.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$color.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$dimen.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$drawable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$id.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$integer.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$layout.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$string.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$style.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$styleable.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R$xml.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\R.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\roundslider.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\scrollinglabel$ResumableSub_StartScrolling.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\scrollinglabel.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter$starter_BR.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\starter.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\subs.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\swiftbutton.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$1.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLP.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLP2Reqs.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$ResumableSub_StartFLPSmall.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker$tracker_BR.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\tracker.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\xuiviewsutils.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_check.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_checklist.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_clientes.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_detalleventa.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_detalle_promo.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_historico.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_login.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mainpage.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mapa_cliente.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_mapa_rutas.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_no_venta.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_panel_pick_ciego.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_pedido.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_principal.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_proditem.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_proditem2.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_productos.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_searchtemplate.dex -D:\DESARROLLO_MOVIL\Mazapa-Reparto\B4A\Objects\dexed\reparto_mazapa\keymon\lat\designerscripts\LS_tabulador.dex 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 8bf698e..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$color.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$color.dex deleted file mode 100644 index 16e62dc..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 f8dece6..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 8fc108e..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 2a307b1..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 10f940a..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 2dad789..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 667f141..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 502df03..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 9580aed..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 a916ee9..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 e4ebb1f..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 d1d8b09..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$color.dex b/B4A/Objects/dexed/androidx/core/R$color.dex deleted file mode 100644 index 49e3db4..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 f05a33b..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 79fdf2a..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 d0e03f8..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 bed61a9..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 4d863a8..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 405b579..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 b1cd5d0..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 3799fc5..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 de68c73..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 0d07502..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 da97973..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$color.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$color.dex deleted file mode 100644 index 5d23199..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 b1eb928..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 07cd4b4..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 a506f3c..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 7f2e89f..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 79cfd29..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 6276cf6..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 de521de..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 cc9b4cb..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 97562cf..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 63858f7..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 bd69d63..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$color.dex b/B4A/Objects/dexed/androidx/fragment/R$color.dex deleted file mode 100644 index f1121e0..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 4b64714..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 ad88d46..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 ef64677..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 1d4f578..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 ba66459..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 346e3cf..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 34e5400..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 0b3309b..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 b36c5ac..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 284c1ba..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 3b58ce2..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$color.dex b/B4A/Objects/dexed/androidx/media/R$color.dex deleted file mode 100644 index ffca15e..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 7c05662..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 3c91ad8..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 877a3df..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 ad30c38..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 7378567..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 1a5c93c..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 4d06763..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 8719272..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 71a208d..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 bbaa56b..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 e6a29b3..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$color.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$color.dex deleted file mode 100644 index 6199b2a..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 9cd36e1..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 385c0bc..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 cde85e0..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 1117409..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 ff9b529..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 788e596..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 67aad11..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 4c51805..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 8c93c0e..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 c8210b8..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/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 c672c38..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$color.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$color.dex deleted file mode 100644 index f2fab05..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 ec311d2..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 d2726b7..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 5e9493f..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 fdb4f10..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 85a4796..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 dfc537c..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 0ba108e..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 d8763a8..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 8c3e042..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 f068a6f..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 c4df524..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$color.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$color.dex deleted file mode 100644 index 78590ef..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 9c86415..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 b3853b4..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 bf0fe18..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 1791026..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 a7c239b..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 9f7bca8..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 6856e4a..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 9bb73a6..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 14d8726..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 4ad8296..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 716829d..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$color.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$color.dex deleted file mode 100644 index ed8a387..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 770cf48..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 c837915..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 f7f0607..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 204e83c..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 89c7b28..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 acd2255..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 2619563..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 14accb4..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 ab36668..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 abf6286..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 b2d4d18..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$color.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$color.dex deleted file mode 100644 index 67f9a24..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 3428a84..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 06cc05a..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 0a3806b..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 3a68ef3..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 1762a9e..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 6dde642..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 7be9068..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 6d75055..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 9a509bc..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 1dd5041..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$anim.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$anim.dex deleted file mode 100644 index 696ceff..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$attr.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$attr.dex deleted file mode 100644 index 85051c0..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$color.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$color.dex deleted file mode 100644 index 7e21d43..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$dimen.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$dimen.dex deleted file mode 100644 index bc86d44..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$drawable.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$drawable.dex deleted file mode 100644 index 21fbfc3..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$id.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$id.dex deleted file mode 100644 index 1effcde..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$integer.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$integer.dex deleted file mode 100644 index c0aa8b5..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$layout.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$layout.dex deleted file mode 100644 index ac15c8f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$string.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$string.dex deleted file mode 100644 index e70448d..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$style.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$style.dex deleted file mode 100644 index 52972b8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$styleable.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$styleable.dex deleted file mode 100644 index b1cf0aa..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$xml.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$xml.dex deleted file mode 100644 index 5849940..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R.dex deleted file mode 100644 index b7d2d81..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/animatedcounter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/animatedcounter.dex deleted file mode 100644 index 5d4e800..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/animatedcounter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.dex deleted file mode 100644 index a104e5b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar$ResumableSub_BusyLoop.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar.dex deleted file mode 100644 index 2d53cc2..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/anotherprogressbar.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$1.dex deleted file mode 100644 index 1405693..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$2.dex deleted file mode 100644 index 29c83b4..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.dex deleted file mode 100644 index 2c90779..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_Service_Start.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.dex deleted file mode 100644 index f1eeb86..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$ResumableSub_download_newApk.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$_mnewversion.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$_mnewversion.dex deleted file mode 100644 index ecd9c9c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$_mnewversion.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$appupdater_BR.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$appupdater_BR.dex deleted file mode 100644 index 6ff921b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater$appupdater_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater.dex deleted file mode 100644 index e50e1dd..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/appupdater.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbitset.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbitset.dex deleted file mode 100644 index e01498a..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbitset.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbreadcrumb.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbreadcrumb.dex deleted file mode 100644 index 0418f1c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbreadcrumb.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbytesbuilder.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbytesbuilder.dex deleted file mode 100644 index 5865036..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xbytesbuilder.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache$_b4xcacheitem.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache$_b4xcacheitem.dex deleted file mode 100644 index 7de0ff6..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache$_b4xcacheitem.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache.dex deleted file mode 100644 index 5995ee8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcache.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcollections.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcollections.dex deleted file mode 100644 index 4d421cd..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcollections.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate$ResumableSub_Show.dex deleted file mode 100644 index abce553..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate$_colorpickerpart.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate$_colorpickerpart.dex deleted file mode 100644 index 88eb462..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate$_colorpickerpart.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate.dex deleted file mode 100644 index db767e1..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcolortemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.dex deleted file mode 100644 index 6b7e6f1..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox$ResumableSub_RaiseEvent.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox.dex deleted file mode 100644 index f282ec2..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcombobox.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcomparatorsort.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcomparatorsort.dex deleted file mode 100644 index 2070592..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xcomparatorsort.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate$ResumableSub_Show.dex deleted file mode 100644 index b582ad4..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate.dex deleted file mode 100644 index 49cc5e8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdatetemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_Show.dex deleted file mode 100644 index 97d2ed2..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowCustom.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowCustom.dex deleted file mode 100644 index 74bb723..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowCustom.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.dex deleted file mode 100644 index a826c18..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog$ResumableSub_ShowTemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog.dex deleted file mode 100644 index aed2755..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xdialog.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex deleted file mode 100644 index 91c1ae7..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield.dex deleted file mode 100644 index 2ed6934..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xfloattextfield.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter$_b4xformatdata.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter$_b4xformatdata.dex deleted file mode 100644 index acbf07f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter$_b4xformatdata.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter.dex deleted file mode 100644 index f3f1842..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xformatter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4ximageview.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4ximageview.dex deleted file mode 100644 index 960ffcb..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4ximageview.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate$ResumableSub_Show.dex deleted file mode 100644 index dbe89f1..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate.dex deleted file mode 100644 index f48968a..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xinputtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate$ResumableSub_Show.dex deleted file mode 100644 index e0b69ab..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate.dex deleted file mode 100644 index ab4fee1..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlisttemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.dex deleted file mode 100644 index a30d194..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator$ResumableSub_MainLoop.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator.dex deleted file mode 100644 index e115418..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xloadingindicator.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlongtexttemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlongtexttemplate.dex deleted file mode 100644 index 0451400..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xlongtexttemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex deleted file mode 100644 index ad5bf5a..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_Appear.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index ba3c573..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex deleted file mode 100644 index bdc63f7..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_envioBD_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex deleted file mode 100644 index b46fc88..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage$ResumableSub_b_terpc_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage.dex deleted file mode 100644 index a12ee67..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xmainpage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xorderedmap.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xorderedmap.dex deleted file mode 100644 index e82a13c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xorderedmap.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpages.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpages.dex deleted file mode 100644 index 06caa08..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpages.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesdelegator.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesdelegator.dex deleted file mode 100644 index 1371166..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesdelegator.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$PagesMenuListener.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$PagesMenuListener.dex deleted file mode 100644 index c70be96..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$PagesMenuListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex deleted file mode 100644 index 4242ae1..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4amenuitem.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4amenuitem.dex deleted file mode 100644 index 105fdbb..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4amenuitem.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageinfo.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageinfo.dex deleted file mode 100644 index 8a3b341..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageinfo.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageparent.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageparent.dex deleted file mode 100644 index 71eb8d5..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager$_b4xpageparent.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager.dex deleted file mode 100644 index 26f3055..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xpagesmanager.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.dex deleted file mode 100644 index 7becc6c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus$ResumableSub_StartDownLoop.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus.dex deleted file mode 100644 index ec27d49..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xplusminus.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.dex deleted file mode 100644 index 2190aef..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton$ResumableSub_SetValueImpl.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton.dex deleted file mode 100644 index 491fe03..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xradiobutton.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate$ResumableSub_Show.dex deleted file mode 100644 index 434b36c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate.dex deleted file mode 100644 index 1c97c46..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsearchtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xseekbar.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xseekbar.dex deleted file mode 100644 index b76059c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xseekbar.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xset.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xset.dex deleted file mode 100644 index 129eb4f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xset.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsignaturetemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsignaturetemplate.dex deleted file mode 100644 index 247f6a6..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xsignaturetemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.dex deleted file mode 100644 index 8672c9e..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch$ResumableSub_SetValueImpl.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch.dex deleted file mode 100644 index 3c1adac..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xswitch.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate$ResumableSub_Show.dex deleted file mode 100644 index f28b0f4..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate.dex deleted file mode 100644 index 0a7b3d6..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/b4xtimedtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/batteryutilities.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/batteryutilities.dex deleted file mode 100644 index 43f304f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/batteryutilities.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index d47f2a0..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar.dex deleted file mode 100644 index d2e0f51..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_buscar.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex deleted file mode 100644 index 4356089..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_Appear.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 1253fdd..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex deleted file mode 100644 index d7225bc..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist$ResumableSub_InitializeCamera2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist.dex deleted file mode 100644 index 59bfce9..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cheklist.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 081d22e..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.dex deleted file mode 100644 index f33c378..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente$ResumableSub_Guardado.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente.dex deleted file mode 100644 index fa27667..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_cliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index e29a466..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex deleted file mode 100644 index 9b7d938..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_ListView1_ItemClick.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex deleted file mode 100644 index 19ac3c3..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_b_GetDirs_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex deleted file mode 100644 index d039cbd..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_caculaRutaGPS.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex deleted file mode 100644 index 25de3ac..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_distanciaEntreCoords.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.dex deleted file mode 100644 index 5fb25e8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_generaListViewRutas.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex deleted file mode 100644 index d7d9042..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes$ResumableSub_traeRutaDia.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes.dex deleted file mode 100644 index a59b032..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_clientes.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalle_promo.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalle_promo.dex deleted file mode 100644 index 7959df5..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalle_promo.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 6d04c81..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa.dex deleted file mode 100644 index 6990f8d..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_detalleventa.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 923aaa3..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto.dex deleted file mode 100644 index b66c5e6..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_foto.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 1203dec..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico.dex deleted file mode 100644 index dca3268..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_historico.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_mapas.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_mapas.dex deleted file mode 100644 index 3772411..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_mapas.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.dex deleted file mode 100644 index ac332ea..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa$ResumableSub_GUARDA_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa.dex deleted file mode 100644 index 588e8e9..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_noventa.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_nuevocliente.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_nuevocliente.dex deleted file mode 100644 index c872f39..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_nuevocliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_pedidos.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_pedidos.dex deleted file mode 100644 index c5a464c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_pedidos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index d79d314..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.dex deleted file mode 100644 index 512b6cd..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal$ResumableSub_envioinfo.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal.dex deleted file mode 100644 index ebb50e2..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_principal.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 80bdbab..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos.dex deleted file mode 100644 index e34fcb3..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_productos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_tabulador.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_tabulador.dex deleted file mode 100644 index 3867d10..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_tabulador.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_ticketsdia.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_ticketsdia.dex deleted file mode 100644 index f49157a..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_ticketsdia.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex deleted file mode 100644 index 632d6ae..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable$ResumableSub_B4XPage_Appear.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable.dex deleted file mode 100644 index 70da787..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/c_updateavailable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass$_camerainfoandid.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass$_camerainfoandid.dex deleted file mode 100644 index c5d0428..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass$_camerainfoandid.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass$_camerasize.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass$_camerasize.dex deleted file mode 100644 index 5a46fdc..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass$_camerasize.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass.dex deleted file mode 100644 index 76df021..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cameraexclass.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex deleted file mode 100644 index 331c910..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_DownloadApk.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex deleted file mode 100644 index fd49843..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_IsvalidWV.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex deleted file mode 100644 index 95efd2a..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_ReadWebVN.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex deleted file mode 100644 index bfa2faa..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_TryApkUpdate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex deleted file mode 100644 index 82e42d7..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate$ResumableSub_UpdateApk.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate.dex deleted file mode 100644 index 8cd7d1b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/cl_appupdate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager$_dbcommand.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager$_dbcommand.dex deleted file mode 100644 index de5fdb8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager$_dbcommand.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager$_dbresult.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager$_dbresult.dex deleted file mode 100644 index 4902018..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager$_dbresult.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager.dex deleted file mode 100644 index 5858d0c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/dbrequestmanager.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_check.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_check.dex deleted file mode 100644 index 0deb7e0..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_check.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.dex deleted file mode 100644 index 545df55..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.dex deleted file mode 100644 index b6c7dcd..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.dex deleted file mode 100644 index 04a6b32..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.dex deleted file mode 100644 index 4baffa8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_historico.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_historico.dex deleted file mode 100644 index 3cb3465..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_historico.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_login.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_login.dex deleted file mode 100644 index e3d6a2f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_login.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.dex deleted file mode 100644 index 9b99304..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.dex deleted file mode 100644 index 1638ff6..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.dex deleted file mode 100644 index e0af07b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.dex deleted file mode 100644 index 4e9a134..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.dex deleted file mode 100644 index 6c3d516..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.dex deleted file mode 100644 index 98010d0..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_principal.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_principal.dex deleted file mode 100644 index ffacb68..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_principal.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.dex deleted file mode 100644 index a6d0cb3..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.dex deleted file mode 100644 index 4e61345..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_productos.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_productos.dex deleted file mode 100644 index cb2563f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_productos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.dex deleted file mode 100644 index c55bbef..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.dex deleted file mode 100644 index 82adc87..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter$_animage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter$_animage.dex deleted file mode 100644 index 303d386..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter$_animage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter.dex deleted file mode 100644 index a9384b2..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/escposprinter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/fileprovider.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/fileprovider.dex deleted file mode 100644 index 0b82f7d..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/fileprovider.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$1.dex deleted file mode 100644 index ade7f05..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$2.dex deleted file mode 100644 index a5dde2e..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$ResumableSub_Service_Start.dex deleted file mode 100644 index 9a327ab..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$ResumableSub_Service_Start.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$firebasemessaging_BR.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$firebasemessaging_BR.dex deleted file mode 100644 index d62e956..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging$firebasemessaging_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging.dex deleted file mode 100644 index 56bf1b7..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/firebasemessaging.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$1.dex deleted file mode 100644 index b1472f8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$B4AMenuItemsClickListener.dex deleted file mode 100644 index 4156127..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$B4AMenuItemsClickListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$HandleKeyDelayed.dex deleted file mode 100644 index ee08433..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$HandleKeyDelayed.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$ResumeMessage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$ResumeMessage.dex deleted file mode 100644 index 697a30a..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$ResumeMessage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$WaitForLayout.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$WaitForLayout.dex deleted file mode 100644 index 288e086..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto$WaitForLayout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto.dex deleted file mode 100644 index c6ba255..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/foto.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob$_multipartfiledata.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob$_multipartfiledata.dex deleted file mode 100644 index 239ee87..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob$_multipartfiledata.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob.dex deleted file mode 100644 index df957cb..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httpjob.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httputils2service.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httputils2service.dex deleted file mode 100644 index a128e4f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/httputils2service.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/madewithlove.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/madewithlove.dex deleted file mode 100644 index 388d58b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/madewithlove.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$1.dex deleted file mode 100644 index 2a13356..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$B4AMenuItemsClickListener.dex deleted file mode 100644 index 1a06a16..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$B4AMenuItemsClickListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$HandleKeyDelayed.dex deleted file mode 100644 index e7c0b2a..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$HandleKeyDelayed.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$ResumeMessage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$ResumeMessage.dex deleted file mode 100644 index da16db2..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$ResumeMessage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$WaitForLayout.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$WaitForLayout.dex deleted file mode 100644 index 6859639..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main$WaitForLayout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main.dex deleted file mode 100644 index 6b7742d..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/main.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/manageexternalstorage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/manageexternalstorage.dex deleted file mode 100644 index 1d042cf..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/manageexternalstorage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$1.dex deleted file mode 100644 index 05a3c29..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.dex deleted file mode 100644 index b001c8b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$B4AMenuItemsClickListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$HandleKeyDelayed.dex deleted file mode 100644 index 607133c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$HandleKeyDelayed.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.dex deleted file mode 100644 index fa2f005..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$ResumableSub_MapFragment1_Ready.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$ResumeMessage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$ResumeMessage.dex deleted file mode 100644 index 69b10f4..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$ResumeMessage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$WaitForLayout.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$WaitForLayout.dex deleted file mode 100644 index 5ef8731..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente$WaitForLayout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente.dex deleted file mode 100644 index e3fdec8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_cliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$1.dex deleted file mode 100644 index 872dac8..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.dex deleted file mode 100644 index 25df899..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$B4AMenuItemsClickListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$HandleKeyDelayed.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$HandleKeyDelayed.dex deleted file mode 100644 index 389062c..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$HandleKeyDelayed.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex deleted file mode 100644 index 3090592..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumableSub_MapFragment1_Ready.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumeMessage.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumeMessage.dex deleted file mode 100644 index be8be77..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$ResumeMessage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$WaitForLayout.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$WaitForLayout.dex deleted file mode 100644 index 7f81373..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas$WaitForLayout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas.dex deleted file mode 100644 index 8d87e1d..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/mapa_rutas.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$1.dex deleted file mode 100644 index 8074bc9..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$2.dex deleted file mode 100644 index 437de17..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$newinst2_BR.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$newinst2_BR.dex deleted file mode 100644 index 82a983f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2$newinst2_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2.dex deleted file mode 100644 index b035a3f..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/newinst2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/roundslider.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/roundslider.dex deleted file mode 100644 index 78d3a7b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/roundslider.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.dex deleted file mode 100644 index be8be07..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel$ResumableSub_StartScrolling.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel.dex deleted file mode 100644 index 79885e3..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/scrollinglabel.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$1.dex deleted file mode 100644 index a8e3655..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$2.dex deleted file mode 100644 index 1210138..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$starter_BR.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$starter_BR.dex deleted file mode 100644 index 850636d..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter$starter_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter.dex deleted file mode 100644 index 8300b9b..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/starter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/subs.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/subs.dex deleted file mode 100644 index cf4d965..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/subs.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/swiftbutton.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/swiftbutton.dex deleted file mode 100644 index 6ae96df..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/swiftbutton.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$1.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$1.dex deleted file mode 100644 index 1dc2d70..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$2.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$2.dex deleted file mode 100644 index 373ba73..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.dex deleted file mode 100644 index 4f36955..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex deleted file mode 100644 index 1f54d30..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLP2Reqs.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.dex deleted file mode 100644 index 7539a69..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$ResumableSub_StartFLPSmall.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$tracker_BR.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$tracker_BR.dex deleted file mode 100644 index 89f5254..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker$tracker_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker.dex deleted file mode 100644 index 64b3434..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/tracker.dex and /dev/null differ diff --git a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/xuiviewsutils.dex b/B4A/Objects/dexed/reparto_mazapa/keymon/lat/xuiviewsutils.dex deleted file mode 100644 index e01f179..0000000 Binary files a/B4A/Objects/dexed/reparto_mazapa/keymon/lat/xuiviewsutils.dex and /dev/null differ diff --git a/B4A/Objects/gen/androidx/coordinatorlayout/R.java b/B4A/Objects/gen/androidx/coordinatorlayout/R.java deleted file mode 100644 index 4559dce..0000000 --- a/B4A/Objects/gen/androidx/coordinatorlayout/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 d267c79..0000000 --- a/B4A/Objects/gen/androidx/core/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 6894863..0000000 --- a/B4A/Objects/gen/androidx/drawerlayout/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 bd4428c..0000000 --- a/B4A/Objects/gen/androidx/fragment/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 9ce0dee..0000000 --- a/B4A/Objects/gen/androidx/media/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 51e7f51..0000000 --- a/B4A/Objects/gen/androidx/swiperefreshlayout/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 3c2932b..0000000 --- a/B4A/Objects/gen/com/google/android/gms/base/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 d3ff23f..0000000 --- a/B4A/Objects/gen/com/google/android/gms/common/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 2d6c1f7..0000000 --- a/B4A/Objects/gen/com/google/android/gms/maps/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ 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 754f409..0000000 --- a/B4A/Objects/gen/com/google/firebase/messaging/R.java +++ /dev/null @@ -1,2122 +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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/reparto_marquez/keymon/lat/R.java b/B4A/Objects/gen/reparto_marquez/keymon/lat/R.java deleted file mode 100644 index f3ebee1..0000000 --- a/B4A/Objects/gen/reparto_marquez/keymon/lat/R.java +++ /dev/null @@ -1,2121 +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 reparto_marquez.keymon.lat; - -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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int status_bar_notification_info_overflow=0x7f090012; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_marquez.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_marquez.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_marquez.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_marquez.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_marquez.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_marquez.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_marquez.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_marquez.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_marquez.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_marquez.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_marquez.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_marquez.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_marquez.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_marquez.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_marquez.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_marquez.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_marquez.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_marquez.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat: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 reparto_marquez.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_marquez.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_marquez.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_marquez.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_marquez.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_marquez.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_marquez.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_marquez.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_marquez.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_marquez.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_marquez.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_marquez.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_marquez.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_marquez.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_marquez.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_marquez.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_marquez.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_marquez.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_marquez.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_marquez.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_marquez.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_marquez.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_marquez.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_marquez.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_marquez.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_marquez.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_marquez.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_marquez.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_marquez.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_marquez.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_marquez.keymon.lat.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 reparto_marquez.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_marquez.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/reparto_mazapa/keymon/lat/R.java b/B4A/Objects/gen/reparto_mazapa/keymon/lat/R.java deleted file mode 100644 index 73908e9..0000000 --- a/B4A/Objects/gen/reparto_mazapa/keymon/lat/R.java +++ /dev/null @@ -1,2122 +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 reparto_mazapa.keymon.lat; - -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 { - /** - * Alpha multiplier applied to the base color. - *

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

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

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=0x7f020002; - /** - *

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

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

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

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

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

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

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

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

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=0x7f02000b; - /** - *

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=0x7f02000c; - /** - *

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=0x7f02000d; - /** - *

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=0x7f02000e; - /** - * 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=0x7f02000f; - /** - * 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=0x7f020010; - /** - * 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=0x7f020011; - /** - * 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=0x7f020012; - /** - * 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=0x7f020013; - /** - * 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=0x7f020014; - /** - * 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=0x7f020015; - /** - * 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=0x7f020016; - /** - * 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=0x7f020017; - /** - * 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=0x7f020018; - /** - *

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

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001a; - /** - * 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=0x7f02001b; - /** - *

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

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

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

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f02001f; - /** - * 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=0x7f020020; - /** - * 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=0x7f020021; - /** - * 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=0x7f020022; - /** - * 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=0x7f020023; - /** - * 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=0x7f020024; - /** - * 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=0x7f020025; - /** - *

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

Must be one of the following constant values.

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

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=0x7f020028; - /** - * 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=0x7f020029; - /** - * 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=0x7f02002a; - /** - * 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=0x7f02002b; - /** - *

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

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

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

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

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

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

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

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

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

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020035; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f030000; - public static final int androidx_core_secondary_text_default_material_light=0x7f030001; - public static final int common_google_signin_btn_text_dark=0x7f030002; - public static final int common_google_signin_btn_text_dark_default=0x7f030003; - public static final int common_google_signin_btn_text_dark_disabled=0x7f030004; - public static final int common_google_signin_btn_text_dark_focused=0x7f030005; - public static final int common_google_signin_btn_text_dark_pressed=0x7f030006; - public static final int common_google_signin_btn_text_light=0x7f030007; - public static final int common_google_signin_btn_text_light_default=0x7f030008; - public static final int common_google_signin_btn_text_light_disabled=0x7f030009; - public static final int common_google_signin_btn_text_light_focused=0x7f03000a; - public static final int common_google_signin_btn_text_light_pressed=0x7f03000b; - public static final int common_google_signin_btn_tint=0x7f03000c; - public static final int notification_action_color_filter=0x7f03000d; - public static final int notification_icon_bg_color=0x7f03000e; - public static final int notification_material_background_media_default_color=0x7f03000f; - public static final int primary_text_default_material_dark=0x7f030010; - public static final int secondary_text_default_material_dark=0x7f030011; - } - public static final class dimen { - public static final int compat_button_inset_horizontal_material=0x7f040000; - public static final int compat_button_inset_vertical_material=0x7f040001; - public static final int compat_button_padding_horizontal_material=0x7f040002; - public static final int compat_button_padding_vertical_material=0x7f040003; - public static final int compat_control_corner_material=0x7f040004; - public static final int compat_notification_large_icon_max_height=0x7f040005; - public static final int compat_notification_large_icon_max_width=0x7f040006; - public static final int def_drawer_elevation=0x7f040007; - public static final int notification_action_icon_size=0x7f040008; - public static final int notification_action_text_size=0x7f040009; - public static final int notification_big_circle_margin=0x7f04000a; - public static final int notification_content_margin_start=0x7f04000b; - public static final int notification_large_icon_height=0x7f04000c; - public static final int notification_large_icon_width=0x7f04000d; - public static final int notification_main_column_padding_top=0x7f04000e; - public static final int notification_media_narrow_margin=0x7f04000f; - public static final int notification_right_icon_size=0x7f040010; - public static final int notification_right_side_padding_top=0x7f040011; - public static final int notification_small_icon_background_padding=0x7f040012; - public static final int notification_small_icon_size_as_large=0x7f040013; - public static final int notification_subtext_size=0x7f040014; - public static final int notification_top_pad=0x7f040015; - public static final int notification_top_pad_large_text=0x7f040016; - public static final int subtitle_corner_radius=0x7f040017; - public static final int subtitle_outline_width=0x7f040018; - public static final int subtitle_shadow_offset=0x7f040019; - public static final int subtitle_shadow_radius=0x7f04001a; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f050000; - public static final int common_google_signin_btn_icon_dark=0x7f050001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f050002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f050003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f050004; - public static final int common_google_signin_btn_icon_disabled=0x7f050005; - public static final int common_google_signin_btn_icon_light=0x7f050006; - public static final int common_google_signin_btn_icon_light_focused=0x7f050007; - public static final int common_google_signin_btn_icon_light_normal=0x7f050008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f050009; - public static final int common_google_signin_btn_text_dark=0x7f05000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f05000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f05000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f05000d; - public static final int common_google_signin_btn_text_disabled=0x7f05000e; - public static final int common_google_signin_btn_text_light=0x7f05000f; - public static final int common_google_signin_btn_text_light_focused=0x7f050010; - public static final int common_google_signin_btn_text_light_normal=0x7f050011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f050012; - public static final int googleg_disabled_color_18=0x7f050013; - public static final int googleg_standard_color_18=0x7f050014; - public static final int icon=0x7f050015; - public static final int notification_action_background=0x7f050016; - public static final int notification_bg=0x7f050017; - public static final int notification_bg_low=0x7f050018; - public static final int notification_bg_low_normal=0x7f050019; - public static final int notification_bg_low_pressed=0x7f05001a; - public static final int notification_bg_normal=0x7f05001b; - public static final int notification_bg_normal_pressed=0x7f05001c; - public static final int notification_icon_background=0x7f05001d; - public static final int notification_template_icon_bg=0x7f05001e; - public static final int notification_template_icon_low_bg=0x7f05001f; - public static final int notification_tile_bg=0x7f050020; - public static final int notify_panel_notification_icon_bg=0x7f050021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f060000; - public static final int accessibility_custom_action_0=0x7f060001; - public static final int accessibility_custom_action_1=0x7f060002; - public static final int accessibility_custom_action_10=0x7f060003; - public static final int accessibility_custom_action_11=0x7f060004; - public static final int accessibility_custom_action_12=0x7f060005; - public static final int accessibility_custom_action_13=0x7f060006; - public static final int accessibility_custom_action_14=0x7f060007; - public static final int accessibility_custom_action_15=0x7f060008; - public static final int accessibility_custom_action_16=0x7f060009; - public static final int accessibility_custom_action_17=0x7f06000a; - public static final int accessibility_custom_action_18=0x7f06000b; - public static final int accessibility_custom_action_19=0x7f06000c; - public static final int accessibility_custom_action_2=0x7f06000d; - public static final int accessibility_custom_action_20=0x7f06000e; - public static final int accessibility_custom_action_21=0x7f06000f; - public static final int accessibility_custom_action_22=0x7f060010; - public static final int accessibility_custom_action_23=0x7f060011; - public static final int accessibility_custom_action_24=0x7f060012; - public static final int accessibility_custom_action_25=0x7f060013; - public static final int accessibility_custom_action_26=0x7f060014; - public static final int accessibility_custom_action_27=0x7f060015; - public static final int accessibility_custom_action_28=0x7f060016; - public static final int accessibility_custom_action_29=0x7f060017; - public static final int accessibility_custom_action_3=0x7f060018; - public static final int accessibility_custom_action_30=0x7f060019; - public static final int accessibility_custom_action_31=0x7f06001a; - public static final int accessibility_custom_action_4=0x7f06001b; - public static final int accessibility_custom_action_5=0x7f06001c; - public static final int accessibility_custom_action_6=0x7f06001d; - public static final int accessibility_custom_action_7=0x7f06001e; - public static final int accessibility_custom_action_8=0x7f06001f; - public static final int accessibility_custom_action_9=0x7f060020; - public static final int action0=0x7f060021; - public static final int action_container=0x7f060022; - public static final int action_divider=0x7f060023; - public static final int action_image=0x7f060024; - public static final int action_text=0x7f060025; - public static final int actions=0x7f060026; - public static final int adjust_height=0x7f060027; - public static final int adjust_width=0x7f060028; - public static final int all=0x7f060029; - public static final int async=0x7f06002a; - public static final int auto=0x7f06002b; - public static final int blocking=0x7f06002c; - public static final int bottom=0x7f06002d; - public static final int cancel_action=0x7f06002e; - public static final int center=0x7f06002f; - public static final int center_horizontal=0x7f060030; - public static final int center_vertical=0x7f060031; - public static final int chronometer=0x7f060032; - public static final int clip_horizontal=0x7f060033; - public static final int clip_vertical=0x7f060034; - public static final int dark=0x7f060035; - public static final int dialog_button=0x7f060036; - public static final int end=0x7f060037; - public static final int end_padder=0x7f060038; - public static final int fill=0x7f060039; - public static final int fill_horizontal=0x7f06003a; - public static final int fill_vertical=0x7f06003b; - public static final int forever=0x7f06003c; - public static final int fragment_container_view_tag=0x7f06003d; - public static final int hybrid=0x7f06003e; - public static final int icon=0x7f06003f; - public static final int icon_group=0x7f060040; - public static final int icon_only=0x7f060041; - public static final int info=0x7f060042; - public static final int italic=0x7f060043; - public static final int left=0x7f060044; - public static final int light=0x7f060045; - public static final int line1=0x7f060046; - public static final int line3=0x7f060047; - public static final int media_actions=0x7f060048; - public static final int none=0x7f060049; - public static final int normal=0x7f06004a; - public static final int notification_background=0x7f06004b; - public static final int notification_main_column=0x7f06004c; - public static final int notification_main_column_container=0x7f06004d; - public static final int right=0x7f06004e; - public static final int right_icon=0x7f06004f; - public static final int right_side=0x7f060050; - public static final int satellite=0x7f060051; - public static final int standard=0x7f060052; - public static final int start=0x7f060053; - public static final int status_bar_latest_event_content=0x7f060054; - public static final int tag_accessibility_actions=0x7f060055; - public static final int tag_accessibility_clickable_spans=0x7f060056; - public static final int tag_accessibility_heading=0x7f060057; - public static final int tag_accessibility_pane_title=0x7f060058; - public static final int tag_screen_reader_focusable=0x7f060059; - public static final int tag_transition_group=0x7f06005a; - public static final int tag_unhandled_key_event_manager=0x7f06005b; - public static final int tag_unhandled_key_listeners=0x7f06005c; - public static final int terrain=0x7f06005d; - public static final int text=0x7f06005e; - public static final int text2=0x7f06005f; - public static final int time=0x7f060060; - public static final int title=0x7f060061; - public static final int top=0x7f060062; - public static final int visible_removing_fragment_view_tag=0x7f060063; - public static final int wide=0x7f060064; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f070000; - public static final int google_play_services_version=0x7f070001; - public static final int status_bar_notification_info_maxnum=0x7f070002; - } - public static final class layout { - public static final int custom_dialog=0x7f080000; - public static final int notification_action=0x7f080001; - public static final int notification_action_tombstone=0x7f080002; - public static final int notification_media_action=0x7f080003; - public static final int notification_media_cancel_action=0x7f080004; - public static final int notification_template_big_media=0x7f080005; - public static final int notification_template_big_media_custom=0x7f080006; - public static final int notification_template_big_media_narrow=0x7f080007; - public static final int notification_template_big_media_narrow_custom=0x7f080008; - public static final int notification_template_custom_big=0x7f080009; - public static final int notification_template_icon_group=0x7f08000a; - public static final int notification_template_lines_media=0x7f08000b; - public static final int notification_template_media=0x7f08000c; - public static final int notification_template_media_custom=0x7f08000d; - public static final int notification_template_part_chronometer=0x7f08000e; - public static final int notification_template_part_time=0x7f08000f; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f090000; - public static final int common_google_play_services_enable_text=0x7f090001; - public static final int common_google_play_services_enable_title=0x7f090002; - public static final int common_google_play_services_install_button=0x7f090003; - public static final int common_google_play_services_install_text=0x7f090004; - public static final int common_google_play_services_install_title=0x7f090005; - public static final int common_google_play_services_notification_channel_name=0x7f090006; - public static final int common_google_play_services_notification_ticker=0x7f090007; - public static final int common_google_play_services_unknown_issue=0x7f090008; - public static final int common_google_play_services_unsupported_text=0x7f090009; - public static final int common_google_play_services_update_button=0x7f09000a; - public static final int common_google_play_services_update_text=0x7f09000b; - public static final int common_google_play_services_update_title=0x7f09000c; - public static final int common_google_play_services_updating_text=0x7f09000d; - public static final int common_google_play_services_wear_update_text=0x7f09000e; - public static final int common_open_on_phone=0x7f09000f; - public static final int common_signin_button_text=0x7f090010; - public static final int common_signin_button_text_long=0x7f090011; - public static final int fcm_fallback_notification_channel_label=0x7f090012; - public static final int status_bar_notification_info_overflow=0x7f090013; - } - public static final class style { - public static final int LightTheme=0x7f0a0000; - public static final int LowerCaseMenu=0x7f0a0001; - public static final int TextAppearance_Compat_Notification=0x7f0a0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0a0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0a0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0a0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0a0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0a0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0a0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0a0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0a000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0a000b; - public static final int Widget_Compat_NotificationActionContainer=0x7f0a000c; - public static final int Widget_Compat_NotificationActionText=0x7f0a000d; - public static final int Widget_Support_CoordinatorLayout=0x7f0a000e; - } - public static final class styleable { - /** - * 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 reparto_mazapa.keymon.lat: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, 0x7f020000 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines reparto_mazapa.keymon.lat:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground reparto_mazapa.keymon.lat: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={ - 0x7f02001b, 0x7f020029 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges reparto_mazapa.keymon.lat:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge reparto_mazapa.keymon.lat:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline reparto_mazapa.keymon.lat: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, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020023, 0x7f020024, 0x7f020025 - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f02000e - }; - /** - *

- * @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 reparto_mazapa.keymon.lat:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority reparto_mazapa.keymon.lat:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts reparto_mazapa.keymon.lat:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy reparto_mazapa.keymon.lat:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout reparto_mazapa.keymon.lat:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage reparto_mazapa.keymon.lat:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery reparto_mazapa.keymon.lat: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={ - 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, - 0x7f020014, 0x7f020015 - }; - /** - *

- * @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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle reparto_mazapa.keymon.lat:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings reparto_mazapa.keymon.lat:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight reparto_mazapa.keymon.lat:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex reparto_mazapa.keymon.lat: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, 0x7f02000f, 0x7f020016, 0x7f020017, - 0x7f020018, 0x7f02002b - }; - /** - *

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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat: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 reparto_mazapa.keymon.lat:circleCrop}
{@link #LoadingImageView_imageAspectRatio reparto_mazapa.keymon.lat:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust reparto_mazapa.keymon.lat:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000a, 0x7f020019, 0x7f02001a - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled reparto_mazapa.keymon.lat:ambientEnabled}
{@link #MapAttrs_cameraBearing reparto_mazapa.keymon.lat:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference reparto_mazapa.keymon.lat:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference reparto_mazapa.keymon.lat:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat reparto_mazapa.keymon.lat:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng reparto_mazapa.keymon.lat:cameraTargetLng}
{@link #MapAttrs_cameraTilt reparto_mazapa.keymon.lat:cameraTilt}
{@link #MapAttrs_cameraZoom reparto_mazapa.keymon.lat:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode reparto_mazapa.keymon.lat:liteMode}
{@link #MapAttrs_mapType reparto_mazapa.keymon.lat:mapType}
{@link #MapAttrs_uiCompass reparto_mazapa.keymon.lat:uiCompass}
{@link #MapAttrs_uiMapToolbar reparto_mazapa.keymon.lat:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures reparto_mazapa.keymon.lat:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures reparto_mazapa.keymon.lat:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures reparto_mazapa.keymon.lat:uiTiltGestures}
{@link #MapAttrs_uiZoomControls reparto_mazapa.keymon.lat:uiZoomControls}
{@link #MapAttrs_uiZoomGestures reparto_mazapa.keymon.lat:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle reparto_mazapa.keymon.lat:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop reparto_mazapa.keymon.lat: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={ - 0x7f020001, 0x7f020003, 0x7f020004, 0x7f020005, - 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, - 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f02001f, - 0x7f020026, 0x7f020027, 0x7f02002c, 0x7f02002d, - 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020031, - 0x7f020032, 0x7f020033, 0x7f020034, 0x7f020035 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize reparto_mazapa.keymon.lat:buttonSize}
{@link #SignInButton_colorScheme reparto_mazapa.keymon.lat:colorScheme}
{@link #SignInButton_scopeUris reparto_mazapa.keymon.lat:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020002, 0x7f02000b, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

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

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

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name reparto_mazapa.keymon.lat:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0c0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/res/drawable/icon.png b/B4A/Objects/res/drawable/icon.png deleted file mode 100644 index 32d4f3a..0000000 Binary files a/B4A/Objects/res/drawable/icon.png 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/src/reparto_mazapa/keymon/lat/animatedcounter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/animatedcounter.java deleted file mode 100644 index feb0f1e..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/animatedcounter.java +++ /dev/null @@ -1,339 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.animatedcounter"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/anotherprogressbar.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/anotherprogressbar.java deleted file mode 100644 index 3ad2bd4..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/anotherprogressbar.java +++ /dev/null @@ -1,552 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.anotherprogressbar"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.anotherprogressbar parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/appupdater.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/appupdater.java deleted file mode 100644 index 3bfa93a..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/appupdater.java +++ /dev/null @@ -1,677 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.appupdater._mnewversion _newapp = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 = 222;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; - //BA.debugLineNum = 223;BA.debugLine="n2.Initialize"; -_n2.Initialize(); - //BA.debugLineNum = 224;BA.debugLine="n2.Light = False"; -_n2.setLight(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 225;BA.debugLine="n2.Vibrate = Vibrate"; -_n2.setVibrate(_vibrate); - //BA.debugLineNum = 226;BA.debugLine="n2.Sound = Sound"; -_n2.setSound(_sound); - //BA.debugLineNum = 227;BA.debugLine="n2.OnGoingEvent = True"; -_n2.setOnGoingEvent(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 228;BA.debugLine="n2.Icon = Icon"; -_n2.setIcon(_icon); - //BA.debugLineNum = 229;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; -_n2.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 230;BA.debugLine="n2.Notify(nNewAppnID)"; -_n2.Notify(_nnewappnid); - //BA.debugLineNum = 231;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 = 206;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; - //BA.debugLineNum = 209;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; -_pn.Initialize2(_pn.IMPORTANCE_HIGH); - //BA.debugLineNum = 212;BA.debugLine="pN.Vibrate = Vibrate"; -_pn.setVibrate(_vibrate); - //BA.debugLineNum = 213;BA.debugLine="pN.Sound = Sound"; -_pn.setSound(_sound); - //BA.debugLineNum = 215;BA.debugLine="pN.Icon = Icon"; -_pn.setIcon(_icon); - //BA.debugLineNum = 216;BA.debugLine="pN.AutoCancel = True"; -_pn.setAutoCancel(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 217;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; -_pn.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 218;BA.debugLine="pN.Notify(pNID)"; -_pn.Notify(_pnid); - //BA.debugLineNum = 219;BA.debugLine="Return pN"; -if (true) return _pn; - //BA.debugLineNum = 220;BA.debugLine="End Sub"; -return null; -} -public static reparto_mazapa.keymon.lat.httpjob _download(Object _callback,String _link) throws Exception{ -reparto_mazapa.keymon.lat.httpjob _j = null; - //BA.debugLineNum = 199;BA.debugLine="Sub Download (Callback As Object, link As String)"; - //BA.debugLineNum = 200;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 201;BA.debugLine="j.Initialize(\"\", Callback)"; -_j._initialize /*String*/ (processBA,"",_callback); - //BA.debugLineNum = 202;BA.debugLine="j.Download(link)"; -_j._download /*String*/ (_link); - //BA.debugLineNum = 203;BA.debugLine="Return j"; -if (true) return _j; - //BA.debugLineNum = 204;BA.debugLine="End Sub"; -return null; -} -public static String _download_destroy() throws Exception{ - //BA.debugLineNum = 194;BA.debugLine="Sub download_Destroy"; - //BA.debugLineNum = 195;BA.debugLine="n2.Cancel(n2ID)"; -_n2.Cancel(_n2id); - //BA.debugLineNum = 196;BA.debugLine="Service.StopForeground(n2ID)"; -mostCurrent._service.StopForeground(_n2id); - //BA.debugLineNum = 197;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(reparto_mazapa.keymon.lat.appupdater parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.appupdater parent; -reparto_mazapa.keymon.lat.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 = 159;BA.debugLine="Log(\"Descargando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351511299","Descargando actualización",0); - //BA.debugLineNum = 160;BA.debugLine="B4XPages.ShowPage(\"login\")"; -parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login"); - //BA.debugLineNum = 161;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Descargando ac"; -parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Descargando actualización"); - //BA.debugLineNum = 162;BA.debugLine="Starter.muestraProgreso = 1"; -parent.mostCurrent._starter._muestraprogreso /*String*/ = BA.NumberToString(1); - //BA.debugLineNum = 163;BA.debugLine="Dim job_newAPP As HttpJob"; -_job_newapp = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 164;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; -_job_newapp._initialize /*String*/ (processBA,"job_newAPP",appupdater.getObject()); - //BA.debugLineNum = 165;BA.debugLine="job_newAPP.Download(newApp.appLink)"; -_job_newapp._download /*String*/ (parent._newapp.appLink /*String*/ ); - //BA.debugLineNum = 166;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; -anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_job_newapp)); -this.state = 9; -return; -case 9: -//C -this.state = 1; -_job_newapp = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 167;BA.debugLine="If job_newAPP.Success = True Then"; -if (true) break; - -case 1: -//if -this.state = 8; -if (_job_newapp._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.True) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 169;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 = 170;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 = 173;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 = 174;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 = 175;BA.debugLine="outNewAPK.Close"; -_outnewapk.Close(); - //BA.debugLineNum = 177;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 178;BA.debugLine="Log(\"ocultamos prigreso DOWNLOAD APK\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351511318","ocultamos prigreso DOWNLOAD APK",0); - if (true) break; - -case 8: -//C -this.state = -1; -; - //BA.debugLineNum = 180;BA.debugLine="job_newAPP.Release"; -_job_newapp._release /*String*/ (); - //BA.debugLineNum = 182;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 183;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; -_in.Initialize(_in.ACTION_VIEW,""); - //BA.debugLineNum = 184;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; -_setfileuriasintentdata(_in,"newapp.apk"); - //BA.debugLineNum = 186;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; -_in.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 187;BA.debugLine="StartActivity(in)"; -anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_in.getObject())); - //BA.debugLineNum = 188;BA.debugLine="n2.Cancel(nNewAppnID)"; -parent._n2.Cancel(parent._nnewappnid); - //BA.debugLineNum = 190;BA.debugLine="StopService(Me)"; -anywheresoftware.b4a.keywords.Common.StopService(processBA,appupdater.getObject()); - //BA.debugLineNum = 192;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static void _jobdone(reparto_mazapa.keymon.lat.httpjob _job_newapp) throws Exception{ -} -public static String _download_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 152;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 153;BA.debugLine="download_newApk"; -_download_newapk(); - //BA.debugLineNum = 154;BA.debugLine="End Sub"; -return ""; -} -public static String _fileprovider_init() throws Exception{ -anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 237;BA.debugLine="Sub fileProvider_init"; - //BA.debugLineNum = 238;BA.debugLine="Dim p As Phone"; -_p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 239;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 = 240;BA.debugLine="UseFileProvider = True"; -_usefileprovider = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 241;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = anywheresoftware.b4a.keywords.Common.File.Combine(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"); - //BA.debugLineNum = 242;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 = 243;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -anywheresoftware.b4a.keywords.Common.File.MakeDir("",_sharedfolder); - }; - }else { - //BA.debugLineNum = 246;BA.debugLine="UseFileProvider = False"; -_usefileprovider = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 247;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); - }; - //BA.debugLineNum = 249;BA.debugLine="Log($\"Using FileProvider? - ${UseFileProvider}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("351904524",("Using FileProvider? - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 250;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 = 253;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; - //BA.debugLineNum = 254;BA.debugLine="Try"; -try { //BA.debugLineNum = 255;BA.debugLine="If Not(UseFileProvider) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(_usefileprovider)) { - //BA.debugLineNum = 256;BA.debugLine="Dim uri As JavaObject"; -_uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 257;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 = 259;BA.debugLine="Dim f As JavaObject"; -_f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 260;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 261;BA.debugLine="Dim fp As JavaObject"; -_fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 262;BA.debugLine="Dim context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 263;BA.debugLine="context.InitializeContext"; -_context.InitializeContext(processBA); - //BA.debugLineNum = 264;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; -_fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 265;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 = 267;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; -anywheresoftware.b4a.keywords.Common.LogImpl("351970062","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); - //BA.debugLineNum = 268;BA.debugLine="Return \"\""; -if (true) return (Object)(""); - }; - //BA.debugLineNum = 270;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.net/movil/"; -_lnk = "https://keymon.net/movil/MAZAPA/MAZAPA_reparto.ver"; - //BA.debugLineNum = 85;BA.debugLine="Public nNewApp As Notification"; -_nnewapp = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Public nNewAppnID As Int = 16"; -_nnewappnid = (int) (16); - //BA.debugLineNum = 88;BA.debugLine="Dim nativeMe As JavaObject"; -_nativeme = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 89;BA.debugLine="Dim n2 As Notification"; -_n2 = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Dim n2ID As Int = 16"; -_n2id = (int) (16); - //BA.debugLineNum = 92;BA.debugLine="Public SharedFolder As String"; -_sharedfolder = ""; - //BA.debugLineNum = 93;BA.debugLine="Public UseFileProvider As Boolean"; -_usefileprovider = false; - //BA.debugLineNum = 94;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 96;BA.debugLine="Type mNewVersion(update As Boolean, nonewAPP As B"; -; - //BA.debugLineNum = 98;BA.debugLine="Public newApp As mNewVersion"; -_newapp = new reparto_mazapa.keymon.lat.appupdater._mnewversion(); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 101;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 102;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351314689","appUpdater(), Service_Create",0); - //BA.debugLineNum = 103;BA.debugLine="newApp.Initialize"; -_newapp.Initialize(); - //BA.debugLineNum = 104;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; -mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 105;BA.debugLine="n2.Initialize"; -_n2.Initialize(); - //BA.debugLineNum = 106;BA.debugLine="nativeMe.InitializeContext"; -_nativeme.InitializeContext(processBA); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 233;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 234;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351838977","appUpdater(), Service_Destroy",0); - //BA.debugLineNum = 235;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(reparto_mazapa.keymon.lat.appupdater parent,anywheresoftware.b4a.objects.IntentWrapper _startingintent) { -this.parent = parent; -this._startingintent = _startingintent; -} -reparto_mazapa.keymon.lat.appupdater parent; -anywheresoftware.b4a.objects.IntentWrapper _startingintent; -reparto_mazapa.keymon.lat.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 = 110;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351380225","appUpdater(), Service_Start",0); - //BA.debugLineNum = 112;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; -parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualización"); - //BA.debugLineNum = 113;BA.debugLine="Log(\"Buscando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351380228","Buscando actualización",0); - //BA.debugLineNum = 114;BA.debugLine="fileProvider_init"; -_fileprovider_init(); - //BA.debugLineNum = 115;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 = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 116;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 = 117;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 = 118;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 = 120;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; -parent._newapp.appLink /*String*/ = _app[(int) (3)]; - //BA.debugLineNum = 121;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; -parent._newapp.newMsg /*String*/ = _app[(int) (1)]; - //BA.debugLineNum = 122;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; -parent._newapp.okMsg /*String*/ = _app[(int) (2)]; - //BA.debugLineNum = 123;BA.debugLine="newApp.version = app(0) 'Version actual"; -parent._newapp.version /*String*/ = _app[(int) (0)]; - //BA.debugLineNum = 125;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; -anywheresoftware.b4a.keywords.Common.LogImpl("351380240",("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 = 128;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 = 129;BA.debugLine="newApp.update = False"; -parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 130;BA.debugLine="Log(\"No new app\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351380245","No new app",0); - //BA.debugLineNum = 131;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; -parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); - //BA.debugLineNum = 133;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 = 135;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 = 136;BA.debugLine="newApp.update = True"; -parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 137;BA.debugLine="Log(\"New app true\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("351380252","New app true",0); - //BA.debugLineNum = 138;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 = 143;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; -anywheresoftware.b4a.keywords.Common.LogImpl("351380258","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 = 146;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; -anywheresoftware.b4a.keywords.Common.LogImpl("351380261","appUpdater(), Job Failed "+parent._lnk,0); - if (true) break; - -case 19: -//C -this.state = -1; -; - //BA.debugLineNum = 148;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 150;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 = 274;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; - //BA.debugLineNum = 275;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 = 276;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 277;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 = 278;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbitset.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbitset.java deleted file mode 100644 index 4a7b05c..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbitset.java +++ /dev/null @@ -1,126 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xbitset"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xbreadcrumb.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbreadcrumb.java deleted file mode 100644 index 3f0fe25..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbreadcrumb.java +++ /dev/null @@ -1,397 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xbreadcrumb"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xbytesbuilder.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbytesbuilder.java deleted file mode 100644 index 110c948..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xbytesbuilder.java +++ /dev/null @@ -1,270 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xbytesbuilder"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 (reparto_mazapa.keymon.lat.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("914024706","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("914090242","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/reparto_mazapa/keymon/lat/b4xcache.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcache.java deleted file mode 100644 index 73863b0..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcache.java +++ /dev/null @@ -1,274 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xcache"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.b4xcache.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public reparto_mazapa.keymon.lat.b4xorderedmap _data = null; -public int _mmaxsize = 0; -public float _removethreshold = 0f; -public int _eternalcounts = 0; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xcache._b4xcacheitem _createb4xcacheitem(Object _value,String _key) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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; -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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)(((reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xcollections.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcollections.java deleted file mode 100644 index 247e258..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcollections.java +++ /dev/null @@ -1,113 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static reparto_mazapa.keymon.lat.b4xbitset _createbitset(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xorderedmap _createorderedmap2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _keys,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xset _createset2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xcolortemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcolortemplate.java deleted file mode 100644 index fa82081..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcolortemplate.java +++ /dev/null @@ -1,705 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xcolortemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xcolortemplate._colorpickerpart _huebar = null; -public reparto_mazapa.keymon.lat.b4xcolortemplate._colorpickerpart _colorpicker = null; -public reparto_mazapa.keymon.lat.b4xcolortemplate._colorpickerpart _alphabar = null; -public int _borderscolor = 0; -public reparto_mazapa.keymon.lat.b4xdialog _xdialog = null; -public Object[] _initialcolor = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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; -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xcolortemplate._colorpickerpart(); -_colorpicker = new reparto_mazapa.keymon.lat.b4xcolortemplate._colorpickerpart(); -_alphabar = new reparto_mazapa.keymon.lat.b4xcolortemplate._colorpickerpart(); - //BA.debugLineNum = 12;BA.debugLine="Private BordersColor As Int"; -_borderscolor = 0; - //BA.debugLineNum = 13;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(String _eventname,boolean _withcheckers) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xcolortemplate parent,reparto_mazapa.keymon.lat.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -reparto_mazapa.keymon.lat.b4xcolortemplate parent; -reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcombobox.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcombobox.java deleted file mode 100644 index e95cfcb..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcombobox.java +++ /dev/null @@ -1,319 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xcombobox"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xcombobox parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xcomparatorsort.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcomparatorsort.java deleted file mode 100644 index b53b849..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xcomparatorsort.java +++ /dev/null @@ -1,127 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xcomparatorsort"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xdatetemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java deleted file mode 100644 index 7c5d26d..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdatetemplate.java +++ /dev/null @@ -1,547 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xdatetemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xdialog _mdialog = null; -public boolean _closeonselection = false; -public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xdatetemplate parent,reparto_mazapa.keymon.lat.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -reparto_mazapa.keymon.lat.b4xdatetemplate parent; -reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdialog.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdialog.java deleted file mode 100644 index 21db40b..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xdialog.java +++ /dev/null @@ -1,1189 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xdialog"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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; -} -reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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; -} -reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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; -} -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xfloattextfield.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java deleted file mode 100644 index 0eb1650..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xfloattextfield.java +++ /dev/null @@ -1,857 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xfloattextfield"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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("930605336","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 reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xfloattextfield parent,boolean _toregular) { -this.parent = parent; -this._toregular = _toregular; -} -reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xformatter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xformatter.java deleted file mode 100644 index e4c30ba..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xformatter.java +++ /dev/null @@ -1,380 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xformatter"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xformatter._b4xformatdata _copyformatdata(reparto_mazapa.keymon.lat.b4xformatter._b4xformatdata _data) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xformatter._b4xformatdata _createdefaultformat() throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 (reparto_mazapa.keymon.lat.b4xformatter._b4xformatdata)(_formats.Get((int) (0))); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; -return null; -} -public reparto_mazapa.keymon.lat.b4xformatter._b4xformatdata _getformatdata(double _number) throws Exception{ -int _i = 0; -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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 (reparto_mazapa.keymon.lat.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); -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4ximageview.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java deleted file mode 100644 index 54cec5d..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4ximageview.java +++ /dev/null @@ -1,307 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4ximageview"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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("932964635","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/reparto_mazapa/keymon/lat/b4xinputtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xinputtemplate.java deleted file mode 100644 index da676e3..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xinputtemplate.java +++ /dev/null @@ -1,289 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xinputtemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xinputtemplate parent,reparto_mazapa.keymon.lat.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -reparto_mazapa.keymon.lat.b4xinputtemplate parent; -reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlisttemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlisttemplate.java deleted file mode 100644 index 586aa78..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlisttemplate.java +++ /dev/null @@ -1,335 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xlisttemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xlisttemplate parent,reparto_mazapa.keymon.lat.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -reparto_mazapa.keymon.lat.b4xlisttemplate parent; -reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xloadingindicator.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xloadingindicator.java deleted file mode 100644 index 678dd27..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xloadingindicator.java +++ /dev/null @@ -1,410 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xloadingindicator"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xloadingindicator parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xlongtexttemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlongtexttemplate.java deleted file mode 100644 index 09fd159..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xlongtexttemplate.java +++ /dev/null @@ -1,127 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xlongtexttemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java deleted file mode 100644 index 41a137a..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xmainpage.java +++ /dev/null @@ -1,2495 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xmainpage"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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.objects.RuntimePermissions _rp = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public reparto_mazapa.keymon.lat.b4xmainpage _login = null; -public reparto_mazapa.keymon.lat.c_principal _principal = null; -public reparto_mazapa.keymon.lat.c_clientes _clientes = null; -public reparto_mazapa.keymon.lat.c_cliente _cliente = null; -public reparto_mazapa.keymon.lat.c_productos _productos = null; -public reparto_mazapa.keymon.lat.c_updateavailable _updateavailable = null; -public reparto_mazapa.keymon.lat.c_mapas _mapas = null; -public reparto_mazapa.keymon.lat.c_nuevocliente _nuevocliente = null; -public reparto_mazapa.keymon.lat.c_ticketsdia _ticketsdia = null; -public reparto_mazapa.keymon.lat.c_noventa _noventa = null; -public reparto_mazapa.keymon.lat.c_pedidos _pedidos = null; -public reparto_mazapa.keymon.lat.c_buscar _buscar = null; -public reparto_mazapa.keymon.lat.c_detalleventa _detalleventa = null; -public reparto_mazapa.keymon.lat.c_detalle_promo _detalle_promo = null; -public reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null; -public String _usuario = ""; -public boolean _logger = false; -public String _lat_gps = ""; -public String _lon_gps = ""; -public String _server = ""; -public String _montoactual = ""; -public String _clientestotal = ""; -public String _clientesventa = ""; -public String _clientesrechazo = ""; -public String _clientesvisitados = ""; -public String _almacen = ""; -public String _rutapreventa = ""; -public String _cantidadprod = ""; -public String _ultimaactualizaciongps = ""; -public String _fecharuta = ""; -public String _srvip = ""; -public anywheresoftware.b4a.phone.Phone _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 anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public anywheresoftware.b4a.objects.ButtonWrapper _entrar = null; -public reparto_mazapa.keymon.lat.c_cheklist _checklist = null; -public reparto_mazapa.keymon.lat.c_tabulador _tabulador = null; -public int _batt = 0; -public String _porvisitar = ""; -public String _entregas = ""; -public String _rechazos = ""; -public String _montoentregado = ""; -public String _montorechazado = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_appupdate = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _i_engrane = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_server = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_apk = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_enviobd = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_regesar = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_server = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_serverlist = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_server = null; -public reparto_mazapa.keymon.lat.fileprovider _provider = null; -public String _rutabdbackup = ""; -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 anywheresoftware.b4a.objects.PanelWrapper _p_add_monto = null; -public String _sdate = ""; -public String _stime = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_validacion = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarcodigo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_codigo = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_terpc = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_pc_env = null; -public b4a.example3.customlistview _clv_pick_ciego = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_buspc = null; -public String _q_buscar = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_cargarmonto = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_arqueocieego = null; -public anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -public reparto_mazapa.keymon.lat.b4xswitch _b4xswitch2 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_geopass = null; -public anywheresoftware.b4a.objects.ButtonWrapper _bacepgeo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _bcangeo = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_centrageopass = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_fondopass = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_passgeo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ingresapass = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_aceptar_click() throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 1022;BA.debugLine="Private Sub b_aceptar_Click"; - //BA.debugLineNum = 1023;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_f = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 1024;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 1025;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; -_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_a = (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 = 1026;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 1027;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1028;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1029;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; -_cmd.Name /*String*/ = "select_estatus_MAZAPA"; - //BA.debugLineNum = 1030;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_a.GetString("ID_ALMACEN")),(Object)(_f.GetString("RUTAA"))}; - //BA.debugLineNum = 1031;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus2\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("estatus2")); - //BA.debugLineNum = 1032;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 1033;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 1038;BA.debugLine="End Sub"; -return ""; -} -public String _b_aceptar_monto_click() throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 739;BA.debugLine="Private Sub B_Aceptar_Monto_Click"; - //BA.debugLineNum = 740;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_f = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 741;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 742;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\"sele"; -_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_a = (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 = 743;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 744;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 745;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 746;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; -_cmd.Name /*String*/ = "select_estatus_MAZAPA"; - //BA.debugLineNum = 747;BA.debugLine="cmd.Parameters = Array As Object(a.GetString(\"ID_"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_a.GetString("ID_ALMACEN")),(Object)(_f.GetString("RUTAA"))}; - //BA.debugLineNum = 748;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("estatus")); - //BA.debugLineNum = 749;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 750;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 751;BA.debugLine="End Sub"; -return ""; -} -public String _b_apk_click() throws Exception{ - //BA.debugLineNum = 679;BA.debugLine="Private Sub b_apk_Click"; - //BA.debugLineNum = 680;BA.debugLine="StartService(appUpdater)"; -__c.StartService(ba,(Object)(_appupdater.getObject())); - //BA.debugLineNum = 681;BA.debugLine="End Sub"; -return ""; -} -public String _b_arqueocieego_click() throws Exception{ - //BA.debugLineNum = 827;BA.debugLine="Private Sub b_arqueocieego_Click"; - //BA.debugLineNum = 828;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM CAT_GU"; -_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 CAT_GUNAPROD3"))); - //BA.debugLineNum = 829;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 830;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_validacion,(int) (0),(int) (0)); - }else { - //BA.debugLineNum = 832;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 = 834;BA.debugLine="End Sub"; -return ""; -} -public String _b_can_monto_click() throws Exception{ - //BA.debugLineNum = 823;BA.debugLine="Private Sub B_Can_Monto_Click"; - //BA.debugLineNum = 824;BA.debugLine="p_add_monto.Visible = False"; -_p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 825;BA.debugLine="End Sub"; -return ""; -} -public String _b_cancelarcodigo_click() throws Exception{ - //BA.debugLineNum = 1066;BA.debugLine="Private Sub b_cancelarcodigo_Click"; - //BA.debugLineNum = 1067;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 1068;BA.debugLine="End Sub"; -return ""; -} -public String _b_cargarmonto_click() throws Exception{ - //BA.debugLineNum = 722;BA.debugLine="Private Sub b_CargarMonto_Click"; - //BA.debugLineNum = 724;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM kmt_in"; -_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 kmt_info"))); - //BA.debugLineNum = 725;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 726;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; -if (_c.getRowCount()<0 || _c.getRowCount()==0) { - //BA.debugLineNum = 727;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 = 729;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_add_monto,(int) (0),(int) (0)); - }; - //BA.debugLineNum = 731;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 733;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(reparto_mazapa.keymon.lat.b4xmainpage parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 664;BA.debugLine="Dim FileName As String = \"kmt.db\""; -_filename = "kmt.db"; - //BA.debugLineNum = 666;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; -parent.__c.LogImpl("31572869","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); - //BA.debugLineNum = 667;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 668;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 = 669;BA.debugLine="Dim email As Email"; -_email = new anywheresoftware.b4a.phone.Phone.Email(); - //BA.debugLineNum = 670;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; -_email.To.Add((Object)("soporte@keymonsoft.com")); - //BA.debugLineNum = 671;BA.debugLine="email.Subject = \"Base de datos para revisión\""; -_email.Subject = "Base de datos para revisión"; - //BA.debugLineNum = 672;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; -_email.Attachments.Add(parent._provider._getfileuri /*Object*/ (_filename)); - //BA.debugLineNum = 674;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 = 675;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; -_in.setFlags((int) (1)); - //BA.debugLineNum = 676;BA.debugLine="StartActivity(in)"; -parent.__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 677;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -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; -anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; -String[] _fechatabulador = null; -String[] _fechatabulador2 = null; -String _fechatabulador3 = ""; - //BA.debugLineNum = 877;BA.debugLine="Private Sub B_PC_ENV_Click"; - //BA.debugLineNum = 878;BA.debugLine="Dim sDate, sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 879;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 880;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 881;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 882;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 885;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 = 887;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; -_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_itempanel = _clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 888;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; -_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 889;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; -_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 890;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 = 893;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; -if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { - //BA.debugLineNum = 894;BA.debugLine="inputText = \"0\""; -_inputtext = "0"; - }; - //BA.debugLineNum = 898;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; -_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 899;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 = 900;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; -_idparts = __c.Regex.Split(__c.CRLF,_idtext); - //BA.debugLineNum = 902;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RUTA"; -_f = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 903;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 904;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("32490395",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 905;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; -_a = (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 = 906;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 907;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); - }; - //BA.debugLineNum = 909;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELECT"; -_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_k = (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 HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 910;BA.debugLine="k.Position = 0"; -_k.setPosition((int) (0)); - //BA.debugLineNum = 911;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\" \""; -_fechatabulador = __c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 912;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\"-"; -_fechatabulador2 = __c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 913;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2("; -_fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 914;BA.debugLine="k.Close"; -_k.Close(); - //BA.debugLineNum = 915;BA.debugLine="If inputText <> \"\" Then"; -if ((_inputtext).equals("") == false) { - //BA.debugLineNum = 916;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 = 917;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 919;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("32490410",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 920;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK_C"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .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("RUTAA"),_fechatabulador3+" "+_stime})); - }else { - //BA.debugLineNum = 923;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -__c.LogImpl("32490414",_f.GetString("RUTAA"),0); - //BA.debugLineNum = 924;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEGO"; -_starter._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 = 928;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 929;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 930;BA.debugLine="Log(\"Processed item \" & i)"; -__c.LogImpl("32490421","Processed item "+BA.NumberToString(_i),0); - } -}; - //BA.debugLineNum = 932;BA.debugLine="et_buspc.Text = \"\""; -_et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 933;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - //BA.debugLineNum = 934;BA.debugLine="End Sub"; -return ""; -} -public String _b_regesar_click() throws Exception{ - //BA.debugLineNum = 655;BA.debugLine="Private Sub b_regesar_Click"; - //BA.debugLineNum = 656;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 657;BA.debugLine="p_appUpdate.Visible = False"; -_p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 658;BA.debugLine="End Sub"; -return ""; -} -public String _b_server_click() throws Exception{ - //BA.debugLineNum = 683;BA.debugLine="Private Sub b_server_Click"; - //BA.debugLineNum = 684;BA.debugLine="Log(\"Guardar servidor\")"; -__c.LogImpl("31703937","Guardar servidor",0); - //BA.debugLineNum = 685;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARIA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")})); - //BA.debugLineNum = 686;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIA"; -_starter._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)("SERVER"),(Object)(_et_server.getText())})); - //BA.debugLineNum = 687;BA.debugLine="B4XPages.MainPage.server = et_server.text"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ = _et_server.getText(); - //BA.debugLineNum = 688;BA.debugLine="Starter.server = B4XPages.MainPage.server"; -_starter._server /*String*/ = _b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ; - //BA.debugLineNum = 689;BA.debugLine="If logger Then Log(\"Inicializamos reqManager con"; -if (_logger) { -__c.LogImpl("31703942","Inicializamos reqManager con "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; - //BA.debugLineNum = 690;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 691;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("31703944",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 692;BA.debugLine="reinicializaReqManager"; -_reinicializareqmanager(); - //BA.debugLineNum = 693;BA.debugLine="p_appUpdate.Visible = False"; -_p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 695;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(reparto_mazapa.keymon.lat.b4xmainpage parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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; -anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; -String[] _fechatabulador = null; -String[] _fechatabulador2 = null; -String _fechatabulador3 = ""; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; -int step12; -int limit12; -int step55; -int limit55; - -@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 = 937;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 = 938;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 = 939;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 = 940;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 = 941;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 = 942;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 = 944;BA.debugLine="Dim sDate, sTime As String"; -parent._sdate = ""; -parent._stime = ""; - //BA.debugLineNum = 945;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 946;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 947;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 948;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 950;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 = 952;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 = 953;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; -_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 954;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; -_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 955;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 = 958;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 = 959;BA.debugLine="inputText = \"0\""; -_inputtext = "0"; - if (true) break; - -case 13: -//C -this.state = 14; -; - //BA.debugLineNum = 963;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; -_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 964;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 = 965;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; -_idparts = parent.__c.Regex.Split(parent.__c.CRLF,_idtext); - //BA.debugLineNum = 967;BA.debugLine="f=Starter.skmt.ExecQuery(\"select RUTAA from RU"; -parent._f = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 968;BA.debugLine="f.Position=0"; -parent._f.setPosition((int) (0)); - //BA.debugLineNum = 969;BA.debugLine="Log(f.GetString(\"RUTAA\"))"; -parent.__c.LogImpl("32555937",parent._f.GetString("RUTAA"),0); - //BA.debugLineNum = 971;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN fr"; -parent._a = (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 ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 972;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 = 973;BA.debugLine="a.Position=0"; -parent._a.setPosition((int) (0)); - if (true) break; - -case 17: -//C -this.state = 18; -; - //BA.debugLineNum = 975;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -parent.__c.LogImpl("32555943",parent._a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 977;BA.debugLine="Dim k As Cursor = Starter.skmt.ExecQuery(\"SELE"; -_k = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_k = (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 HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 978;BA.debugLine="k.Position = 0"; -_k.setPosition((int) (0)); - //BA.debugLineNum = 979;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; -_fechatabulador = parent.__c.Regex.Split(" ",_k.GetString("HVD_FECHA")); - //BA.debugLineNum = 980;BA.debugLine="Dim fechatabulador2() As String = Regex.Split("; -_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 981;BA.debugLine="Dim fechatabulador3 As String = fechatabulador"; -_fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 982;BA.debugLine="k.Close"; -_k.Close(); - //BA.debugLineNum = 983;BA.debugLine="If inputText <> \"\" Then"; -if (true) break; - -case 18: -//if -this.state = 27; -if ((_inputtext).equals("") == false) { -this.state = 20; -}if (true) break; - -case 20: -//C -this.state = 21; - //BA.debugLineNum = 984;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 = 985;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 = 987;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PICK"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .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("RUTAA"),_fechatabulador3+" "+parent._stime})); - if (true) break; - -case 25: -//C -this.state = 26; - //BA.debugLineNum = 989;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update PICK_CIEG"; -parent._starter._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 = 992;BA.debugLine="f.Close"; -parent._f.Close(); - //BA.debugLineNum = 993;BA.debugLine="a.Close"; -parent._a.Close(); - //BA.debugLineNum = 994;BA.debugLine="Log(\"Processed item \" & i)"; -parent.__c.LogImpl("32555962","Processed item "+BA.NumberToString(_i),0); - if (true) break; -if (true) break; - -case 28: -//C -this.state = 29; -; - //BA.debugLineNum = 996;BA.debugLine="Log(\"Finished processing all items\")"; -parent.__c.LogImpl("32555964","Finished processing all items",0); - //BA.debugLineNum = 997;BA.debugLine="P_CIEGO.Visible = False"; -parent._p_ciego.setVisible(parent.__c.False); - //BA.debugLineNum = 998;BA.debugLine="et_buspc.Text = \"\""; -parent._et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 999;BA.debugLine="CLV_PICK_CIEGO.Clear"; -parent._clv_pick_ciego._clear(); - //BA.debugLineNum = 1000;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 = 1001;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 = 1002;BA.debugLine="For i = 0 To c.RowCount - 1"; -if (true) break; - -case 32: -//for -this.state = 35; -step55 = 1; -limit55 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 45; -if (true) break; - -case 45: -//C -this.state = 35; -if ((step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55)) this.state = 34; -if (true) break; - -case 46: -//C -this.state = 45; -_i = ((int)(0 + _i + step55)) ; -if (true) break; - -case 34: -//C -this.state = 46; - //BA.debugLineNum = 1003;BA.debugLine="c.Position = i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 1004;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1005;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1006;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_MAZAPA\" '"; -_cmd.Name /*String*/ = "select_HIST_PICKCIEGO_MAZAPA"; - //BA.debugLineNum = 1007;BA.debugLine="cmd.Parameters = Array As Object(c.GetString("; -_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)("REPARTO")}; - //BA.debugLineNum = 1008;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c"; -parent._reqmanager._executequery /*String*/ (_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 = 1011;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 = 1016;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(reparto_mazapa.keymon.lat.b4xmainpage parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.b4xmainpage 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 = 235;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 = 236;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; -parent._muestraprogreso("Descargando actualización"); - //BA.debugLineNum = 237;BA.debugLine="Starter.muestraProgreso = 0"; -parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 239;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -parent._subs._centrapanel /*String*/ (ba,parent._p_principal,parent._root.getWidth()); - //BA.debugLineNum = 240;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 = 242;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 31; -return; -case 31: -//C -this.state = 5; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 243;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 = 244;BA.debugLine="StartService(Tracker)"; -parent.__c.StartService(ba,(Object)(parent._tracker.getObject())); - //BA.debugLineNum = 245;BA.debugLine="Log(\"Start Tracker\")"; -parent.__c.LogImpl("31179659","Start Tracker",0); - if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 247;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de ubicacion"),parent.__c.True); - if (true) break; - -case 10: -//C -this.state = 11; -; - //BA.debugLineNum = 251;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; -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 USUARIO from usuarioa"))); - //BA.debugLineNum = 252;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 = 255;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 256;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - if (true) break; - -case 14: -//C -this.state = 15; -; - //BA.debugLineNum = 258;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 259;BA.debugLine="Starter.distanciaGeo = \"\""; -parent._starter._distanciageo /*String*/ = ""; - //BA.debugLineNum = 260;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO"; -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 HABILITADO FROM GPS"))); - //BA.debugLineNum = 261;BA.debugLine="If c.RowCount = 0 Then"; -if (true) break; - -case 15: -//if -this.state = 18; -if (parent._c.getRowCount()==0) { -this.state = 17; -}if (true) break; - -case 17: -//C -this.state = 18; - //BA.debugLineNum = 262;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - if (true) break; - -case 18: -//C -this.state = 19; -; - //BA.debugLineNum = 264;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO"; -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 HABILITADO FROM GPS"))); - //BA.debugLineNum = 265;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 19: -//if -this.state = 30; -if (parent._c.getRowCount()>0) { -this.state = 21; -}else { -this.state = 29; -}if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 266;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 267;BA.debugLine="If c.GetString(\"HABILITADO\") = 0 Then"; -if (true) break; - -case 22: -//if -this.state = 27; -if ((parent._c.GetString("HABILITADO")).equals(BA.NumberToString(0))) { -this.state = 24; -}else if((parent._c.GetString("HABILITADO")).equals(BA.NumberToString(1))) { -this.state = 26; -}if (true) break; - -case 24: -//C -this.state = 27; - //BA.debugLineNum = 268;BA.debugLine="Starter.distanciaGeo = \"500000000000\""; -parent._starter._distanciageo /*String*/ = "500000000000"; - //BA.debugLineNum = 269;BA.debugLine="Log(\"Esto es la distancia si esta desactivada l"; -parent.__c.LogImpl("31179683","Esto es la distancia si esta desactivada la Geo: "+parent._starter._distanciageo /*String*/ ,0); - //BA.debugLineNum = 270;BA.debugLine="B4XSwitch2.Value = False"; -parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.False); - if (true) break; - -case 26: -//C -this.state = 27; - //BA.debugLineNum = 272;BA.debugLine="Starter.distanciaGeo = \"50\""; -parent._starter._distanciageo /*String*/ = "50"; - //BA.debugLineNum = 273;BA.debugLine="Log(\"Esto es la distancia si esta activada la G"; -parent.__c.LogImpl("31179687","Esto es la distancia si esta activada la Geo: "+parent._starter._distanciageo /*String*/ ,0); - //BA.debugLineNum = 274;BA.debugLine="B4XSwitch2.Value = True"; -parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.True); - if (true) break; - -case 27: -//C -this.state = 30; -; - if (true) break; - -case 29: -//C -this.state = 30; - if (true) break; - -case 30: -//C -this.state = -1; -; - //BA.debugLineNum = 342;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ -} -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(reparto_mazapa.keymon.lat.b4xmainpage parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 646;BA.debugLine="If p_appUpdate.Visible Then"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent._p_appupdate.getVisible()) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 647;BA.debugLine="p_appUpdate.Visible = False"; -parent._p_appupdate.setVisible(parent.__c.False); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 649;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 7; -return; -case 7: -//C -this.state = 6; -; - //BA.debugLineNum = 650;BA.debugLine="ExitApplication"; -parent.__c.ExitApplication(); - if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 652;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 653;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 119;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 120;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 121;BA.debugLine="B4XPages.GetManager.LogEvents = True"; -_b4xpages._getmanager /*reparto_mazapa.keymon.lat.b4xpagesmanager*/ (ba)._logevents /*boolean*/ = __c.True; - //BA.debugLineNum = 122;BA.debugLine="Root.LoadLayout(\"login\")"; -_root.LoadLayout("login",ba); - //BA.debugLineNum = 123;BA.debugLine="B4XPages.SetTitle(Me, \"MAZAPA Reparto\")"; -_b4xpages._settitle /*String*/ (ba,this,(Object)("MAZAPA Reparto")); - //BA.debugLineNum = 124;BA.debugLine="login.Initialize"; -_login._initialize /*String*/ (ba); - //BA.debugLineNum = 125;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; -_b4xpages._addpage /*String*/ (ba,"Login",(Object)(_login)); - //BA.debugLineNum = 126;BA.debugLine="principal.Initialize"; -_principal._initialize /*Object*/ (ba); - //BA.debugLineNum = 127;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; -_b4xpages._addpage /*String*/ (ba,"Principal",(Object)(_principal)); - //BA.debugLineNum = 128;BA.debugLine="clientes.Initialize"; -_clientes._initialize /*Object*/ (ba); - //BA.debugLineNum = 129;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; -_b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(_clientes)); - //BA.debugLineNum = 130;BA.debugLine="cliente.Initialize"; -_cliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 131;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; -_b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(_cliente)); - //BA.debugLineNum = 134;BA.debugLine="productos.Initialize"; -_productos._initialize /*Object*/ (ba); - //BA.debugLineNum = 135;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; -_b4xpages._addpage /*String*/ (ba,"Productos",(Object)(_productos)); - //BA.debugLineNum = 136;BA.debugLine="updateAvailable.Initialize"; -_updateavailable._initialize /*Object*/ (ba); - //BA.debugLineNum = 137;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; -_b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(_updateavailable)); - //BA.debugLineNum = 138;BA.debugLine="mapas.Initialize"; -_mapas._initialize /*Object*/ (ba); - //BA.debugLineNum = 139;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; -_b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(_mapas)); - //BA.debugLineNum = 140;BA.debugLine="nuevoCliente.Initialize"; -_nuevocliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 141;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; -_b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(_nuevocliente)); - //BA.debugLineNum = 142;BA.debugLine="ticketsDia.Initialize"; -_ticketsdia._initialize /*Object*/ (ba); - //BA.debugLineNum = 143;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; -_b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(_ticketsdia)); - //BA.debugLineNum = 144;BA.debugLine="noVenta.Initialize"; -_noventa._initialize /*Object*/ (ba); - //BA.debugLineNum = 145;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; -_b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(_noventa)); - //BA.debugLineNum = 146;BA.debugLine="pedidos.Initialize"; -_pedidos._initialize /*Object*/ (ba); - //BA.debugLineNum = 147;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; -_b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(_pedidos)); - //BA.debugLineNum = 148;BA.debugLine="buscar.Initialize"; -_buscar._initialize /*Object*/ (ba); - //BA.debugLineNum = 149;BA.debugLine="B4XPages.AddPage(\"Buscar\", buscar)"; -_b4xpages._addpage /*String*/ (ba,"Buscar",(Object)(_buscar)); - //BA.debugLineNum = 152;BA.debugLine="detalleVenta.Initialize"; -_detalleventa._initialize /*Object*/ (ba); - //BA.debugLineNum = 153;BA.debugLine="B4XPages.AddPage(\"DetalleVenta\", detalleVenta)"; -_b4xpages._addpage /*String*/ (ba,"DetalleVenta",(Object)(_detalleventa)); - //BA.debugLineNum = 154;BA.debugLine="detalle_promo.Initialize"; -_detalle_promo._initialize /*Object*/ (ba); - //BA.debugLineNum = 155;BA.debugLine="B4XPages.AddPage(\"Detalle_Promo\", detalle_promo)"; -_b4xpages._addpage /*String*/ (ba,"Detalle_Promo",(Object)(_detalle_promo)); - //BA.debugLineNum = 156;BA.debugLine="tabulador.Initialize"; -_tabulador._initialize /*Object*/ (ba); - //BA.debugLineNum = 157;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)"; -_b4xpages._addpage /*String*/ (ba,"tabulador",(Object)(_tabulador)); - //BA.debugLineNum = 158;BA.debugLine="checklist.Initialize"; -_checklist._initialize /*Object*/ (ba); - //BA.debugLineNum = 159;BA.debugLine="B4XPages.AddPage(\"checklist\",checklist)"; -_b4xpages._addpage /*String*/ (ba,"checklist",(Object)(_checklist)); - //BA.debugLineNum = 160;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD3 (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 = 161;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE"; -_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CONVERSION1","TEXT"); - //BA.debugLineNum = 162;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI"; -_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_PRECIO4","TEXT"); - //BA.debugLineNum = 163;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CANT_"; -_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CANT_MIN_VENTA","TEXT"); - //BA.debugLineNum = 164;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS GPS (HABILITADO)"); - //BA.debugLineNum = 165;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .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 = 166;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .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 = 167;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_MONEDAS(VEINTE TEXT, DIEZ TEXT, CINCO TEXT, DOS TEXT, PESO TEXT, CENTAVO TEXT, TOTAL TEXT)"); - //BA.debugLineNum = 168;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)"); - //BA.debugLineNum = 169;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_VENTAS2 (HVD_PARCIAL TEXT, HVD_RECHAZO TEXT, HVD_NUM_REGISTRO TEXT, HVD_NUM_TICKET TEXT, HVD_PROID TEXT, HVD_CODPROMO TEXT, HVD_FECHA TEXT, HVD_ESTATUS TEXT, HVD_CLIENTE TEXT, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT)"); - //BA.debugLineNum = 171;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RECHAZOS (R_FECHA TEXT, R_CLIENTE TEXT, R_CLI_ORIG TEXT, R_PRODID TEXT, R_CANT TEXT, R_RECHAZO INT)"); - //BA.debugLineNum = 172;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS VENTAS (V_FECHA TEXT, V_CLIENTE TEXT, V_CLI_ORIG TEXT, V_PRODID TEXT, V_CANT TEXT, V_RECHAZO INT)"); - //BA.debugLineNum = 174;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECADO_CHECK(CHECADO TEXT)"); - //BA.debugLineNum = 175;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES(TMP_MONTO_PAGARE TEXT, TMP_CLIENTE TEXT)"); - //BA.debugLineNum = 176;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT , POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA_BUENESTADO TEXT, CARROCERIA_MALESTADO TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES_CORRECTO TEXT, LUCES_INCORRECTO TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS_CORRECTO TEXT, CONDICION_PLACAS_INCORRECTO TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB)"); - //BA.debugLineNum = 177;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CHECKLIST2(USUARIO TEXT, PLACA TEXT, FECHA_CAPTURA TEXT, TARJETA_CIRCULACION TEXT, POLIZA_SEGURO TEXT, LICENCIA_CONDUCIR TEXT, LIMPIA_EXTERNA TEXT, LIMPIA_INTERNA TEXT, TRIANGULO TEXT, GATO TEXT, LLANTA_REFACCION TEXT, CARROCERIA TEXT, CARROCERIA_COMENTARIOS TEXT, LUCES TEXT, LUCES_COMENTARIOS TEXT, CONDICION_PLACAS TEXT, CONDICION_PLACAS_COMENTARIOS TEXT, CONDICION_LLANTAS_DEL_DER TEXT, CONDICION_LLANTAS_DEL_IZQ TEXT, CONDICION_LLANTAS_TRASERA_DER TEXT, CONDICION_LLANTAS_TRASERA_IZQ TEXT, ACEITE TEXT, ANTICONGELANTE TEXT, FRENOS TEXT, AIRE TEXT, FUGAS TEXT, COMETARIOS_FUGAS TEXT, FOTO1 BLOB, FOTO12 BLOB, FOTO3 BLOB, FOTO4 BLOB, KILIMETRAJE TEXT, RUTA TEXT)"); - //BA.debugLineNum = 178;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODREGISTRO\","; -_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODREGISTRO","TEXT"); - //BA.debugLineNum = 179;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_RUTA\", \"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"NOVENTA","NV_RUTA","TEXT"); - //BA.debugLineNum = 180;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"SECUENCIA\", \"INT\""; -_subs._agregacolumna /*String*/ (ba,"kmt_info","SECUENCIA","INT"); - //BA.debugLineNum = 181;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"HORAENT\", \"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"kmt_info","HORAENT","TEXT"); - //BA.debugLineNum = 182;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRODID\", \"TEXT"; -_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRODID","TEXT"); - //BA.debugLineNum = 183;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CLIENTEOR\", \"TEX"; -_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CLIENTEOR","TEXT"); - //BA.debugLineNum = 184;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CAJAS\", \"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CAJAS","TEXT"); - //BA.debugLineNum = 185;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_REGALO\", \"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_REGALO","TEXT"); - //BA.debugLineNum = 186;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_BCAJAS","TEXT"); - //BA.debugLineNum = 187;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"CONSECUTIVO\", \"TEXT"; -_subs._agregacolumna /*String*/ (ba,"PEDIDO","CONSECUTIVO","TEXT"); - //BA.debugLineNum = 188;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"FECHA_PREV\", \"TEXT\""; -_subs._agregacolumna /*String*/ (ba,"PEDIDO","FECHA_PREV","TEXT"); - //BA.debugLineNum = 189;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"RUTA_REP\", \"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"PEDIDO","RUTA_REP","TEXT"); - //BA.debugLineNum = 190;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_CLI_ORIG\", \"TE"; -_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_CLI_ORIG","TEXT"); - //BA.debugLineNum = 191;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_PRECIO\", \"TEXT"; -_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_PRECIO","TEXT"); - //BA.debugLineNum = 192;BA.debugLine="Subs.agregaColumna(\"REPARTO\", \"REP_RECHAZO\", \"INT"; -_subs._agregacolumna /*String*/ (ba,"REPARTO","REP_RECHAZO","INTEGER"); - //BA.debugLineNum = 193;BA.debugLine="Subs.agregaColumna(\"RECHAZOS\", \"R_PRECIO\", \"TEXT\""; -_subs._agregacolumna /*String*/ (ba,"RECHAZOS","R_PRECIO","TEXT"); - //BA.debugLineNum = 194;BA.debugLine="Subs.agregaColumna(\"VENTAS\", \"V_PRECIO\", \"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"VENTAS","V_PRECIO","TEXT"); - //BA.debugLineNum = 195;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"PLACA\",\"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","PLACA","TEXT"); - //BA.debugLineNum = 196;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT"); - //BA.debugLineNum = 197;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CONSECUTIVO\",\"T"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CONSECUTIVO","TEXT"); - //BA.debugLineNum = 198;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANT","TEXT"); - //BA.debugLineNum = 199;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"ESPROMO\",\"TEXT\""; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","ESPROMO","TEXT"); - //BA.debugLineNum = 200;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RECHAZOCANT"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RECHAZOCANTC","TEXT"); - //BA.debugLineNum = 201;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS\",\"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS","TEXT"); - //BA.debugLineNum = 202;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC\",\"TEXT\")"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC","TEXT"); - //BA.debugLineNum = 203;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"BCAJAS_OR\",\"TEX"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","BCAJAS_OR","TEXT"); - //BA.debugLineNum = 204;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"CANTC_OR\",\"TEXT"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","CANTC_OR","TEXT"); - //BA.debugLineNum = 205;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_RUTA\",\"TEXT"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_RUTA","TEXT"); - //BA.debugLineNum = 206;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\",\"HVD_LISTAPRECIO"; -_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_LISTAPRECIO","TEXT"); - //BA.debugLineNum = 207;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"CONVERSION\",\"T"; -_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CONVERSION","TEXT"); - //BA.debugLineNum = 208;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\",\"PRECIOCONVER\","; -_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","PRECIOCONVER","TEXT"); - //BA.debugLineNum = 209;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"); - //BA.debugLineNum = 210;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS wayPoints (codigo TEXT, indice INT)"); - //BA.debugLineNum = 211;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; -_server = "http://keymon.net:1781"; - //BA.debugLineNum = 217;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 218;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("31114211",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 219;BA.debugLine="Label1.Text = Application.VersionName"; -_label1.setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); - //BA.debugLineNum = 221;BA.debugLine="Log(\"provider\")"; -__c.LogImpl("31114214","provider",0); - //BA.debugLineNum = 222;BA.debugLine="Provider.Initialize"; -_provider._initialize /*String*/ (ba); - //BA.debugLineNum = 224;BA.debugLine="Subs.guardaAppInfo"; -_subs._guardaappinfo /*String*/ (ba); - //BA.debugLineNum = 232;BA.debugLine="End Sub"; -return ""; -} -public String _b4xswitch2_valuechanged(boolean _value) throws Exception{ - //BA.debugLineNum = 1133;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value As Bool"; - //BA.debugLineNum = 1134;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT CAT_VA_VALOR"; -_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 CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CARGA_DIA"}))); - //BA.debugLineNum = 1135;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1136;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1137;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then"; -if ((_c.GetString("CAT_VA_VALOR")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1138;BA.debugLine="Log(Value)"; -__c.LogImpl("33276805",BA.ObjectToString(_value),0); - //BA.debugLineNum = 1139;BA.debugLine="If Value Then"; -if (_value) { - //BA.debugLineNum = 1140;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HAB"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - }else { - //BA.debugLineNum = 1142;BA.debugLine="p_GeoPass.Left = 0"; -_p_geopass.setLeft((int) (0)); - //BA.debugLineNum = 1143;BA.debugLine="p_GeoPass.Width = Root.Width"; -_p_geopass.setWidth(_root.getWidth()); - //BA.debugLineNum = 1144;BA.debugLine="p_GeoPass.Height = Root.Height"; -_p_geopass.setHeight(_root.getHeight()); - //BA.debugLineNum = 1145;BA.debugLine="p_GeoPass.Visible = True"; -_p_geopass.setVisible(__c.True); - //BA.debugLineNum = 1146;BA.debugLine="Subs.panelVisible(p_GeoPass,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_geopass,(int) (0),(int) (0)); - //BA.debugLineNum = 1147;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HAB"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - }; - }else { - //BA.debugLineNum = 1150;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 1151;BA.debugLine="B4XSwitch2.Value = True"; -_b4xswitch2._setvalue /*boolean*/ (__c.True); - }; - }else { - //BA.debugLineNum = 1154;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\""; -__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 1155;BA.debugLine="B4XSwitch2.Value = True"; -_b4xswitch2._setvalue /*boolean*/ (__c.True); - }; - //BA.debugLineNum = 1157;BA.debugLine="End Sub"; -return ""; -} -public String _bacepgeo_click() throws Exception{ - //BA.debugLineNum = 1116;BA.debugLine="Private Sub bAcepGeo_Click"; - //BA.debugLineNum = 1117;BA.debugLine="If et_passGeo.Text = \"KMTS\" Or et_passGeo.Text ="; -if ((_et_passgeo.getText()).equals("KMTS") || (_et_passgeo.getText()).equals("MAZAPA")) { - //BA.debugLineNum = 1118;BA.debugLine="B4XSwitch2.Value = False"; -_b4xswitch2._setvalue /*boolean*/ (__c.False); - //BA.debugLineNum = 1119;BA.debugLine="p_GeoPass.Visible = False"; -_p_geopass.setVisible(__c.False); - //BA.debugLineNum = 1120;BA.debugLine="et_passGeo.Text = \"\""; -_et_passgeo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1121;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - }else if((_et_passgeo.getText()).equals("")) { - //BA.debugLineNum = 1123;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Ingresa un codigo"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 1124;BA.debugLine="B4XSwitch2.Value = True"; -_b4xswitch2._setvalue /*boolean*/ (__c.True); - //BA.debugLineNum = 1125;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - }else { - //BA.debugLineNum = 1127;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Codigo incorrecto"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 1128;BA.debugLine="B4XSwitch2.Value = True"; -_b4xswitch2._setvalue /*boolean*/ (__c.True); - //BA.debugLineNum = 1129;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABIL"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - }; - //BA.debugLineNum = 1131;BA.debugLine="End Sub"; -return ""; -} -public String _bcangeo_click() throws Exception{ - //BA.debugLineNum = 1109;BA.debugLine="Private Sub bCanGeo_Click"; - //BA.debugLineNum = 1110;BA.debugLine="p_GeoPass.Visible = False"; -_p_geopass.setVisible(__c.False); - //BA.debugLineNum = 1111;BA.debugLine="B4XSwitch2.Value = True"; -_b4xswitch2._setvalue /*boolean*/ (__c.True); - //BA.debugLineNum = 1112;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABILI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 1113;BA.debugLine="et_passGeo.Text = \"\""; -_et_passgeo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1114;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 18;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 19;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 20;BA.debugLine="Private Root As B4XView"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 22;BA.debugLine="Private Root As B4XView"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Public rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 24;BA.debugLine="Public login As B4XMainPage"; -_login = new reparto_mazapa.keymon.lat.b4xmainpage(); - //BA.debugLineNum = 25;BA.debugLine="Public principal As C_Principal"; -_principal = new reparto_mazapa.keymon.lat.c_principal(); - //BA.debugLineNum = 26;BA.debugLine="Public clientes As C_Clientes"; -_clientes = new reparto_mazapa.keymon.lat.c_clientes(); - //BA.debugLineNum = 27;BA.debugLine="Public cliente As C_Cliente"; -_cliente = new reparto_mazapa.keymon.lat.c_cliente(); - //BA.debugLineNum = 29;BA.debugLine="Public productos As C_Productos"; -_productos = new reparto_mazapa.keymon.lat.c_productos(); - //BA.debugLineNum = 30;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; -_updateavailable = new reparto_mazapa.keymon.lat.c_updateavailable(); - //BA.debugLineNum = 31;BA.debugLine="Public mapas As C_Mapas"; -_mapas = new reparto_mazapa.keymon.lat.c_mapas(); - //BA.debugLineNum = 32;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; -_nuevocliente = new reparto_mazapa.keymon.lat.c_nuevocliente(); - //BA.debugLineNum = 33;BA.debugLine="Public ticketsDia As C_TicketsDia"; -_ticketsdia = new reparto_mazapa.keymon.lat.c_ticketsdia(); - //BA.debugLineNum = 34;BA.debugLine="Public noVenta As C_NoVenta"; -_noventa = new reparto_mazapa.keymon.lat.c_noventa(); - //BA.debugLineNum = 35;BA.debugLine="Public pedidos As C_Pedidos"; -_pedidos = new reparto_mazapa.keymon.lat.c_pedidos(); - //BA.debugLineNum = 36;BA.debugLine="Public buscar As C_Buscar"; -_buscar = new reparto_mazapa.keymon.lat.c_buscar(); - //BA.debugLineNum = 38;BA.debugLine="Public detalleVenta As C_DetalleVenta"; -_detalleventa = new reparto_mazapa.keymon.lat.c_detalleventa(); - //BA.debugLineNum = 39;BA.debugLine="Public detalle_promo As C_Detalle_Promo"; -_detalle_promo = new reparto_mazapa.keymon.lat.c_detalle_promo(); - //BA.debugLineNum = 40;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 42;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim logger As Boolean = True"; -_logger = __c.True; - //BA.debugLineNum = 44;BA.debugLine="Dim lat_gps, lon_gps As String"; -_lat_gps = ""; -_lon_gps = ""; - //BA.debugLineNum = 46;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim server As String"; -_server = ""; - //BA.debugLineNum = 48;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; -_montoactual = ""; -_clientestotal = ""; -_clientesventa = ""; -_clientesrechazo = ""; -_clientesvisitados = ""; -_almacen = ""; -_rutapreventa = ""; -_cantidadprod = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim ultimaActualizacionGPS As String = 235959"; -_ultimaactualizaciongps = BA.NumberToString(235959); - //BA.debugLineNum = 50;BA.debugLine="Dim fechaRuta As String"; -_fecharuta = ""; - //BA.debugLineNum = 53;BA.debugLine="Dim srvIp As String"; -_srvip = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim phn As Phone"; -_phn = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 55;BA.debugLine="Dim user As EditText"; -_user = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Dim pass As EditText"; -_pass = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Dim existe As String"; -_existe = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim paso1 As String"; -_paso1 = ""; - //BA.debugLineNum = 60;BA.debugLine="Private IMEN As Label"; -_imen = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Dim IMEI As String"; -_imei = ""; - //BA.debugLineNum = 62;BA.debugLine="Private Label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 63;BA.debugLine="Dim server As String"; -_server = ""; - //BA.debugLineNum = 64;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private Entrar As Button"; -_entrar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Public checklist As C_Cheklist"; -_checklist = new reparto_mazapa.keymon.lat.c_cheklist(); - //BA.debugLineNum = 67;BA.debugLine="Public tabulador As C_tabulador"; -_tabulador = new reparto_mazapa.keymon.lat.c_tabulador(); - //BA.debugLineNum = 68;BA.debugLine="Dim batt As Int"; -_batt = 0; - //BA.debugLineNum = 69;BA.debugLine="Dim porVisitar, entregas, rechazos, montoEntregad"; -_porvisitar = ""; -_entregas = ""; -_rechazos = ""; -_montoentregado = ""; -_montorechazado = ""; - //BA.debugLineNum = 70;BA.debugLine="Private p_appUpdate As Panel"; -_p_appupdate = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Private i_engrane As ImageView"; -_i_engrane = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 72;BA.debugLine="Private b_server As Button"; -_b_server = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 73;BA.debugLine="Private b_apk As Button"; -_b_apk = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Private b_envioBD As Button"; -_b_enviobd = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 75;BA.debugLine="Private b_regesar As Button"; -_b_regesar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 76;BA.debugLine="Private et_server As EditText"; -_et_server = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private p_serverList As Panel"; -_p_serverlist = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Private lv_server As ListView"; -_lv_server = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Public Provider As FileProvider"; -_provider = new reparto_mazapa.keymon.lat.fileprovider(); - //BA.debugLineNum = 80;BA.debugLine="Public rutaBDBackup As String = \"\""; -_rutabdbackup = ""; - //BA.debugLineNum = 81;BA.debugLine="Private B_Can_Monto As Button"; -_b_can_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Private B_Aceptar_Monto As Button"; -_b_aceptar_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private ET_Add_Monto As EditText"; -_et_add_monto = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private p_add_monto As Panel"; -_p_add_monto = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Dim sDate, sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 86;BA.debugLine="Private p_validacion As Panel"; -_p_validacion = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private b_cancelarcodigo As Button"; -_b_cancelarcodigo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private b_aceptar As Button"; -_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Private et_codigo As EditText"; -_et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private P_CIEGO As Panel"; -_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Private b_terpc As Button"; -_b_terpc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private B_PC_ENV As Button"; -_b_pc_env = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; -_clv_pick_ciego = new b4a.example3.customlistview(); - //BA.debugLineNum = 94;BA.debugLine="Private et_buspc As EditText"; -_et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Dim q_buscar As String"; -_q_buscar = ""; - //BA.debugLineNum = 96;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 97;BA.debugLine="Private L_PICK_CIEGO As Label"; -_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 98;BA.debugLine="Private ET_PICK_CIEGO As EditText"; -_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 99;BA.debugLine="Dim a As Cursor"; -_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Dim f As Cursor"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 101;BA.debugLine="Private b_CargarMonto As Button"; -_b_cargarmonto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 102;BA.debugLine="Private b_arqueocieego As Button"; -_b_arqueocieego = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 103;BA.debugLine="Private Label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 104;BA.debugLine="Private B4XSwitch2 As B4XSwitch"; -_b4xswitch2 = new reparto_mazapa.keymon.lat.b4xswitch(); - //BA.debugLineNum = 105;BA.debugLine="Private p_GeoPass As Panel"; -_p_geopass = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 106;BA.debugLine="Private bAcepGeo As Button"; -_bacepgeo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 107;BA.debugLine="Private bCanGeo As Button"; -_bcangeo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 108;BA.debugLine="Private p_centraGeoPass As Panel"; -_p_centrageopass = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 109;BA.debugLine="Private l_fondoPass As Label"; -_l_fondopass = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 110;BA.debugLine="Private et_passGeo As EditText"; -_et_passgeo = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 111;BA.debugLine="Private l_ingresaPass As Label"; -_l_ingresapass = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 112;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _id_prod,String _prod,String _cant) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 1074;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; - //BA.debugLineNum = 1075;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; -_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1076;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; -_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 1077;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; -_pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 1078;BA.debugLine="pa.Height = 55dip"; -_pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 1079;BA.debugLine="pa.Width = 298dip"; -_pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 1081;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; -_l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 1082;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; -_l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 1083;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 = 1084;BA.debugLine="ET_PICK_CIEGO.Text = cant"; -_et_pick_ciego.setText(BA.ObjectToCharSequence(_cant)); - //BA.debugLineNum = 1087;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 = 1088;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 = 1090;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; - //BA.debugLineNum = 1091;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; -_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1092;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; -_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 1093;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; -_pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 1094;BA.debugLine="pa.Height = 55dip"; -_pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 1095;BA.debugLine="pa.Width = 298dip"; -_pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 1097;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; -_l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 1098;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; -_l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 1099;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 = 1102;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 = 1103;BA.debugLine="End Sub"; -return null; -} -public String _entrar_click() throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 346;BA.debugLine="Sub Entrar_Click"; - //BA.debugLineNum = 347;BA.debugLine="If pass.Text = \"YA\" Then"; -if ((_pass.getText()).equals("YA")) { - //BA.debugLineNum = 348;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 349;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSION\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 350;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIOA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ROOT"),(Object)("ROOT")})); - //BA.debugLineNum = 351;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_almac"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 352;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText())})); - //BA.debugLineNum = 353;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSION("; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); - //BA.debugLineNum = 356;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }else { - //BA.debugLineNum = 358;BA.debugLine="c=Starter.skmt.ExecQuery2(\"select count(*) as EX"; -_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 count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()}))); - //BA.debugLineNum = 359;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 360;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; -_existe = _c.GetString("EXISTE1"); - //BA.debugLineNum = 361;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 363;BA.debugLine="If existe = 0 Then"; -if ((_existe).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 365;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 366;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 367;BA.debugLine="cmd.Name = \"select_usuario_MAZAPA_REPG\""; -_cmd.Name /*String*/ = "select_usuario_MAZAPA_REPG"; - //BA.debugLineNum = 368;BA.debugLine="cmd.Parameters = Array As Object(user.Text, pas"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())}; - //BA.debugLineNum = 369;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario")); - }else { - //BA.debugLineNum = 377;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }; - }; - //BA.debugLineNum = 380;BA.debugLine="End Sub"; -return ""; -} -public String _enviarmonto() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _a2 = null; -String[] _fecha = null; -String[] _fecha2 = null; -String _fecha3 = ""; -String[] _hora = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _ci = null; -String _u = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 753;BA.debugLine="Sub enviarmonto"; - //BA.debugLineNum = 755;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 756;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 757;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 759;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"selec"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_f = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 760;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 762;BA.debugLine="Private a As Cursor=Starter.skmt.ExecQuery(\"selec"; -_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_a = (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 = 763;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 764;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); - }; - //BA.debugLineNum = 767;BA.debugLine="Private a2 As Cursor = Starter.skmt.ExecQuery(\"SE"; -_a2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_a2 = (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 HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 768;BA.debugLine="If a2.RowCount>0 Then"; -if (_a2.getRowCount()>0) { - //BA.debugLineNum = 769;BA.debugLine="a2.Position=0"; -_a2.setPosition((int) (0)); - //BA.debugLineNum = 770;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", a2.GetS"; -_fecha = __c.Regex.Split(" ",_a2.GetString("HVD_FECHA")); - //BA.debugLineNum = 771;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; -_fecha2 = __c.Regex.Split("-",_fecha[(int) (0)]); - //BA.debugLineNum = 772;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; -_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; - //BA.debugLineNum = 773;BA.debugLine="Log(fecha3)"; -__c.LogImpl("32228244",_fecha3,0); - //BA.debugLineNum = 774;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; -_hora = __c.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 775;BA.debugLine="Log(hora(0))"; -__c.LogImpl("32228246",_hora[(int) (0)],0); - }; - //BA.debugLineNum = 780;BA.debugLine="Private cI As Cursor"; -_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 781;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 782;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 = 783;BA.debugLine="cI.Position=0"; -_ci.setPosition((int) (0)); - //BA.debugLineNum = 784;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; -if (_ci.getRowCount()>0) { -_u = _ci.GetString("USUARIO");}; - //BA.debugLineNum = 785;BA.debugLine="Private g As Cursor = Starter.skmt.ExecQuery(\"sel"; -_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from ENV_MONTO_LIQ"))); - //BA.debugLineNum = 786;BA.debugLine="If g.RowCount = 0 Then"; -if (_g.getRowCount()==0) { - //BA.debugLineNum = 787;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ENV_MONT"; -_starter._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("RUTAA")),(Object)(_u),(Object)(_fecha3+" "+_hora[(int) (0)])})); - //BA.debugLineNum = 788;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 789;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 792;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 = 793;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 794;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 795;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 796;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 797;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\""; -_cmd.Name /*String*/ = "select_MontoCuenta_MAZAPArep"; - //BA.debugLineNum = 798;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")),(Object)(_c.GetString("EML_FECHA_PED"))}; - //BA.debugLineNum = 799;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("SelectMontoLiq")); - }; - //BA.debugLineNum = 801;BA.debugLine="c.Close"; -_c.Close(); - }else { - //BA.debugLineNum = 803;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("RUTAA"),_ci.GetString("USUARIO")})); - //BA.debugLineNum = 804;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 805;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 807;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 = 808;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 809;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 810;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 811;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 812;BA.debugLine="cmd.Name = \"select_MontoCuenta_MAZAPArep\""; -_cmd.Name /*String*/ = "select_MontoCuenta_MAZAPArep"; - //BA.debugLineNum = 813;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")),(Object)(_c.GetString("EML_FECHA_PED"))}; - //BA.debugLineNum = 814;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("SelectMontoLiq")); - }; - //BA.debugLineNum = 816;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 819;BA.debugLine="p_add_monto.Visible = False"; -_p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 821;BA.debugLine="End Sub"; -return ""; -} -public String _et_buspc_textchanged(String _old,String _new) throws Exception{ -int _i = 0; - //BA.debugLineNum = 836;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; - //BA.debugLineNum = 837;BA.debugLine="If New = \"\" Then"; -if ((_new).equals("")) { - //BA.debugLineNum = 838;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - }else if(_new.length()>=3) { - //BA.debugLineNum = 840;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - //BA.debugLineNum = 842;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; -_q_buscar = "%"+_et_buspc.getText()+"%"; - //BA.debugLineNum = 843;BA.debugLine="Log(q_buscar)"; -__c.LogImpl("32424839",_q_buscar,0); - //BA.debugLineNum = 844;BA.debugLine="c=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBRE"; -_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 CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD3 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 = 845;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 848;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 = 849;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 850;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 = 853;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 855;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; -_d = (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 CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 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 = 857;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 = 858;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 859;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 = 862;BA.debugLine="d.Close"; -_d.Close(); - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 865;BA.debugLine="d=Starter.skmt.ExecQuery2($\"select CAT_GP_NOMBR"; -_d = (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 CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD3 WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 867;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 = 868;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 869;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 = 872;BA.debugLine="d.Close"; -_d.Close(); - }; - }; - //BA.debugLineNum = 875;BA.debugLine="End Sub"; -return ""; -} -public String _i_engrane_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _serv = null; - //BA.debugLineNum = 612;BA.debugLine="Private Sub i_engrane_Click"; - //BA.debugLineNum = 613;BA.debugLine="p_appUpdate.Width = Root.Width"; -_p_appupdate.setWidth(_root.getWidth()); - //BA.debugLineNum = 614;BA.debugLine="p_appUpdate.Height = Root.Height"; -_p_appupdate.setHeight(_root.getHeight()); - //BA.debugLineNum = 615;BA.debugLine="Subs.centraPanel(p_serverList, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_serverlist,_root.getWidth()); - //BA.debugLineNum = 616;BA.debugLine="Subs.centraBoton(b_server, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_server,_root.getWidth()); - //BA.debugLineNum = 617;BA.debugLine="Subs.centraBoton(b_apk, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_apk,_root.getWidth()); - //BA.debugLineNum = 618;BA.debugLine="Subs.centraBoton(b_envioBD, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_enviobd,_root.getWidth()); - //BA.debugLineNum = 619;BA.debugLine="Subs.centraBoton(b_regesar, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_regesar,_root.getWidth()); - //BA.debugLineNum = 620;BA.debugLine="Subs.centraBoton(b_CargarMonto, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_cargarmonto,_root.getWidth()); - //BA.debugLineNum = 621;BA.debugLine="Subs.centraBoton(b_arqueocieego, Root.Width)"; -_subs._centraboton /*String*/ (ba,_b_arqueocieego,_root.getWidth()); - //BA.debugLineNum = 622;BA.debugLine="Subs.centraBoton(b_server, p_serverList.Width)"; -_subs._centraboton /*String*/ (ba,_b_server,_p_serverlist.getWidth()); - //BA.debugLineNum = 623;BA.debugLine="lv_server.Clear"; -_lv_server.Clear(); - //BA.debugLineNum = 624;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1781\")"; -_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.net:1781")); - //BA.debugLineNum = 625;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 = 627;BA.debugLine="et_server.Text = server"; -_et_server.setText(BA.ObjectToCharSequence(_server)); - //BA.debugLineNum = 628;BA.debugLine="Dim serv As Cursor = Starter.skmt.ExecQuery($\"SEL"; -_serv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_serv = (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_VA_VALOR FROM CAT_VARIABLES where CAT_VA_DESCRIPCION = 'SERVER'")))); - //BA.debugLineNum = 629;BA.debugLine="If serv.RowCount > 0 Then"; -if (_serv.getRowCount()>0) { - //BA.debugLineNum = 630;BA.debugLine="serv.Position = 0"; -_serv.setPosition((int) (0)); - //BA.debugLineNum = 631;BA.debugLine="et_server.Text = serv.GetString(\"CAT_VA_VALOR\")"; -_et_server.setText(BA.ObjectToCharSequence(_serv.GetString("CAT_VA_VALOR"))); - //BA.debugLineNum = 632;BA.debugLine="server = serv.GetString(\"CAT_VA_VALOR\")"; -_server = _serv.GetString("CAT_VA_VALOR"); - //BA.debugLineNum = 633;BA.debugLine="Starter.server = serv.GetString(\"CAT_VA_VALOR\")"; -_starter._server /*String*/ = _serv.GetString("CAT_VA_VALOR"); - }; - //BA.debugLineNum = 635;BA.debugLine="Subs.panelVisible(p_appUpdate, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_appupdate,(int) (0),(int) (0)); - //BA.debugLineNum = 637;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO"; -_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 HABILITADO FROM GPS"))); - //BA.debugLineNum = 638;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 639;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)})); - }; - //BA.debugLineNum = 642;BA.debugLine="End Sub"; -return ""; -} -public String _imageview1_longclick() throws Exception{ - //BA.debugLineNum = 1105;BA.debugLine="Private Sub ImageView1_LongClick"; - //BA.debugLineNum = 1107;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 114;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _result = null; -Object[] _records = null; -String _cat_ve_version = ""; -String _id_almacen = ""; -double _lat = 0; -double _lon = 0; -String _name = ""; -String _imei_base = ""; -String _cat_pa_pass = ""; -String _id = ""; -String _cuenta = ""; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; -String _hvd_estatus = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 382;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 383;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 384;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, T"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True); - }else { - //BA.debugLineNum = 386;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 387;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 388;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 389;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group7 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen7 = group7.getSize() -;int index7 = 0; -; -for (; index7 < groupLen7;index7++){ -_records = (Object[])(group7.Get(index7)); - //BA.debugLineNum = 390;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 391;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 = 392;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); - } -}; - }; - }; - //BA.debugLineNum = 397;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 398;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 399;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { - //BA.debugLineNum = 400;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group17 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen17 = group17.getSize() -;int index17 = 0; -; -for (; index17 < groupLen17;index17++){ -_records = (Object[])(group17.Get(index17)); - //BA.debugLineNum = 402;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 = 407;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 408;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 409;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { - //BA.debugLineNum = 410;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group25 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen25 = group25.getSize() -;int index25 = 0; -; -for (; index25 < groupLen25;index25++){ -_records = (Object[])(group25.Get(index25)); - //BA.debugLineNum = 411;BA.debugLine="Log(\"Coordenadas del almacen: \" & records(res"; -__c.LogImpl("31310749","Coordenadas del almacen: "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])+","+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]),0); - //BA.debugLineNum = 412;BA.debugLine="Private lat, lon As Double"; -_lat = 0; -_lon = 0; - //BA.debugLineNum = 413;BA.debugLine="lat = 0.0"; -_lat = 0.0; - //BA.debugLineNum = 414;BA.debugLine="lon = 0.0"; -_lon = 0.0; - //BA.debugLineNum = 415;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; -if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { - //BA.debugLineNum = 416;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; -_lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])); - //BA.debugLineNum = 417;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; -_lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))])); - }; - //BA.debugLineNum = 419;BA.debugLine="Starter.cedisLocation.Latitude = lat"; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); - //BA.debugLineNum = 420;BA.debugLine="Starter.cedisLocation.Longitude = lon"; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); - //BA.debugLineNum = 421;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")})); - //BA.debugLineNum = 422;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; -_starter._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)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))})); - } -}; - }; - }; - //BA.debugLineNum = 428;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 429;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 430;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { - //BA.debugLineNum = 431;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group44 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen44 = group44.getSize() -;int index44 = 0; -; -for (; index44 < groupLen44;index44++){ -_records = (Object[])(group44.Get(index44)); - //BA.debugLineNum = 432;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 = 433;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 = 434;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 = 436;BA.debugLine="paso1 = 1"; -_paso1 = BA.NumberToString(1); - }; - }; - //BA.debugLineNum = 440;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 441;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 442;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("contrasena"))) { - //BA.debugLineNum = 443;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group55 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen55 = group55.getSize() -;int index55 = 0; -; -for (; index55 < groupLen55;index55++){ -_records = (Object[])(group55.Get(index55)); - //BA.debugLineNum = 444;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 = 445;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; -if ((_cat_pa_pass).equals(_et_codigo.getText())) { - //BA.debugLineNum = 446;BA.debugLine="Log(CAT_PA_PASS)"; -__c.LogImpl("31310784",_cat_pa_pass,0); - //BA.debugLineNum = 447;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 448;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 450;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); - }else { - //BA.debugLineNum = 453;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña incorrecta"),BA.ObjectToCharSequence("Atención"),ba); - }; - } -}; - }; - }; - //BA.debugLineNum = 459;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 460;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 461;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; -if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { - //BA.debugLineNum = 463;BA.debugLine="Private id As String= result.Tag"; -_id = BA.ObjectToString(_result.Tag /*Object*/ ); - //BA.debugLineNum = 464;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; -_id = _id.substring((int) (_id.indexOf("_")+3)); - //BA.debugLineNum = 465;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group73 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen73 = group73.getSize() -;int index73 = 0; -; -for (; index73 < groupLen73;index73++){ -_records = (Object[])(group73.Get(index73)); - //BA.debugLineNum = 466;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 = 467;BA.debugLine="Log(CUENTA)"; -__c.LogImpl("31310805",_cuenta,0); - //BA.debugLineNum = 468;BA.debugLine="Log(id)"; -__c.LogImpl("31310806",_id,0); - //BA.debugLineNum = 469;BA.debugLine="If CUENTA = 0 Then"; -if ((_cuenta).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 470;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 = 471;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 473;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 474;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 475;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 476;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_MAZAPA\""; -_cmd.Name /*String*/ = "insert_PICKCIEGO_MAZAPA"; - //BA.debugLineNum = 477;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)("REPARTO")}; - //BA.debugLineNum = 478;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_PC")); - }; - //BA.debugLineNum = 481;BA.debugLine="c.Close"; -_c.Close(); - }else if((double)(Double.parseDouble(_cuenta))>0) { - //BA.debugLineNum = 483;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 = 484;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 486;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 487;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 488;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 489;BA.debugLine="cmd.Name = \"update_PICKCIEGO_MAZAPA\""; -_cmd.Name /*String*/ = "update_PICKCIEGO_MAZAPA"; - //BA.debugLineNum = 490;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; -__c.LogImpl("31310828","FECHA"+_c.GetString("PC_FECHA"),0); - //BA.debugLineNum = 491;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)("REPARTO")}; - //BA.debugLineNum = 492;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_PC")); - }; - //BA.debugLineNum = 495;BA.debugLine="c.Close"; -_c.Close(); - }; - } -}; - }; - }; - //BA.debugLineNum = 502;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 503;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 504;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { - //BA.debugLineNum = 505;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group107 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen107 = group107.getSize() -;int index107 = 0; -; -for (; index107 < groupLen107;index107++){ -_records = (Object[])(group107.Get(index107)); - //BA.debugLineNum = 506;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; -_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); - //BA.debugLineNum = 507;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; -if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 509;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; -__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 511;BA.debugLine="enviarmonto"; -_enviarmonto(); - }; - } -}; - }; - }; - //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 /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 519;BA.debugLine="If result.Tag = \"estatus2\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("estatus2"))) { - //BA.debugLineNum = 520;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group120 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen120 = group120.getSize() -;int index120 = 0; -; -for (; index120 < groupLen120;index120++){ -_records = (Object[])(group120.Get(index120)); - //BA.debugLineNum = 521;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; -_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); - //BA.debugLineNum = 522;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; -if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 524;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; -__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 526;BA.debugLine="passaquci"; -_passaquci(); - }; - } -}; - }; - }; - //BA.debugLineNum = 532;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 533;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 534;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; -if ((_result.Tag /*Object*/ ).equals((Object)("SelectMontoLiq"))) { - //BA.debugLineNum = 535;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group133 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen133 = group133.getSize() -;int index133 = 0; -; -for (; index133 < groupLen133;index133++){ -_records = (Object[])(group133.Get(index133)); - //BA.debugLineNum = 536;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 = 538;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 539;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 540;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 541;BA.debugLine="Private f As Cursor=Starter.skmt.ExecQuery(\"s"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_f = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 542;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 543;BA.debugLine="Private a As Cursor =Starter.skmt.ExecQuery(\""; -_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_a = (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 = 544;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 546;BA.debugLine="Private c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 547;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select USUARIO fro"; -_c2 = (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 = 548;BA.debugLine="c2.Position=0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 549;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; -if (_c2.getRowCount()>0) { -_c2.GetString("USUARIO");}; - //BA.debugLineNum = 551;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; -__c.LogImpl("31310889",_cuenta+"----------------------!!",0); - //BA.debugLineNum = 552;BA.debugLine="If CUENTA = \"0\" Then"; -if ((_cuenta).equals("0")) { - //BA.debugLineNum = 554;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("RUTAA")}))); - //BA.debugLineNum = 555;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 557;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 558;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 559;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 560;BA.debugLine="cmd.Name = \"insert_Monto_Liq_MAZAPArep\""; -_cmd.Name /*String*/ = "insert_Monto_Liq_MAZAPArep"; - //BA.debugLineNum = 561;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)(_f.GetString("RUTAA")),(Object)(_c.GetString("EML_USUARIO")),(Object)("REPARTO"),(Object)(_c.GetString("EML_FECHA_PED"))}; - //BA.debugLineNum = 562;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_Mon_Liq")); - //BA.debugLineNum = 563;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Monto Enviado"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 566;BA.debugLine="c.Close"; -_c.Close(); - }else if((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 569;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("RUTAA")}))); - //BA.debugLineNum = 570;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 572;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 573;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 574;BA.debugLine="cmd.Name = \"update_MontoCuenta_MAZAPArep\""; -_cmd.Name /*String*/ = "update_MontoCuenta_MAZAPArep"; - //BA.debugLineNum = 575;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)(_c.GetString("EML_FECHA_PED")),(Object)("REPARTO")}; - //BA.debugLineNum = 577;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt"; -__c.LogImpl("31310915",_c.GetString("EML_MONTO")+" "+_c.GetString("EML_ALMACEN")+" "+_c.GetString("EML_RUTA")+" "+_c.GetString("EML_USUARIO"),0); - //BA.debugLineNum = 578;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_MC")); - //BA.debugLineNum = 579;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \""; -__c.MsgboxAsync(BA.ObjectToCharSequence("Se sobre escribio el Monto"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 582;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 583;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 585;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 586;BA.debugLine="a.Close"; -_a.Close(); - } -}; - }; - }; - //BA.debugLineNum = 591;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 594;BA.debugLine="If paso1 = 1 Then"; -if ((_paso1).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 595;BA.debugLine="If name = \"OKActivo\" Then"; -if ((_name).equals("OKActivo")) { - //BA.debugLineNum = 596;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuarioa"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 597;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO USUARIO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())})); - //BA.debugLineNum = 598;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_alma"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 599;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_ALM"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); - //BA.debugLineNum = 600;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_name).equals("OKExpirado"+_imei)) { - //BA.debugLineNum = 602;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrado"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else if((_name).equals("OKCancelado"+_imei)) { - //BA.debugLineNum = 604;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administrad"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else { - //BA.debugLineNum = 606;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ign"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - }; - //BA.debugLineNum = 608;BA.debugLine="paso1 = 0"; -_paso1 = BA.NumberToString(0); - }; - //BA.debugLineNum = 610;BA.debugLine="End Sub"; -return ""; -} -public String _lv_server_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 697;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; - //BA.debugLineNum = 698;BA.debugLine="server = Value"; -_server = BA.ObjectToString(_value); - //BA.debugLineNum = 700;BA.debugLine="et_server.Text = Value"; -_et_server.setText(BA.ObjectToCharSequence(_value)); - //BA.debugLineNum = 701;BA.debugLine="reqManager.Initialize(Me, Value)"; -_reqmanager._initialize /*String*/ (ba,this,BA.ObjectToString(_value)); - //BA.debugLineNum = 702;BA.debugLine="LogColor($\"ReqServer = ${Value}\"$, Colors.red)"; -__c.LogImpl("31769477",("ReqServer = "+__c.SmartStringFormatter("",_value)+""),__c.Colors.Red); - //BA.debugLineNum = 703;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); - //BA.debugLineNum = 704;BA.debugLine="End Sub"; -return ""; -} -public String _muestraprogreso(String _mensaje) throws Exception{ - //BA.debugLineNum = 713;BA.debugLine="Sub muestraProgreso(mensaje As String)"; - //BA.debugLineNum = 714;BA.debugLine="ProgressDialogShow(mensaje)"; -__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); - //BA.debugLineNum = 715;BA.debugLine="End Sub"; -return ""; -} -public String _ocultaprogreso() throws Exception{ - //BA.debugLineNum = 718;BA.debugLine="Sub ocultaProgreso"; - //BA.debugLineNum = 719;BA.debugLine="ProgressDialogHide"; -__c.ProgressDialogHide(); - //BA.debugLineNum = 720;BA.debugLine="End Sub"; -return ""; -} -public String _p_add_monto_click() throws Exception{ - //BA.debugLineNum = 735;BA.debugLine="Private Sub p_add_monto_Click"; - //BA.debugLineNum = 737;BA.debugLine="End Sub"; -return ""; -} -public String _p_ciego_click() throws Exception{ - //BA.debugLineNum = 1018;BA.debugLine="Private Sub P_CIEGO_Click"; - //BA.debugLineNum = 1020;BA.debugLine="End Sub"; -return ""; -} -public String _p_validacion_click() throws Exception{ - //BA.debugLineNum = 1070;BA.debugLine="Private Sub p_validacion_Click"; - //BA.debugLineNum = 1072;BA.debugLine="End Sub"; -return ""; -} -public String _passaquci() throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 1040;BA.debugLine="Sub passaquci"; - //BA.debugLineNum = 1041;BA.debugLine="f=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA from"; -_f = (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 = 1042;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 1044;BA.debugLine="a=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; -_a = (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 = 1045;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 1046;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); - }; - //BA.debugLineNum = 1048;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -__c.LogImpl("32752520",_a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 1049;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; -__c.LogImpl("32752521",_f.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 1051;BA.debugLine="If et_codigo.Text = \"KMTS1\" Then"; -if ((_et_codigo.getText()).equals("KMTS1")) { - //BA.debugLineNum = 1052;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 1053;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1054;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); - }else { - //BA.debugLineNum = 1056;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1057;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1058;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_MAZAPA\""; -_cmd.Name /*String*/ = "select_CAT_PASS_ARQUEO_MAZAPA"; - //BA.debugLineNum = 1059;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CA"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_f.GetString("CAT_CL_RUTA")),(Object)(_a.GetString("ID_ALMACEN")),(Object)("REPARTO")}; - //BA.debugLineNum = 1060;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("contrasena")); - //BA.debugLineNum = 1061;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 1062;BA.debugLine="a.Close"; -_a.Close(); - }; - //BA.debugLineNum = 1064;BA.debugLine="End Sub"; -return ""; -} -public String _reinicializareqmanager() throws Exception{ - //BA.debugLineNum = 706;BA.debugLine="Sub reinicializaReqManager"; - //BA.debugLineNum = 707;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 708;BA.debugLine="If logger Then Log(B4XPages.MainPage.server)"; -if (_logger) { -__c.LogImpl("31835010",_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ,0);}; - //BA.debugLineNum = 709;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("31835011",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 710;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, "JOBDONE")) - return _jobdone((reparto_mazapa.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xorderedmap.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xorderedmap.java deleted file mode 100644 index 94390e1..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xorderedmap.java +++ /dev/null @@ -1,179 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xorderedmap"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xpages.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpages.java deleted file mode 100644 index 6c9c550..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpages.java +++ /dev/null @@ -1,142 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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 reparto_mazapa.keymon.lat.b4xpagesdelegator _delegate = null; -public static Object _globalcontext = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 (reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Parent /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xpagesmanager; - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return false; -} -public static reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xpagesdelegator.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesdelegator.java deleted file mode 100644 index 72eda7c..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesdelegator.java +++ /dev/null @@ -1,106 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xpagesdelegator"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (_b4xpages._getmanager /*reparto_mazapa.keymon.lat.b4xpagesmanager*/ (getActivityBA())._gettoppage /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xpagesmanager.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java deleted file mode 100644 index 6ea9e55..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xpagesmanager.java +++ /dev/null @@ -1,1076 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xpagesmanager"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.b4xpagesmanager.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public reparto_mazapa.keymon.lat.b4xorderedmap _idtob4xpage = null; -public reparto_mazapa.keymon.lat.b4xorderedmap _rootb4xtopage = null; -public anywheresoftware.b4j.object.JavaObject _context = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xmainpage _mainpage = null; -public String _stackstring = ""; -public boolean _logevents = false; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageparent(); -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _activity_actionbarhomeclick() throws Exception{ -reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xpagesmanager._b4amenuitem _addmenuitem(Object _b4xpage,Object _title) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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("918743299",("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 = ""; -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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("918612245","#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 reparto_mazapa.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 24;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; -_rootb4xtopage = new reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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("919005444","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("919005447","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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageparent _createb4xpageparent(Object _nativetype) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; -anywheresoftware.b4j.object.JavaObject _jo = null; -reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen4 = group4.getSize() -;int index4 = 0; -; -for (; index4 < groupLen4;index4++){ -_mi = (reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageparent*/ = _createb4xpageparent((Object)(_mmainform.getObject())); - //BA.debugLineNum = 384;BA.debugLine="pi.Parent.MenuItems.Initialize"; -_pi.Parent /*reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 392;BA.debugLine="End Sub"; -return ""; -} -public reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(Object _page) throws Exception{ -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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 (reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo _getpagefromid(String _id) throws Exception{ -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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("919660803","Error: page id not found: "+_id,0); - //BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; -__c.LogImpl("919660804","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 reparto_mazapa.keymon.lat.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 (reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo)(_rootb4xtopage._get /*Object*/ ((Object)(_root.getObject()))); - //BA.debugLineNum = 409;BA.debugLine="End Sub"; -return null; -} -public reparto_mazapa.keymon.lat.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 (reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo)(__c.Null);}; - //BA.debugLineNum = 594;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; -if (true) return (reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xpagesmanager parent,reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo _pi) { -this.parent = parent; -this._pi = _pi; -} -reparto_mazapa.keymon.lat.b4xpagesmanager parent; -reparto_mazapa.keymon.lat.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("918546715","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(reparto_mazapa.keymon.lat.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("920774915",_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(reparto_mazapa.keymon.lat.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("920250638","Too many parameters",0); - break; } -} -; - //BA.debugLineNum = 564;BA.debugLine="End Sub"; -return ""; -} -public Object _raiseeventwithresult(reparto_mazapa.keymon.lat.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("920316174","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{ -reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; -reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.b4xpagesmanager._b4xpageinfo _pi = null; -reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xplusminus.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xplusminus.java deleted file mode 100644 index 25bb69f..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xplusminus.java +++ /dev/null @@ -1,592 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xplusminus"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xformatter _formatter = null; -public boolean _stringmode = false; -public int _size = 0; -public boolean _mhaptic = false; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.b4xformatter._b4xformatdata*/ ().FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _mainlabel.getFont(); - //BA.debugLineNum = 63;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; -_formatter._getdefaultformat /*reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xplusminus parent,boolean _up) { -this.parent = parent; -this._up = _up; -} -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xradiobutton.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xradiobutton.java deleted file mode 100644 index 625b8da..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xradiobutton.java +++ /dev/null @@ -1,614 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xradiobutton"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xradiobutton parent,boolean _b,boolean _immediate) { -this.parent = parent; -this._b = _b; -this._immediate = _immediate; -} -reparto_mazapa.keymon.lat.b4xradiobutton parent; -boolean _b; -boolean _immediate; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _v = null; -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xsearchtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java deleted file mode 100644 index 8b8f97b..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsearchtemplate.java +++ /dev/null @@ -1,525 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xsearchtemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xdialog _xdialog = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4xdialog(); - //BA.debugLineNum = 6;BA.debugLine="Public SearchField As B4XFloatTextField"; -_searchfield = new reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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("938731807","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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xsearchtemplate parent,reparto_mazapa.keymon.lat.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -reparto_mazapa.keymon.lat.b4xsearchtemplate parent; -reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xseekbar.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xseekbar.java deleted file mode 100644 index 7216c7a..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xseekbar.java +++ /dev/null @@ -1,300 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xseekbar"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xset.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xset.java deleted file mode 100644 index 6f71870..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xset.java +++ /dev/null @@ -1,104 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xset"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.b4xset.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public reparto_mazapa.keymon.lat.b4xorderedmap _map = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xsignaturetemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsignaturetemplate.java deleted file mode 100644 index 7c5d47c..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xsignaturetemplate.java +++ /dev/null @@ -1,183 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xsignaturetemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xswitch.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xswitch.java deleted file mode 100644 index 4c82afe..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xswitch.java +++ /dev/null @@ -1,508 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xswitch"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xswitch parent,boolean _b,boolean _immediate) { -this.parent = parent; -this._b = _b; -this._immediate = _immediate; -} -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/b4xtimedtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xtimedtemplate.java deleted file mode 100644 index 4afe7d9..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/b4xtimedtemplate.java +++ /dev/null @@ -1,189 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.b4xtimedtemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.anotherprogressbar _anotherprogressbar1 = null; -public Object _mtemplate = null; -public int _timeoutmilliseconds = 0; -public int _index = 0; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.b4xtimedtemplate parent,reparto_mazapa.keymon.lat.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -reparto_mazapa.keymon.lat.b4xtimedtemplate parent; -reparto_mazapa.keymon.lat.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((reparto_mazapa.keymon.lat.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/batteryutilities.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/batteryutilities.java deleted file mode 100644 index 78d6487..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/batteryutilities.java +++ /dev/null @@ -1,166 +0,0 @@ -package reparto_mazapa.keymon.lat; - -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, "reparto_mazapa.keymon.lat.batteryutilities"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 = 4;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 = 27;BA.debugLine="End Sub"; -return null; -} -public String _getbatterytechnolgy() throws Exception{ -String _batterytech = ""; - //BA.debugLineNum = 29;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; - //BA.debugLineNum = 31;BA.debugLine="Dim batterytech As String"; -_batterytech = ""; - //BA.debugLineNum = 32;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; -_batterytech = BA.ObjectToString(_nativeme.RunMethod("getBatteryTechnology",(Object[])(__c.Null))); - //BA.debugLineNum = 33;BA.debugLine="Return batterytech"; -if (true) return _batterytech; - //BA.debugLineNum = 35;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/reparto_mazapa/keymon/lat/c_buscar.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_buscar.java deleted file mode 100644 index 682589b..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_buscar.java +++ /dev/null @@ -1,274 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_buscar 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, "reparto_mazapa.keymon.lat.c_buscar"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.c_buscar.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.objects.ListViewWrapper _listview1 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_noventa = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_noventa_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 85;BA.debugLine="Sub b_noventa_Click"; - //BA.debugLineNum = 86;BA.debugLine="c=Starter.skmt.ExecQuery(\"select NV_CLIENTE,NV_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 NV_CLIENTE,NV_MOTIVO,NV_COMM FROM NOVENTA ORDER BY NV_CLIENTE asc"))); - //BA.debugLineNum = 87;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 89;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 90;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 = 91;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 92;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 93;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 94;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 95;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 96;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 97;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 98;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 99;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 100;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\")"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("NV_CLIENTE")),BA.ObjectToCharSequence("Motivo #"+_c.GetString("NV_MOTIVO")+" Comentario $"+_c.GetString("NV_COMM"))); - } -}; - }; - //BA.debugLineNum = 103;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 = 41;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 42;BA.debugLine="p_principal.Width = Root.Width"; -_p_principal.setWidth(_root.getWidth()); - //BA.debugLineNum = 43;BA.debugLine="p_principal.Height = Root.Height"; -_p_principal.setHeight(_root.getHeight()); - //BA.debugLineNum = 44;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 46;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; -_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 REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); - //BA.debugLineNum = 47;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 49;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 50;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 = 51;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 52;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 53;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 54;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 55;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 56;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 57;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 58;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 59;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 60;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("REP_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("REP_PRONOMBRE")+" Cantidad #"+_c.GetString("REP_CANT")+" SubTotal $"+_c.GetString("REP_COSTO_TOT"))); - } -}; - }; - //BA.debugLineNum = 63;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 64;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(reparto_mazapa.keymon.lat.c_buscar parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_buscar 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 = 73;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 76;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 77;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -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 = 16;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 17;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 19;BA.debugLine="Root.LoadLayout(\"buscar\")"; -_root.LoadLayout("buscar",ba); - //BA.debugLineNum = 20;BA.debugLine="c=Starter.skmt.ExecQuery(\"select REP_CLIENTE, REP"; -_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 REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT FROM REPARTO"))); - //BA.debugLineNum = 21;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 22;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 23;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 = 24;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 25;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 26;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 27;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 28;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 29;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 31;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 32;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 33;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"REP_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("REP_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("REP_PRONOMBRE")+" Cantidad #"+_c.GetString("REP_CANT")+" SubTotal $"+_c.GetString("REP_COSTO_TOT"))); - } -}; - }; - //BA.debugLineNum = 36;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 37;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 c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim b_noventa As Button"; -_b_noventa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 11;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 12;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 13;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 80;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 81;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[]{_value})); - //BA.debugLineNum = 82;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 67;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 68;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/reparto_mazapa/keymon/lat/c_cheklist.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java deleted file mode 100644 index 8c21be6..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cheklist.java +++ /dev/null @@ -1,1704 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_cheklist 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, "reparto_mazapa.keymon.lat.c_cheklist"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.c_cheklist.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_check = null; -public anywheresoftware.b4a.objects.ScrollViewWrapper _sv_datos = null; -public reparto_mazapa.keymon.lat.cameraexclass _camex = null; -public boolean _frontcamera = false; -public anywheresoftware.b4a.objects.PanelWrapper _p_cam = null; -public String _nombrefoto = ""; -public String _nombrefoto1 = ""; -public String _nombrefoto2 = ""; -public String _nombrefoto3 = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; -public anywheresoftware.b4a.objects.IME _teclado = null; -public String _fototomada = ""; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview1 = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview3 = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview2 = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview4 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_foto = null; -public anywheresoftware.b4a.phone.Phone _device = null; -public reparto_mazapa.keymon.lat.manageexternalstorage _mes1 = null; -public int _x = 0; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi1 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno1 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi2 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno2 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi3 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno3 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi4 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno4 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi5 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno5 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi6 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno6 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi7 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno7 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi8 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno8 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi9 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno9 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi10 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno10 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi11 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno11 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi12 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno12 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi13 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno13 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi14 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno14 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi15 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno15 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi16 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno16 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi17 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno17 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi18 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno18 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docsi19 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_docno19 = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_carroceria = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_luces = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_placas = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_liquidos = null; -public String _p1 = ""; -public String _p2 = ""; -public String _p3 = ""; -public String _p4 = ""; -public String _p5 = ""; -public String _p6 = ""; -public String _p7 = ""; -public String _p8 = ""; -public String _p9 = ""; -public String _p10 = ""; -public String _p11 = ""; -public String _p12 = ""; -public String _p13 = ""; -public String _p14 = ""; -public String _p15 = ""; -public String _p16 = ""; -public String _p17 = ""; -public String _p18 = ""; -public String _p19 = ""; -public reparto_mazapa.keymon.lat.b4xcombobox _cb_izqdel = null; -public reparto_mazapa.keymon.lat.b4xcombobox _cb_derdel = null; -public reparto_mazapa.keymon.lat.b4xcombobox _cb_izqatras = null; -public reparto_mazapa.keymon.lat.b4xcombobox _cb_deratras = null; -public String _itemselect1 = ""; -public String _itemselect2 = ""; -public String _itemselect3 = ""; -public String _itemselect4 = ""; -public byte[] _foto1 = null; -public byte[] _foto2 = null; -public byte[] _foto3 = null; -public byte[] _foto4 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_placa = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_km = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_foto_click() throws Exception{ - //BA.debugLineNum = 348;BA.debugLine="Private Sub b_foto_Click"; - //BA.debugLineNum = 349;BA.debugLine="camEx.TakePicture"; -_camex._takepicture /*String*/ (); - //BA.debugLineNum = 350;BA.debugLine="p_camara.Visible = False"; -_p_camara.setVisible(__c.False); - //BA.debugLineNum = 352;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardar_click() throws Exception{ -String _dirp = ""; -String _dir = ""; -String _dir2 = ""; -String _checkdate = ""; -String _checktime = ""; -String _rutacheck = ""; - //BA.debugLineNum = 541;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 543;BA.debugLine="Dim Dirp As String = File.DirInternal"; -_dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 544;BA.debugLine="Dim Dir As String"; -_dir = ""; - //BA.debugLineNum = 545;BA.debugLine="Dim Dir2 As String"; -_dir2 = ""; - //BA.debugLineNum = 546;BA.debugLine="Try"; -try { //BA.debugLineNum = 547;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; -__c.File.MakeDir(_dirp,"/md"); - //BA.debugLineNum = 548;BA.debugLine="Dir = \"/md\""; -_dir = "/md"; - //BA.debugLineNum = 549;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; -__c.LogImpl("356229896","creado en promotoria "+_dirp+_dir,0); - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 551;BA.debugLine="Dir = \"\""; -_dir = ""; - //BA.debugLineNum = 552;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("356229899","creado en raiz",0); - }; - //BA.debugLineNum = 555;BA.debugLine="Try"; -try { //BA.debugLineNum = 556;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; -__c.File.MakeDir(_dirp+_dir,"/reduccion"); - //BA.debugLineNum = 557;BA.debugLine="Dir2 = \"/reduccion\""; -_dir2 = "/reduccion"; - //BA.debugLineNum = 558;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; -__c.LogImpl("356229905","creado en promotoria "+_dirp+_dir+_dir2,0); - } - catch (Exception e17) { - ba.setLastException(e17); //BA.debugLineNum = 560;BA.debugLine="Dir = \"\""; -_dir = ""; - //BA.debugLineNum = 561;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("356229908","creado en raiz",0); - }; - //BA.debugLineNum = 564;BA.debugLine="DateTime.TimeFormat=\"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 565;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 566;BA.debugLine="Dim checkdate As String = DateTime.Date(DateTime."; -_checkdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 567;BA.debugLine="Dim checktime As String = DateTime.Time(DateTime."; -_checktime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 568;BA.debugLine="If et_km.Text <> \"\" Then"; -if ((_et_km.getText()).equals("") == false) { - //BA.debugLineNum = 569;BA.debugLine="If rb_docno1.Checked Or rb_docsi1.Checked Then"; -if (_rb_docno1.getChecked() || _rb_docsi1.getChecked()) { - //BA.debugLineNum = 570;BA.debugLine="If rb_docno2.Checked Or rb_docsi2.Checked Then"; -if (_rb_docno2.getChecked() || _rb_docsi2.getChecked()) { - //BA.debugLineNum = 571;BA.debugLine="If rb_docno3.Checked Or rb_docsi3.Checked Then"; -if (_rb_docno3.getChecked() || _rb_docsi3.getChecked()) { - //BA.debugLineNum = 572;BA.debugLine="If rb_docno4.Checked Or rb_docsi4.Checked The"; -if (_rb_docno4.getChecked() || _rb_docsi4.getChecked()) { - //BA.debugLineNum = 573;BA.debugLine="If rb_docno5.Checked Or rb_docsi5.Checked Th"; -if (_rb_docno5.getChecked() || _rb_docsi5.getChecked()) { - //BA.debugLineNum = 574;BA.debugLine="If rb_docno6.Checked Or rb_docsi6.Checked T"; -if (_rb_docno6.getChecked() || _rb_docsi6.getChecked()) { - //BA.debugLineNum = 575;BA.debugLine="If rb_docno7.Checked Or rb_docsi7.Checked"; -if (_rb_docno7.getChecked() || _rb_docsi7.getChecked()) { - //BA.debugLineNum = 576;BA.debugLine="If rb_docno8.Checked Or rb_docsi8.Checked"; -if (_rb_docno8.getChecked() || _rb_docsi8.getChecked()) { - //BA.debugLineNum = 577;BA.debugLine="If rb_docno9.Checked Or rb_docsi9.Checke"; -if (_rb_docno9.getChecked() || _rb_docsi9.getChecked()) { - //BA.debugLineNum = 578;BA.debugLine="If (rb_docno9.Checked And et_carroceria"; -if ((_rb_docno9.getChecked() && (_et_carroceria.getText()).equals("") == false) || (_rb_docsi9.getChecked() && (_et_carroceria.getText()).equals(""))) { - //BA.debugLineNum = 579;BA.debugLine="If rb_docno11.Checked Or rb_docsi11.Ch"; -if (_rb_docno11.getChecked() || _rb_docsi11.getChecked()) { - //BA.debugLineNum = 580;BA.debugLine="If (rb_docno11.Checked And et_luces.T"; -if ((_rb_docno11.getChecked() && (_et_luces.getText()).equals("") == false) || (_rb_docsi11.getChecked() && (_et_luces.getText()).equals(""))) { - //BA.debugLineNum = 581;BA.debugLine="If rb_docno13.Checked Or rb_docsi13."; -if (_rb_docno13.getChecked() || _rb_docsi13.getChecked()) { - //BA.debugLineNum = 582;BA.debugLine="If (rb_docno12.Checked And et_placa"; -if ((_rb_docno12.getChecked() && (_et_placas.getText()).equals("") == false) || (_rb_docsi13.getChecked() && (_et_placas.getText()).equals(""))) { - //BA.debugLineNum = 583;BA.debugLine="If rb_docno15.Checked Or rb_docsi1"; -if (_rb_docno15.getChecked() || _rb_docsi15.getChecked()) { - //BA.debugLineNum = 584;BA.debugLine="If rb_docno16.Checked Or rb_docsi"; -if (_rb_docno16.getChecked() || _rb_docsi16.getChecked()) { - //BA.debugLineNum = 585;BA.debugLine="If rb_docno17.Checked Or rb_docs"; -if (_rb_docno17.getChecked() || _rb_docsi17.getChecked()) { - //BA.debugLineNum = 586;BA.debugLine="If rb_docno18.Checked Or rb_doc"; -if (_rb_docno18.getChecked() || _rb_docsi18.getChecked()) { - //BA.debugLineNum = 587;BA.debugLine="If rb_docno19.Checked Or rb_do"; -if (_rb_docno19.getChecked() || _rb_docsi19.getChecked()) { - //BA.debugLineNum = 588;BA.debugLine="If et_liquidos.Text <> \"\" An"; -if ((_et_liquidos.getText()).equals("") == false && (_rb_docno15.getChecked() || _rb_docno16.getChecked() || _rb_docno17.getChecked() || _rb_docno18.getChecked() || _rb_docno19.getChecked()) || (_et_liquidos.getText()).equals("") && (_rb_docsi15.getChecked() && _rb_docsi16.getChecked() && _rb_docsi17.getChecked() && _rb_docsi18.getChecked() && _rb_docsi19.getChecked())) { - //BA.debugLineNum = 589;BA.debugLine="If nombrefoto <> \"0\" And nom"; -if ((_nombrefoto).equals("0") == false && (_nombrefoto1).equals("0") == false && (_nombrefoto2).equals("0") == false && (_nombrefoto3).equals("0") == false) { - //BA.debugLineNum = 590;BA.debugLine="c = Starter.skmt.ExecQuery("; -_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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 591;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 592;BA.debugLine="Private rutacheck As String"; -_rutacheck = _c.GetString("RUTAA"); - //BA.debugLineNum = 593;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 594;BA.debugLine="Starter.skmt.ExecNonQuery(\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CHECKLIST2"); - //BA.debugLineNum = 595;BA.debugLine="Starter.skmt.ExecNonQuery2("; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CHECKLIST2(USUARIO, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE,RUTA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ ),(Object)(_l_placa.getText()),(Object)(_checkdate+" "+_checktime),(Object)(_p1),(Object)(_p2),(Object)(_p3),(Object)(_p4),(Object)(_p5),(Object)(_p6),(Object)(_p7),(Object)(_p8),(Object)(_p9),(Object)(_et_carroceria.getText()),(Object)(_p11),(Object)(_et_luces.getText()),(Object)(_p13),(Object)(_et_placas.getText()),(Object)(_itemselect1),(Object)(_itemselect2),(Object)(_itemselect3),(Object)(_itemselect4),(Object)(_p15),(Object)(_p16),(Object)(_p17),(Object)(_p18),(Object)(_p19),(Object)(_et_liquidos.getText()),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto)),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto1)),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto2)),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto3)),(Object)(_et_km.getText()),(Object)(_rutacheck)})); - //BA.debugLineNum = 598;BA.debugLine="mandaPendientes"; -_mandapendientes(); - //BA.debugLineNum = 600;BA.debugLine="rb_docno1.Checked = False"; -_rb_docno1.setChecked(__c.False); - //BA.debugLineNum = 601;BA.debugLine="rb_docno2.Checked = False"; -_rb_docno2.setChecked(__c.False); - //BA.debugLineNum = 602;BA.debugLine="rb_docno3.Checked = False"; -_rb_docno3.setChecked(__c.False); - //BA.debugLineNum = 603;BA.debugLine="rb_docno4.Checked = False"; -_rb_docno4.setChecked(__c.False); - //BA.debugLineNum = 604;BA.debugLine="rb_docno5.Checked = False"; -_rb_docno5.setChecked(__c.False); - //BA.debugLineNum = 605;BA.debugLine="rb_docno6.Checked = False"; -_rb_docno6.setChecked(__c.False); - //BA.debugLineNum = 606;BA.debugLine="rb_docno7.Checked = False"; -_rb_docno7.setChecked(__c.False); - //BA.debugLineNum = 607;BA.debugLine="rb_docno8.Checked = False"; -_rb_docno8.setChecked(__c.False); - //BA.debugLineNum = 608;BA.debugLine="rb_docno9.Checked = False"; -_rb_docno9.setChecked(__c.False); - //BA.debugLineNum = 609;BA.debugLine="rb_docno11.Checked = False"; -_rb_docno11.setChecked(__c.False); - //BA.debugLineNum = 610;BA.debugLine="rb_docno13.Checked = False"; -_rb_docno13.setChecked(__c.False); - //BA.debugLineNum = 611;BA.debugLine="rb_docno15.Checked = False"; -_rb_docno15.setChecked(__c.False); - //BA.debugLineNum = 612;BA.debugLine="rb_docno16.Checked = False"; -_rb_docno16.setChecked(__c.False); - //BA.debugLineNum = 613;BA.debugLine="rb_docno17.Checked = False"; -_rb_docno17.setChecked(__c.False); - //BA.debugLineNum = 614;BA.debugLine="rb_docno18.Checked = False"; -_rb_docno18.setChecked(__c.False); - //BA.debugLineNum = 615;BA.debugLine="rb_docno19.Checked = False"; -_rb_docno19.setChecked(__c.False); - //BA.debugLineNum = 617;BA.debugLine="rb_docsi1.Checked = False"; -_rb_docsi1.setChecked(__c.False); - //BA.debugLineNum = 618;BA.debugLine="rb_docsi2.Checked = False"; -_rb_docsi2.setChecked(__c.False); - //BA.debugLineNum = 619;BA.debugLine="rb_docsi3.Checked = False"; -_rb_docsi3.setChecked(__c.False); - //BA.debugLineNum = 620;BA.debugLine="rb_docsi4.Checked = False"; -_rb_docsi4.setChecked(__c.False); - //BA.debugLineNum = 621;BA.debugLine="rb_docsi5.Checked = False"; -_rb_docsi5.setChecked(__c.False); - //BA.debugLineNum = 622;BA.debugLine="rb_docsi6.Checked = False"; -_rb_docsi6.setChecked(__c.False); - //BA.debugLineNum = 623;BA.debugLine="rb_docsi7.Checked = False"; -_rb_docsi7.setChecked(__c.False); - //BA.debugLineNum = 624;BA.debugLine="rb_docsi8.Checked = False"; -_rb_docsi8.setChecked(__c.False); - //BA.debugLineNum = 625;BA.debugLine="rb_docsi9.Checked = False"; -_rb_docsi9.setChecked(__c.False); - //BA.debugLineNum = 626;BA.debugLine="rb_docsi11.Checked = False"; -_rb_docsi11.setChecked(__c.False); - //BA.debugLineNum = 627;BA.debugLine="rb_docsi13.Checked = False"; -_rb_docsi13.setChecked(__c.False); - //BA.debugLineNum = 628;BA.debugLine="rb_docsi15.Checked = False"; -_rb_docsi15.setChecked(__c.False); - //BA.debugLineNum = 629;BA.debugLine="rb_docsi16.Checked = False"; -_rb_docsi16.setChecked(__c.False); - //BA.debugLineNum = 630;BA.debugLine="rb_docsi17.Checked = False"; -_rb_docsi17.setChecked(__c.False); - //BA.debugLineNum = 631;BA.debugLine="rb_docsi18.Checked = False"; -_rb_docsi18.setChecked(__c.False); - //BA.debugLineNum = 632;BA.debugLine="rb_docsi19.Checked = False"; -_rb_docsi19.setChecked(__c.False); - //BA.debugLineNum = 634;BA.debugLine="cb_deratras.SelectedIndex ="; -_cb_deratras._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 635;BA.debugLine="cb_derdel.SelectedIndex = 0"; -_cb_derdel._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 636;BA.debugLine="cb_izqatras.SelectedIndex ="; -_cb_izqatras._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 637;BA.debugLine="cb_izqdel.SelectedIndex = 0"; -_cb_izqdel._setselectedindex /*int*/ ((int) (0)); - //BA.debugLineNum = 639;BA.debugLine="et_carroceria.Text = \"\""; -_et_carroceria.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 640;BA.debugLine="et_liquidos.Text = \"\""; -_et_liquidos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 641;BA.debugLine="et_luces.Text = \"\""; -_et_luces.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 642;BA.debugLine="et_placas.Text = \"\""; -_et_placas.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 644;BA.debugLine="ImageView1.Bitmap = LoadBit"; -_imageview1.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"frontal1.png").getObject())); - //BA.debugLineNum = 645;BA.debugLine="ImageView2.Bitmap = LoadBit"; -_imageview2.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"derecha1.png").getObject())); - //BA.debugLineNum = 646;BA.debugLine="ImageView3.Bitmap = LoadBit"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"atras1.png").getObject())); - //BA.debugLineNum = 647;BA.debugLine="ImageView4.Bitmap = LoadBit"; -_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"izquierda1.png").getObject())); - //BA.debugLineNum = 649;BA.debugLine="nombrefoto = \"0\""; -_nombrefoto = "0"; - //BA.debugLineNum = 650;BA.debugLine="nombrefoto1 = \"0\""; -_nombrefoto1 = "0"; - //BA.debugLineNum = 651;BA.debugLine="nombrefoto2 = \"0\""; -_nombrefoto2 = "0"; - //BA.debugLineNum = 652;BA.debugLine="nombrefoto3 = \"0\""; -_nombrefoto3 = "0"; - //BA.debugLineNum = 654;BA.debugLine="B4XPages.ShowPage(\"Principa"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }else { - //BA.debugLineNum = 656;BA.debugLine="MsgboxAsync(\"Favor de tomar"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de tomar todas las fotos"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 659;BA.debugLine="MsgboxAsync(\"Especifica Fuga"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica Fugas o detallaes en los liquidos"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 662;BA.debugLine="MsgboxAsync(\"Seleeciona una o"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Fugas"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 665;BA.debugLine="MsgboxAsync(\"Seleeciona una op"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aire"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 668;BA.debugLine="MsgboxAsync(\"Seleeciona una opc"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Frenos"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 671;BA.debugLine="MsgboxAsync(\"Seleeciona una opci"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Anticongelante"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 674;BA.debugLine="MsgboxAsync(\"Seleeciona una opció"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Niveles de Liquidos y aire de Aceite"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 677;BA.debugLine="MsgboxAsync(\"Especifica daños en l"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en las condiciones de placas"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 680;BA.debugLine="MsgboxAsync(\"Seleeciona una opción"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Conciciones de placas de Correcto"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 683;BA.debugLine="MsgboxAsync(\"Especifica daños en las"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en las luces"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 686;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Funcionamiento de luces de Correcto"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 689;BA.debugLine="MsgboxAsync(\"Especifica daños en la ca"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Especifica daños en la carrocería"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 692;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en C"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Carrocería de Buen estado"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 695;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Se"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Llanta de refacción"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 698;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Seg"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de gato"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 701;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Segu"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Seguridad y refación de Triagulo reflectante"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 704;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpi"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad interna"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 707;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Limpie"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Limpieza unidad externa"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 710;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documen"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Licencia de conducir"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 713;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Document"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de Póliza de seguro"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 716;BA.debugLine="MsgboxAsync(\"Seleeciona una opción en Documenta"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Seleeciona una opción en Documentación viegnte de tarjeta de circulación"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 719;BA.debugLine="MsgboxAsync(\"Captura el kilometraje inicial.\",\"A"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Captura el kilometraje inicial."),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 722;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(reparto_mazapa.keymon.lat.c_cheklist parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_cheklist parent; -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 = 143;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PLACA FROM HIS"; -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 PLACA FROM HIST_VENTAS"))); - //BA.debugLineNum = 144;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 145;BA.debugLine="Log(c.GetString(\"PLACA\"))"; -parent.__c.LogImpl("353084163",parent._c.GetString("PLACA"),0); - //BA.debugLineNum = 146;BA.debugLine="l_placa.Text = c.GetString(\"PLACA\")"; -parent._l_placa.setText(BA.ObjectToCharSequence(parent._c.GetString("PLACA"))); - //BA.debugLineNum = 147;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 148;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 = 149;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 = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 150;BA.debugLine="If Result Then"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_result) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 153;BA.debugLine="Log(\"inicializamos Camara\")"; -parent.__c.LogImpl("353084171","inicializamos Camara",0); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 155;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True); - if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 157;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; -parent._mes1._initialize /*String*/ (ba,parent,"MES1"); - //BA.debugLineNum = 160;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; -_sdkversion = parent._device.getSdkVersion(); - //BA.debugLineNum = 163;BA.debugLine="If SdkVersion < 30 Then"; -if (true) break; - -case 7: -//if -this.state = 16; -if (_sdkversion<30) { -this.state = 9; -}else { -this.state = 11; -}if (true) break; - -case 9: -//C -this.state = 16; - //BA.debugLineNum = 164;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting WRITE"; -parent.__c.LogImpl("353084182","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting WRITE_EXTERNAL_STORAGE permission",0); - //BA.debugLineNum = 165;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 166;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; -_rp.CheckAndRequest(ba,_rp.PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 167;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; -parent.__c.WaitFor("activity_permissionresult", ba, this, null); -this.state = 18; -return; -case 18: -//C -this.state = 16; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 168;BA.debugLine="Log($\"PERMISSION_WRITE_EXTERNAL_STORAGE = ${Resu"; -parent.__c.LogImpl("353084186",("PERMISSION_WRITE_EXTERNAL_STORAGE = "+parent.__c.SmartStringFormatter("",(Object)(_result))+""),0); - if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 170;BA.debugLine="Log(\"SDK = \" & SdkVersion & \" : Requesting MANAG"; -parent.__c.LogImpl("353084188","SDK = "+BA.NumberToString(_sdkversion)+" : Requesting MANAGE_EXTERNAL_STORAGE permission",0); - //BA.debugLineNum = 171;BA.debugLine="Log(\"On Entry MANAGE_EXTERNAL_STORAGE = \" & MES1"; -parent.__c.LogImpl("353084189","On Entry MANAGE_EXTERNAL_STORAGE = "+BA.ObjectToString(parent._mes1._haspermission /*boolean*/ ()),0); - //BA.debugLineNum = 172;BA.debugLine="If Not(MES1.HasPermission) Then"; -if (true) break; - -case 12: -//if -this.state = 15; -if (parent.__c.Not(parent._mes1._haspermission /*boolean*/ ())) { -this.state = 14; -}if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 173;BA.debugLine="MsgboxAsync(\"Esta aplicación requiere acceso a"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Esta aplicación requiere acceso a todos los archivos, habilite la opción"),BA.ObjectToCharSequence("Administrar todos los archivos"),ba); - //BA.debugLineNum = 174;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 19; -return; -case 19: -//C -this.state = 15; -_res = (Integer) result[0]; -; - //BA.debugLineNum = 175;BA.debugLine="Log(\"Getting permission\")"; -parent.__c.LogImpl("353084193","Getting permission",0); - //BA.debugLineNum = 176;BA.debugLine="MES1.GetPermission"; -parent._mes1._getpermission /*String*/ (); - //BA.debugLineNum = 177;BA.debugLine="Wait For MES_StorageAvailable"; -parent.__c.WaitFor("mes_storageavailable", ba, this, null); -this.state = 20; -return; -case 20: -//C -this.state = 15; -; - if (true) break; - -case 15: -//C -this.state = 16; -; - if (true) break; - -case 16: -//C -this.state = -1; -; - //BA.debugLineNum = 180;BA.debugLine="p_camara.Visible = False"; -parent._p_camara.setVisible(parent.__c.False); - //BA.debugLineNum = 198;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 _msgbox_result(int _res) throws Exception{ -} -public void _mes_storageavailable() throws Exception{ -} -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(reparto_mazapa.keymon.lat.c_cheklist parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_cheklist 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 = 202;BA.debugLine="If p_camara.visible Then"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent._p_camara.getVisible()) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 203;BA.debugLine="p_camara.visible = False"; -parent._p_camara.setVisible(parent.__c.False); - //BA.debugLineNum = 204;BA.debugLine="StopCamera2"; -parent._stopcamera2(); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 206;BA.debugLine="B4XPages.ShowPage(\"principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"principal"); - if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 209;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 210;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -anywheresoftware.b4a.objects.collections.List _items = null; - //BA.debugLineNum = 111;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 112;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 113;BA.debugLine="Root.LoadLayout(\"checklist\")"; -_root.LoadLayout("checklist",ba); - //BA.debugLineNum = 115;BA.debugLine="sv_datos.Height = Root.Height"; -_sv_datos.setHeight(_root.getHeight()); - //BA.debugLineNum = 116;BA.debugLine="sv_datos.Width = Root.Width"; -_sv_datos.setWidth(_root.getWidth()); - //BA.debugLineNum = 117;BA.debugLine="sv_datos.Panel.LoadLayout(\"check\")"; -_sv_datos.getPanel().LoadLayout("check",ba); - //BA.debugLineNum = 118;BA.debugLine="sv_datos.Panel.Height = p_check.Height"; -_sv_datos.getPanel().setHeight(_p_check.getHeight()); - //BA.debugLineNum = 119;BA.debugLine="p_check.Width = Root.Width"; -_p_check.setWidth(_root.getWidth()); - //BA.debugLineNum = 120;BA.debugLine="p_camara.Width = Root.Width"; -_p_camara.setWidth(_root.getWidth()); - //BA.debugLineNum = 121;BA.debugLine="p_camara.Height = Root.Height"; -_p_camara.setHeight(_root.getHeight()); - //BA.debugLineNum = 124;BA.debugLine="Dim items As List"; -_items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 125;BA.debugLine="items.Initialize"; -_items.Initialize(); - //BA.debugLineNum = 126;BA.debugLine="items.Add(\"100%\")"; -_items.Add((Object)("100%")); - //BA.debugLineNum = 127;BA.debugLine="items.Add(\"75%\")"; -_items.Add((Object)("75%")); - //BA.debugLineNum = 128;BA.debugLine="items.Add(\"50%\")"; -_items.Add((Object)("50%")); - //BA.debugLineNum = 129;BA.debugLine="items.Add(\"25%\")"; -_items.Add((Object)("25%")); - //BA.debugLineNum = 130;BA.debugLine="cb_deratras.SetItems(items)"; -_cb_deratras._setitems /*String*/ (_items); - //BA.debugLineNum = 131;BA.debugLine="cb_izqatras.SetItems(items)"; -_cb_izqatras._setitems /*String*/ (_items); - //BA.debugLineNum = 132;BA.debugLine="cb_derdel.SetItems(items)"; -_cb_derdel._setitems /*String*/ (_items); - //BA.debugLineNum = 133;BA.debugLine="cb_izqdel.SetItems(items)"; -_cb_izqdel._setitems /*String*/ (_items); - //BA.debugLineNum = 134;BA.debugLine="itemselect1 = \"100%\""; -_itemselect1 = "100%"; - //BA.debugLineNum = 135;BA.debugLine="itemselect2 = \"100%\""; -_itemselect2 = "100%"; - //BA.debugLineNum = 136;BA.debugLine="itemselect3 = \"100%\""; -_itemselect3 = "100%"; - //BA.debugLineNum = 137;BA.debugLine="itemselect4 = \"100%\""; -_itemselect4 = "100%"; - //BA.debugLineNum = 139;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 140;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_picturetaken(byte[] _data) throws Exception{ -String _filename = ""; -String _dirp = ""; -String _dir = ""; -String _dir2 = ""; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 238;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)"; - //BA.debugLineNum = 239;BA.debugLine="If x = 1 Then"; -if (_x==1) { - //BA.debugLineNum = 240;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; -__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 241;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\""; -_nombrefoto = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg"; - //BA.debugLineNum = 242;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 243;BA.debugLine="fototomada = nombrefoto"; -_fototomada = _nombrefoto; - }else if(_x==2) { - //BA.debugLineNum = 246;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; -__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 247;BA.debugLine="nombrefoto1 = DateTime.Now & \"_FOTO2.jpg\""; -_nombrefoto1 = BA.NumberToString(__c.DateTime.getNow())+"_FOTO2.jpg"; - //BA.debugLineNum = 248;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 249;BA.debugLine="fototomada = nombrefoto1"; -_fototomada = _nombrefoto1; - }else if(_x==3) { - //BA.debugLineNum = 252;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; -__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 253;BA.debugLine="nombrefoto2 = DateTime.Now & \"_FOTO3.jpg\""; -_nombrefoto2 = BA.NumberToString(__c.DateTime.getNow())+"_FOTO3.jpg"; - //BA.debugLineNum = 254;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 255;BA.debugLine="fototomada = nombrefoto2"; -_fototomada = _nombrefoto2; - }else if(_x==4) { - //BA.debugLineNum = 258;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; -__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 259;BA.debugLine="nombrefoto3 = DateTime.Now & \"_FOTO4.jpg\""; -_nombrefoto3 = BA.NumberToString(__c.DateTime.getNow())+"_FOTO4.jpg"; - //BA.debugLineNum = 260;BA.debugLine="teclado.HideKeyboard"; -_teclado.HideKeyboard(ba); - //BA.debugLineNum = 261;BA.debugLine="fototomada = nombrefoto3"; -_fototomada = _nombrefoto3; - }; - //BA.debugLineNum = 265;BA.debugLine="Log(\"tome foto\")"; -__c.LogImpl("353346331","tome foto",0); - //BA.debugLineNum = 266;BA.debugLine="Dim filename As String = fototomada"; -_filename = _fototomada; - //BA.debugLineNum = 267;BA.debugLine="Dim Dirp As String = File.DirInternal"; -_dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 268;BA.debugLine="Dim Dir As String"; -_dir = ""; - //BA.debugLineNum = 269;BA.debugLine="Dim Dir2 As String"; -_dir2 = ""; - //BA.debugLineNum = 270;BA.debugLine="Try"; -try { //BA.debugLineNum = 271;BA.debugLine="File.MakeDir(Dirp,\"/md\")"; -__c.File.MakeDir(_dirp,"/md"); - //BA.debugLineNum = 272;BA.debugLine="Dir = \"/md\""; -_dir = "/md"; - //BA.debugLineNum = 273;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)"; -__c.LogImpl("353346339","creado en promotoria "+_dirp+_dir,0); - } - catch (Exception e32) { - ba.setLastException(e32); //BA.debugLineNum = 275;BA.debugLine="Dir = \"\""; -_dir = ""; - //BA.debugLineNum = 276;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("353346342","creado en raiz",0); - }; - //BA.debugLineNum = 279;BA.debugLine="Try"; -try { //BA.debugLineNum = 280;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")"; -__c.File.MakeDir(_dirp+_dir,"/reduccion"); - //BA.debugLineNum = 281;BA.debugLine="Dir2 = \"/reduccion\""; -_dir2 = "/reduccion"; - //BA.debugLineNum = 282;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)"; -__c.LogImpl("353346348","creado en promotoria "+_dirp+_dir+_dir2,0); - } - catch (Exception e40) { - ba.setLastException(e40); //BA.debugLineNum = 284;BA.debugLine="Dir = \"\""; -_dir = ""; - //BA.debugLineNum = 285;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("353346351","creado en raiz",0); - }; - //BA.debugLineNum = 288;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)"; -_camex._savepicturetofile /*String*/ (_data,_dirp+_dir,_filename); - //BA.debugLineNum = 289;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 291;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi"; -__c.LogImpl("353346357","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); - //BA.debugLineNum = 292;BA.debugLine="p_camara.Visible = False"; -_p_camara.setVisible(__c.False); - //BA.debugLineNum = 294;BA.debugLine="Log(nombrefoto)"; -__c.LogImpl("353346360",_nombrefoto,0); - //BA.debugLineNum = 295;BA.debugLine="Log(nombrefoto1)"; -__c.LogImpl("353346361",_nombrefoto1,0); - //BA.debugLineNum = 296;BA.debugLine="Log(nombrefoto2)"; -__c.LogImpl("353346362",_nombrefoto2,0); - //BA.debugLineNum = 297;BA.debugLine="Log(nombrefoto3)"; -__c.LogImpl("353346363",_nombrefoto3,0); - //BA.debugLineNum = 299;BA.debugLine="If nombrefoto <> \"0\" Then"; -if ((_nombrefoto).equals("0") == false) { - //BA.debugLineNum = 300;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 = 301;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.True); - //BA.debugLineNum = 302;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 = 305;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 306;BA.debugLine="ImageView1.Bitmap = LoadBitmap(File.DirInternal"; -_imageview1.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto).getObject())); - }; - //BA.debugLineNum = 310;BA.debugLine="If nombrefoto1 <> \"0\" Then"; -if ((_nombrefoto1).equals("0") == false) { - //BA.debugLineNum = 311;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 = 312;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 = 313;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 = 316;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 317;BA.debugLine="ImageView2.Bitmap = LoadBitmap(File.DirInternal"; -_imageview2.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto1).getObject())); - }; - //BA.debugLineNum = 320;BA.debugLine="If nombrefoto2 <> \"0\" Then"; -if ((_nombrefoto2).equals("0") == false) { - //BA.debugLineNum = 321;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 = 322;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 = 323;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 = 326;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 327;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirInternal"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto2).getObject())); - }; - //BA.debugLineNum = 330;BA.debugLine="If nombrefoto3 <> \"0\" Then"; -if ((_nombrefoto3).equals("0") == false) { - //BA.debugLineNum = 331;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 = 332;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 = 333;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 = 336;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 337;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal"; -_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto3).getObject())); - }; - //BA.debugLineNum = 340;BA.debugLine="StopCamera2"; -_stopcamera2(); - //BA.debugLineNum = 342;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 224;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; - //BA.debugLineNum = 225;BA.debugLine="Log(\"Camara ready\")"; -__c.LogImpl("353280769","Camara ready",0); - //BA.debugLineNum = 226;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 227;BA.debugLine="camEx.SetJpegQuality(90)"; -_camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 228;BA.debugLine="camEx.SetContinuousAutoFocus"; -_camex._setcontinuousautofocus /*String*/ (); - //BA.debugLineNum = 229;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 230;BA.debugLine="camEx.StartPreview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 231;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("353280775",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0); - }else { - //BA.debugLineNum = 233;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); - //BA.debugLineNum = 234;BA.debugLine="Log(\"Cannot open camera\")"; -__c.LogImpl("353280778","Cannot open camera",0); - }; - //BA.debugLineNum = 236;BA.debugLine="End Sub"; -return ""; -} -public String _cb_deratras_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 536;BA.debugLine="Private Sub cb_deratras_SelectedIndexChanged (Inde"; - //BA.debugLineNum = 537;BA.debugLine="itemselect4 = cb_deratras.SelectedItem"; -_itemselect4 = _cb_deratras._getselecteditem /*String*/ (); - //BA.debugLineNum = 538;BA.debugLine="Log(itemselect4)"; -__c.LogImpl("356164354",_itemselect4,0); - //BA.debugLineNum = 539;BA.debugLine="End Sub"; -return ""; -} -public String _cb_derdel_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 531;BA.debugLine="Private Sub cb_derdel_SelectedIndexChanged (Index"; - //BA.debugLineNum = 532;BA.debugLine="itemselect3 = cb_derdel.SelectedItem"; -_itemselect3 = _cb_derdel._getselecteditem /*String*/ (); - //BA.debugLineNum = 533;BA.debugLine="Log(itemselect3)"; -__c.LogImpl("356098818",_itemselect3,0); - //BA.debugLineNum = 534;BA.debugLine="End Sub"; -return ""; -} -public String _cb_izqatras_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 526;BA.debugLine="Private Sub cb_izqatras_SelectedIndexChanged (Inde"; - //BA.debugLineNum = 527;BA.debugLine="itemselect2 = cb_izqatras.SelectedItem"; -_itemselect2 = _cb_izqatras._getselecteditem /*String*/ (); - //BA.debugLineNum = 528;BA.debugLine="Log(itemselect2)"; -__c.LogImpl("356033282",_itemselect2,0); - //BA.debugLineNum = 529;BA.debugLine="End Sub"; -return ""; -} -public String _cb_izqdel_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 521;BA.debugLine="Private Sub cb_izqdel_SelectedIndexChanged (Index"; - //BA.debugLineNum = 522;BA.debugLine="itemselect1 = cb_izqdel.SelectedItem"; -_itemselect1 = _cb_izqdel._getselecteditem /*String*/ (); - //BA.debugLineNum = 523;BA.debugLine="Log(itemselect1)"; -__c.LogImpl("355967746",_itemselect1,0); - //BA.debugLineNum = 524;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_check As Panel"; -_p_check = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private sv_datos As ScrollView"; -_sv_datos = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private camEx As CameraExClass"; -_camex = new reparto_mazapa.keymon.lat.cameraexclass(); - //BA.debugLineNum = 8;BA.debugLine="Dim frontCamera As Boolean = False"; -_frontcamera = __c.False; - //BA.debugLineNum = 9;BA.debugLine="Private p_cam As Panel"; -_p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim nombrefoto As String = \"0\""; -_nombrefoto = "0"; - //BA.debugLineNum = 11;BA.debugLine="Dim nombrefoto1 As String = \"0\""; -_nombrefoto1 = "0"; - //BA.debugLineNum = 12;BA.debugLine="Dim nombrefoto2 As String = \"0\""; -_nombrefoto2 = "0"; - //BA.debugLineNum = 13;BA.debugLine="Dim nombrefoto3 As String = \"0\""; -_nombrefoto3 = "0"; - //BA.debugLineNum = 14;BA.debugLine="Private p_camara As Panel"; -_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private teclado As IME"; -_teclado = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 16;BA.debugLine="Dim fototomada As String"; -_fototomada = ""; - //BA.debugLineNum = 17;BA.debugLine="Private ImageView1 As ImageView"; -_imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private ImageView3 As ImageView"; -_imageview3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Private ImageView2 As ImageView"; -_imageview2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private ImageView4 As ImageView"; -_imageview4 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Private b_foto As Button"; -_b_foto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim device As Phone"; -_device = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 23;BA.debugLine="Dim MES1 As ManageExternalStorage"; -_mes1 = new reparto_mazapa.keymon.lat.manageexternalstorage(); - //BA.debugLineNum = 24;BA.debugLine="Dim x As Int = 0"; -_x = (int) (0); - //BA.debugLineNum = 25;BA.debugLine="Private rb_docsi1 As RadioButton"; -_rb_docsi1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Private rb_docno1 As RadioButton"; -_rb_docno1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private rb_docsi2 As RadioButton"; -_rb_docsi2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private rb_docno2 As RadioButton"; -_rb_docno2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private rb_docsi3 As RadioButton"; -_rb_docsi3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private rb_docno3 As RadioButton"; -_rb_docno3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private rb_docsi4 As RadioButton"; -_rb_docsi4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private rb_docno4 As RadioButton"; -_rb_docno4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private rb_docsi5 As RadioButton"; -_rb_docsi5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private rb_docno5 As RadioButton"; -_rb_docno5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private rb_docsi6 As RadioButton"; -_rb_docsi6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Private rb_docno6 As RadioButton"; -_rb_docno6 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private rb_docsi7 As RadioButton"; -_rb_docsi7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private rb_docno7 As RadioButton"; -_rb_docno7 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private rb_docsi8 As RadioButton"; -_rb_docsi8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Private rb_docno8 As RadioButton"; -_rb_docno8 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private rb_docsi9 As RadioButton"; -_rb_docsi9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private rb_docno9 As RadioButton"; -_rb_docno9 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Private rb_docsi10 As RadioButton"; -_rb_docsi10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private rb_docno10 As RadioButton"; -_rb_docno10 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Private rb_docsi11 As RadioButton"; -_rb_docsi11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Private rb_docno11 As RadioButton"; -_rb_docno11 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Private rb_docsi12 As RadioButton"; -_rb_docsi12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Private rb_docno12 As RadioButton"; -_rb_docno12 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Private rb_docsi13 As RadioButton"; -_rb_docsi13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Private rb_docno13 As RadioButton"; -_rb_docno13 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Private rb_docsi14 As RadioButton"; -_rb_docsi14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Private rb_docno14 As RadioButton"; -_rb_docno14 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Private rb_docsi15 As RadioButton"; -_rb_docsi15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Private rb_docno15 As RadioButton"; -_rb_docno15 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Private rb_docsi16 As RadioButton"; -_rb_docsi16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Private rb_docno16 As RadioButton"; -_rb_docno16 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Private rb_docsi17 As RadioButton"; -_rb_docsi17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Private rb_docno17 As RadioButton"; -_rb_docno17 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 59;BA.debugLine="Private rb_docsi18 As RadioButton"; -_rb_docsi18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 60;BA.debugLine="Private rb_docno18 As RadioButton"; -_rb_docno18 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Private rb_docsi19 As RadioButton"; -_rb_docsi19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 62;BA.debugLine="Private rb_docno19 As RadioButton"; -_rb_docno19 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 63;BA.debugLine="Private et_carroceria As EditText"; -_et_carroceria = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 64;BA.debugLine="Private et_luces As EditText"; -_et_luces = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private et_placas As EditText"; -_et_placas = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Private et_liquidos As EditText"; -_et_liquidos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Dim p1 As String"; -_p1 = ""; - //BA.debugLineNum = 69;BA.debugLine="Dim p2 As String"; -_p2 = ""; - //BA.debugLineNum = 70;BA.debugLine="Dim p3 As String"; -_p3 = ""; - //BA.debugLineNum = 71;BA.debugLine="Dim p4 As String"; -_p4 = ""; - //BA.debugLineNum = 72;BA.debugLine="Dim p5 As String"; -_p5 = ""; - //BA.debugLineNum = 73;BA.debugLine="Dim p6 As String"; -_p6 = ""; - //BA.debugLineNum = 74;BA.debugLine="Dim p7 As String"; -_p7 = ""; - //BA.debugLineNum = 75;BA.debugLine="Dim p8 As String"; -_p8 = ""; - //BA.debugLineNum = 76;BA.debugLine="Dim p9 As String"; -_p9 = ""; - //BA.debugLineNum = 77;BA.debugLine="Dim p10 As String"; -_p10 = ""; - //BA.debugLineNum = 78;BA.debugLine="Dim p11 As String"; -_p11 = ""; - //BA.debugLineNum = 79;BA.debugLine="Dim p12 As String"; -_p12 = ""; - //BA.debugLineNum = 80;BA.debugLine="Dim p13 As String"; -_p13 = ""; - //BA.debugLineNum = 81;BA.debugLine="Dim p14 As String"; -_p14 = ""; - //BA.debugLineNum = 82;BA.debugLine="Dim p15 As String"; -_p15 = ""; - //BA.debugLineNum = 83;BA.debugLine="Dim p16 As String"; -_p16 = ""; - //BA.debugLineNum = 84;BA.debugLine="Dim p17 As String"; -_p17 = ""; - //BA.debugLineNum = 85;BA.debugLine="Dim p18 As String"; -_p18 = ""; - //BA.debugLineNum = 86;BA.debugLine="Dim p19 As String"; -_p19 = ""; - //BA.debugLineNum = 87;BA.debugLine="Private cb_izqdel As B4XComboBox"; -_cb_izqdel = new reparto_mazapa.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 88;BA.debugLine="Private cb_derdel As B4XComboBox"; -_cb_derdel = new reparto_mazapa.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 89;BA.debugLine="Private cb_izqatras As B4XComboBox"; -_cb_izqatras = new reparto_mazapa.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 90;BA.debugLine="Private cb_deratras As B4XComboBox"; -_cb_deratras = new reparto_mazapa.keymon.lat.b4xcombobox(); - //BA.debugLineNum = 91;BA.debugLine="Dim itemselect1 As String"; -_itemselect1 = ""; - //BA.debugLineNum = 92;BA.debugLine="Dim itemselect2 As String"; -_itemselect2 = ""; - //BA.debugLineNum = 93;BA.debugLine="Dim itemselect3 As String"; -_itemselect3 = ""; - //BA.debugLineNum = 94;BA.debugLine="Dim itemselect4 As String"; -_itemselect4 = ""; - //BA.debugLineNum = 95;BA.debugLine="Dim foto1() As Byte"; -_foto1 = new byte[(int) (0)]; -; - //BA.debugLineNum = 96;BA.debugLine="Dim foto2() As Byte"; -_foto2 = new byte[(int) (0)]; -; - //BA.debugLineNum = 97;BA.debugLine="Dim foto3() As Byte"; -_foto3 = new byte[(int) (0)]; -; - //BA.debugLineNum = 98;BA.debugLine="Dim foto4() As Byte"; -_foto4 = new byte[(int) (0)]; -; - //BA.debugLineNum = 99;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 101;BA.debugLine="Private l_placa As Label"; -_l_placa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 102;BA.debugLine="Private et_km As EditText"; -_et_km = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 103;BA.debugLine="End Sub"; -return ""; -} -public String _imageview1_click() throws Exception{ - //BA.debugLineNum = 361;BA.debugLine="Private Sub ImageView1_Click"; - //BA.debugLineNum = 363;BA.debugLine="x = 1"; -_x = (int) (1); - //BA.debugLineNum = 364;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 365;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 367;BA.debugLine="End Sub"; -return ""; -} -public String _imageview2_click() throws Exception{ - //BA.debugLineNum = 369;BA.debugLine="Private Sub ImageView2_Click"; - //BA.debugLineNum = 371;BA.debugLine="x = 2"; -_x = (int) (2); - //BA.debugLineNum = 372;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 373;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 375;BA.debugLine="End Sub"; -return ""; -} -public String _imageview3_click() throws Exception{ - //BA.debugLineNum = 377;BA.debugLine="Private Sub ImageView3_Click"; - //BA.debugLineNum = 379;BA.debugLine="x = 3"; -_x = (int) (3); - //BA.debugLineNum = 380;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 381;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 383;BA.debugLine="End Sub"; -return ""; -} -public String _imageview4_click() throws Exception{ - //BA.debugLineNum = 385;BA.debugLine="Private Sub ImageView4_Click"; - //BA.debugLineNum = 387;BA.debugLine="x = 4"; -_x = (int) (4); - //BA.debugLineNum = 388;BA.debugLine="InitializeCamera2"; -_initializecamera2(); - //BA.debugLineNum = 389;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 391;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 106;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 107;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 108;BA.debugLine="End Sub"; -return null; -} -public void _initializecamera2() throws Exception{ -ResumableSub_InitializeCamera2 rsub = new ResumableSub_InitializeCamera2(this); -rsub.resume(ba, null); -} -public static class ResumableSub_InitializeCamera2 extends BA.ResumableSub { -public ResumableSub_InitializeCamera2(reparto_mazapa.keymon.lat.c_cheklist parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_cheklist 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 = 213;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 = 214;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]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 215;BA.debugLine="If Result Then"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_result) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 216;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; -parent._camex._initialize /*String*/ (ba,parent._p_cam,parent._frontcamera,parent,"Camera1"); - //BA.debugLineNum = 217;BA.debugLine="frontCamera = camEx.Front"; -parent._frontcamera = parent._camex._front /*boolean*/ ; - //BA.debugLineNum = 218;BA.debugLine="Log(\"inicializamos Camara\")"; -parent.__c.LogImpl("353215238","inicializamos Camara",0); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 220;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True); - if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 222;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _resultado = null; -String _cliente = ""; -int _i = 0; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 747;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 748;BA.debugLine="Log(\"JOBDONE CLIENTE . \" & Job.Success)"; -__c.LogImpl("356360961","JOBDONE CLIENTE . "+BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 749;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 752;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; -__c.LogImpl("356360965","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Blue); - }else { - //BA.debugLineNum = 754;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("356360967","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 755;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 756;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 757;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_checkl"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_checkliPendientes_head_")>-1) { - //BA.debugLineNum = 758;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 759;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 760;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("356360973",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 762;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLAC"; -_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, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4, KILIMETRAJE, RUTA FROM CHECKLIST2"))); - //BA.debugLineNum = 763;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("356360976",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 764;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 765;BA.debugLine="For i = 0 To c.RowCount -1"; -{ -final int step15 = 1; -final int limit15 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 766;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 767;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 769;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; -_foto1 = _c.GetBlob("FOTO1"); - //BA.debugLineNum = 770;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; -_foto2 = _c.GetBlob("FOTO12"); - //BA.debugLineNum = 771;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; -_foto3 = _c.GetBlob("FOTO3"); - //BA.debugLineNum = 772;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; -_foto4 = _c.GetBlob("FOTO4"); - //BA.debugLineNum = 774;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 775;BA.debugLine="cmd.Name = \"update_CHECK_MAZAPA\""; -_cmd.Name /*String*/ = "update_CHECK_MAZAPA"; - //BA.debugLineNum = 776;BA.debugLine="cmd.Parameters = Array As Object(c.GetString"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CONDICION_LLANTAS_DEL_DER")),(Object)(_c.GetString("CONDICION_LLANTAS_DEL_IZQ")),(Object)(_c.GetString("CONDICION_LLANTAS_TRASERA_DER")),(Object)(_c.GetString("CONDICION_LLANTAS_TRASERA_IZQ")),(Object)(_c.GetString("ACEITE")),(Object)(_c.GetString("ANTICONGELANTE")),(Object)(_c.GetString("FRENOS")),(Object)(_c.GetString("AIRE")),(Object)(_c.GetString("FUGAS")),(Object)(_c.GetString("COMETARIOS_FUGAS")),(Object)(_foto1),(Object)(_foto2),(Object)(_foto3),(Object)(_foto4),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_mazapa.keymon.lat.c_principal*/ ._almacen /*String*/ ),(Object)(_c.GetString("KILIMETRAJE")),(Object)(_c.GetString("RUTA")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("PLACA")),(Object)(_c.GetString("FECHA_CAPTURA"))}; - //BA.debugLineNum = 777;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update")); - } -}; - }; - //BA.debugLineNum = 781;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group28 = _resultado.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 = 782;BA.debugLine="For Each k As String In resultado.Columns.Key"; -{ -final anywheresoftware.b4a.BA.IterableList group29 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen29 = group29.getSize() -;int index29 = 0; -; -for (; index29 < groupLen29;index29++){ -_k = BA.ObjectToString(group29.Get(index29)); - //BA.debugLineNum = 783;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("356360996",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 = 786;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE CHECADO_CHEC"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE CHECADO_CHECK set CHECADO = 1 "); - //BA.debugLineNum = 787;BA.debugLine="B4XPages.MainPage.principal.checachek"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._principal /*reparto_mazapa.keymon.lat.c_principal*/ ._checachek /*String*/ (); - }; - }; - //BA.debugLineNum = 791;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 794;BA.debugLine="End Sub"; -return ""; -} -public String _mandapendientes() throws Exception{ -int _i = 0; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 724;BA.debugLine="Sub mandaPendientes"; - //BA.debugLineNum = 725;BA.debugLine="Log(\"MandaPendientes\")"; -__c.LogImpl("356295425","MandaPendientes",0); - //BA.debugLineNum = 727;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT USUARIO, PLACA,"; -_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, PLACA, FECHA_CAPTURA, TARJETA_CIRCULACION , POLIZA_SEGURO, LICENCIA_CONDUCIR, LIMPIA_EXTERNA, LIMPIA_INTERNA, TRIANGULO, GATO, LLANTA_REFACCION, CARROCERIA, CARROCERIA_COMENTARIOS, LUCES, LUCES_COMENTARIOS, CONDICION_PLACAS, CONDICION_PLACAS_COMENTARIOS, CONDICION_LLANTAS_DEL_DER, CONDICION_LLANTAS_DEL_IZQ, CONDICION_LLANTAS_TRASERA_DER, CONDICION_LLANTAS_TRASERA_IZQ, ACEITE, ANTICONGELANTE, FRENOS, AIRE, FUGAS, COMETARIOS_FUGAS, FOTO1, FOTO12, FOTO3, FOTO4 FROM CHECKLIST2"))); - //BA.debugLineNum = 728;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("356295428",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 729;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 730;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 = 731;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 732;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 734;BA.debugLine="foto1 = c.GetBlob(\"FOTO1\")"; -_foto1 = _c.GetBlob("FOTO1"); - //BA.debugLineNum = 735;BA.debugLine="foto2 = c.GetBlob(\"FOTO12\")"; -_foto2 = _c.GetBlob("FOTO12"); - //BA.debugLineNum = 736;BA.debugLine="foto3 = c.GetBlob(\"FOTO3\")"; -_foto3 = _c.GetBlob("FOTO3"); - //BA.debugLineNum = 737;BA.debugLine="foto4 = c.GetBlob(\"FOTO4\")"; -_foto4 = _c.GetBlob("FOTO4"); - //BA.debugLineNum = 739;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 740;BA.debugLine="cmd.Name = \"insert_CHECK_MAZAPA\""; -_cmd.Name /*String*/ = "insert_CHECK_MAZAPA"; - //BA.debugLineNum = 741;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"U"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("PLACA")),(Object)(_c.GetString("FECHA_CAPTURA")),(Object)(_c.GetString("TARJETA_CIRCULACION")),(Object)(_c.GetString("POLIZA_SEGURO")),(Object)(_c.GetString("LICENCIA_CONDUCIR")),(Object)(_c.GetString("LIMPIA_EXTERNA")),(Object)(_c.GetString("LIMPIA_INTERNA")),(Object)(_c.GetString("TRIANGULO")),(Object)(_c.GetString("GATO")),(Object)(_c.GetString("LLANTA_REFACCION")),(Object)(_c.GetString("CARROCERIA")),(Object)(_c.GetString("CARROCERIA_COMENTARIOS")),(Object)(_c.GetString("LUCES")),(Object)(_c.GetString("LUCES_COMENTARIOS")),(Object)(_c.GetString("CONDICION_PLACAS")),(Object)(_c.GetString("CONDICION_PLACAS_COMENTARIOS"))}; - //BA.debugLineNum = 742;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_checkliPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_checkliPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("USUARIO")))+""))); - } -}; - }; - //BA.debugLineNum = 745;BA.debugLine="End Sub"; -return ""; -} -public String _p_camara_click() throws Exception{ - //BA.debugLineNum = 344;BA.debugLine="Private Sub p_camara_Click"; - //BA.debugLineNum = 346;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 393;BA.debugLine="Private Sub rb_docno1_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 394;BA.debugLine="p1 = \"No\""; -_p1 = "No"; - //BA.debugLineNum = 395;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno11_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 465;BA.debugLine="Private Sub rb_docno11_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 466;BA.debugLine="p11 = \"Incorrecto\""; -_p11 = "Incorrecto"; - //BA.debugLineNum = 467;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno13_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 473;BA.debugLine="Private Sub rb_docno13_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 474;BA.debugLine="p13 = \"Incorrecto\""; -_p13 = "Incorrecto"; - //BA.debugLineNum = 475;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno15_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 481;BA.debugLine="Private Sub rb_docno15_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 482;BA.debugLine="p15 = \"Incorrecto\""; -_p15 = "Incorrecto"; - //BA.debugLineNum = 483;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno16_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 489;BA.debugLine="Private Sub rb_docno16_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 490;BA.debugLine="p16 = \"Incorrecto\""; -_p16 = "Incorrecto"; - //BA.debugLineNum = 491;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno17_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 497;BA.debugLine="Private Sub rb_docno17_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 498;BA.debugLine="p17 = \"Incorrecto\""; -_p17 = "Incorrecto"; - //BA.debugLineNum = 499;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno18_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 505;BA.debugLine="Private Sub rb_docno18_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 506;BA.debugLine="p18 = \"Incorrecto\""; -_p18 = "Incorrecto"; - //BA.debugLineNum = 507;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno19_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 513;BA.debugLine="Private Sub rb_docno19_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 514;BA.debugLine="p19 = \"Incorrecto\""; -_p19 = "Incorrecto"; - //BA.debugLineNum = 515;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 401;BA.debugLine="Private Sub rb_docno2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 402;BA.debugLine="p2 = \"No\""; -_p2 = "No"; - //BA.debugLineNum = 403;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 409;BA.debugLine="Private Sub rb_docno3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 410;BA.debugLine="p3 = \"No\""; -_p3 = "No"; - //BA.debugLineNum = 411;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno4_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 417;BA.debugLine="Private Sub rb_docno4_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 418;BA.debugLine="p4 = \"No\""; -_p4 = "No"; - //BA.debugLineNum = 419;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno5_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 425;BA.debugLine="Private Sub rb_docno5_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 426;BA.debugLine="p5 = \"No\""; -_p5 = "No"; - //BA.debugLineNum = 427;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno6_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 433;BA.debugLine="Private Sub rb_docno6_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 434;BA.debugLine="p6 = \"No\""; -_p6 = "No"; - //BA.debugLineNum = 435;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno7_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 441;BA.debugLine="Private Sub rb_docno7_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 442;BA.debugLine="p7 = \"No\""; -_p7 = "No"; - //BA.debugLineNum = 443;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno8_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 449;BA.debugLine="Private Sub rb_docno8_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 450;BA.debugLine="p8 = \"No\""; -_p8 = "No"; - //BA.debugLineNum = 451;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docno9_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 457;BA.debugLine="Private Sub rb_docno9_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 458;BA.debugLine="p9 = \"Incorrecto\""; -_p9 = "Incorrecto"; - //BA.debugLineNum = 459;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 397;BA.debugLine="Private Sub rb_docsi1_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 398;BA.debugLine="p1 = \"Si\""; -_p1 = "Si"; - //BA.debugLineNum = 399;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi11_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 469;BA.debugLine="Private Sub rb_docsi11_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 470;BA.debugLine="p11 = \"Correcto\""; -_p11 = "Correcto"; - //BA.debugLineNum = 471;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi13_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 477;BA.debugLine="Private Sub rb_docsi13_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 478;BA.debugLine="p13 = \"Correcto\""; -_p13 = "Correcto"; - //BA.debugLineNum = 479;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi15_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 485;BA.debugLine="Private Sub rb_docsi15_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 486;BA.debugLine="p15 = \"Correcto\""; -_p15 = "Correcto"; - //BA.debugLineNum = 487;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi16_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 493;BA.debugLine="Private Sub rb_docsi16_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 494;BA.debugLine="p16 = \"Correcto\""; -_p16 = "Correcto"; - //BA.debugLineNum = 495;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi17_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 501;BA.debugLine="Private Sub rb_docsi17_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 502;BA.debugLine="p17 = \"Correcto\""; -_p17 = "Correcto"; - //BA.debugLineNum = 503;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi18_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 509;BA.debugLine="Private Sub rb_docsi18_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 510;BA.debugLine="p18 = \"Correcto\""; -_p18 = "Correcto"; - //BA.debugLineNum = 511;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi19_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 517;BA.debugLine="Private Sub rb_docsi19_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 518;BA.debugLine="p19 = \"Correcto\""; -_p19 = "Correcto"; - //BA.debugLineNum = 519;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 405;BA.debugLine="Private Sub rb_docsi2_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 406;BA.debugLine="p2 = \"Si\""; -_p2 = "Si"; - //BA.debugLineNum = 407;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 413;BA.debugLine="Private Sub rb_docsi3_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 414;BA.debugLine="p3 = \"Si\""; -_p3 = "Si"; - //BA.debugLineNum = 415;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi4_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 421;BA.debugLine="Private Sub rb_docsi4_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 422;BA.debugLine="p4 = \"Si\""; -_p4 = "Si"; - //BA.debugLineNum = 423;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi5_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 429;BA.debugLine="Private Sub rb_docsi5_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 430;BA.debugLine="p5 = \"Si\""; -_p5 = "Si"; - //BA.debugLineNum = 431;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi6_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 437;BA.debugLine="Private Sub rb_docsi6_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 438;BA.debugLine="p6 = \"Si\""; -_p6 = "Si"; - //BA.debugLineNum = 439;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi7_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 445;BA.debugLine="Private Sub rb_docsi7_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 446;BA.debugLine="p7 = \"Si\""; -_p7 = "Si"; - //BA.debugLineNum = 447;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi8_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 453;BA.debugLine="Private Sub rb_docsi8_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 454;BA.debugLine="p8 = \"Si\""; -_p8 = "Si"; - //BA.debugLineNum = 455;BA.debugLine="End Sub"; -return ""; -} -public String _rb_docsi9_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 461;BA.debugLine="Private Sub rb_docsi9_CheckedChange(Checked As Boo"; - //BA.debugLineNum = 462;BA.debugLine="p9 = \"Correcto\""; -_p9 = "Correcto"; - //BA.debugLineNum = 463;BA.debugLine="End Sub"; -return ""; -} -public String _stopcamera2() throws Exception{ - //BA.debugLineNum = 354;BA.debugLine="Private Sub StopCamera2"; - //BA.debugLineNum = 356;BA.debugLine="If camEx.IsInitialized Then"; -if (_camex.IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 357;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - }; - //BA.debugLineNum = 359;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, "JOBDONE")) - return _jobdone((reparto_mazapa.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java deleted file mode 100644 index 99ff63e..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_cliente.java +++ /dev/null @@ -1,1392 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_cliente"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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.gps.GPS _g = null; -public String _clie_id = ""; -public String _sdate = ""; -public String _stime = ""; -public String _usuario = ""; -public String _cuenta = ""; -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 boolean _impresoraconectada = false; -public String _longitud = ""; -public String _latitud = ""; -public String _nombre = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = 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 reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_noentrega = null; -public anywheresoftware.b4a.objects.LabelWrapper _label10 = null; -public anywheresoftware.b4a.objects.LabelWrapper _label11 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public anywheresoftware.b4a.objects.ButtonWrapper _tar = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_qr = null; -public anywheresoftware.b4a.objects.ButtonWrapper _bt_qr = null; -public reparto_mazapa.keymon.lat.escposprinter _printer1 = null; -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.objects.ButtonWrapper _hist = null; -public String _pasa_imp = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_imp = null; -public String _total_cliente = ""; -public String _credito = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_paso2 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; -public int _errorimpresora = 0; -public int _banderaimp = 0; -public anywheresoftware.b4a.objects.LabelWrapper _l_credi = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pagare = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_montopag = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_efectivo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_montoefec = null; -public long _distance = 0L; -public anywheresoftware.b4a.objects.ButtonWrapper _b_visitasinentrega = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 342;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 344;BA.debugLine="End Sub"; -return ""; -} -public String _b_imp_click() throws Exception{ - //BA.debugLineNum = 503;BA.debugLine="Sub B_IMP_Click"; - //BA.debugLineNum = 917;BA.debugLine="Guardado"; -_guardado(); - //BA.debugLineNum = 918;BA.debugLine="End Sub"; -return ""; -} -public String _b_noentrega_click() throws Exception{ - //BA.debugLineNum = 460;BA.debugLine="Sub b_noEntrega_Click"; - //BA.debugLineNum = 462;BA.debugLine="B4XPages.ShowPage(\"noVenta\")"; -_b4xpages._showpage /*String*/ (ba,"noVenta"); - //BA.debugLineNum = 463;BA.debugLine="End Sub"; -return ""; -} -public String _b_paso2_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = null; - //BA.debugLineNum = 992;BA.debugLine="Sub B_PASO2_Click"; - //BA.debugLineNum = 993;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 994;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 995;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 996;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 997;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 998;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 999;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_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 = 1000;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1001;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1002;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1003;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); - //BA.debugLineNum = 1004;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -_starter._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)("PASO"),(Object)("PASO ESPERA"),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 1006;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery("; -_mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_mandamapa = (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 kmt_info WHERE gestion = 0"))); - //BA.debugLineNum = 1007;BA.debugLine="If mandamapa.RowCount > 0 Then"; -if (_mandamapa.getRowCount()>0) { - //BA.debugLineNum = 1008;BA.debugLine="StartActivity(MAPA_RUTAS)"; -__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); - }else if(_mandamapa.getRowCount()==0) { - //BA.debugLineNum = 1010;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }; - //BA.debugLineNum = 1012;BA.debugLine="End Sub"; -return ""; -} -public String _b_visitasinentrega_click() throws Exception{ -String _ruta = ""; -String _rutapre = ""; -String _fechaprev = ""; -String _rutaactualizar = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; - //BA.debugLineNum = 1060;BA.debugLine="Private Sub b_visitasinentrega_Click"; - //BA.debugLineNum = 1062;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1063;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 1064;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1065;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1066;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 1067;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1068;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 1069;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_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 = 1070;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1071;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1072;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1073;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; -_d = (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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 1074;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 1075;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; -_ruta = _d.GetString("RUTAA"); - //BA.debugLineNum = 1076;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1077;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; -_d = (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 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1078;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 1079;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; -_rutapre = _d.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 1080;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1084;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; -_fechaprev = _subs._traefechaprev /*String*/ (ba); - //BA.debugLineNum = 1087;BA.debugLine="Dim rutaactualizar As String"; -_rutaactualizar = ""; - //BA.debugLineNum = 1088;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; -_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rut = (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 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1089;BA.debugLine="If rut.RowCount > 0 Then"; -if (_rut.getRowCount()>0) { - //BA.debugLineNum = 1090;BA.debugLine="rut.Position = 0"; -_rut.setPosition((int) (0)); - //BA.debugLineNum = 1091;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; -_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 1095;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_la_cuenta.getText(),_usuario,_sdate+" "+_stime,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,"VISITA PENDIENTE"})); - //BA.debugLineNum = 1096;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 1097;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.collections.Map _cym = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; -String _cuenta0 = ""; -String _arti = ""; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc2 = null; -String _cuenta1 = ""; -String _arti1 = ""; -float _preu = 0f; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc4 = null; -String _cuenta2 = ""; -String _arti2 = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; -String _cuenta3 = ""; -String _arti3 = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pag = null; -float _pagaremonto = 0f; -float _pagaremonto2 = 0f; -anywheresoftware.b4a.gps.LocationWrapper _ubicacionactual = null; -anywheresoftware.b4a.gps.LocationWrapper _l2 = null; - //BA.debugLineNum = 122;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 123;BA.debugLine="banderaimp = 0"; -_banderaimp = (int) (0); - //BA.debugLineNum = 124;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 125;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); - //BA.debugLineNum = 126;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 127;BA.debugLine="Tar.Visible = False"; -_tar.setVisible(__c.False); - //BA.debugLineNum = 128;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 129;BA.debugLine="b_noEntrega.Visible = False"; -_b_noentrega.setVisible(__c.False); - //BA.debugLineNum = 130;BA.debugLine="HIST.Visible = False"; -_hist.setVisible(__c.False); - //BA.debugLineNum = 131;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,CA"; -_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_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_BCREDITO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 132;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; -_s = (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 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 = 133;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 134;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 135;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 136;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 137;BA.debugLine="NOMBRE = c.GetString(\"CAT_CL_NOMBRE\")"; -_nombre = _c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 138;BA.debugLine="LONGITUD = c.GetString(\"CAT_CL_LONG\")"; -_longitud = _c.GetString("CAT_CL_LONG"); - //BA.debugLineNum = 139;BA.debugLine="LATITUD = c.GetString(\"CAT_CL_LAT\")"; -_latitud = _c.GetString("CAT_CL_LAT"); - //BA.debugLineNum = 140;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; -_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 141;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 142;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -_la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 143;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; -_la_cp.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CP"))); - //BA.debugLineNum = 144;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 145;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 146;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENDE1")!= null && (_c.GetString("CAT_CL_ATIENDE1")).equals("null") == false) { - //BA.debugLineNum = 147;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); - }else { - //BA.debugLineNum = 149;BA.debugLine="l_atiende.Text = \" \""; -_l_atiende.setText(BA.ObjectToCharSequence(" ")); - }; - //BA.debugLineNum = 151;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { - //BA.debugLineNum = 152;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; -_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); - }else { - //BA.debugLineNum = 154;BA.debugLine="l_atiende2.Text = \" \""; -_l_atiende2.setText(BA.ObjectToCharSequence(" ")); - }; - //BA.debugLineNum = 156;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; -_la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 157;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; -_la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 159;BA.debugLine="CREDITO = C.GetString(\"CAT_CL_BCREDITO\")"; -_credito = _c.GetString("CAT_CL_BCREDITO"); - //BA.debugLineNum = 162;BA.debugLine="Private cym As Map = Subs.traeCantYMonto2(Subs.tr"; -_cym = new anywheresoftware.b4a.objects.collections.Map(); -_cym = _subs._traecantymonto2 /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_subs._traecliente /*String*/ (ba)); - //BA.debugLineNum = 163;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 164;BA.debugLine="l_total.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - //BA.debugLineNum = 172;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE HIST_VENTAS set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE HIST_VENTAS set ESPROMO = 1 where HVD_CODPROMO = HVD_PROID AND HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 173;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; -_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (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 HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa)")))); - //BA.debugLineNum = 175;BA.debugLine="Private cuenta0 As String = 0"; -_cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 176;BA.debugLine="Private arti As String = 0"; -_arti = BA.NumberToString(0); - //BA.debugLineNum = 177;BA.debugLine="If vc.RowCount > 0 Then"; -if (_vc.getRowCount()>0) { - //BA.debugLineNum = 178;BA.debugLine="For i = 0 To vc.RowCount - 1"; -{ -final int step45 = 1; -final int limit45 = (int) (_vc.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit45 ;_i = _i + step45 ) { - //BA.debugLineNum = 179;BA.debugLine="vc.Position = i"; -_vc.setPosition(_i); - //BA.debugLineNum = 182;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CANT\")"; -_cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); - //BA.debugLineNum = 187;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; -_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); - } -}; - }; - //BA.debugLineNum = 193;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; -_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))); - //BA.debugLineNum = 194;BA.debugLine="Private Cuenta1 As String = 0"; -_cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 195;BA.debugLine="Private arti1 As String = 0"; -_arti1 = BA.NumberToString(0); - //BA.debugLineNum = 196;BA.debugLine="If vc2.RowCount > 0 Then"; -if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 197;BA.debugLine="For i = 0 To vc2.RowCount - 1"; -{ -final int step55 = 1; -final int limit55 = (int) (_vc2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit55 ;_i = _i + step55 ) { - //BA.debugLineNum = 198;BA.debugLine="vc2.Position = i"; -_vc2.setPosition(_i); - //BA.debugLineNum = 199;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; -_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 200;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; -_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 201;BA.debugLine="If vc3.RowCount > 0 Then"; -if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 202;BA.debugLine="vc3.Position = 0"; -_vc3.setPosition((int) (0)); - //BA.debugLineNum = 203;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; -_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); - //BA.debugLineNum = 204;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; -_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); - }; - } -}; - }; - //BA.debugLineNum = 210;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; -_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc4 = (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 HVD_PROID,HVD_PRONOMBRE,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 211;BA.debugLine="Private Cuenta2 As String = 0"; -_cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 212;BA.debugLine="Private arti2 As String = 0"; -_arti2 = BA.NumberToString(0); - //BA.debugLineNum = 213;BA.debugLine="If vc4.RowCount > 0 Then"; -if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 215;BA.debugLine="For i = 0 To vc4.RowCount - 1"; -{ -final int step70 = 1; -final int limit70 = (int) (_vc4.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit70 ;_i = _i + step70 ) { - //BA.debugLineNum = 216;BA.debugLine="vc4.Position = i"; -_vc4.setPosition(_i); - //BA.debugLineNum = 217;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; -if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 218;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; -if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 219;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 220;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); - }else { - //BA.debugLineNum = 222;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; -_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc5 = (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_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 223;BA.debugLine="If vc5.RowCount > 0 Then"; -if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 224;BA.debugLine="vc5.Position= 0"; -_vc5.setPosition((int) (0)); - //BA.debugLineNum = 226;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))))); - //BA.debugLineNum = 227;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); - }; - }; - }; - } -}; - }; - //BA.debugLineNum = 236;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; -_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (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 IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 237;BA.debugLine="Private Cuenta3 As String = 0"; -_cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 238;BA.debugLine="Private arti3 As String = 0"; -_arti3 = BA.NumberToString(0); - //BA.debugLineNum = 239;BA.debugLine="If c4.RowCount > 0 Then"; -if (_c4.getRowCount()>0) { - //BA.debugLineNum = 240;BA.debugLine="For i = 0 To c4.RowCount -1"; -{ -final int step91 = 1; -final int limit91 = (int) (_c4.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit91 ;_i = _i + step91 ) { - //BA.debugLineNum = 241;BA.debugLine="c4.Position = i"; -_c4.setPosition(_i); - //BA.debugLineNum = 242;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; -_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 243;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; -_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); - } -}; - }; - //BA.debugLineNum = 246;BA.debugLine="Log(cuenta0)"; -__c.LogImpl("33539068",_cuenta0,0); - //BA.debugLineNum = 247;BA.debugLine="Log(Cuenta1)"; -__c.LogImpl("33539069",_cuenta1,0); - //BA.debugLineNum = 248;BA.debugLine="Log(Cuenta2)"; -__c.LogImpl("33539070",_cuenta2,0); - //BA.debugLineNum = 249;BA.debugLine="Log(Cuenta3)"; -__c.LogImpl("33539071",_cuenta3,0); - //BA.debugLineNum = 251;BA.debugLine="l_total.Text = NumberFormat2((cuenta0 + Cuenta1 +"; -_l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); - //BA.debugLineNum = 252;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; -_l_cant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); - //BA.debugLineNum = 257;BA.debugLine="c = Starter.skmt.ExecQuery2(\"select CAT_VA_VALOR"; -_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 CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); - //BA.debugLineNum = 258;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 259;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 260;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; -_starter._mac_impresora /*String*/ = _c.GetString("CAT_VA_VALOR"); - }; - //BA.debugLineNum = 262;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; -if ((_starter._mac_impresora /*String*/ ).equals("")) { -_starter._mac_impresora /*String*/ = "0";}; - //BA.debugLineNum = 264;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; -_printer1._initialize /*String*/ (ba,this,"Printer1"); - //BA.debugLineNum = 266;BA.debugLine="If Printer1.IsConnected = False Then"; -if (_printer1._isconnected /*boolean*/ ()==__c.False) { - }else { - //BA.debugLineNum = 270;BA.debugLine="Printer1.DisConnect"; -_printer1._disconnect /*String*/ (); - //BA.debugLineNum = 271;BA.debugLine="Printer1.Connect"; -_printer1._connect /*boolean*/ (); - //BA.debugLineNum = 272;BA.debugLine="Log(\"2\")"; -__c.LogImpl("33539094","2",0); - }; - //BA.debugLineNum = 275;BA.debugLine="Dim pag As Cursor = Starter.skmt.ExecQuery(\"selec"; -_pag = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pag = (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 PAGARES WHERE TMP_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 276;BA.debugLine="If pag.RowCount > 0 Then"; -if (_pag.getRowCount()>0) { - //BA.debugLineNum = 277;BA.debugLine="pag.Position = 0"; -_pag.setPosition((int) (0)); - //BA.debugLineNum = 278;BA.debugLine="l_credi.Visible = True"; -_l_credi.setVisible(__c.True); - //BA.debugLineNum = 279;BA.debugLine="l_pagare.Visible = True"; -_l_pagare.setVisible(__c.True); - //BA.debugLineNum = 280;BA.debugLine="l_montoefec.Visible = True"; -_l_montoefec.setVisible(__c.True); - //BA.debugLineNum = 281;BA.debugLine="l_efectivo.Visible = True"; -_l_efectivo.setVisible(__c.True); - //BA.debugLineNum = 282;BA.debugLine="l_montopag.Visible = True"; -_l_montopag.setVisible(__c.True); - //BA.debugLineNum = 283;BA.debugLine="l_montopag.Text = pag.GetString(\"TMP_MONTO_PAGAR"; -_l_montopag.setText(BA.ObjectToCharSequence(_pag.GetString("TMP_MONTO_PAGARE"))); - //BA.debugLineNum = 284;BA.debugLine="Dim PAGAREMONTO As Float = cuenta0 + Cuenta1 + C"; -_pagaremonto = (float) ((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); - //BA.debugLineNum = 285;BA.debugLine="Dim PAGAREMONTO2 As Float = pag.GetString(\"TMP_M"; -_pagaremonto2 = (float)(Double.parseDouble(_pag.GetString("TMP_MONTO_PAGARE"))); - //BA.debugLineNum = 287;BA.debugLine="If PAGAREMONTO - PAGAREMONTO2 < 0 Then"; -if (_pagaremonto-_pagaremonto2<0) { - //BA.debugLineNum = 288;BA.debugLine="l_montoefec.Text = 0"; -_l_montoefec.setText(BA.ObjectToCharSequence(0)); - }else { - //BA.debugLineNum = 290;BA.debugLine="l_montoefec.Text = PAGAREMONTO - PAGAREMONTO2"; -_l_montoefec.setText(BA.ObjectToCharSequence(_pagaremonto-_pagaremonto2)); - }; - }else if(_pag.getRowCount()==0) { - //BA.debugLineNum = 293;BA.debugLine="l_credi.Visible = False"; -_l_credi.setVisible(__c.False); - //BA.debugLineNum = 294;BA.debugLine="l_pagare.Visible = False"; -_l_pagare.setVisible(__c.False); - //BA.debugLineNum = 295;BA.debugLine="l_montoefec.Visible = False"; -_l_montoefec.setVisible(__c.False); - //BA.debugLineNum = 296;BA.debugLine="l_efectivo.Visible = False"; -_l_efectivo.setVisible(__c.False); - //BA.debugLineNum = 297;BA.debugLine="l_montopag.Visible = False"; -_l_montopag.setVisible(__c.False); - }; - //BA.debugLineNum = 300;BA.debugLine="Starter.distanciaGeo = \"\""; -_starter._distanciageo /*String*/ = ""; - //BA.debugLineNum = 301;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO"; -_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 HABILITADO FROM GPS"))); - //BA.debugLineNum = 302;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 303;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO GPS VALU"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - }; - //BA.debugLineNum = 305;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO FRO"; -_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 HABILITADO FROM GPS"))); - //BA.debugLineNum = 306;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 307;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 308;BA.debugLine="If c.GetString(\"HABILITADO\") = 0 Then"; -if ((_c.GetString("HABILITADO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 309;BA.debugLine="Starter.distanciaGeo = \"500000000000\""; -_starter._distanciageo /*String*/ = "500000000000"; - //BA.debugLineNum = 310;BA.debugLine="Log(\"Esto es la distancia si esta desactivada l"; -__c.LogImpl("33539132","Esto es la distancia si esta desactivada la Geo: "+_starter._distanciageo /*String*/ ,0); - }else if((_c.GetString("HABILITADO")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 312;BA.debugLine="Starter.distanciaGeo = \"50\""; -_starter._distanciageo /*String*/ = "50"; - //BA.debugLineNum = 313;BA.debugLine="Log(\"Esto es la distancia si esta activada la G"; -__c.LogImpl("33539135","Esto es la distancia si esta activada la Geo: "+_starter._distanciageo /*String*/ ,0); - }; - }else { - }; - //BA.debugLineNum = 319;BA.debugLine="Private ubicacionActual, l2 As Location"; -_ubicacionactual = new anywheresoftware.b4a.gps.LocationWrapper(); -_l2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 320;BA.debugLine="ubicacionActual.Initialize2(B4XPages.MainPage.lat"; -_ubicacionactual.Initialize2(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ); - //BA.debugLineNum = 321;BA.debugLine="l2.Initialize2(LATITUD, LONGITUD)"; -_l2.Initialize2(_latitud,_longitud); - //BA.debugLineNum = 322;BA.debugLine="distance = ubicacionActual.DistanceTo(l2)"; -_distance = (long) (_ubicacionactual.DistanceTo((android.location.Location)(_l2.getObject()))); - //BA.debugLineNum = 324;BA.debugLine="If distance < Starter.distanciaGeo Then"; -if (_distance<(double)(Double.parseDouble(_starter._distanciageo /*String*/ ))) { - //BA.debugLineNum = 325;BA.debugLine="Tar.Visible = True"; -_tar.setVisible(__c.True); - //BA.debugLineNum = 326;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 327;BA.debugLine="b_noEntrega.Visible = True"; -_b_noentrega.setVisible(__c.True); - //BA.debugLineNum = 328;BA.debugLine="HIST.Visible = True"; -_hist.setVisible(__c.True); - }else { - //BA.debugLineNum = 330;BA.debugLine="Tar.Visible = False"; -_tar.setVisible(__c.False); - //BA.debugLineNum = 331;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 332;BA.debugLine="b_noEntrega.Visible = False"; -_b_noentrega.setVisible(__c.False); - //BA.debugLineNum = 333;BA.debugLine="HIST.Visible = False"; -_hist.setVisible(__c.False); - }; - //BA.debugLineNum = 335;BA.debugLine="Log(distance)"; -__c.LogImpl("33539157",BA.NumberToString(_distance),0); - //BA.debugLineNum = 336;BA.debugLine="Tar.Visible = True"; -_tar.setVisible(__c.True); - //BA.debugLineNum = 337;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 338;BA.debugLine="b_noEntrega.Visible = True"; -_b_noentrega.setVisible(__c.True); - //BA.debugLineNum = 339;BA.debugLine="HIST.Visible = True"; -_hist.setVisible(__c.True); - //BA.debugLineNum = 340;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(reparto_mazapa.keymon.lat.c_cliente parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_cliente 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 = 468;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -parent._b4xpages._showpage /*String*/ (ba,"Clientes"); - //BA.debugLineNum = 469;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 470;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 83;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 84;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 86;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 88;BA.debugLine="Root.LoadLayout(\"cliente\")"; -_root.LoadLayout("cliente",ba); - //BA.debugLineNum = 89;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO, C"; -_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_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 from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 90;BA.debugLine="s=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot"; -_s = (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 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 = 91;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 92;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 93;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 94;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 95;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.G"; -_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 96;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 97;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -_la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 98;BA.debugLine="la_cp.Text = c.GetString(\"CAT_CL_CP\")"; -_la_cp.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CP"))); - //BA.debugLineNum = 99;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 100;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 101;BA.debugLine="If c.GetString(\"CAT_CL_ATIENDE1\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENDE1")!= null && (_c.GetString("CAT_CL_ATIENDE1")).equals("null") == false) { - //BA.debugLineNum = 102;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); - }else { - //BA.debugLineNum = 104;BA.debugLine="l_atiende.Text = \" \""; -_l_atiende.setText(BA.ObjectToCharSequence(" ")); - }; - //BA.debugLineNum = 106;BA.debugLine="If c.GetString(\"CAT_CL_ATIENTE2\") <> Null And c.G"; -if (_c.GetString("CAT_CL_ATIENTE2")!= null && (_c.GetString("CAT_CL_ATIENTE2")).equals("NULL") == false) { - //BA.debugLineNum = 107;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; -_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 108;BA.debugLine="Log(\"|\"&c.GetString(\"CAT_CL_ATIENTE2\")&\"|\")"; -__c.LogImpl("33473433","|"+_c.GetString("CAT_CL_ATIENTE2")+"|",0); - }else { - //BA.debugLineNum = 110;BA.debugLine="l_atiende2.Text = \" \""; -_l_atiende2.setText(BA.ObjectToCharSequence(" ")); - }; - //BA.debugLineNum = 112;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\")"; -_la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 113;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; -_la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 115;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; -_btadmin.Initialize(ba,"BlueTeeth"); - //BA.debugLineNum = 116;BA.debugLine="cmp20.Initialize(\"Printer\")"; -_cmp20.Initialize("Printer"); - //BA.debugLineNum = 117;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 118;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 g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim cuenta As String"; -_cuenta = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim btAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 10;BA.debugLine="Dim cmp20 As Serial"; -_cmp20 = new anywheresoftware.b4a.objects.Serial(); - //BA.debugLineNum = 11;BA.debugLine="Dim printer As TextWriter"; -_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim PairedDevices As Map"; -_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 13;BA.debugLine="Dim L As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Dim TAMANO As Int"; -_tamano = 0; - //BA.debugLineNum = 15;BA.debugLine="Dim ESPACIO As Int"; -_espacio = 0; - //BA.debugLineNum = 16;BA.debugLine="Dim BLANCO As String"; -_blanco = ""; - //BA.debugLineNum = 17;BA.debugLine="Dim impresoraConectada As Boolean = False"; -_impresoraconectada = __c.False; - //BA.debugLineNum = 18;BA.debugLine="Dim LONGITUD As String"; -_longitud = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim LATITUD As String"; -_latitud = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim NOMBRE As String"; -_nombre = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim la_cuenta As Label"; -_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim La_nombre As Label"; -_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim la_Calle As Label"; -_la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim la_numero As Label"; -_la_numero = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim la_nint As Label"; -_la_nint = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim la_edo As Label"; -_la_edo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim la_pob As Label"; -_la_pob = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim la_col As Label"; -_la_col = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Dim la_cp As Label"; -_la_cp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Dim la_zona As Label"; -_la_zona = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim gest As Button"; -_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim la_saldotot As Label"; -_la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim la_saldooper As Label"; -_la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 38;BA.debugLine="Dim b_noEntrega As Button"; -_b_noentrega = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim Label10 As Label"; -_label10 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim Label11 As Label"; -_label11 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim Tar As Button"; -_tar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Private L_QR As Label"; -_l_qr = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private BT_QR As Button"; -_bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim Printer1 As EscPosPrinter"; -_printer1 = new reparto_mazapa.keymon.lat.escposprinter(); - //BA.debugLineNum = 46;BA.debugLine="Dim la_comm As Label"; -_la_comm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Dim la_actdte As Label"; -_la_actdte = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim la_usuario As Label"; -_la_usuario = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Dim la_resultado As Label"; -_la_resultado = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Dim l_entre1 As Label"; -_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Dim l_entre2 As Label"; -_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Dim l_atiende As Label"; -_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Dim l_atiende2 As Label"; -_l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Dim DATOS As Button"; -_datos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Dim Guardar As Button"; -_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Dim NUEVO As Button"; -_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Private l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Private HIST As Button"; -_hist = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 59;BA.debugLine="Dim PASA_IMP As String"; -_pasa_imp = ""; - //BA.debugLineNum = 60;BA.debugLine="Private B_IMP As Button"; -_b_imp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Dim total_cliente As String"; -_total_cliente = ""; - //BA.debugLineNum = 62;BA.debugLine="Dim CREDITO As String"; -_credito = ""; - //BA.debugLineNum = 63;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 64;BA.debugLine="Private B_PASO2 As Button"; -_b_paso2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Dim errorImpresora As Int = 0"; -_errorimpresora = (int) (0); - //BA.debugLineNum = 67;BA.debugLine="Dim banderaimp As Int"; -_banderaimp = 0; - //BA.debugLineNum = 68;BA.debugLine="Private l_credi As Label"; -_l_credi = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 69;BA.debugLine="Private l_pagare As Label"; -_l_pagare = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 70;BA.debugLine="Private l_montopag As Label"; -_l_montopag = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Private l_efectivo As Label"; -_l_efectivo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 72;BA.debugLine="Private l_montoefec As Label"; -_l_montoefec = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 73;BA.debugLine="Dim distance As Long"; -_distance = 0L; - //BA.debugLineNum = 74;BA.debugLine="Private b_visitasinentrega As Button"; -_b_visitasinentrega = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -public String _datos_click() throws Exception{ - //BA.debugLineNum = 477;BA.debugLine="Sub DATOS_Click"; - //BA.debugLineNum = 479;BA.debugLine="End Sub"; -return ""; -} -public String _gest_click() throws Exception{ - //BA.debugLineNum = 402;BA.debugLine="Sub gest_Click"; - //BA.debugLineNum = 403;BA.debugLine="B_IMP_Click"; -_b_imp_click(); - //BA.debugLineNum = 404;BA.debugLine="banderaimp = 1"; -_banderaimp = (int) (1); - //BA.debugLineNum = 405;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; -String _habi = ""; - //BA.debugLineNum = 346;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 348;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 = 349;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); - //BA.debugLineNum = 350;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); - //BA.debugLineNum = 351;BA.debugLine="Log(\"Coords set to: \" & B4XPages.MainPage.lat_gp"; -__c.LogImpl("33670021","Coords set to: "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ +" and "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,0); - }; - //BA.debugLineNum = 354;BA.debugLine="If LATITUD.Length < 5 Then"; -if (_latitud.length()<5) { - }else { - //BA.debugLineNum = 359;BA.debugLine="Dim l1, l2 As Location"; -_l1 = new anywheresoftware.b4a.gps.LocationWrapper(); -_l2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 360;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPag"; -_l1.Initialize2(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ); - //BA.debugLineNum = 361;BA.debugLine="Log($\"Coordenadas de la tienda - lat:${LATITUD},"; -__c.LogImpl("33670031",("Coordenadas de la tienda - lat:"+__c.SmartStringFormatter("",(Object)(_latitud))+", lon:"+__c.SmartStringFormatter("",(Object)(_longitud))+""),0); - //BA.debugLineNum = 362;BA.debugLine="l2.Initialize2(LATITUD, LONGITUD)"; -_l2.Initialize2(_latitud,_longitud); - //BA.debugLineNum = 367;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is"; -_distance = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject()))); - //BA.debugLineNum = 369;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT HABILITADO 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 HABILITADO FROM GPS"))); - //BA.debugLineNum = 370;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 371;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 372;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")"; -_habi = _c.GetString("HABILITADO"); - }; - //BA.debugLineNum = 386;BA.debugLine="Log(\"DISTANCIA \"&distance)"; -__c.LogImpl("33670056","DISTANCIA "+BA.NumberToString(_distance),0); - }; - //BA.debugLineNum = 389;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 390;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 391;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 392;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 393;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 394;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; -_starter._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 /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 395;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"CreateLocationRequest"); - //BA.debugLineNum = 396;BA.debugLine="End Sub"; -return ""; -} -public void _guardado() throws Exception{ -ResumableSub_Guardado rsub = new ResumableSub_Guardado(this); -rsub.resume(ba, null); -} -public static class ResumableSub_Guardado extends BA.ResumableSub { -public ResumableSub_Guardado(reparto_mazapa.keymon.lat.c_cliente parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_cliente parent; -String _ruta = ""; -String _rutapre = ""; -String _fechaprev = ""; -String _rutaactualizar = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; -int _resultado = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = 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 = 408;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 409;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -parent.__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 410;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 411;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 412;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -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 CUENTA from cuentaa"))); - //BA.debugLineNum = 413;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 414;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -parent._cuenta = parent._c.GetString("CUENTA"); - //BA.debugLineNum = 415;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -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 usuario from usuarioa"))); - //BA.debugLineNum = 416;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 417;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 418;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 419;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; -parent._d = (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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 420;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 421;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; -_ruta = parent._d.GetString("RUTAA"); - //BA.debugLineNum = 422;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 423;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA FR"; -parent._d = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 424;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 425;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUTA\""; -_rutapre = parent._d.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 426;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 430;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; -_fechaprev = parent._subs._traefechaprev /*String*/ (ba); - //BA.debugLineNum = 433;BA.debugLine="Dim rutaactualizar As String"; -_rutaactualizar = ""; - //BA.debugLineNum = 434;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELEC"; -_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rut = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 435;BA.debugLine="If rut.RowCount > 0 Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (_rut.getRowCount()>0) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 436;BA.debugLine="rut.Position = 0"; -_rut.setPosition((int) (0)); - //BA.debugLineNum = 437;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; -_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 441;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA ("; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_RUTA) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._cuenta),(Object)(parent._sdate+" "+parent._stime),(Object)(parent._usuario),(Object)("ENTREGA"),(Object)("ENTREGA COMPLETA"),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); - //BA.debugLineNum = 442;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO_G"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._la_cuenta.getText(),parent._usuario,parent._sdate+" "+parent._stime,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,"ENTREGADO"})); - //BA.debugLineNum = 443;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 2, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(parent._sdate+" "+parent._stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"' ")); - //BA.debugLineNum = 444;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_ESTATUS = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 445;BA.debugLine="mandaPendientesreparto"; -parent._mandapendientesreparto(); - //BA.debugLineNum = 447;BA.debugLine="Msgbox2Async(\"Pedido entregado\",\"Atención\",\"Ok\",\""; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Pedido entregado"),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 448;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 = 5; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 449;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 5: -//if -this.state = 14; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 7; -}if (true) break; - -case 7: -//C -this.state = 8; - //BA.debugLineNum = 450;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery"; -_mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_mandamapa = (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 kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403"))); - //BA.debugLineNum = 451;BA.debugLine="If mandamapa.RowCount > 0 Then"; -if (true) break; - -case 8: -//if -this.state = 13; -if (_mandamapa.getRowCount()>0) { -this.state = 10; -}else if(_mandamapa.getRowCount()==0) { -this.state = 12; -}if (true) break; - -case 10: -//C -this.state = 13; - //BA.debugLineNum = 452;BA.debugLine="StartActivity(MAPA_RUTAS)"; -parent.__c.StartActivity(ba,(Object)(parent._mapa_rutas.getObject())); - if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 454;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"Principal"); - if (true) break; - -case 13: -//C -this.state = 14; -; - if (true) break; - -case 14: -//C -this.state = -1; -; - //BA.debugLineNum = 458;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _msgbox_result(int _resultado) throws Exception{ -} -public String _guardar_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = null; - //BA.debugLineNum = 481;BA.debugLine="Sub Guardar_Click"; - //BA.debugLineNum = 482;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQuery("; -_mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_mandamapa = (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 kmt_info WHERE gestion = 0 AND cat_cl_codigo <> 63403"))); - //BA.debugLineNum = 483;BA.debugLine="If mandamapa.RowCount > 0 Then"; -if (_mandamapa.getRowCount()>0) { - //BA.debugLineNum = 484;BA.debugLine="StartActivity(MAPA_RUTAS)"; -__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); - }else if(_mandamapa.getRowCount()==0) { - //BA.debugLineNum = 486;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }; - //BA.debugLineNum = 488;BA.debugLine="End Sub"; -return ""; -} -public String _hist_click() throws Exception{ - //BA.debugLineNum = 494;BA.debugLine="Sub HIST_Click"; - //BA.debugLineNum = 498;BA.debugLine="B4XPages.MainPage.detalleVenta.prodsMap.Initializ"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._detalleventa /*reparto_mazapa.keymon.lat.c_detalleventa*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 500;BA.debugLine="B4XPages.ShowPage(\"DetalleVenta\")"; -_b4xpages._showpage /*String*/ (ba,"DetalleVenta"); - //BA.debugLineNum = 501;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 78;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 79;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 80;BA.debugLine="End Sub"; -return null; -} -public String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _resultado = null; -String _cliente = ""; -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 1035;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1036;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("34784129",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 1037;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - }else { - //BA.debugLineNum = 1040;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("34784133","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1041;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1042;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1043;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { - //BA.debugLineNum = 1044;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 1045;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 1046;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("34784139",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 1047;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"})); - //BA.debugLineNum = 1048;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 = 1049;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 = 1050;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("34784143",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 = 1055;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 1058;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 398;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 400;BA.debugLine="End Sub"; -return ""; -} -public String _mandapendientesreparto() throws Exception{ -int _i = 0; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 1015;BA.debugLine="Sub mandaPendientesreparto"; - //BA.debugLineNum = 1016;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; -_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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1"))); - //BA.debugLineNum = 1017;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("34718594",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 1018;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1019;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 = 1020;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1022;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1023;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1025;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("FECHA_PUNTEO")),(Object)(_c.GetString("LATITUD")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("RUTA_REPARTO")),(Object)(_c.GetString("RUTA_PREV")),(Object)(_c.GetString("FECHA_PREVENTA")),(Object)(_c.GetString("MOTIVO")),(Object)(_c.GetString("COMENTARIO")),(Object)(_c.GetString("TIPO"))}; - //BA.debugLineNum = 1026;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 1030;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1031;BA.debugLine="End Sub"; -return ""; -} -public String _nuevo_click() throws Exception{ - //BA.debugLineNum = 490;BA.debugLine="Sub NUEVO_Click"; - //BA.debugLineNum = 491;BA.debugLine="StartActivity(MAPA_CLIENTE)"; -__c.StartActivity(ba,(Object)(_mapa_cliente.getObject())); - //BA.debugLineNum = 492;BA.debugLine="End Sub"; -return ""; -} -public String _printer_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 941;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; - //BA.debugLineNum = 942;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 943;BA.debugLine="B_IMP.Enabled = True"; -_b_imp.setEnabled(__c.True); - //BA.debugLineNum = 944;BA.debugLine="PASA_IMP = \"1\""; -_pasa_imp = "1"; - }else { - //BA.debugLineNum = 946;BA.debugLine="B_IMP.Enabled = False"; -_b_imp.setEnabled(__c.False); - //BA.debugLineNum = 947;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 = 948;BA.debugLine="StartPrinter"; -_startprinter(); - }; - }; - //BA.debugLineNum = 951;BA.debugLine="End Sub"; -return ""; -} -public String _printer1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 920;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; - //BA.debugLineNum = 922;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 923;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); - //BA.debugLineNum = 924;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")})); - //BA.debugLineNum = 925;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; -_starter._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)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )})); - //BA.debugLineNum = 926;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)"; -__c.LogImpl("34456454","Impresora conectada",__c.Colors.Green); - //BA.debugLineNum = 928;BA.debugLine="impresoraConectada = True"; -_impresoraconectada = __c.True; - }else { - //BA.debugLineNum = 932;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("34456460","Error conectando la impresora",__c.Colors.Red); - //BA.debugLineNum = 933;BA.debugLine="errorImpresora = errorImpresora + 1"; -_errorimpresora = (int) (_errorimpresora+1); - //BA.debugLineNum = 934;BA.debugLine="If errorImpresora > 1 Then"; -if (_errorimpresora>1) { - //BA.debugLineNum = 935;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; -_starter._mac_impresora /*String*/ = "0"; - //BA.debugLineNum = 936;BA.debugLine="errorImpresora = 0"; -_errorimpresora = (int) (0); - }; - }; - //BA.debugLineNum = 939;BA.debugLine="End Sub"; -return ""; -} -public String _startprinter() throws Exception{ -int _resimp = 0; -int _i = 0; - //BA.debugLineNum = 953;BA.debugLine="Sub StartPrinter"; - //BA.debugLineNum = 954;BA.debugLine="Dim PairedDevices As Map"; -_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 955;BA.debugLine="Dim L As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 956;BA.debugLine="Dim resimp As Int"; -_resimp = 0; - //BA.debugLineNum = 957;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); - //BA.debugLineNum = 958;BA.debugLine="PairedDevices.Initialize"; -_paireddevices.Initialize(); - //BA.debugLineNum = 959;BA.debugLine="Try"; -try { //BA.debugLineNum = 960;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; -_paireddevices = _cmp20.GetPairedDevices(); - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 962;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; -__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 963;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 964;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); - }; - //BA.debugLineNum = 966;BA.debugLine="If PairedDevices.Size = 0 Then"; -if (_paireddevices.getSize()==0) { - //BA.debugLineNum = 967;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 = 968;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 970;BA.debugLine="If PairedDevices.Size = 1 Then"; -if (_paireddevices.getSize()==1) { - //BA.debugLineNum = 971;BA.debugLine="Try"; -try { //BA.debugLineNum = 973;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 = 976;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; -__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 977;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 978;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); - }; - }else { - //BA.debugLineNum = 981;BA.debugLine="L.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 982;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 = 983;BA.debugLine="L.Add(PairedDevices.GetKeyAt(i))"; -_l.Add(_paireddevices.GetKeyAt(_i)); - } -}; - //BA.debugLineNum = 985;BA.debugLine="resimp = InputList(L, \"Choose device\", -1) 'igno"; -_resimp = __c.InputList(_l,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); - //BA.debugLineNum = 986;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; -if (_resimp!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 987;BA.debugLine="cmp20.Connect(PairedDevices.Get(L.Get(resimp)))"; -_cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_resimp)))); - }; - }; - //BA.debugLineNum = 990;BA.debugLine="End Sub"; -return ""; -} -public String _tar_click() throws Exception{ - //BA.debugLineNum = 472;BA.debugLine="Sub Tar_Click"; - //BA.debugLineNum = 474;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - //BA.debugLineNum = 475;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((reparto_mazapa.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java deleted file mode 100644 index 1ac5878..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_clientes.java +++ /dev/null @@ -1,2529 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_clientes"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 String _q_buscar = ""; -public String _entro = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _lfila = null; -public anywheresoftware.b4a.objects.EditTextWrapper _busca = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_colonia = null; -public String _laruta = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_getdirs = null; -public reparto_mazapa.keymon.lat.b4xorderedmap _distorderedmap = null; -public reparto_mazapa.keymon.lat.b4xorderedmap _clientesmapao = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _img_getdirs = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_rutainfo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_getrutainfo = null; -public boolean _conmapa = false; -public anywheresoftware.b4a.objects.collections.List _listawaypoints = null; -public String _lv1top = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_limpiarruta = null; -public boolean _rutagenerada = false; -public String _rutaacambiar = ""; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 219;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; - //BA.debugLineNum = 221;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; -if (_key==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 222;BA.debugLine="If entro = 3 And Not(conMapa) Then"; -if ((_entro).equals(BA.NumberToString(3)) && __c.Not(_conmapa)) { - //BA.debugLineNum = 223;BA.debugLine="b_GetDirs.Visible = False"; -_b_getdirs.setVisible(__c.False); - //BA.debugLineNum = 225;BA.debugLine="B4XPage_Created(Root)"; -_b4xpage_created(_root); - //BA.debugLineNum = 226;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 228;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 229;BA.debugLine="Return False"; -if (true) return __c.False; - }; - //BA.debugLineNum = 233;BA.debugLine="End Sub"; -return false; -} -public void _b_getdirs_click() throws Exception{ -ResumableSub_b_GetDirs_Click rsub = new ResumableSub_b_GetDirs_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_b_GetDirs_Click extends BA.ResumableSub { -public ResumableSub_b_GetDirs_Click(reparto_mazapa.keymon.lat.c_clientes parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_clientes parent; -anywheresoftware.b4a.objects.collections.Map _m2 = null; -int _f = 0; -Object _k = null; -String _distancia2 = ""; -String _thisloc1 = ""; -String _locactual = ""; -anywheresoftware.b4a.objects.collections.List _r = null; -int _tid = 0; -anywheresoftware.b4a.objects.collections.Map _tmap = null; -String _tempndd = ""; -int _indexd = 0; -anywheresoftware.b4a.objects.collections.Map _estecliente = null; -anywheresoftware.b4a.objects.collections.Map _m3 = null; -anywheresoftware.b4a.BA.IterableList group4; -int index4; -int groupLen4; -anywheresoftware.b4a.BA.IterableList group38; -int index38; -int groupLen38; - -@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 = 467;BA.debugLine="ProgressDialogShow(\"Calculando distancias y tiemp"; -parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Calculando distancias y tiempos ...")); - //BA.debugLineNum = 468;BA.debugLine="Private m2 As Map"; -_m2 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 469;BA.debugLine="Private f As Int = 0"; -_f = (int) (0); - //BA.debugLineNum = 470;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'Trae"; -if (true) break; - -case 1: -//for -this.state = 30; -group4 = parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); -index4 = 0; -groupLen4 = group4.getSize(); -this.state = 31; -if (true) break; - -case 31: -//C -this.state = 30; -if (index4 < groupLen4) { -this.state = 3; -_k = group4.Get(index4);} -if (true) break; - -case 32: -//C -this.state = 31; -index4++; -if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 471;BA.debugLine="m2 = distOrderedMap.Get(k)"; -_m2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ (_k))); - //BA.debugLineNum = 472;BA.debugLine="Private distancia2 As String = m2.Get(\"distancia"; -_distancia2 = BA.ObjectToString(_m2.Get((Object)("distancia"))); - //BA.debugLineNum = 473;BA.debugLine="Private thisLoc1 As String = m2.Get(\"ubicacion\")"; -_thisloc1 = BA.ObjectToString(_m2.Get((Object)("ubicacion"))); - //BA.debugLineNum = 474;BA.debugLine="Private locActual As String = Tracker.UUGCoords."; -_locactual = BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()); - //BA.debugLineNum = 475;BA.debugLine="If locActual = \"0,0\" Then 'Si no tenemos ubicaci"; -if (true) break; - -case 4: -//if -this.state = 11; -if ((_locactual).equals("0,0")) { -this.state = 6; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 476;BA.debugLine="c = Starter.skmt.ExecQuery(\"select * from hist_"; -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 * from hist_gps"))); - //BA.debugLineNum = 477;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 7: -//if -this.state = 10; -if (parent._c.getRowCount()>0) { -this.state = 9; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 478;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 479;BA.debugLine="locActual = c.GetString(\"hglon\") & \",\" & c.Get"; -_locactual = parent._c.GetString("hglon")+","+parent._c.GetString("hglat"); - if (true) break; - -case 10: -//C -this.state = 11; -; - //BA.debugLineNum = 481;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 11: -//C -this.state = 12; -; - //BA.debugLineNum = 483;BA.debugLine="f = f+1"; -_f = (int) (_f+1); - //BA.debugLineNum = 484;BA.debugLine="If f < 8 Then"; -if (true) break; - -case 12: -//if -this.state = 29; -if (_f<8) { -this.state = 14; -}if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 485;BA.debugLine="If locActual = \"0,0\" Then 'Si todavia no tenemo"; -if (true) break; - -case 15: -//if -this.state = 18; -if ((_locactual).equals("0,0")) { -this.state = 17; -}if (true) break; - -case 17: -//C -this.state = 18; - //BA.debugLineNum = 486;BA.debugLine="ToastMessageShow(\"No se pudo obtener la ubicac"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo obtener la ubicacion actual!!"),parent.__c.True); - //BA.debugLineNum = 487;BA.debugLine="f = 8"; -_f = (int) (8); - if (true) break; - -case 18: -//C -this.state = 19; -; - //BA.debugLineNum = 489;BA.debugLine="Log($\"locActual: ${locActual}, thisLoc1: ${this"; -parent.__c.LogImpl("35636119",("locActual: "+parent.__c.SmartStringFormatter("",(Object)(_locactual))+", thisLoc1: "+parent.__c.SmartStringFormatter("",(Object)(_thisloc1))+""),0); - //BA.debugLineNum = 490;BA.debugLine="Wait For(distanciaEntreCoords(distancia2, locAc"; -parent.__c.WaitFor("complete", ba, this, parent._distanciaentrecoords(_distancia2,_locactual,_thisloc1)); -this.state = 33; -return; -case 33: -//C -this.state = 19; -_r = (anywheresoftware.b4a.objects.collections.List) result[0]; -; - //BA.debugLineNum = 491;BA.debugLine="LogColor($\"R: ${r.Get(0)} - ${r.Get(1)} - ${r.G"; -parent.__c.LogImpl("35636121",("R: "+parent.__c.SmartStringFormatter("",_r.Get((int) (0)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (1)))+" - "+parent.__c.SmartStringFormatter("",_r.Get((int) (2)))+""),parent.__c.Colors.Green); - //BA.debugLineNum = 492;BA.debugLine="Private tId As Int = r.Get(0)"; -_tid = (int)(BA.ObjectToNumber(_r.Get((int) (0)))); - //BA.debugLineNum = 493;BA.debugLine="Private tMap As Map = distOrderedMap.Get(tId)"; -_tmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ ((Object)(_tid)))); - //BA.debugLineNum = 494;BA.debugLine="LogColor(\"|\" & tId & \"| - \" &distOrderedMap.Get"; -parent.__c.LogImpl("35636124","|"+BA.NumberToString(_tid)+"| - "+BA.ObjectToString(parent._distorderedmap._get /*Object*/ ((Object)(_tid))),parent.__c.Colors.Blue); - //BA.debugLineNum = 495;BA.debugLine="Private tempNDD As String = tMap.Get(\"nomDirDis"; -_tempndd = BA.ObjectToString(_tmap.Get((Object)("nomDirDist"))); - //BA.debugLineNum = 496;BA.debugLine="Private indexD As Int = tempNDD.IndexOf(\"Distan"; -_indexd = _tempndd.indexOf("Distancia:"); - //BA.debugLineNum = 497;BA.debugLine="If indexD > -1 Then tempNDD = tempNDD.SubString"; -if (true) break; - -case 19: -//if -this.state = 24; -if (_indexd>-1) { -this.state = 21; -;}if (true) break; - -case 21: -//C -this.state = 24; -_tempndd = _tempndd.substring((int) (0),_indexd); -if (true) break; - -case 24: -//C -this.state = 25; -; - //BA.debugLineNum = 498;BA.debugLine="Log(tempNDD)"; -parent.__c.LogImpl("35636128",_tempndd,0); - //BA.debugLineNum = 499;BA.debugLine="tempNDD = tempNDD & $\"Dist: $1.1{(r.Get(1)/1000"; -_tempndd = _tempndd+("Dist: "+parent.__c.SmartStringFormatter("1.1",(Object)(((double)(BA.ObjectToNumber(_r.Get((int) (1))))/(double)1000)))+" kms, Tiempo aprox: "+parent.__c.SmartStringFormatter("1.0",(Object)((((double)(BA.ObjectToNumber(_r.Get((int) (2))))*2)/(double)60)))+" min."); - //BA.debugLineNum = 500;BA.debugLine="Private esteCliente As Map = CreateMap(\"distanc"; -_estecliente = new anywheresoftware.b4a.objects.collections.Map(); -_estecliente = parent.__c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia2),(Object)("ubicacion"),_tmap.Get((Object)("ubicacion")),(Object)("codigo"),_tmap.Get((Object)("codigo")),(Object)("nomDirDist"),(Object)(_tempndd)}); - //BA.debugLineNum = 501;BA.debugLine="distOrderedMap.Put(tId, esteCliente)"; -parent._distorderedmap._put /*String*/ ((Object)(_tid),(Object)(_estecliente.getObject())); - //BA.debugLineNum = 502;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 503;BA.debugLine="Private m3 As Map"; -_m3 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 504;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; -if (true) break; - -case 25: -//for -this.state = 28; -group38 = parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); -index38 = 0; -groupLen38 = group38.getSize(); -this.state = 34; -if (true) break; - -case 34: -//C -this.state = 28; -if (index38 < groupLen38) { -this.state = 27; -_k = group38.Get(index38);} -if (true) break; - -case 35: -//C -this.state = 34; -index38++; -if (true) break; - -case 27: -//C -this.state = 35; - //BA.debugLineNum = 505;BA.debugLine="m3 = distOrderedMap.Get(k)"; -_m3 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ (_k))); - //BA.debugLineNum = 506;BA.debugLine="m3.Get(\"codigo\")"; -_m3.Get((Object)("codigo")); - //BA.debugLineNum = 507;BA.debugLine="ListView1.AddTwoLines(m3.Get(\"codigo\"), m3.Get"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_m3.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m3.Get((Object)("nomDirDist")))); - if (true) break; -if (true) break; - -case 28: -//C -this.state = 29; -; - if (true) break; - -case 29: -//C -this.state = 32; -; - if (true) break; -if (true) break; - -case 30: -//C -this.state = -1; -; - //BA.debugLineNum = 511;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 512;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _complete(anywheresoftware.b4a.objects.collections.List _r) throws Exception{ -} -public String _b_getrutainfo_click() throws Exception{ - //BA.debugLineNum = 570;BA.debugLine="Private Sub b_getRutaInfo_Click"; - //BA.debugLineNum = 572;BA.debugLine="caculaRutaGPS(todosAVisitar)"; -_cacularutagps(_todosavisitar()); - //BA.debugLineNum = 573;BA.debugLine="End Sub"; -return ""; -} -public String _b_getrutainfo_longclick() throws Exception{ - //BA.debugLineNum = 576;BA.debugLine="Private Sub b_getRutaInfo_LongClick"; - //BA.debugLineNum = 577;BA.debugLine="If b_limpiarRuta.Visible Then"; -if (_b_limpiarruta.getVisible()) { - //BA.debugLineNum = 578;BA.debugLine="b_limpiarRuta.Visible = False"; -_b_limpiarruta.setVisible(__c.False); - }else { - //BA.debugLineNum = 580;BA.debugLine="b_limpiarRuta.Visible = True"; -_b_limpiarruta.setVisible(__c.True); - }; - //BA.debugLineNum = 582;BA.debugLine="End Sub"; -return ""; -} -public String _b_limpiarruta_click() throws Exception{ - //BA.debugLineNum = 585;BA.debugLine="Private Sub b_limpiarRuta_Click"; - //BA.debugLineNum = 586;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 587;BA.debugLine="b_limpiarRuta.Visible = False"; -_b_limpiarruta.setVisible(__c.False); - //BA.debugLineNum = 588;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 589;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.objects.CSBuilder _cs2 = null; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; -String[] _y = null; - //BA.debugLineNum = 49;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 50;BA.debugLine="busca.Text = \"\""; -_busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 51;BA.debugLine="b_GetDirs.Visible = False"; -_b_getdirs.setVisible(__c.False); - //BA.debugLineNum = 53;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 57;BA.debugLine="p_colonia.Width = Root.Width"; -_p_colonia.setWidth(_root.getWidth()); - //BA.debugLineNum = 58;BA.debugLine="p_colonia.Height = Root.Height"; -_p_colonia.setHeight(_root.getHeight()); - //BA.debugLineNum = 59;BA.debugLine="p_colonia.Top = 0"; -_p_colonia.setTop((int) (0)); - //BA.debugLineNum = 60;BA.debugLine="p_colonia.Left = 0"; -_p_colonia.setLeft((int) (0)); - //BA.debugLineNum = 61;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; -_subs._centralistview /*String*/ (ba,_listview1,_p_colonia.getWidth()); - //BA.debugLineNum = 62;BA.debugLine="ListView1.Height = p_colonia.Height * 0.75"; -_listview1.setHeight((int) (_p_colonia.getHeight()*0.75)); - //BA.debugLineNum = 63;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 64;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; -if (__c.Not(_l_rutainfo.getVisible())) { - //BA.debugLineNum = 65;BA.debugLine="ListView1.Top = lv1Top"; -_listview1.setTop((int)(Double.parseDouble(_lv1top))); - }else { - //BA.debugLineNum = 67;BA.debugLine="ListView1.Top = lv1Top + 100"; -_listview1.setTop((int) ((double)(Double.parseDouble(_lv1top))+100)); - }; - //BA.debugLineNum = 69;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; -_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 codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); - //BA.debugLineNum = 70;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la ba"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 71;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 73;BA.debugLine="conMapa = True"; -_conmapa = __c.True; - //BA.debugLineNum = 75;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 76;BA.debugLine="Dim cs, cs2 As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); -_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 77;BA.debugLine="entro = 3"; -_entro = BA.NumberToString(3); - //BA.debugLineNum = 79;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; -{ -final int step23 = 1; -final int limit23 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit23 ;_i = _i + step23 ) { - //BA.debugLineNum = 80;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 81;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 82;BA.debugLine="cs2.Initialize"; -_cs2.Initialize(); - //BA.debugLineNum = 86;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(_c.GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))).Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE").trim()+" "+_c.GetString("CAT_CL_NOEXT"))).PopAll().getObject())); - } -}; - }else { - //BA.debugLineNum = 89;BA.debugLine="generaListViewRutas"; -_generalistviewrutas(); - }; - //BA.debugLineNum = 91;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 92;BA.debugLine="p_colonia.Width = Root.Width"; -_p_colonia.setWidth(_root.getWidth()); - //BA.debugLineNum = 93;BA.debugLine="p_colonia.Height = Root.Height"; -_p_colonia.setHeight(_root.getHeight()); - //BA.debugLineNum = 94;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_l_rutainfo,_root.getWidth()); - //BA.debugLineNum = 95;BA.debugLine="Subs.centraListView(ListView1, p_colonia.Width)"; -_subs._centralistview /*String*/ (ba,_listview1,_p_colonia.getWidth()); - //BA.debugLineNum = 96;BA.debugLine="ListView1.Height = p_colonia.Height * 0.70"; -_listview1.setHeight((int) (_p_colonia.getHeight()*0.70)); - //BA.debugLineNum = 97;BA.debugLine="Subs.centraEtiqueta(lfila, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_lfila,_root.getWidth()); - //BA.debugLineNum = 98;BA.debugLine="b_getRutaInfo.Visible = True"; -_b_getrutainfo.setVisible(__c.True); - //BA.debugLineNum = 99;BA.debugLine="b_getRutaInfo.BringToFront"; -_b_getrutainfo.BringToFront(); - //BA.debugLineNum = 100;BA.debugLine="If Starter.cedisLocation.Latitude = \"0\" Then"; -if (_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()==(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 101;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery(\"se"; -_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'COORDS_ALMACEN'"))); - //BA.debugLineNum = 102;BA.debugLine="If x.RowCount > 0 Then"; -if (_x.getRowCount()>0) { - //BA.debugLineNum = 103;BA.debugLine="x.Position = 0"; -_x.setPosition((int) (0)); - //BA.debugLineNum = 104;BA.debugLine="Private y() As String"; -_y = new String[(int) (0)]; -java.util.Arrays.fill(_y,""); - //BA.debugLineNum = 105;BA.debugLine="Starter.cedisLocation.Latitude = Regex.Split(\","; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (1)]))); - //BA.debugLineNum = 106;BA.debugLine="Starter.cedisLocation.Longitude = Regex.Split(\""; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude((double)(Double.parseDouble(__c.Regex.Split(",",_x.GetString("CAT_VA_VALOR"))[(int) (0)]))); - }; - }; - //BA.debugLineNum = 109;BA.debugLine="Log(Starter.cedisLocation)"; -__c.LogImpl("35111868",BA.ObjectToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ),0); - //BA.debugLineNum = 110;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(reparto_mazapa.keymon.lat.c_clientes parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 116;BA.debugLine="Log(entro)"; -parent.__c.LogImpl("35177347",parent._entro,0); - //BA.debugLineNum = 117;BA.debugLine="If rutaGenerada Or entro = 3 Then ' Si ya generam"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent._rutagenerada || (parent._entro).equals(BA.NumberToString(3))) { -this.state = 3; -}else if((parent._entro).equals(BA.NumberToString(2))) { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 118;BA.debugLine="b_limpiarRuta_Click"; -parent._b_limpiarruta_click(); - //BA.debugLineNum = 119;BA.debugLine="l_rutaInfo.Text = \"\""; -parent._l_rutainfo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 120;BA.debugLine="rutaGenerada = False"; -parent._rutagenerada = parent.__c.False; - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 122;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"Principal"); - if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 124;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 125;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 36;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 37;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 39;BA.debugLine="Root.LoadLayout(\"clientes\")"; -_root.LoadLayout("clientes",ba); - //BA.debugLineNum = 40;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 41;BA.debugLine="lv1Top = ListView1.Top"; -_lv1top = BA.NumberToString(_listview1.getTop()); - //BA.debugLineNum = 42;BA.debugLine="clientesMapaO.Initialize"; -_clientesmapao._initialize /*String*/ (ba); - //BA.debugLineNum = 43;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 44;BA.debugLine="Log(\"Coordenadas del almacen: \" & Starter.cedisLo"; -__c.LogImpl("35046280","Coordenadas del almacen: "+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude())+","+BA.NumberToString(_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()),0); - //BA.debugLineNum = 45;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 = 235;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; - //BA.debugLineNum = 236;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; -_q_buscar = "%"+_busca.getText()+"%"; - //BA.debugLineNum = 237;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMBRE"; -_c2 = (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 CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where CAT_CL_NOMBRE like ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_CODIGO ",new String[]{_q_buscar}))); - //BA.debugLineNum = 238;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 239;BA.debugLine="lfila.text = \"Nombre y Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre y Calle")); - //BA.debugLineNum = 240;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 241;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 242;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 = 243;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 244;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 245;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 246;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 247;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 248;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 249;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 250;BA.debugLine="label2.TextSize = 15"; -_label2.setTextSize((float) (15)); - //BA.debugLineNum = 251;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 252;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CODI"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE")+" CALLE: "+_c2.GetString("CAT_CL_CALLE"))); - } -}; - }; - //BA.debugLineNum = 255;BA.debugLine="entro = \"3\""; -_entro = "3"; - //BA.debugLineNum = 256;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 257;BA.debugLine="End Sub"; -return ""; -} -public void _cacularutagps(anywheresoftware.b4a.objects.collections.List _coords) throws Exception{ -ResumableSub_caculaRutaGPS rsub = new ResumableSub_caculaRutaGPS(this,_coords); -rsub.resume(ba, null); -} -public static class ResumableSub_caculaRutaGPS extends BA.ResumableSub { -public ResumableSub_caculaRutaGPS(reparto_mazapa.keymon.lat.c_clientes parent,anywheresoftware.b4a.objects.collections.List _coords) { -this.parent = parent; -this._coords = _coords; -} -reparto_mazapa.keymon.lat.c_clientes parent; -anywheresoftware.b4a.objects.collections.List _coords; -anywheresoftware.b4a.objects.collections.List _tmplist = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.objects.CSBuilder _cs2 = null; -String _coordsstr = ""; -anywheresoftware.b4a.objects.collections.List _tienda = null; -reparto_mazapa.keymon.lat.httpjob _j = null; -anywheresoftware.b4a.objects.collections.JSONParser _jp = null; -anywheresoftware.b4a.objects.collections.Map _m = null; -int _puntos = 0; -String _duration = ""; -String _distance = ""; -String _mensaje = ""; -int _i = 0; -anywheresoftware.b4a.objects.collections.Map _ti = null; -anywheresoftware.b4a.BA.IterableList group8; -int index8; -int groupLen8; -int step37; -int limit37; -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 = 592;BA.debugLine="Private tmpList As List"; -_tmplist = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 593;BA.debugLine="Dim cs, cs2 As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); -_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 594;BA.debugLine="tmpList.Initialize"; -_tmplist.Initialize(); - //BA.debugLineNum = 595;BA.debugLine="tmpList.AddAll(Array As String(\"ACTUAL\", Tracker."; -_tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"ACTUAL",BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()),BA.NumberToString(parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude())})); - //BA.debugLineNum = 596;BA.debugLine="coords.InsertAt(0,tmpList)"; -_coords.InsertAt((int) (0),(Object)(_tmplist.getObject())); - //BA.debugLineNum = 597;BA.debugLine="Log(\"=================================\")"; -parent.__c.LogImpl("35963782","=================================",0); - //BA.debugLineNum = 599;BA.debugLine="Private coordsStr As String = \"\""; -_coordsstr = ""; - //BA.debugLineNum = 600;BA.debugLine="For Each tienda As List In coords"; -if (true) break; - -case 1: -//for -this.state = 10; -_tienda = new anywheresoftware.b4a.objects.collections.List(); -group8 = _coords; -index8 = 0; -groupLen8 = group8.getSize(); -this.state = 33; -if (true) break; - -case 33: -//C -this.state = 10; -if (index8 < groupLen8) { -this.state = 3; -_tienda = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(group8.Get(index8)));} -if (true) break; - -case 34: -//C -this.state = 33; -index8++; -if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 602;BA.debugLine="If coordsStr = \"\" Then"; -if (true) break; - -case 4: -//if -this.state = 9; -if ((_coordsstr).equals("")) { -this.state = 6; -}else { -this.state = 8; -}if (true) break; - -case 6: -//C -this.state = 9; - //BA.debugLineNum = 603;BA.debugLine="coordsStr = $\"${tienda.get(0)},${tienda.get(1)}"; -_coordsstr = (""+parent.__c.SmartStringFormatter("",_tienda.Get((int) (0)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (1)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (2)))+""); - if (true) break; - -case 8: -//C -this.state = 9; - //BA.debugLineNum = 605;BA.debugLine="coordsStr = $\"${coordsStr};${tienda.get(0)},${t"; -_coordsstr = (""+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+";"+parent.__c.SmartStringFormatter("",_tienda.Get((int) (0)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (1)))+","+parent.__c.SmartStringFormatter("",_tienda.Get((int) (2)))+""); - if (true) break; - -case 9: -//C -this.state = 34; -; - if (true) break; -if (true) break; - -case 10: -//C -this.state = 11; -; - //BA.debugLineNum = 608;BA.debugLine="Log(coordsStr)"; -parent.__c.LogImpl("35963793",_coordsstr,0); - //BA.debugLineNum = 609;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; -parent.__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor."),parent.__c.False); - //BA.debugLineNum = 610;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 611;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; -_j._initialize /*String*/ (ba,"trip",parent); - //BA.debugLineNum = 612;BA.debugLine="j.Download($\"http://keymon.net:9002/ruteador?m=OS"; -_j._download /*String*/ (("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+"")); - //BA.debugLineNum = 613;BA.debugLine="Log($\"http://keymon.net:9002/ruteador?m=OSRM&r=${"; -parent.__c.LogImpl("35963798",("http://keymon.net:9002/ruteador?m=OSRM&r="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traerutareparto /*String*/ (ba)))+"&a="+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traealmacen /*String*/ (ba)))+"&f=CEDIS,"+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+"&c="+parent.__c.SmartStringFormatter("",(Object)(_coordsstr))+""),0); - //BA.debugLineNum = 614;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); -this.state = 35; -return; -case 35: -//C -this.state = 11; -_j = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 615;BA.debugLine="If j.Success Then"; -if (true) break; - -case 11: -//if -this.state = 32; -if (_j._success /*boolean*/ ) { -this.state = 13; -}else { -this.state = 31; -}if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 616;BA.debugLine="Dim jp As JSONParser"; -_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 617;BA.debugLine="jp.Initialize(j.GetString)"; -_jp.Initialize(_j._getstring /*String*/ ()); - //BA.debugLineNum = 618;BA.debugLine="Dim m As Map = jp.NextObject"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = _jp.NextObject(); - //BA.debugLineNum = 619;BA.debugLine="Log(m)"; -parent.__c.LogImpl("35963804",BA.ObjectToString(_m),0); - //BA.debugLineNum = 620;BA.debugLine="If m.Get(\"code\") = \"OK\" Then"; -if (true) break; - -case 14: -//if -this.state = 29; -if ((_m.Get((Object)("code"))).equals((Object)("OK"))) { -this.state = 16; -}if (true) break; - -case 16: -//C -this.state = 17; - //BA.debugLineNum = 621;BA.debugLine="Log(\"===== OK\")"; -parent.__c.LogImpl("35963806","===== OK",0); - //BA.debugLineNum = 622;BA.debugLine="rutaGenerada = True"; -parent._rutagenerada = parent.__c.True; - //BA.debugLineNum = 623;BA.debugLine="Dim puntos As Int = m.Get(\"puntos\")"; -_puntos = (int)(BA.ObjectToNumber(_m.Get((Object)("puntos")))); - //BA.debugLineNum = 624;BA.debugLine="Private coords As List = m.Get(\"coords\")"; -_coords = new anywheresoftware.b4a.objects.collections.List(); -_coords = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("coords")))); - //BA.debugLineNum = 625;BA.debugLine="Private duration As String = m.Get(\"duration\")"; -_duration = BA.ObjectToString(_m.Get((Object)("duration"))); - //BA.debugLineNum = 626;BA.debugLine="Private distance As String = m.Get(\"distance\")"; -_distance = BA.ObjectToString(_m.Get((Object)("distance"))); - //BA.debugLineNum = 627;BA.debugLine="Private mensaje As String = m.Get(\"mensaje\")"; -_mensaje = BA.ObjectToString(_m.Get((Object)("mensaje"))); - //BA.debugLineNum = 628;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoint"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 629;BA.debugLine="Starter.skmt.ExecNonQuery(\"update kmt_info set"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update kmt_info set SECUENCIA = 0"); - //BA.debugLineNum = 630;BA.debugLine="For i = 0 To coords.Size - 1"; -if (true) break; - -case 17: -//for -this.state = 20; -step37 = 1; -limit37 = (int) (_coords.getSize()-1); -_i = (int) (0) ; -this.state = 36; -if (true) break; - -case 36: -//C -this.state = 20; -if ((step37 > 0 && _i <= limit37) || (step37 < 0 && _i >= limit37)) this.state = 19; -if (true) break; - -case 37: -//C -this.state = 36; -_i = ((int)(0 + _i + step37)) ; -if (true) break; - -case 19: -//C -this.state = 37; - //BA.debugLineNum = 631;BA.debugLine="Private ti As Map = coords.Get(i)"; -_ti = new anywheresoftware.b4a.objects.collections.Map(); -_ti = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_coords.Get(_i))); - //BA.debugLineNum = 632;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info se"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info set SECUENCIA = "+parent.__c.SmartStringFormatter("",_ti.Get((Object)("pos")))+" where CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",(Object)((BA.ObjectToString(_ti.Get((Object)("id")))).substring((int) (1))))+"'")); - //BA.debugLineNum = 633;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into waypoi"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into waypoints (codigo, indice) values ('"+parent.__c.SmartStringFormatter("",(Object)((BA.ObjectToString(_ti.Get((Object)("id")))).substring((int) (1))))+"', '"+parent.__c.SmartStringFormatter("",_ti.Get((Object)("pos")))+"')")); - if (true) break; -if (true) break; - -case 20: -//C -this.state = 21; -; - //BA.debugLineNum = 635;BA.debugLine="c = Starter.skmt.ExecQuery(\"select codigo, indi"; -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 codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); - //BA.debugLineNum = 636;BA.debugLine="If c.RowCount > 0 Then 'Ya hay waypoints en la"; -if (true) break; - -case 21: -//if -this.state = 28; -if (parent._c.getRowCount()>0) { -this.state = 23; -}if (true) break; - -case 23: -//C -this.state = 24; - //BA.debugLineNum = 637;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 638;BA.debugLine="conMapa = True"; -parent._conmapa = parent.__c.True; - //BA.debugLineNum = 639;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 640;BA.debugLine="Dim cs, cs2 As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); -_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 641;BA.debugLine="entro = 3"; -parent._entro = BA.NumberToString(3); - //BA.debugLineNum = 642;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listVie"; -if (true) break; - -case 24: -//for -this.state = 27; -step49 = 1; -limit49 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 38; -if (true) break; - -case 38: -//C -this.state = 27; -if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 26; -if (true) break; - -case 39: -//C -this.state = 38; -_i = ((int)(0 + _i + step49)) ; -if (true) break; - -case 26: -//C -this.state = 39; - //BA.debugLineNum = 643;BA.debugLine="c.Position = i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 644;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 645;BA.debugLine="cs2.Initialize"; -_cs2.Initialize(); - //BA.debugLineNum = 646;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(parent._c.GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE").trim()+" "+parent._c.GetString("CAT_CL_NOEXT"))).PopAll().getObject())); - if (true) break; -if (true) break; - -case 27: -//C -this.state = 28; -; - if (true) break; - -case 28: -//C -this.state = 29; -; - //BA.debugLineNum = 649;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 650;BA.debugLine="Log($\"Distancia total: $1.1{distance/1000} kms,"; -parent.__c.LogImpl("35963835",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs)"),0); - //BA.debugLineNum = 651;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distance/10"; -parent._l_rutainfo.setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_distance))/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)((double)(Double.parseDouble(_duration))/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_puntos-1))+""))); - //BA.debugLineNum = 652;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; -parent._l_rutainfo.setWidth((int) (parent._root.getWidth()*0.9)); - //BA.debugLineNum = 653;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; -parent._subs._centraetiqueta /*String*/ (ba,parent._l_rutainfo,parent._root.getWidth()); - //BA.debugLineNum = 654;BA.debugLine="l_rutaInfo.Visible = True"; -parent._l_rutainfo.setVisible(parent.__c.True); - //BA.debugLineNum = 655;BA.debugLine="l_rutaInfo.BringToFront"; -parent._l_rutainfo.BringToFront(); - //BA.debugLineNum = 656;BA.debugLine="ListView1.Top = lv1Top + 100"; -parent._listview1.setTop((int) ((double)(Double.parseDouble(parent._lv1top))+100)); - if (true) break; - -case 29: -//C -this.state = 32; -; - if (true) break; - -case 31: -//C -this.state = 32; - //BA.debugLineNum = 659;BA.debugLine="LogColor(\"**************** Error! ************"; -parent.__c.LogImpl("35963844","**************** Error! ******************",parent.__c.Colors.Red); - if (true) break; - -case 32: -//C -this.state = -1; -; - //BA.debugLineNum = 661;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 662;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 663;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _jobdone(reparto_mazapa.keymon.lat.httpjob _j) throws Exception{ -} -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 q_buscar As String"; -_q_buscar = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim entro As String"; -_entro = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim lfila As Label"; -_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim busca As EditText"; -_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private p_colonia As Panel"; -_p_colonia = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim laRuta As String"; -_laruta = ""; - //BA.debugLineNum = 17;BA.debugLine="Private b_GetDirs As Button"; -_b_getdirs = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private distOrderedMap, clientesMapaO As B4XOrder"; -_distorderedmap = new reparto_mazapa.keymon.lat.b4xorderedmap(); -_clientesmapao = new reparto_mazapa.keymon.lat.b4xorderedmap(); - //BA.debugLineNum = 19;BA.debugLine="Private img_getDirs As ImageView"; -_img_getdirs = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private l_rutaInfo As Label"; -_l_rutainfo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Private b_getRutaInfo As Button"; -_b_getrutainfo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private conMapa As Boolean = False"; -_conmapa = __c.False; - //BA.debugLineNum = 23;BA.debugLine="Dim listaWayPoints As List"; -_listawaypoints = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 24;BA.debugLine="Dim lv1Top As String"; -_lv1top = ""; - //BA.debugLineNum = 25;BA.debugLine="Private b_limpiarRuta As Button"; -_b_limpiarruta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim rutaGenerada As Boolean = False"; -_rutagenerada = __c.False; - //BA.debugLineNum = 27;BA.debugLine="Dim rutaacambiar As String"; -_rutaacambiar = ""; - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _distanciaentrecoords(String _id,String _coords1,String _coords2) throws Exception{ -ResumableSub_distanciaEntreCoords rsub = new ResumableSub_distanciaEntreCoords(this,_id,_coords1,_coords2); -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_distanciaEntreCoords extends BA.ResumableSub { -public ResumableSub_distanciaEntreCoords(reparto_mazapa.keymon.lat.c_clientes parent,String _id,String _coords1,String _coords2) { -this.parent = parent; -this._id = _id; -this._coords1 = _coords1; -this._coords2 = _coords2; -} -reparto_mazapa.keymon.lat.c_clientes parent; -String _id; -String _coords1; -String _coords2; -String _distanciatotal = ""; -String _tiempo = ""; -reparto_mazapa.keymon.lat.httpjob _j = null; -anywheresoftware.b4a.objects.collections.JSONParser _jp = null; -anywheresoftware.b4a.objects.collections.Map _m = null; -anywheresoftware.b4a.objects.collections.List _rutas = null; -anywheresoftware.b4a.objects.collections.Map _rutas2 = null; -anywheresoftware.b4a.objects.collections.List _r = 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 = 263;BA.debugLine="Sleep(1050)"; -parent.__c.Sleep(ba,this,(int) (1050)); -this.state = 11; -return; -case 11: -//C -this.state = 1; -; - //BA.debugLineNum = 264;BA.debugLine="Private distanciaTotal As String = \"0\""; -_distanciatotal = "0"; - //BA.debugLineNum = 265;BA.debugLine="Private tiempo As String = \"0\""; -_tiempo = "0"; - //BA.debugLineNum = 266;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 267;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 268;BA.debugLine="j.Download(\"https://router.project-osrm.org/route"; -_j._download /*String*/ ("https://router.project-osrm.org/route/v1/driving/"+_coords1+";"+_coords2+"?overview=false"); - //BA.debugLineNum = 269;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); -this.state = 12; -return; -case 12: -//C -this.state = 1; -_j = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 270;BA.debugLine="If j.Success Then"; -if (true) break; - -case 1: -//if -this.state = 10; -if (_j._success /*boolean*/ ) { -this.state = 3; -}else { -this.state = 9; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 271;BA.debugLine="Dim jp As JSONParser"; -_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 272;BA.debugLine="jp.Initialize(j.GetString)"; -_jp.Initialize(_j._getstring /*String*/ ()); - //BA.debugLineNum = 273;BA.debugLine="Dim m As Map = jp.NextObject"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = _jp.NextObject(); - //BA.debugLineNum = 274;BA.debugLine="Log($\"Respuesta: ${m.Get(\"code\")}\"$)"; -parent.__c.LogImpl("35505036",("Respuesta: "+parent.__c.SmartStringFormatter("",_m.Get((Object)("code")))+""),0); - //BA.debugLineNum = 275;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; -if (true) break; - -case 4: -//if -this.state = 7; -if ((_m.Get((Object)("code"))).equals((Object)("Ok"))) { -this.state = 6; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 277;BA.debugLine="Dim rutas As List = m.Get(\"routes\")"; -_rutas = new anywheresoftware.b4a.objects.collections.List(); -_rutas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("routes")))); - //BA.debugLineNum = 278;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; -_rutas2 = new anywheresoftware.b4a.objects.collections.Map(); -_rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas.Get((int) (0)))); - //BA.debugLineNum = 282;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; -_distanciatotal = BA.ObjectToString(_rutas2.Get((Object)("distance"))); - //BA.debugLineNum = 283;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; -_tiempo = BA.ObjectToString(_rutas2.Get((Object)("duration"))); - //BA.debugLineNum = 284;BA.debugLine="Log($\"Distancia total: ${distanciaTotal}, Tiemp"; -parent.__c.LogImpl("35505046",("Distancia total: "+parent.__c.SmartStringFormatter("",(Object)(_distanciatotal))+", Tiempo: "+parent.__c.SmartStringFormatter("",(Object)(_tiempo))+""),0); - if (true) break; - -case 7: -//C -this.state = 10; -; - if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 287;BA.debugLine="Log(\"Error!\")"; -parent.__c.LogImpl("35505049","Error!",0); - if (true) break; - -case 10: -//C -this.state = -1; -; - //BA.debugLineNum = 289;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 290;BA.debugLine="Private r As List"; -_r = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 291;BA.debugLine="r.Initialize"; -_r.Initialize(); - //BA.debugLineNum = 292;BA.debugLine="r.Add(id)"; -_r.Add((Object)(_id)); - //BA.debugLineNum = 293;BA.debugLine="r.Add(distanciaTotal)"; -_r.Add((Object)(_distanciatotal)); - //BA.debugLineNum = 294;BA.debugLine="r.Add(tiempo)"; -_r.Add((Object)(_tiempo)); - //BA.debugLineNum = 295;BA.debugLine="Return r"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(_r));return;}; - //BA.debugLineNum = 296;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _generalistviewrutas() throws Exception{ -ResumableSub_generaListViewRutas rsub = new ResumableSub_generaListViewRutas(this); -rsub.resume(ba, null); -} -public static class ResumableSub_generaListViewRutas extends BA.ResumableSub { -public ResumableSub_generaListViewRutas(reparto_mazapa.keymon.lat.c_clientes parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_clientes parent; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -int _i = 0; -int step16; -int limit16; - -@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 = 196;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 197;BA.debugLine="Sleep(110)"; -parent.__c.Sleep(ba,this,(int) (110)); -this.state = 9; -return; -case 9: -//C -this.state = 1; -; - //BA.debugLineNum = 198;BA.debugLine="lfila.Text = \"RUTA PREVENTA\""; -parent._lfila.setText(BA.ObjectToCharSequence("RUTA PREVENTA")); - //BA.debugLineNum = 199;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 200;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = parent._listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 201;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 202;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 203;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 204;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = parent._listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 205;BA.debugLine="label2.TextSize = 15"; -_label2.setTextSize((float) (15)); - //BA.debugLineNum = 206;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 207;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 60dip"; -parent._listview1.getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 208;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; -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 CAT_CL_RUTA, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); - //BA.debugLineNum = 209;BA.debugLine="If c.RowCount>0 Then"; -if (true) break; - -case 1: -//if -this.state = 8; -if (parent._c.getRowCount()>0) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 210;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 211;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 4: -//for -this.state = 7; -step16 = 1; -limit16 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 10; -if (true) break; - -case 10: -//C -this.state = 7; -if ((step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16)) this.state = 6; -if (true) break; - -case 11: -//C -this.state = 10; -_i = ((int)(0 + _i + step16)) ; -if (true) break; - -case 6: -//C -this.state = 11; - //BA.debugLineNum = 212;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 213;BA.debugLine="ListView1.AddTwoLines(\"Ruta: \" & c.GetString(\"C"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence("Ruta: "+parent._c.GetString("CAT_CL_RUTA")),BA.ObjectToCharSequence("Por visitar: "+parent._c.GetString("cuantos"))); - if (true) break; -if (true) break; - -case 7: -//C -this.state = 8; -; - if (true) break; - -case 8: -//C -this.state = -1; -; - //BA.debugLineNum = 216;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 217;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 31;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 32;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 33;BA.debugLine="End Sub"; -return null; -} -public void _listview1_itemclick(int _position,Object _value) throws Exception{ -ResumableSub_ListView1_ItemClick rsub = new ResumableSub_ListView1_ItemClick(this,_position,_value); -rsub.resume(ba, null); -} -public static class ResumableSub_ListView1_ItemClick extends BA.ResumableSub { -public ResumableSub_ListView1_ItemClick(reparto_mazapa.keymon.lat.c_clientes parent,int _position,Object _value) { -this.parent = parent; -this._position = _position; -this._value = _value; -} -reparto_mazapa.keymon.lat.c_clientes parent; -int _position; -Object _value; -String _lrt = ""; -anywheresoftware.b4a.gps.LocationWrapper _thisloc = null; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -int _i = 0; -int _distancia = 0; -anywheresoftware.b4a.objects.collections.Map _estecliente = null; -anywheresoftware.b4a.objects.collections.Map _m1 = null; -Object _k = null; -int step34; -int limit34; -anywheresoftware.b4a.BA.IterableList group45; -int index45; -int groupLen45; - -@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 = 129;BA.debugLine="Log(Value)"; -parent.__c.LogImpl("35242882",BA.ObjectToString(_value),0); - //BA.debugLineNum = 130;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 131;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); -this.state = 31; -return; -case 31: -//C -this.state = 1; -; - //BA.debugLineNum = 132;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -parent._subs._setdivider /*String*/ (ba,parent._listview1,parent.__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 133;BA.debugLine="If Not(l_rutaInfo.Visible) Then"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent.__c.Not(parent._l_rutainfo.getVisible())) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 134;BA.debugLine="ListView1.Top = lv1Top"; -parent._listview1.setTop((int)(Double.parseDouble(parent._lv1top))); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 136;BA.debugLine="ListView1.Top = lv1Top + 100"; -parent._listview1.setTop((int) ((double)(Double.parseDouble(parent._lv1top))+100)); - if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 138;BA.debugLine="l_rutaInfo.Visible = False"; -parent._l_rutainfo.setVisible(parent.__c.False); - //BA.debugLineNum = 139;BA.debugLine="b_GetDirs.Visible = False"; -parent._b_getdirs.setVisible(parent.__c.False); - //BA.debugLineNum = 140;BA.debugLine="If entro = \"2\" Then"; -if (true) break; - -case 7: -//if -this.state = 30; -if ((parent._entro).equals("2")) { -this.state = 9; -}else if((parent._entro).equals("3")) { -this.state = 29; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 144;BA.debugLine="Private lrt As String"; -_lrt = ""; - //BA.debugLineNum = 145;BA.debugLine="lrt = Value"; -_lrt = BA.ObjectToString(_value); - //BA.debugLineNum = 146;BA.debugLine="laRuta = lrt.SubString(6) 'Quitamos el texto \"Ru"; -parent._laruta = _lrt.substring((int) (6)); - //BA.debugLineNum = 147;BA.debugLine="Log($\"Original: ${Value} - Mod: |${lrt.SubString"; -parent.__c.LogImpl("35242900",("Original: "+parent.__c.SmartStringFormatter("",_value)+" - Mod: |"+parent.__c.SmartStringFormatter("",(Object)(_lrt.substring((int) (6))))+"| - laRuta: "+parent.__c.SmartStringFormatter("",(Object)(parent._laruta))+""),0); - //BA.debugLineNum = 148;BA.debugLine="rutaacambiar = laRuta"; -parent._rutaacambiar = parent._laruta; - //BA.debugLineNum = 149;BA.debugLine="c2 = Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; -parent._c2 = (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 CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{parent._laruta}))); - //BA.debugLineNum = 150;BA.debugLine="Private thisLoc As Location"; -_thisloc = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 151;BA.debugLine="Private label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 152;BA.debugLine="Private label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 153;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = parent._listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 154;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 155;BA.debugLine="label1.TextColor = Colors.black"; -_label1.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 156;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = parent._listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 157;BA.debugLine="label2.TextSize = 15"; -_label2.setTextSize((float) (15)); - //BA.debugLineNum = 158;BA.debugLine="label2.TextColor = Colors.black"; -_label2.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 159;BA.debugLine="label2.Height = 57dip"; -_label2.setHeight(parent.__c.DipToCurrent((int) (57))); - //BA.debugLineNum = 160;BA.debugLine="thisLoc.Initialize"; -_thisloc.Initialize(); - //BA.debugLineNum = 161;BA.debugLine="If entro = 2 Then ListView1.TwoLinesLayout.ItemH"; -if (true) break; - -case 10: -//if -this.state = 15; -if ((parent._entro).equals(BA.NumberToString(2))) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -parent._listview1.getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (90))); -if (true) break; - -case 15: -//C -this.state = 16; -; - //BA.debugLineNum = 162;BA.debugLine="lfila.text = \"Nombre y Calle\""; -parent._lfila.setText(BA.ObjectToCharSequence("Nombre y Calle")); - //BA.debugLineNum = 163;BA.debugLine="distOrderedMap.Initialize"; -parent._distorderedmap._initialize /*String*/ (ba); - //BA.debugLineNum = 164;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 = 165;BA.debugLine="For i = 0 To c2.RowCount -1 'Generamos mapa de"; -if (true) break; - -case 19: -//for -this.state = 22; -step34 = 1; -limit34 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 32; -if (true) break; - -case 32: -//C -this.state = 22; -if ((step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34)) this.state = 21; -if (true) break; - -case 33: -//C -this.state = 32; -_i = ((int)(0 + _i + step34)) ; -if (true) break; - -case 21: -//C -this.state = 33; - //BA.debugLineNum = 166;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 167;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; -_thisloc.setLatitude((double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT")))); - //BA.debugLineNum = 168;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG\""; -_thisloc.setLongitude((double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG")))); - //BA.debugLineNum = 170;BA.debugLine="Private distancia As Int = Tracker.UUGCoords.D"; -_distancia = (int) (parent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(_thisloc.getObject()))); - //BA.debugLineNum = 171;BA.debugLine="Private esteCliente As Map = CreateMap(\"distan"; -_estecliente = new anywheresoftware.b4a.objects.collections.Map(); -_estecliente = parent.__c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ubicacion"),(Object)(BA.NumberToString(_thisloc.getLongitude())+","+BA.NumberToString(_thisloc.getLatitude())),(Object)("codigo"),(Object)(parent._c2.GetString("CAT_CL_CODIGO")),(Object)("nomDirDist"),(Object)((""+parent.__c.SmartStringFormatter("",(Object)(parent._c2.GetString("CAT_CL_NOMBRE")))+" CALLE: "+parent.__c.SmartStringFormatter("",(Object)(parent._c2.GetString("CAT_CL_CALLE")))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)((_distancia/(double)1000)))+" kms"))}); - //BA.debugLineNum = 172;BA.debugLine="distOrderedMap.Put(distancia, esteCliente)"; -parent._distorderedmap._put /*String*/ ((Object)(_distancia),(Object)(_estecliente.getObject())); - if (true) break; -if (true) break; - -case 22: -//C -this.state = 23; -; - //BA.debugLineNum = 174;BA.debugLine="distOrderedMap.Keys.Sort(True) 'Ordenamos la ma"; -parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().Sort(parent.__c.True); - //BA.debugLineNum = 175;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 176;BA.debugLine="Private m1 As Map"; -_m1 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 177;BA.debugLine="For Each k As Object In distOrderedMap.Keys 'G"; -if (true) break; - -case 23: -//for -this.state = 26; -group45 = parent._distorderedmap._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); -index45 = 0; -groupLen45 = group45.getSize(); -this.state = 34; -if (true) break; - -case 34: -//C -this.state = 26; -if (index45 < groupLen45) { -this.state = 25; -_k = group45.Get(index45);} -if (true) break; - -case 35: -//C -this.state = 34; -index45++; -if (true) break; - -case 25: -//C -this.state = 35; - //BA.debugLineNum = 178;BA.debugLine="m1 = distOrderedMap.Get(k)"; -_m1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._distorderedmap._get /*Object*/ (_k))); - //BA.debugLineNum = 179;BA.debugLine="m1.Get(\"codigo\")"; -_m1.Get((Object)("codigo")); - //BA.debugLineNum = 181;BA.debugLine="ListView1.AddTwoLines(m1.Get(\"codigo\"), m1.Get"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_m1.Get((Object)("codigo"))),BA.ObjectToCharSequence(_m1.Get((Object)("nomDirDist")))); - if (true) break; -if (true) break; - -case 26: -//C -this.state = 27; -; - if (true) break; - -case 27: -//C -this.state = 30; -; - //BA.debugLineNum = 184;BA.debugLine="c2.Close"; -parent._c2.Close(); - //BA.debugLineNum = 185;BA.debugLine="entro = \"3\""; -parent._entro = "3"; - if (true) break; - -case 29: -//C -this.state = 30; - //BA.debugLineNum = 188;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 189;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 190;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - if (true) break; - -case 30: -//C -this.state = -1; -; - //BA.debugLineNum = 192;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public anywheresoftware.b4a.objects.collections.List _todosavisitar() throws Exception{ -String _sqlderuta = ""; -anywheresoftware.b4a.objects.collections.List _avisitar = null; -anywheresoftware.b4a.objects.collections.List _tmplist = null; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _coords = null; - //BA.debugLineNum = 666;BA.debugLine="Sub todosAVisitar As List"; - //BA.debugLineNum = 667;BA.debugLine="Log(laRuta)"; -__c.LogImpl("36029313",_laruta,0); - //BA.debugLineNum = 668;BA.debugLine="Log(entro)"; -__c.LogImpl("36029314",_entro,0); - //BA.debugLineNum = 669;BA.debugLine="Private sqlDeRuta As String = \"\""; -_sqlderuta = ""; - //BA.debugLineNum = 670;BA.debugLine="If entro = 3 Then sqlDeRuta = $\"and CAT_CL_RUTA ="; -if ((_entro).equals(BA.NumberToString(3))) { -_sqlderuta = ("and CAT_CL_RUTA = '"+__c.SmartStringFormatter("",(Object)(_laruta))+"'");}; - //BA.debugLineNum = 671;BA.debugLine="Private aVisitar, tmpList As List"; -_avisitar = new anywheresoftware.b4a.objects.collections.List(); -_tmplist = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 672;BA.debugLine="aVisitar.Initialize"; -_avisitar.Initialize(); - //BA.debugLineNum = 673;BA.debugLine="Private coords As ResultSet = Starter.skmt.ExecQu"; -_coords = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_coords = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 500 "+__c.SmartStringFormatter("",(Object)(_sqlderuta))+"")))); - //BA.debugLineNum = 674;BA.debugLine="Do While coords.NextRow"; -while (_coords.NextRow()) { - //BA.debugLineNum = 675;BA.debugLine="tmpList.Initialize"; -_tmplist.Initialize(); - //BA.debugLineNum = 676;BA.debugLine="tmpList.AddAll(Array As String(coords.GetString("; -_tmplist.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_coords.GetString("CAT_CL_CODIGO"),_coords.GetString("CAT_CL_LONG"),_coords.GetString("CAT_CL_LAT")})); - //BA.debugLineNum = 677;BA.debugLine="aVisitar.Add(tmpList)"; -_avisitar.Add((Object)(_tmplist.getObject())); - } -; - //BA.debugLineNum = 679;BA.debugLine="Log(aVisitar)"; -__c.LogImpl("36029325",BA.ObjectToString(_avisitar),0); - //BA.debugLineNum = 680;BA.debugLine="Return aVisitar"; -if (true) return _avisitar; - //BA.debugLineNum = 681;BA.debugLine="End Sub"; -return null; -} -public void _traerutadia(reparto_mazapa.keymon.lat.b4xorderedmap _avisitar) throws Exception{ -ResumableSub_traeRutaDia rsub = new ResumableSub_traeRutaDia(this,_avisitar); -rsub.resume(ba, null); -} -public static class ResumableSub_traeRutaDia extends BA.ResumableSub { -public ResumableSub_traeRutaDia(reparto_mazapa.keymon.lat.c_clientes parent,reparto_mazapa.keymon.lat.b4xorderedmap _avisitar) { -this.parent = parent; -this._avisitar = _avisitar; -} -reparto_mazapa.keymon.lat.c_clientes parent; -reparto_mazapa.keymon.lat.b4xorderedmap _avisitar; -String _coordsinicio = ""; -String _rutacompleta = ""; -String _preruta = ""; -double _distanciatotal = 0; -double _distanciatotal0 = 0; -double _tiempo0 = 0; -double _tiempo = 0; -boolean _masde100 = false; -anywheresoftware.b4a.objects.collections.Map _m4 = null; -int _visitaactual = 0; -int _cuantosantes = 0; -Object _k = null; -double _tiempovisitas = 0; -reparto_mazapa.keymon.lat.httpjob _j0 = null; -anywheresoftware.b4a.objects.collections.JSONParser _jp0 = null; -anywheresoftware.b4a.objects.collections.Map _m0 = null; -anywheresoftware.b4a.objects.collections.List _puntos0 = null; -anywheresoftware.b4a.objects.collections.Map _estewaypoint0 = null; -int _p = 0; -anywheresoftware.b4a.objects.collections.List _rutas0 = null; -anywheresoftware.b4a.objects.collections.Map _rutas20 = null; -reparto_mazapa.keymon.lat.httpjob _j = null; -anywheresoftware.b4a.objects.collections.JSONParser _jp = null; -anywheresoftware.b4a.objects.collections.Map _m = null; -anywheresoftware.b4a.objects.collections.List _puntos = null; -anywheresoftware.b4a.objects.collections.Map _estewaypoint = null; -int _twpi = 0; -anywheresoftware.b4a.objects.collections.List _rutas = null; -anywheresoftware.b4a.objects.collections.Map _rutas2 = null; -int _r = 0; -anywheresoftware.b4a.objects.collections.Map _r1 = null; -anywheresoftware.b4a.objects.collections.Map _wps = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.objects.CSBuilder _cs2 = null; -int _i = 0; -anywheresoftware.b4a.BA.IterableList group18; -int index18; -int groupLen18; -int step47; -int limit47; -int step78; -int limit78; -anywheresoftware.b4a.BA.IterableList group112; -int index112; -int groupLen112; -int step135; -int limit135; - -@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 = 301;BA.debugLine="Private coordsInicio As String = $\"${Starter.cedi"; -_coordsinicio = (""+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""); - //BA.debugLineNum = 302;BA.debugLine="Log($\"Coordenadas de inicio: ${Starter.cedisLocat"; -parent.__c.LogImpl("35570562",("Coordenadas de inicio: "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLongitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .getLatitude()))+""),0); - //BA.debugLineNum = 303;BA.debugLine="Private rutaCompleta As String = coordsInicio"; -_rutacompleta = _coordsinicio; - //BA.debugLineNum = 304;BA.debugLine="Private preRuta As String = coordsInicio"; -_preruta = _coordsinicio; - //BA.debugLineNum = 305;BA.debugLine="Private distanciaTotal, distanciaTotal0, tiempo0,"; -_distanciatotal = 0; -_distanciatotal0 = 0; -_tiempo0 = 0; -_tiempo = 0; - //BA.debugLineNum = 306;BA.debugLine="Private masDe100 As Boolean"; -_masde100 = false; - //BA.debugLineNum = 307;BA.debugLine="Private m4 As Map"; -_m4 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 308;BA.debugLine="Private visitaActual As Int = 0"; -_visitaactual = (int) (0); - //BA.debugLineNum = 309;BA.debugLine="Private cuantosAntes As Int = 0"; -_cuantosantes = (int) (0); - //BA.debugLineNum = 310;BA.debugLine="listaWayPoints.Initialize"; -parent._listawaypoints.Initialize(); - //BA.debugLineNum = 311;BA.debugLine="If aVisitar.Keys.Size > 98 Then 'Si los clientes"; -if (true) break; - -case 1: -//if -this.state = 4; -if (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()>98) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 312;BA.debugLine="cuantosAntes = aVisitar.Keys.Size - 98 'Definimo"; -_cuantosantes = (int) (_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()-98); - //BA.debugLineNum = 313;BA.debugLine="preRuta = coordsInicio 'Ponemos las coordenadas"; -_preruta = _coordsinicio; - //BA.debugLineNum = 314;BA.debugLine="rutaCompleta = \"\""; -_rutacompleta = ""; - //BA.debugLineNum = 315;BA.debugLine="masDe100 = True"; -_masde100 = parent.__c.True; - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 317;BA.debugLine="Log($\"a visitar: ${aVisitar.Keys.Size}\"$)"; -parent.__c.LogImpl("35570577",("a visitar: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""),0); - //BA.debugLineNum = 318;BA.debugLine="For Each k As Object In aVisitar.Keys"; -if (true) break; - -case 5: -//for -this.state = 15; -group18 = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); -index18 = 0; -groupLen18 = group18.getSize(); -this.state = 70; -if (true) break; - -case 70: -//C -this.state = 15; -if (index18 < groupLen18) { -this.state = 7; -_k = group18.Get(index18);} -if (true) break; - -case 71: -//C -this.state = 70; -index18++; -if (true) break; - -case 7: -//C -this.state = 8; - //BA.debugLineNum = 319;BA.debugLine="visitaActual = visitaActual + 1"; -_visitaactual = (int) (_visitaactual+1); - //BA.debugLineNum = 320;BA.debugLine="m4 = aVisitar.Get(k)"; -_m4 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_avisitar._get /*Object*/ (_k))); - //BA.debugLineNum = 322;BA.debugLine="If visitaActual < cuantosAntes + 2 Then 'Si esta"; -if (true) break; - -case 8: -//if -this.state = 11; -if (_visitaactual<_cuantosantes+2) { -this.state = 10; -}if (true) break; - -case 10: -//C -this.state = 11; - //BA.debugLineNum = 323;BA.debugLine="preRuta = preRuta & \";\" & m4.Get(\"coords\")"; -_preruta = _preruta+";"+BA.ObjectToString(_m4.Get((Object)("coords"))); - if (true) break; -; - //BA.debugLineNum = 326;BA.debugLine="If visitaActual >= cuantosAntes + 2 Then 'Si est"; - -case 11: -//if -this.state = 14; -if (_visitaactual>=_cuantosantes+2) { -this.state = 13; -}if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 327;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & m4.Get(\"coo"; -_rutacompleta = _rutacompleta+";"+BA.ObjectToString(_m4.Get((Object)("coords"))); - if (true) break; - -case 14: -//C -this.state = 71; -; - if (true) break; -if (true) break; - -case 15: -//C -this.state = 16; -; - //BA.debugLineNum = 331;BA.debugLine="rutaCompleta = rutaCompleta & \";\" & coordsInicio"; -_rutacompleta = _rutacompleta+";"+_coordsinicio; - //BA.debugLineNum = 333;BA.debugLine="If rutaCompleta.StartsWith(\";\") Then rutaCompleta"; -if (true) break; - -case 16: -//if -this.state = 21; -if (_rutacompleta.startsWith(";")) { -this.state = 18; -;}if (true) break; - -case 18: -//C -this.state = 21; -_rutacompleta = _rutacompleta.substring((int) (1)); -if (true) break; - -case 21: -//C -this.state = 22; -; - //BA.debugLineNum = 336;BA.debugLine="ProgressDialogShow2(\"Calculando distancia y tiemp"; -parent.__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Calculando distancia y tiempo, un momento por favor."),parent.__c.False); - //BA.debugLineNum = 337;BA.debugLine="Private tiempoVisitas As Double 'TIMEPO DE 4 MINU"; -_tiempovisitas = 0; - //BA.debugLineNum = 338;BA.debugLine="tiempoVisitas = aVisitar.Keys.Size * 4 * 60 'Aqui"; -_tiempovisitas = _avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()*4*60; - //BA.debugLineNum = 339;BA.debugLine="tiempo0 = 0"; -_tiempo0 = 0; - //BA.debugLineNum = 340;BA.debugLine="distanciaTotal0 = 0"; -_distanciatotal0 = 0; - //BA.debugLineNum = 341;BA.debugLine="If masDe100 Then 'Si son mas de 100, entonces pri"; -if (true) break; - -case 22: -//if -this.state = 39; -if (_masde100) { -this.state = 24; -}if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 342;BA.debugLine="Dim j0 As HttpJob"; -_j0 = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 343;BA.debugLine="j0.Initialize(\"trip0\", Me)"; -_j0._initialize /*String*/ (ba,"trip0",parent); - //BA.debugLineNum = 344;BA.debugLine="j0.Download(\"https://router.project-osrm.org/tri"; -_j0._download /*String*/ ("https://router.project-osrm.org/trip/v1/driving/"+_preruta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); - //BA.debugLineNum = 346;BA.debugLine="Wait For (j0) JobDone(j0 As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j0)); -this.state = 72; -return; -case 72: -//C -this.state = 25; -_j0 = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 347;BA.debugLine="If j0.Success Then"; -if (true) break; - -case 25: -//if -this.state = 38; -if (_j0._success /*boolean*/ ) { -this.state = 27; -}else { -this.state = 37; -}if (true) break; - -case 27: -//C -this.state = 28; - //BA.debugLineNum = 348;BA.debugLine="Dim jp0 As JSONParser"; -_jp0 = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 349;BA.debugLine="jp0.Initialize(j0.GetString)"; -_jp0.Initialize(_j0._getstring /*String*/ ()); - //BA.debugLineNum = 350;BA.debugLine="Dim m0 As Map = jp0.NextObject"; -_m0 = new anywheresoftware.b4a.objects.collections.Map(); -_m0 = _jp0.NextObject(); - //BA.debugLineNum = 351;BA.debugLine="If m0.Get(\"code\") = \"Ok\" Then"; -if (true) break; - -case 28: -//if -this.state = 35; -if ((_m0.Get((Object)("code"))).equals((Object)("Ok"))) { -this.state = 30; -}if (true) break; - -case 30: -//C -this.state = 31; - //BA.debugLineNum = 352;BA.debugLine="Dim puntos0 As List = m0.Get(\"waypoints\")"; -_puntos0 = new anywheresoftware.b4a.objects.collections.List(); -_puntos0 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m0.Get((Object)("waypoints")))); - //BA.debugLineNum = 353;BA.debugLine="Private esteWayPoint0 As Map"; -_estewaypoint0 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 354;BA.debugLine="For p = 0 To puntos0.Size -1"; -if (true) break; - -case 31: -//for -this.state = 34; -step47 = 1; -limit47 = (int) (_puntos0.getSize()-1); -_p = (int) (0) ; -this.state = 73; -if (true) break; - -case 73: -//C -this.state = 34; -if ((step47 > 0 && _p <= limit47) || (step47 < 0 && _p >= limit47)) this.state = 33; -if (true) break; - -case 74: -//C -this.state = 73; -_p = ((int)(0 + _p + step47)) ; -if (true) break; - -case 33: -//C -this.state = 74; - //BA.debugLineNum = 355;BA.debugLine="esteWayPoint0 = puntos0.Get(p)"; -_estewaypoint0 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_puntos0.Get(_p))); - //BA.debugLineNum = 358;BA.debugLine="esteWayPoint0.Remove(\"hint\")"; -_estewaypoint0.Remove((Object)("hint")); - //BA.debugLineNum = 359;BA.debugLine="esteWayPoint0.Remove(\"distance\")"; -_estewaypoint0.Remove((Object)("distance")); - //BA.debugLineNum = 360;BA.debugLine="esteWayPoint0.Remove(\"trips_index\")"; -_estewaypoint0.Remove((Object)("trips_index")); - //BA.debugLineNum = 361;BA.debugLine="listaWayPoints.Add(esteWayPoint0)"; -parent._listawaypoints.Add((Object)(_estewaypoint0.getObject())); - if (true) break; -if (true) break; - -case 34: -//C -this.state = 35; -; - //BA.debugLineNum = 364;BA.debugLine="Dim rutas0 As List = m0.Get(\"trips\")"; -_rutas0 = new anywheresoftware.b4a.objects.collections.List(); -_rutas0 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m0.Get((Object)("trips")))); - //BA.debugLineNum = 365;BA.debugLine="Dim rutas20 As Map = rutas0.Get(0)"; -_rutas20 = new anywheresoftware.b4a.objects.collections.Map(); -_rutas20 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas0.Get((int) (0)))); - //BA.debugLineNum = 368;BA.debugLine="distanciaTotal0 = rutas20.Get(\"distance\")"; -_distanciatotal0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("distance")))); - //BA.debugLineNum = 369;BA.debugLine="tiempo0 = rutas20.Get(\"duration\")"; -_tiempo0 = (double)(BA.ObjectToNumber(_rutas20.Get((Object)("duration")))); - //BA.debugLineNum = 370;BA.debugLine="tiempo0 = ((tiempo0 * 2) ) 'Tiempo X 2 (es muy"; -_tiempo0 = ((_tiempo0*2)); - //BA.debugLineNum = 371;BA.debugLine="Log($\"Distancia total ruta inicial: $1.1{dista"; -parent.__c.LogImpl("35570631",("Distancia total ruta inicial: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal0/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo0/(double)60/(double)60))+" hrs)"),0); - if (true) break; - -case 35: -//C -this.state = 38; -; - if (true) break; - -case 37: -//C -this.state = 38; - //BA.debugLineNum = 375;BA.debugLine="Log(\"Error!\")"; -parent.__c.LogImpl("35570635","Error!",0); - if (true) break; - -case 38: -//C -this.state = 39; -; - //BA.debugLineNum = 377;BA.debugLine="j0.Release"; -_j0._release /*String*/ (); - if (true) break; - -case 39: -//C -this.state = 40; -; - //BA.debugLineNum = 380;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 381;BA.debugLine="j.Initialize(\"trip\", Me) 'Calculamos el resto de"; -_j._initialize /*String*/ (ba,"trip",parent); - //BA.debugLineNum = 382;BA.debugLine="j.Download(\"https://router.project-osrm.org/trip/"; -_j._download /*String*/ ("https://router.project-osrm.org/trip/v1/driving/"+_rutacompleta+"?source=first&destination=last&roundtrip=false&geometries=geojson"); - //BA.debugLineNum = 384;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); -this.state = 75; -return; -case 75: -//C -this.state = 40; -_j = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 385;BA.debugLine="If j.Success Then"; -if (true) break; - -case 40: -//if -this.state = 53; -if (_j._success /*boolean*/ ) { -this.state = 42; -}else { -this.state = 52; -}if (true) break; - -case 42: -//C -this.state = 43; - //BA.debugLineNum = 386;BA.debugLine="Dim jp As JSONParser"; -_jp = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 387;BA.debugLine="jp.Initialize(j.GetString)"; -_jp.Initialize(_j._getstring /*String*/ ()); - //BA.debugLineNum = 388;BA.debugLine="Dim m As Map = jp.NextObject"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = _jp.NextObject(); - //BA.debugLineNum = 389;BA.debugLine="If m.Get(\"code\") = \"Ok\" Then"; -if (true) break; - -case 43: -//if -this.state = 50; -if ((_m.Get((Object)("code"))).equals((Object)("Ok"))) { -this.state = 45; -}if (true) break; - -case 45: -//C -this.state = 46; - //BA.debugLineNum = 390;BA.debugLine="Dim puntos As List = m.Get(\"waypoints\")"; -_puntos = new anywheresoftware.b4a.objects.collections.List(); -_puntos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("waypoints")))); - //BA.debugLineNum = 391;BA.debugLine="Private esteWayPoint As Map"; -_estewaypoint = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 392;BA.debugLine="Dim twpi As Int"; -_twpi = 0; - //BA.debugLineNum = 393;BA.debugLine="For p = 0 To puntos.Size -1"; -if (true) break; - -case 46: -//for -this.state = 49; -step78 = 1; -limit78 = (int) (_puntos.getSize()-1); -_p = (int) (0) ; -this.state = 76; -if (true) break; - -case 76: -//C -this.state = 49; -if ((step78 > 0 && _p <= limit78) || (step78 < 0 && _p >= limit78)) this.state = 48; -if (true) break; - -case 77: -//C -this.state = 76; -_p = ((int)(0 + _p + step78)) ; -if (true) break; - -case 48: -//C -this.state = 77; - //BA.debugLineNum = 394;BA.debugLine="esteWayPoint = puntos.Get(p)"; -_estewaypoint = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_puntos.Get(_p))); - //BA.debugLineNum = 397;BA.debugLine="esteWayPoint.Remove(\"hint\")"; -_estewaypoint.Remove((Object)("hint")); - //BA.debugLineNum = 398;BA.debugLine="esteWayPoint.Remove(\"distance\")"; -_estewaypoint.Remove((Object)("distance")); - //BA.debugLineNum = 399;BA.debugLine="esteWayPoint.Remove(\"trips_index\")"; -_estewaypoint.Remove((Object)("trips_index")); - //BA.debugLineNum = 400;BA.debugLine="twpi = esteWayPoint.Get(\"waypoint_index\")"; -_twpi = (int)(BA.ObjectToNumber(_estewaypoint.Get((Object)("waypoint_index")))); - //BA.debugLineNum = 401;BA.debugLine="esteWayPoint.Remove(\"waypoint_index\")"; -_estewaypoint.Remove((Object)("waypoint_index")); - //BA.debugLineNum = 402;BA.debugLine="esteWayPoint.Put(\"waypoint_index\", (twpi + cua"; -_estewaypoint.Put((Object)("waypoint_index"),(Object)((_twpi+_cuantosantes+2))); - //BA.debugLineNum = 403;BA.debugLine="listaWayPoints.Add(esteWayPoint)"; -parent._listawaypoints.Add((Object)(_estewaypoint.getObject())); - if (true) break; -if (true) break; - -case 49: -//C -this.state = 50; -; - //BA.debugLineNum = 406;BA.debugLine="Dim rutas As List = m.Get(\"trips\")"; -_rutas = new anywheresoftware.b4a.objects.collections.List(); -_rutas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("trips")))); - //BA.debugLineNum = 407;BA.debugLine="Dim rutas2 As Map = rutas.Get(0)"; -_rutas2 = new anywheresoftware.b4a.objects.collections.Map(); -_rutas2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_rutas.Get((int) (0)))); - //BA.debugLineNum = 408;BA.debugLine="distanciaTotal = rutas2.Get(\"distance\")"; -_distanciatotal = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("distance")))); - //BA.debugLineNum = 409;BA.debugLine="Log(\"distancia ruta 2:\" & (distanciaTotal) & \"|"; -parent.__c.LogImpl("35570669","distancia ruta 2:"+BA.NumberToString((_distanciatotal))+"|"+BA.ObjectToString(_rutas2.Get((Object)("distance"))),0); - //BA.debugLineNum = 410;BA.debugLine="distanciaTotal = distanciaTotal + distanciaTota"; -_distanciatotal = _distanciatotal+_distanciatotal0; - //BA.debugLineNum = 411;BA.debugLine="tiempo = rutas2.Get(\"duration\")"; -_tiempo = (double)(BA.ObjectToNumber(_rutas2.Get((Object)("duration")))); - //BA.debugLineNum = 412;BA.debugLine="tiempo = (((tiempo + tiempo0) * 2) + tiempoVisi"; -_tiempo = (((_tiempo+_tiempo0)*2)+_tiempovisitas); - //BA.debugLineNum = 413;BA.debugLine="Log($\"Distancia total: $1.1{distanciaTotal/1000"; -parent.__c.LogImpl("35570673",("Distancia total: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60))+" mins. ("+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs)"),0); - //BA.debugLineNum = 414;BA.debugLine="l_rutaInfo.Text = $\"Distancia: $1.1{distanciaTo"; -parent._l_rutainfo.setText(BA.ObjectToCharSequence(("Distancia: "+parent.__c.SmartStringFormatter("1.1",(Object)(_distanciatotal/(double)1000))+" kms, tiempo aprox: "+parent.__c.SmartStringFormatter("1.1",(Object)(_tiempo/(double)60/(double)60))+" hrs"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Visitas restantes: "+parent.__c.SmartStringFormatter("",(Object)(_avisitar._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().getSize()))+""))); - //BA.debugLineNum = 415;BA.debugLine="l_rutaInfo.Width = Root.Width * 0.9"; -parent._l_rutainfo.setWidth((int) (parent._root.getWidth()*0.9)); - //BA.debugLineNum = 416;BA.debugLine="Subs.centraEtiqueta(l_rutaInfo, Root.Width)"; -parent._subs._centraetiqueta /*String*/ (ba,parent._l_rutainfo,parent._root.getWidth()); - //BA.debugLineNum = 417;BA.debugLine="l_rutaInfo.Visible = True"; -parent._l_rutainfo.setVisible(parent.__c.True); - //BA.debugLineNum = 418;BA.debugLine="l_rutaInfo.BringToFront"; -parent._l_rutainfo.BringToFront(); - //BA.debugLineNum = 419;BA.debugLine="ListView1.Top = lv1Top + 100"; -parent._listview1.setTop((int) ((double)(Double.parseDouble(parent._lv1top))+100)); - if (true) break; - -case 50: -//C -this.state = 53; -; - if (true) break; - -case 52: -//C -this.state = 53; - //BA.debugLineNum = 422;BA.debugLine="LogColor(\"**************** Error! ************"; -parent.__c.LogImpl("35570682","**************** Error! ******************",parent.__c.Colors.Red); - if (true) break; - -case 53: -//C -this.state = 54; -; - //BA.debugLineNum = 424;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 425;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 427;BA.debugLine="Private r As Int = 1"; -_r = (int) (1); - //BA.debugLineNum = 428;BA.debugLine="Private r1, wps As Map"; -_r1 = new anywheresoftware.b4a.objects.collections.Map(); -_wps = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 429;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints\""; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - //BA.debugLineNum = 430;BA.debugLine="Log(\"BORRAMOS WAYPOINTS\")"; -parent.__c.LogImpl("35570690","BORRAMOS WAYPOINTS",0); - //BA.debugLineNum = 431;BA.debugLine="For Each k As Object In clientesMapaO.Keys 'Guard"; -if (true) break; - -case 54: -//for -this.state = 61; -group112 = parent._clientesmapao._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); -index112 = 0; -groupLen112 = group112.getSize(); -this.state = 78; -if (true) break; - -case 78: -//C -this.state = 61; -if (index112 < groupLen112) { -this.state = 56; -_k = group112.Get(index112);} -if (true) break; - -case 79: -//C -this.state = 78; -index112++; -if (true) break; - -case 56: -//C -this.state = 57; - //BA.debugLineNum = 432;BA.debugLine="If listaWayPoints.Size > 0 Then"; -if (true) break; - -case 57: -//if -this.state = 60; -if (parent._listawaypoints.getSize()>0) { -this.state = 59; -}if (true) break; - -case 59: -//C -this.state = 60; - //BA.debugLineNum = 433;BA.debugLine="r1 = clientesMapaO.Get(k)"; -_r1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._clientesmapao._get /*Object*/ (_k))); - //BA.debugLineNum = 434;BA.debugLine="r1.Get(\"codigo\")"; -_r1.Get((Object)("codigo")); - //BA.debugLineNum = 435;BA.debugLine="Log(listaWayPoints.Get(r) & \"|\" & r1.Get(\"coord"; -parent.__c.LogImpl("35570695",BA.ObjectToString(parent._listawaypoints.Get(_r))+"|"+BA.ObjectToString(_r1.Get((Object)("coords")))+"|"+BA.ObjectToString(_r1.Get((Object)("calle"))),0); - //BA.debugLineNum = 436;BA.debugLine="wps = listaWayPoints.Get(r)"; -_wps = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(parent._listawaypoints.Get(_r))); - //BA.debugLineNum = 437;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info set"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info set SECUENCIA = "+parent.__c.SmartStringFormatter("",_wps.Get((Object)("waypoint_index")))+" where CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",_r1.Get((Object)("codigo")))+"'")); - //BA.debugLineNum = 438;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into waypoin"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into waypoints values (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_r1.Get((Object)("codigo")),_wps.Get((Object)("waypoint_index"))})); - //BA.debugLineNum = 439;BA.debugLine="r = r + 1"; -_r = (int) (_r+1); - if (true) break; - -case 60: -//C -this.state = 79; -; - if (true) break; -if (true) break; - -case 61: -//C -this.state = 62; -; - //BA.debugLineNum = 442;BA.debugLine="ListView1.Clear"; -parent._listview1.Clear(); - //BA.debugLineNum = 443;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); -this.state = 80; -return; -case 80: -//C -this.state = 62; -; - //BA.debugLineNum = 444;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 445;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = parent._listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 446;BA.debugLine="label2.TextSize = 15"; -_label2.setTextSize((float) (15)); - //BA.debugLineNum = 447;BA.debugLine="label2.Height = 100dip"; -_label2.setHeight(parent.__c.DipToCurrent((int) (100))); - //BA.debugLineNum = 448;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 70dip"; -parent._listview1.getTwoLinesLayout().setItemHeight(parent.__c.DipToCurrent((int) (70))); - //BA.debugLineNum = 449;BA.debugLine="Dim cs, cs2 As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); -_cs2 = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 450;BA.debugLine="entro = 3"; -parent._entro = BA.NumberToString(3); - //BA.debugLineNum = 451;BA.debugLine="Log(\"Generamos ListView1 en traeRutaDia\")"; -parent.__c.LogImpl("35570711","Generamos ListView1 en traeRutaDia",0); - //BA.debugLineNum = 453;BA.debugLine="c=Starter.skmt.ExecQuery(\"select codigo, indice,"; -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 codigo, indice, CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_NOEXT from waypoints inner join kmt_info on waypoints.codigo = kmt_info.CAT_CL_CODIGO where gestion = 0 AND CAT_CL_RUTA <> 1000 order by indice"))); - //BA.debugLineNum = 454;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 62: -//if -this.state = 69; -if (parent._c.getRowCount()>0) { -this.state = 64; -}if (true) break; - -case 64: -//C -this.state = 65; - //BA.debugLineNum = 455;BA.debugLine="For i=0 To c.RowCount -1 'Generamos el listView"; -if (true) break; - -case 65: -//for -this.state = 68; -step135 = 1; -limit135 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 81; -if (true) break; - -case 81: -//C -this.state = 68; -if ((step135 > 0 && _i <= limit135) || (step135 < 0 && _i >= limit135)) this.state = 67; -if (true) break; - -case 82: -//C -this.state = 81; -_i = ((int)(0 + _i + step135)) ; -if (true) break; - -case 67: -//C -this.state = 82; - //BA.debugLineNum = 456;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 457;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 458;BA.debugLine="cs2.Initialize"; -_cs2.Initialize(); - //BA.debugLineNum = 459;BA.debugLine="ListView1.AddTwoLines(cs.Color(Colors.RGB(100,1"; -parent._listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(parent._c.GetString("codigo"))).PopAll().getObject()),BA.ObjectToCharSequence(_cs2.Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE"))).Color(parent.__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence(" Calle: ")).Pop().Append(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE").trim()+" "+parent._c.GetString("CAT_CL_NOEXT"))).PopAll().getObject())); - if (true) break; -if (true) break; - -case 68: -//C -this.state = 69; -; - if (true) break; - -case 69: -//C -this.state = -1; -; - //BA.debugLineNum = 462;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 463;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public reparto_mazapa.keymon.lat.b4xorderedmap _traetodosavisitar() throws Exception{ -anywheresoftware.b4a.gps.LocationWrapper _thisloc = null; -anywheresoftware.b4a.gps.LocationWrapper _ubicacioninicial = null; -int _i = 0; -int _j = 0; -int _distancia = 0; -anywheresoftware.b4a.objects.collections.Map _estecliente = null; - //BA.debugLineNum = 515;BA.debugLine="Sub traeTodosAVisitar As B4XOrderedMap 'ignore"; - //BA.debugLineNum = 516;BA.debugLine="Log(\"Iniciamos traeTodosAVisitar\")"; -__c.LogImpl("35701633","Iniciamos traeTodosAVisitar",0); - //BA.debugLineNum = 519;BA.debugLine="Private thisLoc, ubicacionInicial As Location"; -_thisloc = new anywheresoftware.b4a.gps.LocationWrapper(); -_ubicacioninicial = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 520;BA.debugLine="ubicacionInicial = Starter.cedisLocation"; -_ubicacioninicial = _starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ ; - //BA.debugLineNum = 521;BA.debugLine="LogColor(ubicacionInicial, Colors.Gray)"; -__c.LogImpl("35701638",BA.ObjectToString(_ubicacioninicial),__c.Colors.Gray); - //BA.debugLineNum = 522;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(gestion) as"; -_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 sum(gestion) as hayVisitados from kmt_info"))); - //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 = 526;BA.debugLine="If c.GetString(\"hayVisitados\") > 0 Then ubicacio"; -if ((double)(Double.parseDouble(_c.GetString("hayVisitados")))>0) { -_ubicacioninicial = _tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ ;}; - }; - //BA.debugLineNum = 528;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 529;BA.debugLine="LogColor(ubicacionInicial, Colors.Red)"; -__c.LogImpl("35701646",BA.ObjectToString(_ubicacioninicial),__c.Colors.Red); - //BA.debugLineNum = 530;BA.debugLine="thisLoc.Initialize"; -_thisloc.Initialize(); - //BA.debugLineNum = 531;BA.debugLine="clientesMapaO.Clear"; -_clientesmapao._clear /*String*/ (); - //BA.debugLineNum = 533;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_CL_RUTA, cou"; -_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, count(*) as cuantos from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000 group by CAT_CL_RUTA order by CAT_CL_RUTA asc"))); - //BA.debugLineNum = 534;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 536;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 = 537;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 539;BA.debugLine="c2=Starter.skmt.ExecQuery2(\"select CAT_CL_NOMB"; -_c2 = (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 CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO, CAT_CL_LAT, CAT_CL_LONG from kmt_info where CAT_CL_RUTA = ? and gestion = 0 AND CAT_CL_RUTA <> 1000 order by CAT_CL_NOMBRE ",new String[]{_c.GetString("CAT_CL_RUTA")}))); - //BA.debugLineNum = 540;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 541;BA.debugLine="For j=0 To c2.RowCount -1 'Generamos lista de"; -{ -final int step20 = 1; -final int limit20 = (int) (_c2.getRowCount()-1); -_j = (int) (0) ; -for (;_j <= limit20 ;_j = _j + step20 ) { - //BA.debugLineNum = 542;BA.debugLine="c2.Position=j"; -_c2.setPosition(_j); - //BA.debugLineNum = 544;BA.debugLine="thisLoc.Latitude = c2.GetString(\"CAT_CL_LAT\")"; -_thisloc.setLatitude((double)(Double.parseDouble(_c2.GetString("CAT_CL_LAT")))); - //BA.debugLineNum = 545;BA.debugLine="thisLoc.Longitude = c2.GetString(\"CAT_CL_LONG"; -_thisloc.setLongitude((double)(Double.parseDouble(_c2.GetString("CAT_CL_LONG")))); - //BA.debugLineNum = 546;BA.debugLine="If Not(thisLoc.Latitude = 0.0) And Not(thisLo"; -if (__c.Not(_thisloc.getLatitude()==0.0) && __c.Not(_thisloc.getLatitude()==0)) { - //BA.debugLineNum = 547;BA.debugLine="Private distancia As Int = ubicacionInicial."; -_distancia = (int) (_ubicacioninicial.DistanceTo((android.location.Location)(_thisloc.getObject()))); - //BA.debugLineNum = 548;BA.debugLine="If clientesMapaO.ContainsKey(distancia) Then"; -if (_clientesmapao._containskey /*boolean*/ ((Object)(_distancia))) { -_distancia = (int) (_distancia+1);}; - //BA.debugLineNum = 549;BA.debugLine="Private esteCliente As Map = CreateMap(\"dist"; -_estecliente = new anywheresoftware.b4a.objects.collections.Map(); -_estecliente = __c.createMap(new Object[] {(Object)("distancia"),(Object)(_distancia),(Object)("ordenDist"),(Object)(_j),(Object)("coords"),(Object)(_c2.GetString("CAT_CL_LONG")+","+_c2.GetString("CAT_CL_LAT")),(Object)("codigo"),(Object)(_c2.GetString("CAT_CL_CODIGO")),(Object)("nombre"),(Object)(_c2.GetString("CAT_CL_NOMBRE")),(Object)("calle"),(Object)(_c2.GetString("CAT_CL_CALLE"))}); - //BA.debugLineNum = 550;BA.debugLine="clientesMapaO.Put(distancia, esteCliente)"; -_clientesmapao._put /*String*/ ((Object)(_distancia),(Object)(_estecliente.getObject())); - }else { - //BA.debugLineNum = 552;BA.debugLine="ToastMessageShow(\"Hay tiendas SIN coordenada"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Hay tiendas SIN coordenadas, fueron excluidas!!"),__c.False); - }; - } -}; - }; - } -}; - }; - //BA.debugLineNum = 560;BA.debugLine="clientesMapaO.Keys.Sort(True) 'Ordenamos la lista"; -_clientesmapao._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ().Sort(__c.True); - //BA.debugLineNum = 561;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 562;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 563;BA.debugLine="Log(c.RowCount & \" rutas, \" & clientesMapaO.Size"; -__c.LogImpl("35701680",BA.NumberToString(_c.getRowCount())+" rutas, "+BA.NumberToString(_clientesmapao._getsize /*int*/ ())+" clientes",0); - //BA.debugLineNum = 566;BA.debugLine="Return clientesMapaO"; -if (true) return _clientesmapao; - //BA.debugLineNum = 567;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/reparto_mazapa/keymon/lat/c_detalle_promo.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalle_promo.java deleted file mode 100644 index 47370ae..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalle_promo.java +++ /dev/null @@ -1,246 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_detalle_promo 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, "reparto_mazapa.keymon.lat.c_detalle_promo"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.c_detalle_promo.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.objects.ButtonWrapper _regresar = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _b = null; -public String _regalo = ""; -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 b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 96;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; - //BA.debugLineNum = 98;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; -if (_key==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 101;BA.debugLine="B4XPages.ShowPage(\"\")"; -_b4xpages._showpage /*String*/ (ba,""); - }; - //BA.debugLineNum = 105;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return false; -} -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 89;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 = 56;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 57;BA.debugLine="Starter.skmt.Initialize(Starter.ruta,\"kmt.db\", Tr"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_starter._ruta /*String*/ ,"kmt.db",__c.True); - //BA.debugLineNum = 58;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; -_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_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 59;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 60;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 61;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 62;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 = 63;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 64;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; -_b = (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 CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{_c.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 65;BA.debugLine="B.Position =0"; -_b.setPosition((int) (0)); - //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.White"; -_label1.setTextColor(__c.Colors.White); - //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 = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 73;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 74;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; -if ((_c.GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 75;BA.debugLine="regalo = \"SI\""; -_regalo = "SI"; - }else { - //BA.debugLineNum = 77;BA.debugLine="regalo = \"NO\""; -_regalo = "NO"; - }; - //BA.debugLineNum = 79;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_b.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+_c.GetString("CAT_DP_PZAS")+" REGALO "+_regalo)); - //BA.debugLineNum = 80;BA.debugLine="b.Close"; -_b.Close(); - } -}; - //BA.debugLineNum = 82;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 85;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 = 22;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 23;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 25;BA.debugLine="Root.LoadLayout(\"detalle_promo\")"; -_root.LoadLayout("detalle_promo",ba); - //BA.debugLineNum = 26;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CAT_DP_IDPROD, C"; -_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_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 27;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 28;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 29;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 30;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 = 31;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 32;BA.debugLine="b=Starter.skmt.ExecQuery2(\"select CAT_GP_NOMBRE"; -_b = (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 CAT_GP_NOMBRE from cat_gunaprod where CAT_GP_ID = ?",new String[]{_c.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 33;BA.debugLine="B.Position =0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 34;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 36;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 37;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 38;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 40;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 41;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 42;BA.debugLine="If c.GetString(\"CAT_DP_PRECIO\") = 0 Then"; -if ((_c.GetString("CAT_DP_PRECIO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 43;BA.debugLine="regalo = \"SI\""; -_regalo = "SI"; - }else { - //BA.debugLineNum = 45;BA.debugLine="regalo = \"NO\""; -_regalo = "NO"; - }; - //BA.debugLineNum = 47;BA.debugLine="ListView1.AddTwoLines(B.GetString(\"CAT_GP_NOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_b.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("Cantidad # "+_c.GetString("CAT_DP_PZAS")+" REGALO "+_regalo)); - //BA.debugLineNum = 48;BA.debugLine="b.Close"; -_b.Close(); - } -}; - //BA.debugLineNum = 50;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 52;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 c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim Regresar As Button"; -_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim b As Cursor"; -_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim regalo As String"; -_regalo = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim L_TOTAL As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim borra As Button"; -_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim Existe As String"; -_existe = ""; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 18;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return null; -} -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 93;BA.debugLine="B4XPages.ShowPage(\"\")"; -_b4xpages._showpage /*String*/ (ba,""); - //BA.debugLineNum = 94;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/reparto_mazapa/keymon/lat/c_detalleventa.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java deleted file mode 100644 index e817dfd..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_detalleventa.java +++ /dev/null @@ -1,1383 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_detalleventa 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, "reparto_mazapa.keymon.lat.c_detalleventa"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.c_detalleventa.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 anywheresoftware.b4a.objects.ButtonWrapper _b_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 _b_borra = null; -public String _existe = ""; -public String _result = ""; -public String _cuantos = ""; -public String _nombre_prod = ""; -public String _cuantos_pedido = ""; -public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; -public anywheresoftware.b4a.objects.PanelWrapper _p1 = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv2 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public b4a.example3.customlistview _clv_pedido = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; -public boolean _etcanthasfocus = false; -public int _totalprods = 0; -public int _totalcompra = 0; -public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; -public boolean _reconstruirpedido = false; -public String _promoaborrar = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenosc = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pcantc = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcantc = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmasc = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmenc = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmen = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 915;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 917;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 _maxprods = ""; -String _minimoadesc = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; - //BA.debugLineNum = 650;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 651;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 653;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("357671683","b_prodMas_Click",__c.Colors.Magenta); - //BA.debugLineNum = 654;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 655;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 656;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 657;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 661;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 662;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("357671692","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 663;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 665;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; -_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); - //BA.debugLineNum = 667;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("357671697",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 670;BA.debugLine="Private minimoadesc As String"; -_minimoadesc = ""; - //BA.debugLineNum = 671;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; -_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_minimos = (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 CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 672;BA.debugLine="If minimos.RowCount > 0 Then"; -if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 673;BA.debugLine="minimos.Position = 0"; -_minimos.setPosition((int) (0)); - //BA.debugLineNum = 674;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; -_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); - }else { - //BA.debugLineNum = 676;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - }; - //BA.debugLineNum = 678;BA.debugLine="minimos.Close"; -_minimos.Close(); - //BA.debugLineNum = 681;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; -if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) { - //BA.debugLineNum = 684;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; -if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { - //BA.debugLineNum = 686;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 687;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("357671717",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 688;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 = 689;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 692;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_RECHAZOCANT - (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - //BA.debugLineNum = 694;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; -_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 699;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else { - //BA.debugLineNum = 703;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 704;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("357671734",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 705;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 = 706;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2)))})); - //BA.debugLineNum = 707;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PED"; -_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 PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); - //BA.debugLineNum = 708;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 709;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 710;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 711;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 713;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }else { - //BA.debugLineNum = 716;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 717;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 718;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 720;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO) VALUES (?,?,?,?,?,?,?,0,0,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("CAT_GP_NOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_c2.GetString("CAT_GP_PRECIO"),_c2.GetString("CAT_GP_PRECIO"),BA.ObjectToString(_estetag.Get((int) (8)))})); - }; - }; - //BA.debugLineNum = 725;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; -_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 730;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - }; - //BA.debugLineNum = 749;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 _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _maxprods = ""; - //BA.debugLineNum = 928;BA.debugLine="Private Sub b_prodMasC_Click"; - //BA.debugLineNum = 929;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 931;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("357999363","b_prodMas_Click",__c.Colors.Magenta); - //BA.debugLineNum = 932;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 933;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 934;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 935;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 939;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); - //BA.debugLineNum = 940;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; -__c.LogImpl("357999372","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 941;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 943;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; -_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); - //BA.debugLineNum = 944;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; -__c.LogImpl("357999376",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); - //BA.debugLineNum = 945;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("357999377",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); - //BA.debugLineNum = 946;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("357999378",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 948;BA.debugLine="Log(maxProds)"; -__c.LogImpl("357999380",_maxprods,0); - //BA.debugLineNum = 951;BA.debugLine="If esteTag.Get(7) <> \"1\" Then"; -if ((_estetag.Get((int) (7))).equals((Object)("1")) == false) { - //BA.debugLineNum = 954;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 955;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; -__c.LogImpl("357999387",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); - //BA.debugLineNum = 956;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; -_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); - //BA.debugLineNum = 958;BA.debugLine="Log(laCantc.Text)"; -__c.LogImpl("357999390",_lacantc.getText(),0); - //BA.debugLineNum = 959;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) -(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+") WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - //BA.debugLineNum = 967;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - //BA.debugLineNum = 970;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.collections.List _estetag = null; -String _minimoadesc = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -float _preciou = 0f; - //BA.debugLineNum = 506;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 507;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 508;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("357606146","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 509;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("357606147","b_prodMenos_Click",__c.Colors.Magenta); - //BA.debugLineNum = 510;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 511;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 512;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 513;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 515;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 516;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("357606154","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 517;BA.debugLine="Private minimoadesc As String"; -_minimoadesc = ""; - //BA.debugLineNum = 518;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; -_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_minimos = (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 CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 519;BA.debugLine="If minimos.RowCount > 0 Then"; -if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 520;BA.debugLine="minimos.Position = 0"; -_minimos.setPosition((int) (0)); - //BA.debugLineNum = 521;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; -_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); - }else { - //BA.debugLineNum = 523;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - }; - //BA.debugLineNum = 525;BA.debugLine="minimos.Close"; -_minimos.Close(); - //BA.debugLineNum = 528;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; -if ((_estetag.Get((int) (7))).equals((Object)("1"))) { - //BA.debugLineNum = 529;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 530;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 = 531;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 532;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); - //BA.debugLineNum = 533;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 534;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 535;BA.debugLine="If c3.GetString(\"PE_CANT\") > minimoadesc Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { - //BA.debugLineNum = 536;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 537;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 538;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 540;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) and CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }else if((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { - //BA.debugLineNum = 543;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 544;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 545;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 548;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }; - }; - //BA.debugLineNum = 555;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else { - //BA.debugLineNum = 558;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; -if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { - //BA.debugLineNum = 559;BA.debugLine="If laCant.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacant.getText()))>0) { - //BA.debugLineNum = 560;BA.debugLine="If esteTag.Get(3) <> Subs.traeAlmacen Then 'Si"; -if ((_estetag.Get((int) (3))).equals((Object)(_subs._traealmacen /*String*/ (ba))) == false) { - //BA.debugLineNum = 561;BA.debugLine="Private c2 As Cursor =Starter.skmt.ExecQuery("; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 HVD_RECHAZO FROM HIST_VENTAS WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' AND HVD_CLIENTE IN (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")))); - //BA.debugLineNum = 562;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 563;BA.debugLine="If c2.GetString(\"HVD_RECHAZO\") = \"0\" Then"; -if ((_c2.GetString("HVD_RECHAZO")).equals("0")) { - //BA.debugLineNum = 566;BA.debugLine="Log(\"ES PROMO\")"; -__c.LogImpl("357606204","ES PROMO",0); - //BA.debugLineNum = 567;BA.debugLine="Log(esteTag.Get(3))"; -__c.LogImpl("357606205",BA.ObjectToString(_estetag.Get((int) (3))),0); - //BA.debugLineNum = 568;BA.debugLine="result = Msgbox2(\"Si se modifica una promoci"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 569;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Qui"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 570;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; -_prodsmap.Remove(_estetag.Get((int) (3))); - //BA.debugLineNum = 574;BA.debugLine="LogColor(esteTag.Get(3),Colors.Blue)"; -__c.LogImpl("357606212",BA.ObjectToString(_estetag.Get((int) (3))),__c.Colors.Blue); - //BA.debugLineNum = 577;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 578;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_CANT WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 581;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 582;BA.debugLine="LogColor(prodsMap, Colors.red)"; -__c.LogImpl("357606220",BA.ObjectToString(_prodsmap),__c.Colors.Red); - //BA.debugLineNum = 583;BA.debugLine="reconstruirPedido = True"; -_reconstruirpedido = __c.True; - //BA.debugLineNum = 584;BA.debugLine="promoABorrar = esteTag.Get(3)"; -_promoaborrar = BA.ObjectToString(_estetag.Get((int) (3))); - //BA.debugLineNum = 585;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else { - //BA.debugLineNum = 588;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 589;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 = 590;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 591;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("357606229","NO ES promo",0); - //BA.debugLineNum = 592;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENT"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"') WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - //BA.debugLineNum = 593;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 594;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else { - //BA.debugLineNum = 597;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 598;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 = 599;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 600;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("357606238","NO ES promo",0); - //BA.debugLineNum = 601;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = IFNULL(HVD_RECHAZOCANT,0) + (1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), BCAJAS = 0, CANTC = 0 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - //BA.debugLineNum = 602;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapro"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 603;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - }else { - //BA.debugLineNum = 608;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 609;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 = 610;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 611;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("357606249","NO ES promo",0); - //BA.debugLineNum = 616;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); - //BA.debugLineNum = 617;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 618;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 619;BA.debugLine="If c3.GetString(\"PE_CANT\") > 1 Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>1) { - //BA.debugLineNum = 620;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2("; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 621;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 622;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 623;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }else if((_c3.GetString("PE_CANT")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 626;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2("; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 627;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 628;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 629;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }; - }; - //BA.debugLineNum = 633;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - //BA.debugLineNum = 636;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; -_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); - //BA.debugLineNum = 637;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("357606275","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 648;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 _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -float _preciou = 0f; - //BA.debugLineNum = 972;BA.debugLine="Private Sub b_prodMenosC_Click"; - //BA.debugLineNum = 973;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 974;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("358064898","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 975;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("358064899","b_prodMenos_Click",__c.Colors.Magenta); - //BA.debugLineNum = 976;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 977;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 978;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 979;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 981;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); - //BA.debugLineNum = 982;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; -__c.LogImpl("358064906","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 983;BA.debugLine="Log(esteTag)"; -__c.LogImpl("358064907",BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 985;BA.debugLine="If esteTag.Get(7) = \"1\" Then"; -if ((_estetag.Get((int) (7))).equals((Object)("1"))) { - //BA.debugLineNum = 986;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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_CAJAS, CONSECUTIVO FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); - //BA.debugLineNum = 987;BA.debugLine="Log(c3.RowCount)"; -__c.LogImpl("358064911",BA.NumberToString(_c3.getRowCount()),0); - //BA.debugLineNum = 988;BA.debugLine="Log(esteTag.Get(8))"; -__c.LogImpl("358064912",BA.ObjectToString(_estetag.Get((int) (8))),0); - //BA.debugLineNum = 989;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 990;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; -__c.LogImpl("358064914","AQUI VEMOS SI ACTUALIZAMOS",0); - //BA.debugLineNum = 991;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 992;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { - //BA.debugLineNum = 993;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); - }else if((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 995;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c3.GetString("CONSECUTIVO")))+"'")); - }; - }; - //BA.debugLineNum = 998;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("358064922","entre al if o algo asi ",0); - //BA.debugLineNum = 999;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1000;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 1001;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1002;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else { - //BA.debugLineNum = 1007;BA.debugLine="If esteTag.Get(5) = esteTag.Get(6) Then"; -if ((_estetag.Get((int) (5))).equals(_estetag.Get((int) (6)))) { - //BA.debugLineNum = 1009;BA.debugLine="If laCantc.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))>0) { - //BA.debugLineNum = 1010;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("358064934","entre al if o algo asi ",0); - //BA.debugLineNum = 1011;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1012;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 1013;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1014;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1, HVD_RECHAZOCANT = (IFNULL(HVD_RECHAZOCANT,0) +(1 * "+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+")) WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and HVD_cliente in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - //BA.debugLineNum = 1015;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = (cat_gp_almacen + (1 * ?)) where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2)),(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))))})); - //BA.debugLineNum = 1016;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_lacantc.getText()).equals(BA.NumberToString(0))) { - }; - }else { - //BA.debugLineNum = 1023;BA.debugLine="If laCantc.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))>0) { - //BA.debugLineNum = 1026;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2("; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (8)))}))); - //BA.debugLineNum = 1027;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 1028;BA.debugLine="Log(\"AQUI VEMOS SI ACTUALIZAMOS\")"; -__c.LogImpl("358064952","AQUI VEMOS SI ACTUALIZAMOS",0); - //BA.debugLineNum = 1029;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 1030;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { - //BA.debugLineNum = 1031;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }else if((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1033;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (8)))+"'")); - }; - }; - //BA.debugLineNum = 1036;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("358064960","entre al if o algo asi ",0); - //BA.debugLineNum = 1037;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1038;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 1039;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1040;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_lacantc.getText()).equals(BA.NumberToString(0))) { - }; - }; - }; - //BA.debugLineNum = 1048;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; -_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); - //BA.debugLineNum = 1049;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("358064973","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 1050;BA.debugLine="End Sub"; -return ""; -} -public String _b_regresar_click() throws Exception{ - //BA.debugLineNum = 317;BA.debugLine="Sub b_regresar_Click"; - //BA.debugLineNum = 318;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 319;BA.debugLine="End Sub"; -return ""; -} -public String _b_revversar_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; - //BA.debugLineNum = 1056;BA.debugLine="Private Sub b_revversar_Click"; - //BA.debugLineNum = 1057;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery(\"SE"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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 PEDIDO WHERE PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1058;BA.debugLine="If c3.RowCount = 0 Then"; -if (_c3.getRowCount()==0) { - //BA.debugLineNum = 1059;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS s"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0, BCAJAS = BCAJAS_OR, CANTC = CANTC_OR WHERE HVD_cliente in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 1060;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else { - //BA.debugLineNum = 1062;BA.debugLine="MsgboxAsync(\"Hay productos que ya se vendieron,"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Hay productos que ya se vendieron, no se puede regresar la venta"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 1066;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; -int _cantres = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _oc = null; -int _cant2 = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -int _bgcolor = 0; -int _textcolor = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; -String _cuenta = ""; -String _arti = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc2 = null; -String _cuenta1 = ""; -String _arti1 = ""; -float _preu = 0f; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc4 = null; -String _cuenta2 = ""; -String _arti2 = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; -String _cuenta3 = ""; -String _arti3 = ""; - //BA.debugLineNum = 68;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 69;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 73;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 74;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 75;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 76;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 77;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 78;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 80;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; -_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 hvd_num_registro,CONSECUTIVO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO, BCAJAS, CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_rechazo <> 2 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 81;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 82;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 83;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 84;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; -_clv_pedido._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (_root.getWidth()-50),(int) (_root.getHeight()*0.62)); - //BA.debugLineNum = 85;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; -_clv_pedido._base_resize(_clv_pedido._getbase().getWidth(),_clv_pedido._getbase().getHeight()); - //BA.debugLineNum = 87;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 90;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step15 = 1; -final int limit15 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 91;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 93;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; -_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (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 IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 94;BA.debugLine="If c4.RowCount > 0 Then"; -if (_c4.getRowCount()>0) { - //BA.debugLineNum = 95;BA.debugLine="c4.Position = 0"; -_c4.setPosition((int) (0)); - //BA.debugLineNum = 96;BA.debugLine="Private cantres As Int = c4.GetString(\"PE_CANT"; -_cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT"))); - }else { - //BA.debugLineNum = 98;BA.debugLine="cantres = 0"; -_cantres = (int) (0); - }; - //BA.debugLineNum = 101;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; -if ((_c.GetString("BCAJAS")).equals("0")) { - //BA.debugLineNum = 102;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; -if ((_c.GetString("HVD_CANT")).equals(_c.GetString("HVD_RECHAZOCANT")) == false) { - //BA.debugLineNum = 104;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; -_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_oc = (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 HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); - //BA.debugLineNum = 105;BA.debugLine="Private cant2 As Int = 0"; -_cant2 = (int) (0); - //BA.debugLineNum = 106;BA.debugLine="If oc.RowCount > 0 Then"; -if (_oc.getRowCount()>0) { - //BA.debugLineNum = 107;BA.debugLine="oc.Position = 0"; -_oc.setPosition((int) (0)); - //BA.debugLineNum = 108;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; -_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); - }; - //BA.debugLineNum = 110;BA.debugLine="oc.Close"; -_oc.Close(); - //BA.debugLineNum = 111;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 112;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 113;BA.debugLine="label1.TextSize = 12"; -_label1.setTextSize((float) (12)); - //BA.debugLineNum = 114;BA.debugLine="label1.TextColor = Colors.black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 115;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 116;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 117;BA.debugLine="label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 118;BA.debugLine="label2.TextColor = Colors.black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 119;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 120;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; -_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 121;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 122;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 124;BA.debugLine="bgColor = Colors.White"; -_bgcolor = __c.Colors.White; - }; - //BA.debugLineNum = 128;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int) (((double)(Double.parseDouble(_c.GetString("HVD_CANT")))-(double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT"))))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-_cantres),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }; - }else if((_c.GetString("BCAJAS")).equals("1")) { - //BA.debugLineNum = 132;BA.debugLine="If c.GetString(\"HVD_CANT\") <> c.GetString(\"HVD"; -if ((_c.GetString("HVD_CANT")).equals(_c.GetString("HVD_RECHAZOCANT")) == false) { - //BA.debugLineNum = 134;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery"; -_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_oc = (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 HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); - //BA.debugLineNum = 135;BA.debugLine="Private cant2 As Int = 0"; -_cant2 = (int) (0); - //BA.debugLineNum = 136;BA.debugLine="If oc.RowCount > 0 Then"; -if (_oc.getRowCount()>0) { - //BA.debugLineNum = 137;BA.debugLine="oc.Position = 0"; -_oc.setPosition((int) (0)); - //BA.debugLineNum = 138;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; -_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); - }; - //BA.debugLineNum = 140;BA.debugLine="oc.Close"; -_oc.Close(); - //BA.debugLineNum = 141;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 142;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 143;BA.debugLine="label1.TextSize = 12"; -_label1.setTextSize((float) (12)); - //BA.debugLineNum = 144;BA.debugLine="label1.TextColor = Colors.black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 145;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 146;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 147;BA.debugLine="label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 148;BA.debugLine="label2.TextColor = Colors.black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 149;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 150;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; -_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 151;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 152;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAl"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 154;BA.debugLine="bgColor = Colors.White"; -_bgcolor = __c.Colors.White; - }; - //BA.debugLineNum = 158;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HV"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),BA.NumberToString(((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC"))))),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_CANT")))-(double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))))),(int)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT"))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba),_subs._traecliente /*String*/ (ba),BA.NumberToString(0),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }; - }; - } -}; - }; - //BA.debugLineNum = 166;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery(\"Sele"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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 PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 167;BA.debugLine="If c3.RowCount>0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 168;BA.debugLine="For i= 0 To c3.RowCount -1"; -{ -final int step79 = 1; -final int limit79 = (int) (_c3.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit79 ;_i = _i + step79 ) { - //BA.debugLineNum = 169;BA.debugLine="c3.Position = i"; -_c3.setPosition(_i); - //BA.debugLineNum = 170;BA.debugLine="If c3.GetString(\"PE_BCAJAS\") = \"1\" Then"; -if ((_c3.GetString("PE_BCAJAS")).equals("1")) { - //BA.debugLineNum = 171;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 172;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; -_bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132)); - //BA.debugLineNum = 173;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 174;BA.debugLine="clv_pedido.Add(CreateListItem2(c3.GetString(\"P"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - //BA.debugLineNum = 175;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; -__c.LogImpl("357081963","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); - }else { - //BA.debugLineNum = 177;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 178;BA.debugLine="bgColor = Colors.RGB(221, 132, 132)'rosa"; -_bgcolor = __c.Colors.RGB((int) (221),(int) (132),(int) (132)); - //BA.debugLineNum = 179;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 180;BA.debugLine="Log(\"#####################\"&c3.GetString(\"PE_P"; -__c.LogImpl("357081968","#####################"+_c3.GetString("PE_PRONOMBRE")+","+_c3.GetString("PE_CANT"),0); - //BA.debugLineNum = 181;BA.debugLine="clv_pedido.Add(CreateListItem(c3.GetString(\"PE"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c3.GetString("PE_PRONOMBRE"),_c3.GetString("PE_COSTOU"),(int)(Double.parseDouble(_c3.GetString("PE_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c3.GetString("PE_PROID"),_bgcolor,_textcolor,_subs._traealmacen /*String*/ (ba),_subs._traecliente /*String*/ (ba),_c3.GetString("PE_CLIENTEOR"),BA.NumberToString(1),(int)(Double.parseDouble(_c3.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }; - } -}; - }; - //BA.debugLineNum = 187;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; -_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (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 HVD_PROID, HVD_CANT,HVD_COSTO_TOT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT from HIST_VENTAS where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE in (select cuenta from cuentaa)")))); - //BA.debugLineNum = 189;BA.debugLine="Private Cuenta As String = 0"; -_cuenta = BA.NumberToString(0); - //BA.debugLineNum = 190;BA.debugLine="Private arti As String = 0"; -_arti = BA.NumberToString(0); - //BA.debugLineNum = 191;BA.debugLine="If vc.RowCount > 0 Then"; -if (_vc.getRowCount()>0) { - //BA.debugLineNum = 192;BA.debugLine="For i = 0 To vc.RowCount - 1"; -{ -final int step100 = 1; -final int limit100 = (int) (_vc.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit100 ;_i = _i + step100 ) { - //BA.debugLineNum = 193;BA.debugLine="vc.Position = i"; -_vc.setPosition(_i); - //BA.debugLineNum = 194;BA.debugLine="Private cantres As Int = 0"; -_cantres = (int) (0); - //BA.debugLineNum = 195;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($"; -_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (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 IFNULL(PE_CANT,0) AS PE_CANT FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("HVD_PROID")))+"' AND PE_CLIENTEOR IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 196;BA.debugLine="If c4.RowCount > 0 Then"; -if (_c4.getRowCount()>0) { - //BA.debugLineNum = 197;BA.debugLine="c4.Position = 0"; -_c4.setPosition((int) (0)); - //BA.debugLineNum = 198;BA.debugLine="cantres = c4.GetString(\"PE_CANT\")"; -_cantres = (int)(Double.parseDouble(_c4.GetString("PE_CANT"))); - //BA.debugLineNum = 199;BA.debugLine="Log(c4.GetString(\"PE_CANT\"))"; -__c.LogImpl("357081987",_c4.GetString("PE_CANT"),0); - }else { - //BA.debugLineNum = 201;BA.debugLine="cantres = 0"; -_cantres = (int) (0); - }; - //BA.debugLineNum = 206;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - vc.Ge"; -_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 207;BA.debugLine="Cuenta = Cuenta + ((vc.GetString(\"HVD_CANT\") -"; -_cuenta = BA.NumberToString((double)(Double.parseDouble(_cuenta))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); - } -}; - }; - //BA.debugLineNum = 214;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuery(\"s"; -_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 1"))); - //BA.debugLineNum = 215;BA.debugLine="Private Cuenta1 As String = 0"; -_cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 216;BA.debugLine="Private arti1 As String = 0"; -_arti1 = BA.NumberToString(0); - //BA.debugLineNum = 217;BA.debugLine="If vc2.RowCount > 0 Then"; -if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 218;BA.debugLine="For i = 0 To vc2.RowCount - 1"; -{ -final int step119 = 1; -final int limit119 = (int) (_vc2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit119 ;_i = _i + step119 ) { - //BA.debugLineNum = 219;BA.debugLine="vc2.Position = i"; -_vc2.setPosition(_i); - //BA.debugLineNum = 220;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetString"; -_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 221;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQuery("; -_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 222;BA.debugLine="If vc3.RowCount > 0 Then"; -if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 223;BA.debugLine="vc3.Position = 0"; -_vc3.setPosition((int) (0)); - //BA.debugLineNum = 224;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC\")-("; -_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); - //BA.debugLineNum = 225;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\") - v"; -_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); - }; - } -}; - }; - //BA.debugLineNum = 231;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuery($\""; -_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc4 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 232;BA.debugLine="Private Cuenta2 As String = 0"; -_cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 233;BA.debugLine="Private arti2 As String = 0"; -_arti2 = BA.NumberToString(0); - //BA.debugLineNum = 234;BA.debugLine="If vc4.RowCount > 0 Then"; -if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 236;BA.debugLine="For i = 0 To vc4.RowCount - 1"; -{ -final int step134 = 1; -final int limit134 = (int) (_vc4.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit134 ;_i = _i + step134 ) { - //BA.debugLineNum = 237;BA.debugLine="vc4.Position = i"; -_vc4.setPosition(_i); - //BA.debugLineNum = 238;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetString("; -if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 239;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; -if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 240;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_COSTO_"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 241;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); - }else { - //BA.debugLineNum = 243;BA.debugLine="Private vc5 As Cursor = Starter.skmt.ExecQuer"; -_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc5 = (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_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 244;BA.debugLine="If vc5.RowCount > 0 Then"; -if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 245;BA.debugLine="vc5.Position= 0"; -_vc5.setPosition((int) (0)); - //BA.debugLineNum = 247;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_CANT"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 248;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\")- v"; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); - }; - }; - }; - } -}; - }; - //BA.debugLineNum = 259;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery($\"S"; -_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (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 IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 260;BA.debugLine="Private Cuenta3 As String = 0"; -_cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 261;BA.debugLine="Private arti3 As String = 0"; -_arti3 = BA.NumberToString(0); - //BA.debugLineNum = 262;BA.debugLine="If c4.RowCount > 0 Then"; -if (_c4.getRowCount()>0) { - //BA.debugLineNum = 263;BA.debugLine="For i = 0 To c4.RowCount -1"; -{ -final int step155 = 1; -final int limit155 = (int) (_c4.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit155 ;_i = _i + step155 ) { - //BA.debugLineNum = 264;BA.debugLine="c4.Position = i"; -_c4.setPosition(_i); - //BA.debugLineNum = 265;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; -_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 266;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_TOT\""; -_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); - } -}; - }; - //BA.debugLineNum = 270;BA.debugLine="If Cuenta < 0 Then"; -if ((double)(Double.parseDouble(_cuenta))<0) { - //BA.debugLineNum = 271;BA.debugLine="Cuenta = 0"; -_cuenta = BA.NumberToString(0); - }; - //BA.debugLineNum = 273;BA.debugLine="If Cuenta1 < 0 Then"; -if ((double)(Double.parseDouble(_cuenta1))<0) { - //BA.debugLineNum = 274;BA.debugLine="Cuenta = 0"; -_cuenta = BA.NumberToString(0); - }; - //BA.debugLineNum = 276;BA.debugLine="If Cuenta2 < 0 Then"; -if ((double)(Double.parseDouble(_cuenta2))<0) { - //BA.debugLineNum = 277;BA.debugLine="Cuenta = 0"; -_cuenta = BA.NumberToString(0); - }; - //BA.debugLineNum = 279;BA.debugLine="If Cuenta3 < 0 Then"; -if ((double)(Double.parseDouble(_cuenta3))<0) { - //BA.debugLineNum = 280;BA.debugLine="Cuenta = 0"; -_cuenta = BA.NumberToString(0); - }; - //BA.debugLineNum = 283;BA.debugLine="If arti < 0 Then"; -if ((double)(Double.parseDouble(_arti))<0) { - //BA.debugLineNum = 284;BA.debugLine="arti = 0"; -_arti = BA.NumberToString(0); - }; - //BA.debugLineNum = 286;BA.debugLine="If arti1 < 0 Then"; -if ((double)(Double.parseDouble(_arti1))<0) { - //BA.debugLineNum = 287;BA.debugLine="arti = 0"; -_arti = BA.NumberToString(0); - }; - //BA.debugLineNum = 289;BA.debugLine="If arti2 < 0 Then"; -if ((double)(Double.parseDouble(_arti2))<0) { - //BA.debugLineNum = 290;BA.debugLine="arti = 0"; -_arti = BA.NumberToString(0); - }; - //BA.debugLineNum = 292;BA.debugLine="If arti3 < 0 Then"; -if ((double)(Double.parseDouble(_arti3))<0) { - //BA.debugLineNum = 293;BA.debugLine="arti = 0"; -_arti = BA.NumberToString(0); - }; - //BA.debugLineNum = 296;BA.debugLine="Log(Cuenta&\",\"&Cuenta1&\",\"&Cuenta2&\",\"&Cuenta3)"; -__c.LogImpl("357082084",_cuenta+","+_cuenta1+","+_cuenta2+","+_cuenta3,0); - //BA.debugLineNum = 297;BA.debugLine="Log(arti&\",\"&arti1&\",\"&arti2&\",\"&arti3)"; -__c.LogImpl("357082085",_arti+","+_arti1+","+_arti2+","+_arti3,0); - //BA.debugLineNum = 298;BA.debugLine="If Cuenta + Cuenta1 + Cuenta2 + Cuenta3 < 0 Then"; -if ((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))<0) { - //BA.debugLineNum = 299;BA.debugLine="L_TOTAL.Text = 0"; -_l_total.setText(BA.ObjectToCharSequence(0)); - }else { - //BA.debugLineNum = 301;BA.debugLine="L_TOTAL.Text = NumberFormat2((Cuenta + Cuenta1 +"; -_l_total.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_cuenta))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))),(int) (0),(int) (2),(int) (2),__c.True))); - }; - //BA.debugLineNum = 303;BA.debugLine="If arti + arti1 +arti2 + arti3 < 0 Then"; -if ((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))<0) { - //BA.debugLineNum = 304;BA.debugLine="L_CANT.Text = 0"; -_l_cant.setText(BA.ObjectToCharSequence(0)); - }else { - //BA.debugLineNum = 306;BA.debugLine="L_CANT.Text = NumberFormat2((arti + arti1 +arti2"; -_l_cant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))),(int) (0),(int) (0),(int) (0),__c.True))); - }; - //BA.debugLineNum = 310;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(reparto_mazapa.keymon.lat.c_detalleventa parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_detalleventa 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 = 324;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 326;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 327;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 57;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 58;BA.debugLine="B4XPages.SetTitle(Me, \"Detalle de venta\")"; -_b4xpages._settitle /*String*/ (ba,this,(Object)("Detalle de venta")); - //BA.debugLineNum = 60;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 61;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; -_root.LoadLayout("detalleVenta",ba); - //BA.debugLineNum = 62;BA.debugLine="b_borra.Visible = False"; -_b_borra.setVisible(__c.False); - //BA.debugLineNum = 63;BA.debugLine="Titulo.Text = \"Pedido\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido")); - //BA.debugLineNum = 64;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 g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; -_b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; -_b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; -_existe = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; -_result = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; -_cuantos = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; -_nombre_prod = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; -_cuantos_pedido = ""; - //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; -_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; -_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; -_lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; -_clv_pedido = new b4a.example3.customlistview(); - //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; -_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; -_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; -_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; -_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; -_totalprods = (int) (0); - //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; -_totalcompra = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; -_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; -_reconstruirpedido = __c.False; - //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; -_promoaborrar = ""; - //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; -_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; -_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; -_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Private b_prodMenosC As Button"; -_b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private l_pCantC As Label"; -_l_pcantc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private et_pCantC As EditText"; -_et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Private b_prodMasC As Button"; -_b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private p_botMasMenC As Panel"; -_p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Private p_botMasMen As Panel"; -_p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Private l_cajas As Label"; -_l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Private l_piezas As Label"; -_l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 442;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 443;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 444;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 445;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 446;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 447;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 448;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 449;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 450;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 451;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 452;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 453;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); - }; - //BA.debugLineNum = 455;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; -_l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); - //BA.debugLineNum = 458;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; -_l_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 459;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; -_et_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 460;BA.debugLine="p_prods.Tag = l_pCant.tag"; -_p_prods.setTag(_l_pcant.getTag()); - //BA.debugLineNum = 462;BA.debugLine="l_pCant.Text = inv"; -_l_pcant.setText(BA.ObjectToCharSequence(_inv)); - //BA.debugLineNum = 466;BA.debugLine="l_pCant.BringToFront"; -_l_pcant.BringToFront(); - //BA.debugLineNum = 467;BA.debugLine="et_pCant.SendToBack"; -_et_pcant.SendToBack(); - //BA.debugLineNum = 468;BA.debugLine="p_botMasMenC.Visible = False"; -_p_botmasmenc.setVisible(__c.False); - //BA.debugLineNum = 469;BA.debugLine="l_cajas.Visible = False"; -_l_cajas.setVisible(__c.False); - //BA.debugLineNum = 471;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 = 472;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,String _clienterecha,String _bandera,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 474;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; - //BA.debugLineNum = 475;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 476;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 477;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 478;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 479;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 480;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 481;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 482;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 483;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 485;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 486;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); - }; - //BA.debugLineNum = 488;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; -_l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); - //BA.debugLineNum = 490;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; -_l_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 491;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; -_et_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+_clienterecha+"|"+_bandera+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 492;BA.debugLine="p_prods.Tag = l_pCantC.tag"; -_p_prods.setTag(_l_pcantc.getTag()); - //BA.debugLineNum = 494;BA.debugLine="l_pCantC.Text = NumberFormat2(inv/Subs.traeConver"; -_l_pcantc.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_prodid))),(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 498;BA.debugLine="l_pCantC.BringToFront"; -_l_pcantc.BringToFront(); - //BA.debugLineNum = 499;BA.debugLine="et_pCantC.SendToBack"; -_et_pcantc.SendToBack(); - //BA.debugLineNum = 500;BA.debugLine="p_botMasMen.Visible = False"; -_p_botmasmen.setVisible(__c.False); - //BA.debugLineNum = 501;BA.debugLine="l_piezas.Visible = False"; -_l_piezas.setVisible(__c.False); - //BA.debugLineNum = 503;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 = 504;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods(String _accion) throws Exception{ - //BA.debugLineNum = 751;BA.debugLine="Sub cuentaProds(accion As String)"; - //BA.debugLineNum = 913;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 312;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 315;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 51;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 52;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return null; -} -public String _l_pcant_click() throws Exception{ - //BA.debugLineNum = 920;BA.debugLine="Private Sub l_pCant_Click"; - //BA.debugLineNum = 922;BA.debugLine="End Sub"; -return ""; -} -public String _l_pcantc_click() throws Exception{ - //BA.debugLineNum = 1052;BA.debugLine="Private Sub l_pCantC_Click"; - //BA.debugLineNum = 1054;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 329;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 373;BA.debugLine="End Sub"; -return ""; -} -public String _lv2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 375;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; - //BA.debugLineNum = 436;BA.debugLine="End Sub"; -return ""; -} -public String _p_prods_click() throws Exception{ - //BA.debugLineNum = 924;BA.debugLine="Sub p_prods_Click"; - //BA.debugLineNum = 925;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("357933825",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); - //BA.debugLineNum = 926;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/reparto_mazapa/keymon/lat/c_foto.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java deleted file mode 100644 index 5bf257f..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_foto.java +++ /dev/null @@ -1,388 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_foto 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, "reparto_mazapa.keymon.lat.c_foto"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.c_foto.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 boolean _frontcamera = false; -public anywheresoftware.b4a.gps.GPS _g = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; -public reparto_mazapa.keymon.lat.cameraexclass _camex = null; -public anywheresoftware.b4a.objects.ButtonWrapper _btntakepicture = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public String _cuenta = ""; -public String _lat_gps = ""; -public String _usuario = ""; -public String _motivo = ""; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 43;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 45;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 35;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 36;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(reparto_mazapa.keymon.lat.c_foto parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_foto 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 = 157;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 159;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 160;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 23;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 25;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 26;BA.debugLine="Root.LoadLayout(\"foto\")"; -_root.LoadLayout("foto",ba); - //BA.debugLineNum = 27;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; -_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 cuenta from cuentaa"))); - //BA.debugLineNum = 28;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 29;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _btneffect_click() throws Exception{ -anywheresoftware.b4a.objects.collections.List _effects = null; -String _effect = ""; - //BA.debugLineNum = 116;BA.debugLine="Sub btnEffect_Click"; - //BA.debugLineNum = 117;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; -_effects = new anywheresoftware.b4a.objects.collections.List(); -_effects = _camex._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 118;BA.debugLine="If effects.IsInitialized = False Then"; -if (_effects.IsInitialized()==__c.False) { - //BA.debugLineNum = 119;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Effects not supported."),__c.False); - //BA.debugLineNum = 120;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 122;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; -_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(_camex._getcoloreffect /*String*/ ()))+1)%_effects.getSize()))); - //BA.debugLineNum = 123;BA.debugLine="camEx.SetColorEffect(effect)"; -_camex._setcoloreffect /*String*/ (_effect); - //BA.debugLineNum = 124;BA.debugLine="ToastMessageShow(effect, False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_effect),__c.False); - //BA.debugLineNum = 125;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 126;BA.debugLine="End Sub"; -return ""; -} -public String _btnflash_click() throws Exception{ -float[] _f = null; -anywheresoftware.b4a.objects.collections.List _flashmodes = null; -String _flash = ""; - //BA.debugLineNum = 128;BA.debugLine="Sub btnFlash_Click"; - //BA.debugLineNum = 129;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; -_f = _camex._getfocusdistances /*float[]*/ (); - //BA.debugLineNum = 130;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; -__c.LogImpl("359113474",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); - //BA.debugLineNum = 131;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; -_flashmodes = new anywheresoftware.b4a.objects.collections.List(); -_flashmodes = _camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 132;BA.debugLine="If flashModes.IsInitialized = False Then"; -if (_flashmodes.IsInitialized()==__c.False) { - //BA.debugLineNum = 133;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Flash not supported."),__c.False); - //BA.debugLineNum = 134;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 136;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; -_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(_camex._getflashmode /*String*/ ()))+1)%_flashmodes.getSize()))); - //BA.debugLineNum = 137;BA.debugLine="camEx.SetFlashMode(flash)"; -_camex._setflashmode /*String*/ (_flash); - //BA.debugLineNum = 138;BA.debugLine="ToastMessageShow(flash, False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_flash),__c.False); - //BA.debugLineNum = 139;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 140;BA.debugLine="End Sub"; -return ""; -} -public String _btnfocus_click() throws Exception{ - //BA.debugLineNum = 72;BA.debugLine="Sub btnFocus_Click"; - //BA.debugLineNum = 73;BA.debugLine="camEx.FocusAndTakePicture"; -_camex._focusandtakepicture /*String*/ (); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; -return ""; -} -public String _btnpicturesize_click() throws Exception{ -reparto_mazapa.keymon.lat.cameraexclass._camerasize[] _picturesizes = null; -reparto_mazapa.keymon.lat.cameraexclass._camerasize _current = null; -int _i = 0; -reparto_mazapa.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 142;BA.debugLine="Sub btnPictureSize_Click"; - //BA.debugLineNum = 143;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; -_picturesizes = _camex._getsupportedpicturessizes /*reparto_mazapa.keymon.lat.cameraexclass._camerasize[]*/ (); - //BA.debugLineNum = 144;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; -_current = _camex._getpicturesize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ (); - //BA.debugLineNum = 145;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_picturesizes.length /*int*/ -1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 146;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; -if (_picturesizes[_i].Width /*int*/ ==_current.Width /*int*/ && _picturesizes[_i].Height /*int*/ ==_current.Height /*int*/ ) { -if (true) break;}; - } -}; - //BA.debugLineNum = 148;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; -_ps = _picturesizes[(int) ((_i+1)%_picturesizes.length /*int*/ )]; - //BA.debugLineNum = 149;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -_camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 150;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; -__c.ToastMessageShow(BA.ObjectToCharSequence(BA.NumberToString(_ps.Width /*int*/ )+"x"+BA.NumberToString(_ps.Height /*int*/ )+BA.NumberToString(_i)),__c.False); - //BA.debugLineNum = 151;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 152;BA.debugLine="End Sub"; -return ""; -} -public String _btntakepicture_click() throws Exception{ -reparto_mazapa.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 62;BA.debugLine="Sub btnTakePicture_Click"; - //BA.debugLineNum = 63;BA.debugLine="Dim ps As CameraSize"; -_ps = new reparto_mazapa.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 64;BA.debugLine="ps.Width =640"; -_ps.Width /*int*/ = (int) (640); - //BA.debugLineNum = 65;BA.debugLine="ps.Height =480"; -_ps.Height /*int*/ = (int) (480); - //BA.debugLineNum = 66;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -_camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 68;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 69;BA.debugLine="camEx.TakePicture"; -_camex._takepicture /*String*/ (); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_picturetaken(byte[] _data) throws Exception{ -String _filename = ""; -String _dir = ""; -String _sdate = ""; -String _stime = ""; -int _i = 0; - //BA.debugLineNum = 76;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 77;BA.debugLine="Dim filename As String = \"1.jpg\""; -_filename = "1.jpg"; - //BA.debugLineNum = 78;BA.debugLine="Dim dir As String = File.DirInternal"; -_dir = __c.File.getDirInternal(); - //BA.debugLineNum = 80;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; -_camex._savepicturetofile /*String*/ (_data,_dir,_filename); - //BA.debugLineNum = 81;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 83;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 84;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 85;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 86;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 87;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -_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 CUENTA from cuentaa"))); - //BA.debugLineNum = 88;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 89;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 90;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; -_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 = 91;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 92;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 93;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 94;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); - //BA.debugLineNum = 95;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; -_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 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 = 96;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 97;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step19 = 1; -final int limit19 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 98;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 99;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("HVD_PRONOMBRE")})); - //BA.debugLineNum = 100;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("HVD_CANT")),(Object)(_c.GetString("HVD_PRONOMBRE"))})); - } -}; - }; - //BA.debugLineNum = 104;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)("CERRADO"),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._noventa /*reparto_mazapa.keymon.lat.c_noventa*/ ._comentario /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_data)})); - //BA.debugLineNum = 105;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+__c.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 106;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 107;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 108;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; - //BA.debugLineNum = 52;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 53;BA.debugLine="camEx.SetJpegQuality(90)"; -_camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 54;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 55;BA.debugLine="camEx.StartPreview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 56;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("358720261",BA.ObjectToString(_camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0); - }else { - //BA.debugLineNum = 58;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); - }; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public String _changecamera_click() throws Exception{ - //BA.debugLineNum = 110;BA.debugLine="Sub ChangeCamera_Click"; - //BA.debugLineNum = 111;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - //BA.debugLineNum = 112;BA.debugLine="frontCamera = Not(frontCamera)"; -_frontcamera = __c.Not(_frontcamera); - //BA.debugLineNum = 113;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 114;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 frontCamera As Boolean = False"; -_frontcamera = __c.False; - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Private p_camara As Panel"; -_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private camEx As CameraExClass"; -_camex = new reparto_mazapa.keymon.lat.cameraexclass(); - //BA.debugLineNum = 8;BA.debugLine="Dim btnTakePicture As Button"; -_btntakepicture = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim cuenta As String"; -_cuenta = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim lat_gps As String"; -_lat_gps = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim USUARIO As String"; -_usuario = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim MOTIVO As String"; -_motivo = ""; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 47;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 18;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return null; -} -public String _initializecamera() throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Private Sub InitializeCamera"; - //BA.debugLineNum = 39;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; -_camex._initialize /*String*/ (ba,_p_camara,_frontcamera,this,"Camera1"); - //BA.debugLineNum = 40;BA.debugLine="frontCamera = camEx.Front"; -_frontcamera = _camex._front /*boolean*/ ; - //BA.debugLineNum = 41;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/reparto_mazapa/keymon/lat/c_historico.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java deleted file mode 100644 index 37af425..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_historico.java +++ /dev/null @@ -1,917 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_historico"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 anywheresoftware.b4a.objects.ButtonWrapper _b_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 _b_borra = null; -public String _existe = ""; -public String _result = ""; -public String _cuantos = ""; -public String _nombre_prod = ""; -public String _cuantos_pedido = ""; -public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; -public anywheresoftware.b4a.objects.PanelWrapper _p1 = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv2 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public b4a.example3.customlistview _clv_pedido = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; -public boolean _etcanthasfocus = false; -public int _totalprods = 0; -public int _totalcompra = 0; -public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; -public boolean _reconstruirpedido = false; -public String _promoaborrar = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 593;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 595;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 _maxprods = ""; -anywheresoftware.b4a.objects.collections.Map _cym = null; - //BA.debugLineNum = 384;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 385;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 387;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("360030979","b_prodMas_Click",__c.Colors.Magenta); - //BA.debugLineNum = 388;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 389;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 390;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 391;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 395;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 396;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("360030988","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 397;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 399;BA.debugLine="Private maxProds as string = esteTag.Get(1) + est"; -_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); - //BA.debugLineNum = 401;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("360030993",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 403;BA.debugLine="If laCant.Text + 1 <= maxProds Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 404;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("360030996",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 405;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 = 406;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - //BA.debugLineNum = 407;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; -_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 408;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_"; -_cym = new anywheresoftware.b4a.objects.collections.Map(); -_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_clv_pedido); - //BA.debugLineNum = 409;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 410;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - }; - //BA.debugLineNum = 427;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.collections.List _estetag = null; -float _preciou = 0f; -anywheresoftware.b4a.objects.collections.Map _cym = null; - //BA.debugLineNum = 341;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 342;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 343;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("359965442","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 344;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("359965443","b_prodMenos_Click",__c.Colors.Magenta); - //BA.debugLineNum = 345;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 346;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 347;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 348;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 350;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 351;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("359965450","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 352;BA.debugLine="If esteTag.Get(3) <> \"1\" Then 'Si es PROMO entonc"; -if ((_estetag.Get((int) (3))).equals((Object)("1")) == false) { - //BA.debugLineNum = 353;BA.debugLine="Log(\"ES PROMO\")"; -__c.LogImpl("359965452","ES PROMO",0); - //BA.debugLineNum = 354;BA.debugLine="result = Msgbox2(\"Si se modifica una promoción,"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Si se modifica una promoción, la promoción se rompe y solo quedarán los productos sueltos, ¿seguro que desea continuar?"),BA.ObjectToCharSequence("Modificar Promoción"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 355;BA.debugLine="If result = DialogResponse.POSITIVE Then 'Quitam"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 356;BA.debugLine="prodsMap.Remove(esteTag.Get(3))"; -_prodsmap.Remove(_estetag.Get((int) (3))); - //BA.debugLineNum = 357;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 1 WHERE HVD_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"' and HVD_cliente in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 358;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_cliente in (Select CUENTA from cuentaa) AND HVD_CODPROMO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (3)))+"'")); - //BA.debugLineNum = 359;BA.debugLine="LogColor(prodsMap, Colors.red)"; -__c.LogImpl("359965458",BA.ObjectToString(_prodsmap),__c.Colors.Red); - //BA.debugLineNum = 360;BA.debugLine="reconstruirPedido = True"; -_reconstruirpedido = __c.True; - //BA.debugLineNum = 361;BA.debugLine="promoABorrar = esteTag.Get(3)"; -_promoaborrar = BA.ObjectToString(_estetag.Get((int) (3))); - //BA.debugLineNum = 362;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else { - //BA.debugLineNum = 365;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 366;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 = 367;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 368;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_estetag.Get((int) (2))})); - }; - //BA.debugLineNum = 370;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; -_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); - //BA.debugLineNum = 371;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("359965470","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 377;BA.debugLine="Subs.prodRechazo(esteTag.Get(5), esteTag.Get(2))"; -_subs._prodrechazo /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 378;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; -_cym = new anywheresoftware.b4a.objects.collections.Map(); -_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_clv_pedido); - //BA.debugLineNum = 379;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 380;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - //BA.debugLineNum = 382;BA.debugLine="End Sub"; -return ""; -} -public String _b_regresar_click() throws Exception{ - //BA.debugLineNum = 186;BA.debugLine="Sub b_regresar_Click"; - //BA.debugLineNum = 187;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 188;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _oc = null; -int _cant2 = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -int _bgcolor = 0; -int _textcolor = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; -int _cantco = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cco = null; -anywheresoftware.b4a.objects.collections.Map _cym = null; - //BA.debugLineNum = 59;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 61;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 65;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 66;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 67;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 68;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 69;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 70;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 72;BA.debugLine="c=Starter.skmt.ExecQuery(\"select hvd_num_registro"; -_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 hvd_num_registro, HVD_CLIENTE, HVD_PRONOMBRE, HVD_PROID, HVD_CANT, HVD_COSTO_TOT, HVD_CODPROMO from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 and hvd_cant > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 73;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 74;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 75;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 76;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; -_clv_pedido._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (_root.getWidth()-50),(int) (_root.getHeight()*0.62)); - //BA.debugLineNum = 77;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; -_clv_pedido._base_resize(_clv_pedido._getbase().getWidth(),_clv_pedido._getbase().getHeight()); - //BA.debugLineNum = 79;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 81;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step15 = 1; -final int limit15 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 82;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 84;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery($"; -_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_oc = (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 HVD_CANT from HIST_VENTAS2 WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); - //BA.debugLineNum = 85;BA.debugLine="Private cant2 As Int = 0"; -_cant2 = (int) (0); - //BA.debugLineNum = 86;BA.debugLine="If oc.RowCount > 0 Then"; -if (_oc.getRowCount()>0) { - //BA.debugLineNum = 87;BA.debugLine="oc.Position = 0"; -_oc.setPosition((int) (0)); - //BA.debugLineNum = 88;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; -_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); - }; - //BA.debugLineNum = 90;BA.debugLine="oc.Close"; -_oc.Close(); - //BA.debugLineNum = 91;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 92;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 93;BA.debugLine="label1.TextSize = 12"; -_label1.setTextSize((float) (12)); - //BA.debugLineNum = 94;BA.debugLine="label1.TextColor = Colors.black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 95;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 96;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 97;BA.debugLine="label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 98;BA.debugLine="label2.TextColor = Colors.black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 99;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 100;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; -_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 101;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 102;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> \"1\" Then"; -if ((_c.GetString("HVD_CODPROMO")).equals("1") == false) { - //BA.debugLineNum = 104;BA.debugLine="bgColor = Colors.White"; -_bgcolor = __c.Colors.White; - }; - //BA.debugLineNum = 108;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\"HVD_"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO")),(int)(Double.parseDouble(_c.GetString("HVD_CANT"))),(int) (0),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (50)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_subs._traecliente /*String*/ (ba)).getObject())),(Object)(_c.GetString("HVD_PRONOMBRE"))); - } -}; - }; - //BA.debugLineNum = 113;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery(\"se"; -_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (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 REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); - //BA.debugLineNum = 114;BA.debugLine="Log($\"VENTA: ${vc.RowCount}\"$)"; -__c.LogImpl("359506743",("VENTA: "+__c.SmartStringFormatter("",(Object)(_vc.getRowCount()))+""),0); - //BA.debugLineNum = 115;BA.debugLine="If vc.RowCount > 0 Then"; -if (_vc.getRowCount()>0) { - //BA.debugLineNum = 118;BA.debugLine="textColor = Colors.RGB(0,87,142)"; -_textcolor = __c.Colors.RGB((int) (0),(int) (87),(int) (142)); - //BA.debugLineNum = 119;BA.debugLine="For i=0 To vc.RowCount -1"; -{ -final int step45 = 1; -final int limit45 = (int) (_vc.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit45 ;_i = _i + step45 ) { - //BA.debugLineNum = 120;BA.debugLine="vc.Position = i"; -_vc.setPosition(_i); - //BA.debugLineNum = 121;BA.debugLine="Private cantCO As Int = 0"; -_cantco = (int) (0); - //BA.debugLineNum = 123;BA.debugLine="Private cco As Cursor = Starter.skmt.ExecQuery("; -_cco = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cco = (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 REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID='"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '1' and REP_CANT > 0")))); - //BA.debugLineNum = 125;BA.debugLine="If cco.RowCount > 0 Then"; -if (_cco.getRowCount()>0) { - //BA.debugLineNum = 126;BA.debugLine="cco.Position = 0"; -_cco.setPosition((int) (0)); - //BA.debugLineNum = 127;BA.debugLine="cantCO = cco.GetString(\"REP_CANT\") + vc.GetStr"; -_cantco = (int) ((double)(Double.parseDouble(_cco.GetString("REP_CANT")))+(double)(Double.parseDouble(_vc.GetString("REP_CANT")))); - }; - //BA.debugLineNum = 129;BA.debugLine="cantCO = Subs.traeCantidadRechazada(vc.GetStrin"; -_cantco = _subs._traecantidadrechazada /*int*/ (ba,_vc.GetString("REP_CLI_ORIG"),_vc.GetString("REP_PRODID")); - //BA.debugLineNum = 132;BA.debugLine="clv_pedido.Add(CreateListItem(vc.GetString(\"REP"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_vc.GetString("REP_PRONOMBRE"),_subs._traeprecio /*String*/ (ba,_vc.GetString("REP_PRODID"),_subs._traealmacen /*String*/ (ba)),(int)(Double.parseDouble(_vc.GetString("REP_CANT"))),_cantco,_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (50)),_bmp,_vc.GetString("REP_PRODID"),_bgcolor,_textcolor,BA.NumberToString(1),_vc.GetString("REP_CLI_ORIG")).getObject())),(Object)(_vc.GetString("REP_PRONOMBRE"))); - } -}; - //BA.debugLineNum = 134;BA.debugLine="cco.Close"; -_cco.Close(); - //BA.debugLineNum = 135;BA.debugLine="vc.Close"; -_vc.Close(); - }; - //BA.debugLineNum = 138;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 139;BA.debugLine="c = Starter.skmt.ExecQuery(\"select SUM(HVD_CANT)"; -_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 SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 140;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 141;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 142;BA.debugLine="L_TOTAL.Text = Round2(c.GetString(\"PC_MONTO\"), 2"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_c.GetString("PC_MONTO"))),(int) (2)))); - }; - //BA.debugLineNum = 144;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 145;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 146;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 147;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 150;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 168;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 169;BA.debugLine="c=Starter.skmt.ExecQuery(\"select SUM(PE_CANT) AS"; -_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 SUM(PE_CANT) AS PE_CANT, SUM(PE_COSTO_TOT) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 170;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 171;BA.debugLine="L_CANT.Text = L_CANT.Text + c.GetString(\"PE_CANT"; -_l_cant.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_l_cant.getText()))+(double)(Double.parseDouble(_c.GetString("PE_CANT"))))); - //BA.debugLineNum = 172;BA.debugLine="L_TOTAL.Text = Round2(L_TOTAL.Text + c.GetStrin"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_total.getText()))+(double)(Double.parseDouble(_c.GetString("PE_COSTO_TOT"))),(int) (2)))); - }; - //BA.debugLineNum = 176;BA.debugLine="Private cym As Map = Subs.traemosCantYMonto(clv_p"; -_cym = new anywheresoftware.b4a.objects.collections.Map(); -_cym = _subs._traemoscantymonto /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_clv_pedido); - //BA.debugLineNum = 177;BA.debugLine="L_CANT.Text = cym.Get(\"cantidad\")"; -_l_cant.setText(BA.ObjectToCharSequence(_cym.Get((Object)("cantidad")))); - //BA.debugLineNum = 178;BA.debugLine="L_TOTAL.Text = Round2(cym.Get(\"monto\"), 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(BA.ObjectToNumber(_cym.Get((Object)("monto")))),(int) (2)))); - //BA.debugLineNum = 179;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(reparto_mazapa.keymon.lat.c_historico parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 193;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 195;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 196;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 48;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 49;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 51;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 52;BA.debugLine="Root.LoadLayout(\"historico\")"; -_root.LoadLayout("historico",ba); - //BA.debugLineNum = 53;BA.debugLine="b_borra.Visible = False"; -_b_borra.setVisible(__c.False); - //BA.debugLineNum = 54;BA.debugLine="Titulo.Text = \"Pedido\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido")); - //BA.debugLineNum = 55;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 g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; -_b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; -_b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; -_existe = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; -_result = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; -_cuantos = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; -_nombre_prod = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; -_cuantos_pedido = ""; - //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; -_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; -_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; -_lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; -_clv_pedido = new b4a.example3.customlistview(); - //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; -_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; -_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; -_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; -_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; -_totalprods = (int) (0); - //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; -_totalcompra = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; -_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; -_reconstruirpedido = __c.False; - //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; -_promoaborrar = ""; - //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; -_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; -_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; -_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 311;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 312;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 313;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 314;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 315;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 316;BA.debugLine="p.LoadLayout(\"prodItem\")"; -_p.LoadLayout("prodItem",ba); - //BA.debugLineNum = 317;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 318;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 319;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 320;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 321;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 322;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); - }; - //BA.debugLineNum = 324;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; -_l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); - //BA.debugLineNum = 326;BA.debugLine="l_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prodI"; -_l_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); - //BA.debugLineNum = 327;BA.debugLine="et_pCant.Tag = Round2(precioU,2)&\"|\"&inv&\"|\"&prod"; -_et_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou)),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original)); - //BA.debugLineNum = 328;BA.debugLine="p_prods.Tag = l_pCant.tag"; -_p_prods.setTag(_l_pcant.getTag()); - //BA.debugLineNum = 330;BA.debugLine="l_pCant.Text = inv"; -_l_pcant.setText(BA.ObjectToCharSequence(_inv)); - //BA.debugLineNum = 334;BA.debugLine="l_pCant.BringToFront"; -_l_pcant.BringToFront(); - //BA.debugLineNum = 335;BA.debugLine="et_pCant.SendToBack"; -_et_pcant.SendToBack(); - //BA.debugLineNum = 338;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 = 339;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods(String _accion) throws Exception{ -int _cantrechazada = 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; -String _esteprod = ""; -int _estacant = 0; -int _estacantoriginal = 0; -String _estecliente = ""; -String _esteprodnombre = ""; -int _esteclienteoriginal = 0; -String _fechareparto = ""; -String _maxprods = ""; -String _esteprecio = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rr = null; -anywheresoftware.b4a.objects.collections.Map _m = null; -int _bgcolor = 0; -int _textcolor = 0; -String _newpromo = ""; -String _newprecio = ""; -String _pr = ""; -anywheresoftware.b4a.objects.collections.Map _pr1 = null; -String _cantidad1 = ""; -String _totalfinal = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; -String _cantidady = ""; -String _preciou = ""; -String _costototalhist = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _z = null; -String _cantidad2 = ""; - //BA.debugLineNum = 429;BA.debugLine="Sub cuentaProds(accion As String)"; - //BA.debugLineNum = 431;BA.debugLine="Log(\"*********************************************"; -__c.LogImpl("360096514","*******************************************************",0); - //BA.debugLineNum = 432;BA.debugLine="Private cantRechazada As Int = 0"; -_cantrechazada = (int) (0); - //BA.debugLineNum = 433;BA.debugLine="If Not(reconstruirPedido) Then"; -if (__c.Not(_reconstruirpedido)) { - //BA.debugLineNum = 434;BA.debugLine="Log(\"*********** CUENTAPRODS - NO RECONSTRUIR\")"; -__c.LogImpl("360096517","*********** CUENTAPRODS - NO RECONSTRUIR",0); - //BA.debugLineNum = 435;BA.debugLine="prodsMap.Initialize"; -_prodsmap.Initialize(); - //BA.debugLineNum = 436;BA.debugLine="For i = 0 To clv_pedido.GetSize - 1"; -{ -final int step6 = 1; -final int limit6 = (int) (_clv_pedido._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 437;BA.debugLine="Private p0 As B4XView = clv_pedido.GetPanel(i)"; -_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_pedido._getpanel(_i); - //BA.debugLineNum = 438;BA.debugLine="Private p As B4XView = p0.GetView(0)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _p0.GetView((int) (0)); - //BA.debugLineNum = 439;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView"; -_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_cant1 = _p.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 440;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; -if ((_cant1.getText()).equals("")) { -_cant1.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 442;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; -_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="Log(\"-------------------------------------\")"; -__c.LogImpl("360096526","-------------------------------------",0); - //BA.debugLineNum = 444;BA.debugLine="Log($\"ET: ${esteTag}\"$)"; -__c.LogImpl("360096527",("ET: "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),0); - //BA.debugLineNum = 445;BA.debugLine="Private esteProd As String = esteTag.Get(2)"; -_esteprod = BA.ObjectToString(_estetag.Get((int) (2))); - //BA.debugLineNum = 446;BA.debugLine="Private estaCant As Int = cant1.Text"; -_estacant = (int)(Double.parseDouble(_cant1.getText())); - //BA.debugLineNum = 447;BA.debugLine="Private estaCantOriginal As Int = esteTag.Get(1"; -_estacantoriginal = (int)(BA.ObjectToNumber(_estetag.Get((int) (1)))); - //BA.debugLineNum = 448;BA.debugLine="Private esteCliente = Subs.traeCliente"; -_estecliente = _subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 449;BA.debugLine="Private esteProdNombre = Subs.traeNombre(estePr"; -_esteprodnombre = _subs._traenombre /*String*/ (ba,_esteprod); - //BA.debugLineNum = 450;BA.debugLine="Private esteClienteOriginal As Int = esteTag.Ge"; -_esteclienteoriginal = (int)(BA.ObjectToNumber(_estetag.Get((int) (5)))); - //BA.debugLineNum = 451;BA.debugLine="Private fechaReparto As String = Subs.traeFecha"; -_fechareparto = _subs._traefechareparto /*String*/ (ba); - //BA.debugLineNum = 452;BA.debugLine="Private maxProds = Subs.traeMaxCantidad(esteTag"; -_maxprods = BA.NumberToString(_subs._traemaxcantidad /*int*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2))))); - //BA.debugLineNum = 454;BA.debugLine="If cant1.Text > maxProds Then cant1.Text = maxP"; -if ((double)(Double.parseDouble(_cant1.getText()))>(double)(Double.parseDouble(_maxprods))) { -_cant1.setText(BA.ObjectToCharSequence(_maxprods));}; - //BA.debugLineNum = 456;BA.debugLine="cantRechazada = esteTag.Get(4) - cant1.Text"; -_cantrechazada = (int) ((double)(BA.ObjectToNumber(_estetag.Get((int) (4))))-(double)(Double.parseDouble(_cant1.getText()))); - //BA.debugLineNum = 459;BA.debugLine="Log($\"${Subs.traeCantidadRechazada(esteClienteO"; -__c.LogImpl("360096542",(""+__c.SmartStringFormatter("",(Object)(_subs._traecantidadrechazada /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traecantidadvendida /*int*/ (ba,BA.NumberToString(_esteclienteoriginal),_esteprod)))+""),0); - //BA.debugLineNum = 462;BA.debugLine="LogColor($\"cantRechazada = ${cantRechazada}\"$,"; -__c.LogImpl("360096545",("cantRechazada = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),__c.Colors.Magenta); - //BA.debugLineNum = 463;BA.debugLine="Private estePrecio As String = 0"; -_esteprecio = BA.NumberToString(0); - //BA.debugLineNum = 464;BA.debugLine="If Subs.traePrecio(esteProd, 1) <> Null Then es"; -if (_subs._traeprecio /*String*/ (ba,_esteprod,BA.NumberToString(1))!= null) { -_esteprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*String*/ (ba,_esteprod,_subs._traealmacen /*String*/ (ba))))*_cantrechazada);}; - //BA.debugLineNum = 469;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = ? WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cant1.getText(),_esteprod})); - //BA.debugLineNum = 470;BA.debugLine="Private rr As Cursor = Starter.skmt.ExecQuery($"; -_rr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rr = (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 count(REP_CLIENTE) as hayRechazo from REPARTO where rep_prodid = '"+__c.SmartStringFormatter("",(Object)(_esteprod))+"' and REP_CLIENTE in (Select CUENTA from cuentaa)")))); - //BA.debugLineNum = 471;BA.debugLine="rr.Position = 0"; -_rr.setPosition((int) (0)); - //BA.debugLineNum = 473;BA.debugLine="If rr.GetString(\"hayRechazo\") = 0 Then"; -if ((_rr.GetString("hayRechazo")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 474;BA.debugLine="Log(\"INSERTAMOS EN REPARTO\")"; -__c.LogImpl("360096557","INSERTAMOS EN REPARTO",0); - //BA.debugLineNum = 475;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_estecliente,_esteprodnombre,BA.NumberToString(0),_esteprecio,_fechareparto,_esteprod,_esteprecio,_estecliente})); - //BA.debugLineNum = 476;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repart"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_estecliente,_esteprodnombre,BA.NumberToString(_cantrechazada),BA.NumberToString(0),_fechareparto,_esteprod,_esteprecio,_estecliente})); - }else if(_esteclienteoriginal==(double)(Double.parseDouble("0"))) { - }else { - //BA.debugLineNum = 481;BA.debugLine="Log($\"Actualizamos REP_CANT RECHAZO = ${cantRe"; -__c.LogImpl("360096564",("Actualizamos REP_CANT RECHAZO = "+__c.SmartStringFormatter("",(Object)(_cantrechazada))+""),0); - }; - //BA.debugLineNum = 486;BA.debugLine="If cant1.Text > 0 Then"; -if ((double)(Double.parseDouble(_cant1.getText()))>0) { - //BA.debugLineNum = 489;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 490;BA.debugLine="m=CreateMap(\"cant\":cant1.Text, \"cant2\":esteTag"; -_m = __c.createMap(new Object[] {(Object)("cant"),(Object)(_cant1.getText()),(Object)("cant2"),_estetag.Get((int) (4)),(Object)("precio"),_estetag.Get((int) (0)),(Object)("promo"),_estetag.Get((int) (3)),(Object)("nombre"),(Object)(_subs._traenombre /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))),(Object)("cli_orig"),_estetag.Get((int) (5))}); - //BA.debugLineNum = 492;BA.debugLine="prodsMap.Put(esteTag.Get(2), m)"; -_prodsmap.Put(_estetag.Get((int) (2)),(Object)(_m.getObject())); - }; - //BA.debugLineNum = 494;BA.debugLine="Log(\"-------------------------------------\")"; -__c.LogImpl("360096577","-------------------------------------",0); - } -}; - }; - //BA.debugLineNum = 497;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 499;BA.debugLine="If reconstruirPedido Then"; -if (_reconstruirpedido) { - //BA.debugLineNum = 500;BA.debugLine="Log(\"*********** CUENTAPRODS - SI RECONSTRUIR\")"; -__c.LogImpl("360096583","*********** CUENTAPRODS - SI RECONSTRUIR",0); - //BA.debugLineNum = 501;BA.debugLine="Private newPromo, newPrecio As String"; -_newpromo = ""; -_newprecio = ""; - //BA.debugLineNum = 502;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 503;BA.debugLine="Log(\"Usamos PRODSMAP\")"; -__c.LogImpl("360096586","Usamos PRODSMAP",0); - //BA.debugLineNum = 504;BA.debugLine="For Each pr As String In prodsMap.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group53 = _prodsmap.Keys(); -final int groupLen53 = group53.getSize() -;int index53 = 0; -; -for (; index53 < groupLen53;index53++){ -_pr = BA.ObjectToString(group53.Get(index53)); - //BA.debugLineNum = 505;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; -_pr1 = new anywheresoftware.b4a.objects.collections.Map(); -_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_pr)))); - //BA.debugLineNum = 506;BA.debugLine="Log(\"PPP: \" & pr & \"|PromoABorrar=\" & promoABor"; -__c.LogImpl("360096589","PPP: "+_pr+"|PromoABorrar="+_promoaborrar+"|"+BA.ObjectToString(_pr1),0); - //BA.debugLineNum = 507;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; -_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 508;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 509;BA.debugLine="newPromo = pr1.Get(\"promo\")"; -_newpromo = BA.ObjectToString(_pr1.Get((Object)("promo"))); - //BA.debugLineNum = 510;BA.debugLine="newPrecio = pr1.Get(\"precio\")"; -_newprecio = BA.ObjectToString(_pr1.Get((Object)("precio"))); - //BA.debugLineNum = 511;BA.debugLine="Log(\"AAA: \" & newPromo & \"|\" & promoABorrar)"; -__c.LogImpl("360096594","AAA: "+_newpromo+"|"+_promoaborrar,0); - //BA.debugLineNum = 512;BA.debugLine="If newPromo = promoABorrar Then"; -if ((_newpromo).equals(_promoaborrar)) { - //BA.debugLineNum = 513;BA.debugLine="newPromo = 1"; -_newpromo = BA.NumberToString(1); - //BA.debugLineNum = 514;BA.debugLine="newPrecio = Subs.traePrecio(pr, False) * pr1.G"; -_newprecio = BA.NumberToString((double)(Double.parseDouble(_subs._traeprecio /*String*/ (ba,_pr,BA.ObjectToString(__c.False))))*(double)(BA.ObjectToNumber(_pr1.Get((Object)("cant"))))); - //BA.debugLineNum = 516;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_COSTO_TOT = "+__c.SmartStringFormatter("",(Object)(_newprecio))+", HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' WHERE HVD_PRONOMBRE = '"+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+"' and HVD_cliente in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 517;BA.debugLine="LogColor(\"CAMBIAMOS PROMO: \" & newPromo, Color"; -__c.LogImpl("360096600","CAMBIAMOS PROMO: "+_newpromo,__c.Colors.Magenta); - }; - //BA.debugLineNum = 519;BA.debugLine="If newPromo <> \"1\" Then"; -if ((_newpromo).equals("1") == false) { - //BA.debugLineNum = 521;BA.debugLine="bgColor = Colors.White"; -_bgcolor = __c.Colors.White; - }; - //BA.debugLineNum = 523;BA.debugLine="Log($\"CLI: ${pr1.Get(\"nombre\")}, ${newPrecio},"; -__c.LogImpl("360096606",("CLI: "+__c.SmartStringFormatter("",_pr1.Get((Object)("nombre")))+", "+__c.SmartStringFormatter("",(Object)(_newprecio))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant")))+", "+__c.SmartStringFormatter("",_pr1.Get((Object)("cant2")))+""),0); - //BA.debugLineNum = 524;BA.debugLine="clv_pedido.Add(CreateListItem(pr1.Get(\"nombre\")"; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(BA.ObjectToString(_pr1.Get((Object)("nombre"))),_newprecio,(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant")))),(int)(BA.ObjectToNumber(_pr1.Get((Object)("cant2")))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (50)),_bmp,_pr,_bgcolor,_textcolor,_newpromo,BA.ObjectToString(_pr1.Get((Object)("cli_orig")))).getObject())),_pr1.Get((Object)("nombre"))); - //BA.debugLineNum = 525;BA.debugLine="reconstruirPedido = False"; -_reconstruirpedido = __c.False; - } -}; - //BA.debugLineNum = 527;BA.debugLine="promoABorrar = \"\""; -_promoaborrar = ""; - }; - //BA.debugLineNum = 529;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; -__c.LogImpl("360096612",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); - //BA.debugLineNum = 530;BA.debugLine="LogColor(\"prodsMap=\" & prodsMap, Colors.Green)"; -__c.LogImpl("360096613","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Green); - //BA.debugLineNum = 533;BA.debugLine="LogColor(prodsMap, Colors.Blue)"; -__c.LogImpl("360096616",BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 534;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT sum(HVD_CANT)"; -_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 sum(HVD_CANT) as CANTIDAD FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 535;BA.debugLine="Dim cantidad1 As String = 0"; -_cantidad1 = BA.NumberToString(0); - //BA.debugLineNum = 536;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 537;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 538;BA.debugLine="cantidad1 = c.GetString(\"CANTIDAD\")"; -_cantidad1 = _c.GetString("CANTIDAD"); - //BA.debugLineNum = 539;BA.debugLine="L_CANT.Text = Round(cantidad1)"; -_l_cant.setText(BA.ObjectToCharSequence(__c.Round((double)(Double.parseDouble(_cantidad1))))); - }; - //BA.debugLineNum = 541;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 543;BA.debugLine="Dim totalfinal As String = 0"; -_totalfinal = BA.NumberToString(0); - //BA.debugLineNum = 544;BA.debugLine="For Each pr As String In prodsMap.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group88 = _prodsmap.Keys(); -final int groupLen88 = group88.getSize() -;int index88 = 0; -; -for (; index88 < groupLen88;index88++){ -_pr = BA.ObjectToString(group88.Get(index88)); - //BA.debugLineNum = 545;BA.debugLine="Private pr1 As Map = prodsMap.Get(pr)"; -_pr1 = new anywheresoftware.b4a.objects.collections.Map(); -_pr1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_pr)))); - //BA.debugLineNum = 547;BA.debugLine="Dim x As Cursor = Starter.skmt.ExecQuery($\"SELEC"; -_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_pr))+"'")))); - //BA.debugLineNum = 548;BA.debugLine="c = Starter.skmt.ExecQuery($\"SELECT HVD_CANT FRO"; -_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 HVD_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID ='"+__c.SmartStringFormatter("",(Object)(_pr))+"' ")))); - //BA.debugLineNum = 549;BA.debugLine="Dim cantidady As String = 0"; -_cantidady = BA.NumberToString(0); - //BA.debugLineNum = 550;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="cantidady = c.GetString(\"HVD_CANT\")"; -_cantidady = _c.GetString("HVD_CANT"); - }; - //BA.debugLineNum = 555;BA.debugLine="If x.RowCount > 0 Then"; -if (_x.getRowCount()>0) { - //BA.debugLineNum = 556;BA.debugLine="x.Position = 0"; -_x.setPosition((int) (0)); - //BA.debugLineNum = 558;BA.debugLine="Dim preciou As String = x.GetString(\"CAT_GP_PRE"; -_preciou = _x.GetString("CAT_GP_PRECIO"); - //BA.debugLineNum = 559;BA.debugLine="Dim costototalhist As String = preciou * canti"; -_costototalhist = BA.NumberToString((double)(Double.parseDouble(_preciou))*(double)(Double.parseDouble(_cantidady))); - }; - //BA.debugLineNum = 562;BA.debugLine="totalfinal = totalfinal + costototalhist"; -_totalfinal = BA.NumberToString((double)(Double.parseDouble(_totalfinal))+(double)(Double.parseDouble(_costototalhist))); - //BA.debugLineNum = 563;BA.debugLine="x.Close"; -_x.Close(); - } -}; - //BA.debugLineNum = 565;BA.debugLine="L_TOTAL.Text = Round2(totalfinal, 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_totalfinal)),(int) (2)))); - //BA.debugLineNum = 566;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 568;BA.debugLine="c = Starter.skmt.ExecQuery(\"select COUNT(*) AS CU"; -_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 COUNT(*) AS CUANTOS from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE"))); - //BA.debugLineNum = 569;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 570;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 571;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 573;BA.debugLine="Dim z As Cursor = Starter.skmt.ExecQuery($\"sele"; -_z = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_z = (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 SUM(REP_CANT) AS CANTIDAD , SUM(REP_PRECIO) AS PRECIO from REPARTO where REP_CLIENTE in (select cuenta from cuentaa) and REP_RECHAZO = '0' and REP_CANT > 0 order by REP_PRONOMBRE")))); - //BA.debugLineNum = 574;BA.debugLine="Dim cantidad2 As String = 0"; -_cantidad2 = BA.NumberToString(0); - //BA.debugLineNum = 576;BA.debugLine="If z.RowCount > 0 Then"; -if (_z.getRowCount()>0) { - //BA.debugLineNum = 577;BA.debugLine="z.Position = 0"; -_z.setPosition((int) (0)); - //BA.debugLineNum = 578;BA.debugLine="cantidad2= z.GetString(\"CANTIDAD\")"; -_cantidad2 = _z.GetString("CANTIDAD"); - //BA.debugLineNum = 581;BA.debugLine="L_CANT.Text = Round((cantidad1 + cantidad2))"; -_l_cant.setText(BA.ObjectToCharSequence(__c.Round(((double)(Double.parseDouble(_cantidad1))+(double)(Double.parseDouble(_cantidad2)))))); - }; - //BA.debugLineNum = 583;BA.debugLine="z.Close"; -_z.Close(); - }; - }; - //BA.debugLineNum = 591;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 181;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 184;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 43;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 44;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 45;BA.debugLine="End Sub"; -return null; -} -public String _l_pcant_click() throws Exception{ - //BA.debugLineNum = 598;BA.debugLine="Private Sub l_pCant_Click"; - //BA.debugLineNum = 600;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 198;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 242;BA.debugLine="End Sub"; -return ""; -} -public String _lv2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 244;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; - //BA.debugLineNum = 305;BA.debugLine="End Sub"; -return ""; -} -public String _p_prods_click() throws Exception{ - //BA.debugLineNum = 602;BA.debugLine="Sub p_prods_Click"; - //BA.debugLineNum = 603;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("360293121",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); - //BA.debugLineNum = 604;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/reparto_mazapa/keymon/lat/c_mapas.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_mapas.java deleted file mode 100644 index ed6755e..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_mapas.java +++ /dev/null @@ -1,74 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_mapas"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/c_noventa.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java deleted file mode 100644 index e4e1625..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_noventa.java +++ /dev/null @@ -1,685 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_noventa"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public String _comentario = ""; -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 anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_4 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 39;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 40;BA.debugLine="e_comm.Text=\"\""; -_e_comm.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 41;BA.debugLine="r_1.Checked = False"; -_r_1.setChecked(__c.False); - //BA.debugLineNum = 42;BA.debugLine="r_2.Checked = False"; -_r_2.setChecked(__c.False); - //BA.debugLineNum = 43;BA.debugLine="r_3.Checked = False"; -_r_3.setChecked(__c.False); - //BA.debugLineNum = 44;BA.debugLine="r_4.Checked = False"; -_r_4.setChecked(__c.False); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 29;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 30;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 32;BA.debugLine="Root.LoadLayout(\"no_venta\")"; -_root.LoadLayout("no_venta",ba); - //BA.debugLineNum = 33;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.SERVE"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public String _cancela_click() throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Sub CANCELA_Click"; - //BA.debugLineNum = 53;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 54;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 g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim COMENTARIO As String"; -_comentario = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim CANCELA As Button"; -_cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim GUARDA As Button"; -_guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim r_1 As RadioButton"; -_r_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim r_2 As RadioButton"; -_r_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim r_3 As RadioButton"; -_r_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim e_comm As EditText"; -_e_comm = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim motivo As String"; -_motivo = ""; - //BA.debugLineNum = 14;BA.debugLine="Dim cuenta As String"; -_cuenta = ""; - //BA.debugLineNum = 15;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 17;BA.debugLine="Dim r_4 As RadioButton"; -_r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 47;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public void _guarda_click() throws Exception{ -ResumableSub_GUARDA_Click rsub = new ResumableSub_GUARDA_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_GUARDA_Click extends BA.ResumableSub { -public ResumableSub_GUARDA_Click(reparto_mazapa.keymon.lat.c_noventa parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_noventa parent; -String _rutaactualizar = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; -String _estecliente = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rv = null; -int _i2 = 0; -int _i = 0; -String _ruta = ""; -String _rutapre = ""; -String _fechaprev = ""; -int _resultado = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _mandamapa = null; -int step36; -int limit36; -int step43; -int limit43; - -@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="If r_1.Checked = False And r_2.Checked = False An"; -if (true) break; - -case 1: -//if -this.state = 51; -if (parent._r_1.getChecked()==parent.__c.False && parent._r_2.getChecked()==parent.__c.False && parent._r_3.getChecked()==parent.__c.False && parent._r_4.getChecked()==parent.__c.False) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 51; - //BA.debugLineNum = 58;BA.debugLine="MsgboxAsync(\"Selecciona un motivo de rechazo\",\"A"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Selecciona un motivo de rechazo"),BA.ObjectToCharSequence("Atención"),ba); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 61;BA.debugLine="If r_1.Checked Then"; -if (true) break; - -case 6: -//if -this.state = 15; -if (parent._r_1.getChecked()) { -this.state = 8; -}else if(parent._r_2.getChecked()) { -this.state = 10; -}else if(parent._r_3.getChecked()) { -this.state = 12; -}else { -this.state = 14; -}if (true) break; - -case 8: -//C -this.state = 15; - //BA.debugLineNum = 62;BA.debugLine="motivo = \"CERRADO\""; -parent._motivo = "CERRADO"; - if (true) break; - -case 10: -//C -this.state = 15; - //BA.debugLineNum = 64;BA.debugLine="motivo = \"NO PIDIO\""; -parent._motivo = "NO PIDIO"; - if (true) break; - -case 12: -//C -this.state = 15; - //BA.debugLineNum = 66;BA.debugLine="motivo = \"CANCELA\""; -parent._motivo = "CANCELA"; - if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 68;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; -parent._motivo = "NO ESTA EL ENCARGADO"; - if (true) break; -; - //BA.debugLineNum = 71;BA.debugLine="If motivo <> \"CERRADO\" Or motivo = \"CERRADO\" Th"; - -case 15: -//if -this.state = 50; -if ((parent._motivo).equals("CERRADO") == false || (parent._motivo).equals("CERRADO")) { -this.state = 17; -}else { -this.state = 49; -}if (true) break; - -case 17: -//C -this.state = 18; - //BA.debugLineNum = 72;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 73;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -parent.__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 74;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 75;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 76;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cu"; -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 CUENTA from cuentaa"))); - //BA.debugLineNum = 77;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 78;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -parent._cuenta = parent._c.GetString("CUENTA"); - //BA.debugLineNum = 79;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from u"; -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 usuario from usuarioa"))); - //BA.debugLineNum = 80;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 81;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 82;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 83;BA.debugLine="Dim rutaactualizar As String"; -_rutaactualizar = ""; - //BA.debugLineNum = 84;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SEL"; -_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rut = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 85;BA.debugLine="If rut.RowCount > 0 Then"; -if (true) break; - -case 18: -//if -this.state = 21; -if (_rut.getRowCount()>0) { -this.state = 20; -}if (true) break; - -case 20: -//C -this.state = 21; - //BA.debugLineNum = 86;BA.debugLine="rut.Position = 0"; -_rut.setPosition((int) (0)); - //BA.debugLineNum = 87;BA.debugLine="rutaactualizar = rut.GetString(\"CAT_CL_RUTA\")"; -_rutaactualizar = _rut.GetString("CAT_CL_RUTA"); - if (true) break; - -case 21: -//C -this.state = 22; -; - //BA.debugLineNum = 91;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_NUM_REGIST"; -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 HVD_NUM_REGISTRO, HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA, HVD_PROID, CAT_GP_PRECIO from HIST_VENTAS2 join CAT_GUNAPROD on CAT_GP_ID = HVD_PROID WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 92;BA.debugLine="If c.RowCount > 0 Then 'Si hay pedido en HIST_"; -if (true) break; - -case 22: -//if -this.state = 37; -if (parent._c.getRowCount()>0) { -this.state = 24; -}if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 95;BA.debugLine="Private esteCliente As String = Subs.traeClien"; -_estecliente = parent._subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 96;BA.debugLine="Private rv As Cursor = Starter.skmt.ExecQuery("; -_rv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rv = (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 REPARTO where REP_CLIENTE = '"+parent.__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_CLI_ORIG <> '"+parent.__c.SmartStringFormatter("",(Object)(_estecliente))+"' and REP_RECHAZO = 0")))); - //BA.debugLineNum = 97;BA.debugLine="If rv.RowCount > 0 Then 'Si tenemos venta en e"; -if (true) break; - -case 25: -//if -this.state = 32; -if (_rv.getRowCount()>0) { -this.state = 27; -}if (true) break; - -case 27: -//C -this.state = 28; - //BA.debugLineNum = 98;BA.debugLine="For i2=0 To rv.RowCount - 1"; -if (true) break; - -case 28: -//for -this.state = 31; -step36 = 1; -limit36 = (int) (_rv.getRowCount()-1); -_i2 = (int) (0) ; -this.state = 52; -if (true) break; - -case 52: -//C -this.state = 31; -if ((step36 > 0 && _i2 <= limit36) || (step36 < 0 && _i2 >= limit36)) this.state = 30; -if (true) break; - -case 53: -//C -this.state = 52; -_i2 = ((int)(0 + _i2 + step36)) ; -if (true) break; - -case 30: -//C -this.state = 53; - //BA.debugLineNum = 99;BA.debugLine="rv.Position = i2"; -_rv.setPosition(_i2); - //BA.debugLineNum = 100;BA.debugLine="Log($\"Actualizamos REPARTO - cliente=${rv.Ge"; -parent.__c.LogImpl("351052588",("Actualizamos REPARTO - cliente="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLIENTE")))+", cliente orignal="+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+", le agregamos "+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+""),0); - //BA.debugLineNum = 101;BA.debugLine="Starter.skmt.ExecNonQuery($\"update REPARTO s"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update REPARTO set REP_CANT = REP_CANT + "+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CANT")))+" where REP_RECHAZO = '1' and REP_CLIENTE = '"+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"' and REP_CLI_ORIG = '"+parent.__c.SmartStringFormatter("",(Object)(_rv.GetString("REP_CLI_ORIG")))+"'")); - if (true) break; -if (true) break; - -case 31: -//C -this.state = 32; -; - if (true) break; - -case 32: -//C -this.state = 33; -; - //BA.debugLineNum = 105;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from reparto"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from reparto where REP_CLIENTE IN (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 106;BA.debugLine="For i=0 To c.RowCount - 1 'Insertamos los prod"; -if (true) break; - -case 33: -//for -this.state = 36; -step43 = 1; -limit43 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 54; -if (true) break; - -case 54: -//C -this.state = 36; -if ((step43 > 0 && _i <= limit43) || (step43 < 0 && _i >= limit43)) this.state = 35; -if (true) break; - -case 55: -//C -this.state = 54; -_i = ((int)(0 + _i + step43)) ; -if (true) break; - -case 35: -//C -this.state = 55; - //BA.debugLineNum = 107;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 108;BA.debugLine="Log($\"REGISTRO= ${c.GetString(\"HVD_NUM_REGIST"; -parent.__c.LogImpl("351052596",("REGISTRO= "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_NUM_REGISTRO")))+""),0); - //BA.debugLineNum = 109;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PRONOMBRE"),parent._c.GetString("HVD_CANT"),parent._c.GetString("HVD_COSTO_TOT"),parent._c.GetString("HVD_FECHA"),parent._c.GetString("HVD_PROID"),parent._c.GetString("CAT_GP_PRECIO"),parent._c.GetString("HVD_NUM_REGISTRO"),parent._c.GetString("HVD_CLIENTE")})); - //BA.debugLineNum = 110;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into repar"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_PRODREGISTRO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PRONOMBRE"),BA.NumberToString(0),parent._c.GetString("HVD_COSTO_TOT"),parent._c.GetString("HVD_FECHA"),parent._c.GetString("HVD_PROID"),parent._c.GetString("CAT_GP_PRECIO"),parent._c.GetString("HVD_NUM_REGISTRO"),parent._c.GetString("HVD_CLIENTE")})); - //BA.debugLineNum = 111;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunapr"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._c.GetString("HVD_CANT")),(Object)(parent._c.GetString("HVD_PRONOMBRE"))})); - if (true) break; -if (true) break; - -case 36: -//C -this.state = 37; -; - if (true) break; - -case 37: -//C -this.state = 38; -; - //BA.debugLineNum = 116;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._cuenta),(Object)(parent._sdate+parent._stime),(Object)(parent._usuario),(Object)(parent._motivo),(Object)(parent._e_comm.getText()),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_rutaactualizar)})); - //BA.debugLineNum = 117;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+parent.__c.SmartStringFormatter("",(Object)(parent._sdate+" "+parent._stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa) and CAT_CL_RUTA = '"+parent.__c.SmartStringFormatter("",(Object)(_rutaactualizar))+"'")); - //BA.debugLineNum = 118;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS S"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1, HVD_RECHAZOCANT = HVD_CANT, HVD_RECHAZOCANTC = CANTC, BCAJAS = 0 , CANTC = 0 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 119;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 2, HVD_RECHAZOCANT = HVD_RECHAZOCANT WHERE HVD_PROID = HVD_CODPROMO and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 120;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO W"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 121;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM R"; -parent._d = (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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 122;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 123;BA.debugLine="Dim ruta As String = d.GetString(\"RUTAA\")"; -_ruta = parent._d.GetString("RUTAA"); - //BA.debugLineNum = 124;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 125;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CAT_CL_RUTA"; -parent._d = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 126;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 127;BA.debugLine="Dim rutapre As String = d.GetString(\"CAT_CL_RUT"; -_rutapre = parent._d.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 128;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 129;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FR"; -parent._d = (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 HVD_FECHA FROM HIST_VENTAS WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 130;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 131;BA.debugLine="Dim fechaprev As String = Subs.traefECHAPREV"; -_fechaprev = parent._subs._traefechaprev /*String*/ (ba); - //BA.debugLineNum = 132;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 133;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT CUENTA FROM"; -parent._d = (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 CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 134;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 135;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO REPARTO"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO REPARTO_GEO (CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO,ENVIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent._cuenta,parent._usuario,parent._sdate+" "+parent._stime,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lat_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._lon_gps /*String*/ ,parent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ ,_ruta,_rutapre,_fechaprev,parent._motivo,parent._e_comm.getText(),"NO ENTREGADO"})); - //BA.debugLineNum = 137;BA.debugLine="Msgbox2Async(\"Pedido rechazado\",\"Atención\",\"Ok\""; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Pedido rechazado"),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 138;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 56; -return; -case 56: -//C -this.state = 38; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 139;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 38: -//if -this.state = 47; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 40; -}if (true) break; - -case 40: -//C -this.state = 41; - //BA.debugLineNum = 140;BA.debugLine="Dim mandamapa As Cursor = Starter.skmt.ExecQue"; -_mandamapa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_mandamapa = (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 kmt_info WHERE gestion = 0 and CAT_CL_CODIGO <> 63403"))); - //BA.debugLineNum = 141;BA.debugLine="If mandamapa.RowCount > 0 Then"; -if (true) break; - -case 41: -//if -this.state = 46; -if (_mandamapa.getRowCount()>0) { -this.state = 43; -}else if(_mandamapa.getRowCount()==0) { -this.state = 45; -}if (true) break; - -case 43: -//C -this.state = 46; - //BA.debugLineNum = 142;BA.debugLine="StartActivity(MAPA_RUTAS)"; -parent.__c.StartActivity(ba,(Object)(parent._mapa_rutas.getObject())); - if (true) break; - -case 45: -//C -this.state = 46; - //BA.debugLineNum = 144;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"Principal"); - if (true) break; - -case 46: -//C -this.state = 47; -; - if (true) break; - -case 47: -//C -this.state = 50; -; - if (true) break; - -case 49: -//C -this.state = 50; - //BA.debugLineNum = 148;BA.debugLine="COMENTARIO = e_comm.Text"; -parent._comentario = parent._e_comm.getText(); - if (true) break; - -case 50: -//C -this.state = 51; -; - if (true) break; - -case 51: -//C -this.state = -1; -; - //BA.debugLineNum = 153;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _msgbox_result(int _resultado) throws Exception{ -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 25;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 26;BA.debugLine="End Sub"; -return null; -} -public String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _resultado = null; -String _cliente = ""; -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 176;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 177;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("351183617",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 178;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - }else { - //BA.debugLineNum = 181;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("351183621","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 182;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 183;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 184;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_REPART"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_REPARTOPendientes_head_")>-1) { - //BA.debugLineNum = 185;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 186;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 187;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("351183627",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 188;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update REPARTO_GEO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update REPARTO_GEO SET ENVIO = ? WHERE CLIENTE = ? AND ENVIO <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"1",_cliente,"1"})); - //BA.debugLineNum = 189;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 = 190;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 = 191;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("351183631",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 = 196;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 199;BA.debugLine="End Sub"; -return ""; -} -public String _mandapendientesreparto() throws Exception{ -int _i = 0; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 156;BA.debugLine="Sub mandaPendientesreparto"; - //BA.debugLineNum = 157;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARI"; -_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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO where ENVIO <> 1"))); - //BA.debugLineNum = 158;BA.debugLine="Log($\"REPARTO_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("351118082",("REPARTO_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 159;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 160;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 = 161;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 163;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 164;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 165;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\""; -_cmd.Name /*String*/ = "insert_REPARTO_MAZAPA"; - //BA.debugLineNum = 166;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("FECHA_PUNTEO")),(Object)(_c.GetString("LATITUD")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("RUTA_REPARTO")),(Object)(_c.GetString("RUTA_PREV")),(Object)(_c.GetString("FECHA_PREVENTA")),(Object)(_c.GetString("MOTIVO")),(Object)(_c.GetString("COMENTARIO")),(Object)(_c.GetString("TIPO"))}; - //BA.debugLineNum = 167;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 171;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 172;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((reparto_mazapa.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_nuevocliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_nuevocliente.java deleted file mode 100644 index fec47ad..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_nuevocliente.java +++ /dev/null @@ -1,74 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_nuevocliente"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/c_pedidos.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_pedidos.java deleted file mode 100644 index 53d64c1..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_pedidos.java +++ /dev/null @@ -1,74 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_pedidos"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/c_principal.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java deleted file mode 100644 index d1d5dc0..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_principal.java +++ /dev/null @@ -1,4514 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_principal"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null; -public String _conectado = ""; -public anywheresoftware.b4a.objects.Timer _t1 = null; -public anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -public anywheresoftware.b4a.phone.Phone _phone = 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 _f1 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f2 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f3 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f4 = 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 String _usuario = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _connecta = null; -public String _conn = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _subir = null; -public reparto_mazapa.keymon.lat.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.sql.SQL.CursorWrapper _l = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_aliquidar = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cuantosc = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_montosalida = 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.LabelWrapper _l_montoe = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_clieprod = null; -public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_regresa = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel1 = null; -public String _estatus = ""; -public int[] _batterystatus = null; -public reparto_mazapa.keymon.lat.batteryutilities _bu = null; -public String _ruta_t = ""; -public anywheresoftware.b4a.objects.collections.List _reqs = null; -public anywheresoftware.b4a.objects.ButtonWrapper _btn_ubicar_ru = null; -public String _cargo = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public anywheresoftware.b4a.objects.IME _ime = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_tabulador = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_rutasp = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_rechazo = null; -public anywheresoftware.b4a.objects.LabelWrapper _label9 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _cp = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_check = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_rechazos = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prod = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_regreso = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_prod_prin = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_venta_emp = null; -public int _successfulrequests = 0; -public int _totalregistros = 0; -public int _totalregistrostotales = 0; -public int _todosrequest = 0; -public anywheresoftware.b4a.objects.PanelWrapper _penvioinfo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _benvioinfo = null; -public anywheresoftware.b4a.objects.ProgressBarWrapper _pbenvioinfo = null; -public anywheresoftware.b4a.objects.LabelWrapper _lenviainfo = null; -public anywheresoftware.b4a.objects.LabelWrapper _lversionname = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_check_click() throws Exception{ - //BA.debugLineNum = 2152;BA.debugLine="Private Sub b_check_Click"; - //BA.debugLineNum = 2154;BA.debugLine="B4XPages.ShowPage(\"checklist\")"; -_b4xpages._showpage /*String*/ (ba,"checklist"); - //BA.debugLineNum = 2156;BA.debugLine="End Sub"; -return ""; -} -public String _b_clieprod_click() throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; -String _cuenta0 = ""; -String _arti = ""; -int _a = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc2 = null; -String _cuenta1 = ""; -String _arti1 = ""; -int _h = 0; -float _preu = 0f; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc4 = null; -String _cuenta2 = ""; -String _arti2 = ""; -int _k = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc5 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null; -String _cuenta3 = ""; -String _arti3 = ""; -int _x = 0; -String _totalmonto = ""; -String _totalcantidad = ""; - //BA.debugLineNum = 1896;BA.debugLine="Sub B_CLIEPROD_Click"; - //BA.debugLineNum = 1897;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1898;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 1900;BA.debugLine="BUSCA.Visible = False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 1901;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 1902;BA.debugLine="trabajar.Visible = False"; -_trabajar.setVisible(__c.False); - //BA.debugLineNum = 1903;BA.debugLine="B_CLIEPROD.Visible = False"; -_b_clieprod.setVisible(__c.False); - //BA.debugLineNum = 1904;BA.debugLine="Panel1.Visible = True"; -_panel1.setVisible(__c.True); - //BA.debugLineNum = 1905;BA.debugLine="Panel1.BringToFront"; -_panel1.BringToFront(); - //BA.debugLineNum = 1906;BA.debugLine="Btn_Ubicar_Ru.Visible=False"; -_btn_ubicar_ru.setVisible(__c.False); - //BA.debugLineNum = 1907;BA.debugLine="c=Starter.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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from kmt_info WHERE gestion <> 0 order by HORAENT"))); - //BA.debugLineNum = 1908;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 1909;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 1910;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1911;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 1912;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 1913;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1914;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 1915;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 1916;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 1917;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 1919;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1920;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 = 1921;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1922;BA.debugLine="If c.GetString(\"gestion\") = \"2\" Then"; -if ((_c.GetString("gestion")).equals("2")) { - //BA.debugLineNum = 1923;BA.debugLine="ESTATUS = \"ENTREGADO\""; -_estatus = "ENTREGADO"; - //BA.debugLineNum = 1924;BA.debugLine="Log(\"entrega\")"; -__c.LogImpl("37471132","entrega",0); - }else if((_c.GetString("gestion")).equals("3")) { - //BA.debugLineNum = 1926;BA.debugLine="Log(\"no entrega\")"; -__c.LogImpl("37471134","no entrega",0); - //BA.debugLineNum = 1927;BA.debugLine="ESTATUS = \"RECHAZADO\""; -_estatus = "RECHAZADO"; - }else { - //BA.debugLineNum = 1929;BA.debugLine="ESTATUS = \"SIN ESTATUS\""; -_estatus = "SIN ESTATUS"; - }; - //BA.debugLineNum = 1934;BA.debugLine="If ESTATUS = \"ENTREGADO\" Then"; -if ((_estatus).equals("ENTREGADO")) { - //BA.debugLineNum = 1935;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; -_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (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 HVD_PROID,HVD_COSTO_TOT, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 1937;BA.debugLine="Private cuenta0 As String = 0"; -_cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 1938;BA.debugLine="Private arti As String = 0"; -_arti = BA.NumberToString(0); - //BA.debugLineNum = 1939;BA.debugLine="If vc.RowCount > 0 Then"; -if (_vc.getRowCount()>0) { - //BA.debugLineNum = 1940;BA.debugLine="For a = 0 To vc.RowCount - 1"; -{ -final int step39 = 1; -final int limit39 = (int) (_vc.getRowCount()-1); -_a = (int) (0) ; -for (;_a <= limit39 ;_a = _a + step39 ) { - //BA.debugLineNum = 1941;BA.debugLine="vc.Position = a"; -_vc.setPosition(_a); - //BA.debugLineNum = 1943;BA.debugLine="arti = arti + (vc.GetString(\"HVD_CANT\") - v"; -_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 1944;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_CAN"; -_cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(((double)(Double.parseDouble(_vc.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc.GetString("HVD_RECHAZOCANT"))))*((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT")))))); - } -}; - }; - //BA.debugLineNum = 1949;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; -_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); - //BA.debugLineNum = 1950;BA.debugLine="Private Cuenta1 As String = 0"; -_cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 1951;BA.debugLine="Private arti1 As String = 0"; -_arti1 = BA.NumberToString(0); - //BA.debugLineNum = 1952;BA.debugLine="If vc2.RowCount > 0 Then"; -if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 1953;BA.debugLine="For h = 0 To vc2.RowCount - 1"; -{ -final int step49 = 1; -final int limit49 = (int) (_vc2.getRowCount()-1); -_h = (int) (0) ; -for (;_h <= limit49 ;_h = _h + step49 ) { - //BA.debugLineNum = 1954;BA.debugLine="vc2.Position = h"; -_vc2.setPosition(_h); - //BA.debugLineNum = 1955;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; -_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 1956;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; -_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 1957;BA.debugLine="If vc3.RowCount > 0 Then"; -if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 1958;BA.debugLine="vc3.Position = 0"; -_vc3.setPosition((int) (0)); - //BA.debugLineNum = 1959;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"CANTC"; -_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("CANTC")))-((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION")))))*_preu)); - //BA.debugLineNum = 1960;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_CANT\")"; -_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+((double)(Double.parseDouble(_vc2.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT"))))); - }; - } -}; - }; - //BA.debugLineNum = 1966;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; -_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc4 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 1967;BA.debugLine="Private Cuenta2 As String = 0"; -_cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 1968;BA.debugLine="Private arti2 As String = 0"; -_arti2 = BA.NumberToString(0); - //BA.debugLineNum = 1969;BA.debugLine="If vc4.RowCount > 0 Then"; -if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 1971;BA.debugLine="For k = 0 To vc4.RowCount - 1"; -{ -final int step64 = 1; -final int limit64 = (int) (_vc4.getRowCount()-1); -_k = (int) (0) ; -for (;_k <= limit64 ;_k = _k + step64 ) { - //BA.debugLineNum = 1972;BA.debugLine="vc4.Position = k"; -_vc4.setPosition(_k); - //BA.debugLineNum = 1973;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; -if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 1974;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; -if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1975;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 1976;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_CANT\")"; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))); - }else { - //BA.debugLineNum = 1978;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; -_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc5 = (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_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 1979;BA.debugLine="If vc5.RowCount > 0 Then"; -if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 1980;BA.debugLine="vc5.Position= 0"; -_vc5.setPosition((int) (0)); - //BA.debugLineNum = 1982;BA.debugLine="Cuenta2 = Cuenta2 +((vc4.GetString(\"HVD_"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 1983;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_CANT\""; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+((double)(Double.parseDouble(_vc4.GetString("HVD_CANT")))-(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT"))))); - }; - }; - }; - } -}; - }; - //BA.debugLineNum = 1992;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; -_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (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 IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 1993;BA.debugLine="Private Cuenta3 As String = 0"; -_cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 1994;BA.debugLine="Private arti3 As String = 0"; -_arti3 = BA.NumberToString(0); - //BA.debugLineNum = 1995;BA.debugLine="If c4.RowCount > 0 Then"; -if (_c4.getRowCount()>0) { - //BA.debugLineNum = 1996;BA.debugLine="For x = 0 To c4.RowCount -1"; -{ -final int step85 = 1; -final int limit85 = (int) (_c4.getRowCount()-1); -_x = (int) (0) ; -for (;_x <= limit85 ;_x = _x + step85 ) { - //BA.debugLineNum = 1997;BA.debugLine="c4.Position = x"; -_c4.setPosition(_x); - //BA.debugLineNum = 1998;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; -_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 1999;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; -_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); - } -}; - }; - //BA.debugLineNum = 2004;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; -_totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); - //BA.debugLineNum = 2005;BA.debugLine="Private TOTALcantidad As String = arti + arti"; -_totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))); - //BA.debugLineNum = 2007;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus)); - //BA.debugLineNum = 2008;BA.debugLine="Log(\"si entre2\")"; -__c.LogImpl("37471216","si entre2",0); - }else if((_estatus).equals("RECHAZADO")) { - //BA.debugLineNum = 2012;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery"; -_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CAT_GP_PRECIO, HVD_COSTO_TOT from HIST_VENTAS LEFT JOIN CAT_GUNAPROD ON CAT_GP_ID = HVD_PROID where BCAJAS = 0 and HVD_CODPROMO ='"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2014;BA.debugLine="Private cuenta0 As String = 0"; -_cuenta0 = BA.NumberToString(0); - //BA.debugLineNum = 2015;BA.debugLine="Private arti As String = 0"; -_arti = BA.NumberToString(0); - //BA.debugLineNum = 2016;BA.debugLine="If vc.RowCount > 0 Then"; -if (_vc.getRowCount()>0) { - //BA.debugLineNum = 2017;BA.debugLine="For a = 0 To vc.RowCount - 1"; -{ -final int step100 = 1; -final int limit100 = (int) (_vc.getRowCount()-1); -_a = (int) (0) ; -for (;_a <= limit100 ;_a = _a + step100 ) { - //BA.debugLineNum = 2018;BA.debugLine="vc.Position = a"; -_vc.setPosition(_a); - //BA.debugLineNum = 2019;BA.debugLine="Dim preu As Float = NumberFormat2(vc.GetStr"; -_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc.GetString("HVD_CANT"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 2021;BA.debugLine="arti = arti + (vc.GetString(\"HVD_RECHAZOCAN"; -_arti = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 2022;BA.debugLine="cuenta0 = cuenta0 + ((vc.GetString(\"HVD_REC"; -_cuenta0 = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+((double)(Double.parseDouble((_vc.GetString("HVD_RECHAZOCANT"))))*_preu)); - } -}; - }; - //BA.debugLineNum = 2027;BA.debugLine="Private vc2 As Cursor = Starter.skmt.ExecQuer"; -_vc2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc2 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 1")))); - //BA.debugLineNum = 2028;BA.debugLine="Private Cuenta1 As String = 0"; -_cuenta1 = BA.NumberToString(0); - //BA.debugLineNum = 2029;BA.debugLine="Private arti1 As String = 0"; -_arti1 = BA.NumberToString(0); - //BA.debugLineNum = 2030;BA.debugLine="If vc2.RowCount > 0 Then"; -if (_vc2.getRowCount()>0) { - //BA.debugLineNum = 2031;BA.debugLine="For h = 0 To vc2.RowCount - 1"; -{ -final int step111 = 1; -final int limit111 = (int) (_vc2.getRowCount()-1); -_h = (int) (0) ; -for (;_h <= limit111 ;_h = _h + step111 ) { - //BA.debugLineNum = 2032;BA.debugLine="vc2.Position = h"; -_vc2.setPosition(_h); - //BA.debugLineNum = 2033;BA.debugLine="Dim preu As Float = NumberFormat2(vc2.GetSt"; -_preu = (float)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_vc2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_vc2.GetString("CANTC"))),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 2034;BA.debugLine="Private vc3 As Cursor = Starter.skmt.ExecQu"; -_vc3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc3 = (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 PRECIOCONVER, CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2035;BA.debugLine="If vc3.RowCount > 0 Then"; -if (_vc3.getRowCount()>0) { - //BA.debugLineNum = 2036;BA.debugLine="vc3.Position = 0"; -_vc3.setPosition((int) (0)); - //BA.debugLineNum = 2037;BA.debugLine="Cuenta1 = Cuenta1 + ((vc2.GetString(\"HVD_R"; -_cuenta1 = BA.NumberToString((double)(Double.parseDouble(_cuenta1))+(((double)(Double.parseDouble(_vc2.GetString("HVD_RECHAZOCANT")))/(double)(double)(Double.parseDouble(_vc3.GetString("CONVERSION"))))*_preu)); - //BA.debugLineNum = 2038;BA.debugLine="arti1 = arti1 + (vc2.GetString(\"HVD_RECHAZ"; -_arti1 = BA.NumberToString((double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble((_vc2.GetString("HVD_RECHAZOCANT"))))); - }; - } -}; - }; - //BA.debugLineNum = 2044;BA.debugLine="Private vc4 As Cursor = Starter.skmt.ExecQuer"; -_vc4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc4 = (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 HVD_PROID, HVD_CANT, IFNULL(HVD_RECHAZOCANT, 0) AS HVD_RECHAZOCANT, CANTC,HVD_COSTO_TOT, HVD_RECHAZO, HVD_CODPROMO from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"' AND BCAJAS = 0 and HVD_CODPROMO <> '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'")))); - //BA.debugLineNum = 2045;BA.debugLine="Private Cuenta2 As String = 0"; -_cuenta2 = BA.NumberToString(0); - //BA.debugLineNum = 2046;BA.debugLine="Private arti2 As String = 0"; -_arti2 = BA.NumberToString(0); - //BA.debugLineNum = 2047;BA.debugLine="If vc4.RowCount > 0 Then"; -if (_vc4.getRowCount()>0) { - //BA.debugLineNum = 2049;BA.debugLine="For k = 0 To vc4.RowCount - 1"; -{ -final int step126 = 1; -final int limit126 = (int) (_vc4.getRowCount()-1); -_k = (int) (0) ; -for (;_k <= limit126 ;_k = _k + step126 ) { - //BA.debugLineNum = 2050;BA.debugLine="vc4.Position = k"; -_vc4.setPosition(_k); - //BA.debugLineNum = 2051;BA.debugLine="If vc4.GetString(\"HVD_PROID\") <> vc4.GetStr"; -if ((_vc4.GetString("HVD_PROID")).equals(_vc4.GetString("HVD_CODPROMO")) == false) { - //BA.debugLineNum = 2052;BA.debugLine="If vc4.GetString(\"HVD_RECHAZO\") = 0 Then"; -if ((_vc4.GetString("HVD_RECHAZO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 2053;BA.debugLine="Cuenta2 = Cuenta2 + vc4.GetString(\"HVD_CO"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_vc4.GetString("HVD_COSTO_TOT")))); - //BA.debugLineNum = 2054;BA.debugLine="arti2 = arti2 + vc4.GetString(\"HVD_RECHAZ"; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_vc4.GetString("HVD_RECHAZOCANT")))); - }else { - //BA.debugLineNum = 2056;BA.debugLine="Private vc5 As Cursor = Starter.skmt.Exec"; -_vc5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc5 = (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_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_vc4.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2057;BA.debugLine="If vc5.RowCount > 0 Then"; -if (_vc5.getRowCount()>0) { - //BA.debugLineNum = 2058;BA.debugLine="vc5.Position= 0"; -_vc5.setPosition((int) (0)); - //BA.debugLineNum = 2060;BA.debugLine="Cuenta2 = Cuenta2 +(( vc4.GetString(\"HVD"; -_cuenta2 = BA.NumberToString((double)(Double.parseDouble(_cuenta2))+((double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))*(double)(Double.parseDouble(_vc5.GetString("CAT_GP_PRECIO"))))); - //BA.debugLineNum = 2061;BA.debugLine="arti2 = arti2 +(vc4.GetString(\"HVD_RECHA"; -_arti2 = BA.NumberToString((double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble((_vc4.GetString("HVD_RECHAZOCANT"))))); - }; - }; - }; - } -}; - }; - //BA.debugLineNum = 2070;BA.debugLine="Private c4 As Cursor = Starter.skmt.ExecQuery"; -_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c4 = (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 IFNULL(PE_CANT,0) AS PE_CANT, iFNULL(PE_COSTO_TOT,0) AS PE_COSTO_TOT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 2071;BA.debugLine="Private Cuenta3 As String = 0"; -_cuenta3 = BA.NumberToString(0); - //BA.debugLineNum = 2072;BA.debugLine="Private arti3 As String = 0"; -_arti3 = BA.NumberToString(0); - //BA.debugLineNum = 2073;BA.debugLine="If c4.RowCount > 0 Then"; -if (_c4.getRowCount()>0) { - //BA.debugLineNum = 2074;BA.debugLine="For x = 0 To c4.RowCount -1"; -{ -final int step147 = 1; -final int limit147 = (int) (_c4.getRowCount()-1); -_x = (int) (0) ; -for (;_x <= limit147 ;_x = _x + step147 ) { - //BA.debugLineNum = 2075;BA.debugLine="c4.Position = x"; -_c4.setPosition(_x); - //BA.debugLineNum = 2076;BA.debugLine="arti3 = arti3 + c4.GetString(\"PE_CANT\")"; -_arti3 = BA.NumberToString((double)(Double.parseDouble(_arti3))+(double)(Double.parseDouble(_c4.GetString("PE_CANT")))); - //BA.debugLineNum = 2077;BA.debugLine="Cuenta3 = Cuenta3 + c4.GetString(\"PE_COSTO_"; -_cuenta3 = BA.NumberToString((double)(Double.parseDouble(_cuenta3))+(double)(Double.parseDouble(_c4.GetString("PE_COSTO_TOT")))); - } -}; - }; - //BA.debugLineNum = 2082;BA.debugLine="Private TOTALMONTO As String = cuenta0 + Cuen"; -_totalmonto = BA.NumberToString((double)(Double.parseDouble(_cuenta0))+(double)(Double.parseDouble(_cuenta1))+(double)(Double.parseDouble(_cuenta2))+(double)(Double.parseDouble(_cuenta3))); - //BA.debugLineNum = 2083;BA.debugLine="Private TOTALcantidad As String = arti + arti"; -_totalcantidad = BA.NumberToString((double)(Double.parseDouble(_arti))+(double)(Double.parseDouble(_arti1))+(double)(Double.parseDouble(_arti2))+(double)(Double.parseDouble(_arti3))); - //BA.debugLineNum = 2085;BA.debugLine="Log(\"si entre\")"; -__c.LogImpl("37471293","si entre",0); - //BA.debugLineNum = 2086;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_COD"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")+" - "+_c.GetString("CAT_CL_NOMBRE")),BA.ObjectToCharSequence("Articulos :"+_totalcantidad+" Monto :"+__c.NumberFormat2((double)(Double.parseDouble(_totalmonto)),(int) (0),(int) (2),(int) (2),__c.True)+" "+_estatus)); - }; - } -}; - }; - }; - //BA.debugLineNum = 2121;BA.debugLine="End Sub"; -return ""; -} -public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 1837;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 1839;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; -_b4xpages._showpage /*String*/ (ba,"mapas"); - //BA.debugLineNum = 1840;BA.debugLine="End Sub"; -return ""; -} -public String _b_rechazos_click() throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -int _i = 0; -String _itemtext = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -String _resta = ""; - //BA.debugLineNum = 2169;BA.debugLine="Private Sub b_rechazos_Click"; - //BA.debugLineNum = 2170;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 2171;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; -_label1 = _lv_prod_prin.getSingleLineLayout().Label; - //BA.debugLineNum = 2172;BA.debugLine="label1.TextSize = 14"; -_label1.setTextSize((float) (14)); - //BA.debugLineNum = 2173;BA.debugLine="p_prod.Width = Root.Width"; -_p_prod.setWidth(_root.getWidth()); - //BA.debugLineNum = 2174;BA.debugLine="p_prod.Height = Root.Height"; -_p_prod.setHeight(_root.getHeight()); - //BA.debugLineNum = 2175;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)"; -_b_regreso.setLeft((int) ((_p_prod.getWidth()-_b_regreso.getWidth())/(double)2)); - //BA.debugLineNum = 2176;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; -_b_regreso.setTop((int) (_p_prod.getHeight()-_b_regreso.getHeight())); - //BA.debugLineNum = 2178;BA.debugLine="p_prod.Visible = True"; -_p_prod.setVisible(__c.True); - //BA.debugLineNum = 2179;BA.debugLine="p_prod.BringToFront"; -_p_prod.BringToFront(); - //BA.debugLineNum = 2184;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 HVD_PRONOMBRE, IFNULL(SUM(HVD_RECHAZOCANT), 0) AS HVD_RECHAZOCANT, HVD_PROID from HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 GROUP BY HVD_PROID order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 2186;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; -_lv_prod_prin.getSingleLineLayout().Label.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 2187;BA.debugLine="lv_prod_Prin.Clear"; -_lv_prod_prin.Clear(); - //BA.debugLineNum = 2188;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2189;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 = 2190;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 2191;BA.debugLine="Dim itemText As String"; -_itemtext = ""; - //BA.debugLineNum = 2193;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery($\"s"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 2194;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 2196;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 2197;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 2198;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 2200;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 2202;BA.debugLine="If ( c.GetInt(\"HVD_RECHAZOCANT\") - resta) <= 0"; -if ((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))<=0) { - }else { - //BA.debugLineNum = 2205;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} $"; -_itemtext = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PRONOMBRE")))+" "+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inventario: "+__c.SmartStringFormatter("",(Object)((_c.GetInt("HVD_RECHAZOCANT")-(double)(Double.parseDouble(_resta)))))+""); - //BA.debugLineNum = 2206;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; -_lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence(_itemtext)); - }; - } -}; - }else { - //BA.debugLineNum = 2212;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; -_lv_prod_prin.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles.")); - }; - //BA.debugLineNum = 2214;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2215;BA.debugLine="End Sub"; -return ""; -} -public String _b_regresa_click() throws Exception{ - //BA.debugLineNum = 2123;BA.debugLine="Sub B_REGRESA_Click"; - //BA.debugLineNum = 2124;BA.debugLine="Log(\"B_REGRESA_Click\")"; -__c.LogImpl("37536641","B_REGRESA_Click",0); - //BA.debugLineNum = 2125;BA.debugLine="BUSCA.Visible = False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 2126;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2127;BA.debugLine="trabajar.Visible = True"; -_trabajar.setVisible(__c.True); - //BA.debugLineNum = 2128;BA.debugLine="B_CLIEPROD.Visible = True"; -_b_clieprod.setVisible(__c.True); - //BA.debugLineNum = 2129;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 2130;BA.debugLine="Btn_Ubicar_Ru.Visible=True"; -_btn_ubicar_ru.setVisible(__c.True); - //BA.debugLineNum = 2131;BA.debugLine="End Sub"; -return ""; -} -public String _b_regreso_click() throws Exception{ - //BA.debugLineNum = 2217;BA.debugLine="Private Sub b_regreso_Click"; - //BA.debugLineNum = 2218;BA.debugLine="p_prod.Visible = False"; -_p_prod.setVisible(__c.False); - //BA.debugLineNum = 2219;BA.debugLine="End Sub"; -return ""; -} -public String _b_tabulador_click() throws Exception{ - //BA.debugLineNum = 2144;BA.debugLine="Private Sub b_tabulador_Click"; - //BA.debugLineNum = 2145;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2146;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 2148;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; -_b4xpages._showpage /*String*/ (ba,"tabulador"); - }; - //BA.debugLineNum = 2150;BA.debugLine="End Sub"; -return ""; -} -public String _b_venta_emp_click() throws Exception{ - //BA.debugLineNum = 2225;BA.debugLine="Private Sub b_venta_emp_Click"; - //BA.debugLineNum = 2226;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 2227;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)("63403")})); - //BA.debugLineNum = 2228;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 2229;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _i = 0; -String _monto_rec_dia = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; -int _i3 = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _vc = null; -int _i4 = 0; -anywheresoftware.b4a.objects.collections.Map _entmap = null; -anywheresoftware.b4a.objects.collections.Map _rechmap = null; -anywheresoftware.b4a.objects.collections.Map _vendmap = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cancelrecha = null; -int _h54 = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _r5 = null; -String _rescant = ""; -int _j4 = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _r6 = null; -String _totalcantped = ""; -double _rescant2 = 0; -int _j5 = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _r5r = null; -String _rescantr = ""; -int _j4r = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _r6r = null; -String _rescant2r = ""; -int _j5r = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _r55 = null; -double _rescant3 = 0; -int _r75 = 0; -double _rescant4 = 0; -double _rescant5 = 0; -double _rescant6 = 0; -double _rescant7 = 0; -double _rescant10 = 0; -int _pztotal = 0; -int _pztotal2 = 0; -double _rescant11 = 0; -int _pztotal3 = 0; -double _rescant12 = 0; -int _cltvisitados = 0; - //BA.debugLineNum = 171;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 172;BA.debugLine="lVersionName.Text = \"Version: \" & Application.Ver"; -_lversionname.setText(BA.ObjectToCharSequence("Version: "+__c.Application.getVersionName())); - //BA.debugLineNum = 173;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 * FROM NOVENTA"))); - //BA.debugLineNum = 174;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 175;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 NV_CLIENTE FROM NOVENTA WHERE NV_MOTIVO = 'ENTREGA')"); - }; - //BA.debugLineNum = 177;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 = 178;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 179;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 WHERE NV_MOTIVO <> 'ENTREGA' AND NV_MOTIVO <> 'ENTREGA')"); - }; - //BA.debugLineNum = 182;BA.debugLine="b_check.visible = False"; -_b_check.setVisible(__c.False); - //BA.debugLineNum = 183;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 196;BA.debugLine="If EJECUTANDO = 0 Then"; -if ((_ejecutando).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 197;BA.debugLine="Listo1 = 0"; -_listo1 = BA.NumberToString(0); - //BA.debugLineNum = 198;BA.debugLine="Listo2 = 0"; -_listo2 = BA.NumberToString(0); - //BA.debugLineNum = 199;BA.debugLine="Listo3 = 0"; -_listo3 = BA.NumberToString(0); - //BA.debugLineNum = 200;BA.debugLine="Listo4 = 0"; -_listo4 = BA.NumberToString(0); - //BA.debugLineNum = 201;BA.debugLine="Listo5 = 0"; -_listo5 = BA.NumberToString(0); - //BA.debugLineNum = 202;BA.debugLine="inve = 0"; -_inve = BA.NumberToString(0); - //BA.debugLineNum = 203;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); - }; - //BA.debugLineNum = 205;BA.debugLine="l_ruta.Text = 0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 207;BA.debugLine="f=Starter.skmt.ExecQuery(\"select rutaa from rutaa"; -_f = (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 rutaa from rutaa"))); - //BA.debugLineNum = 208;BA.debugLine="If f.RowCount > 0 Then"; -if (_f.getRowCount()>0) { - //BA.debugLineNum = 209;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 210;BA.debugLine="l_ruta.Text = f.GetString(\"RUTAA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("RUTAA"))); - }; - //BA.debugLineNum = 212;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 213;BA.debugLine="If l_ruta.Text = 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 214;BA.debugLine="l_ruta.Text = 0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 215;BA.debugLine="l_rutasP.Text = 0"; -_l_rutasp.setText(BA.ObjectToCharSequence(0)); - }else { - //BA.debugLineNum = 217;BA.debugLine="f=Starter.skmt.ExecQuery(\"select distinct CAT_CL"; -_f = (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 distinct CAT_CL_RUTA from kmt_info WHERE CAT_CL_RUTA <> 1000 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 219;BA.debugLine="l_rutasP.Text = \"\""; -_l_rutasp.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 220;BA.debugLine="For i = 0 To f.RowCount - 1"; -{ -final int step34 = 1; -final int limit34 = (int) (_f.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit34 ;_i = _i + step34 ) { - //BA.debugLineNum = 221;BA.debugLine="f.Position = i"; -_f.setPosition(_i); - //BA.debugLineNum = 222;BA.debugLine="If i = 0 Then"; -if (_i==0) { - //BA.debugLineNum = 223;BA.debugLine="l_rutasP.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_rutasp.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - }else { - //BA.debugLineNum = 225;BA.debugLine="l_rutasP.Text = l_rutasP.Text & \", \" & f.GetSt"; -_l_rutasp.setText(BA.ObjectToCharSequence(_l_rutasp.getText()+", "+_f.GetString("CAT_CL_RUTA"))); - }; - } -}; - //BA.debugLineNum = 228;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 230;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 231;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 232;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; -_b = (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 count(*) as CUANTOS from kmt_info"))); - //BA.debugLineNum = 233;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 234;BA.debugLine="If b.RowCount > 0 Then Cuantos = b.GetString(\"CUA"; -if (_b.getRowCount()>0) { -_cuantos = _b.GetString("CUANTOS");}; - //BA.debugLineNum = 235;BA.debugLine="d=Starter.skmt.ExecQuery(\"selecT count(DISTINCT C"; -_d = (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 count(DISTINCT CAT_CL_CODIGO) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 236;BA.debugLine="D.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 237;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 238;BA.debugLine="e=Starter.skmt.ExecQuery(\"select count(DISTINCT C"; -_e = (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 count(DISTINCT CAT_CL_CODIGO) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 239;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 250;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 251;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 252;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 254;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 255;BA.debugLine="l_aLiquidar.Text = 0"; -_l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 256;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 257;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 258;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 259;BA.debugLine="l_montoSalida.Text = 0"; -_l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 260;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 263;BA.debugLine="L_MONTOE.Text = 0"; -_l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 264;BA.debugLine="l_ctast.Text = 0"; -_l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 265;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; -if (_d.getRowCount()>0) { -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR")));}; - //BA.debugLineNum = 266;BA.debugLine="l_porvisitar.Text = 0"; -_l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 267;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; -if (_e.getRowCount()>0) { -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR")));}; - //BA.debugLineNum = 268;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 269;BA.debugLine="e.Close"; -_e.Close(); - }else { - //BA.debugLineNum = 271;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(hvd_costo_t"; -_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 sum(hvd_costo_tot) as MONTO_DIA from hist_ventas where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_ESTATUS = 1 "))); - //BA.debugLineNum = 272;BA.debugLine="f1=Starter.skmt.ExecQuery(\"select sum(hvd_costo_"; -_f1 = (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 sum(hvd_costo_tot) as MONTO_TOTAL_DIA from hist_ventas2 where hvd_cliente in (select cat_cl_codigo from kmt_info ) AND HVD_RECHAZO = 0"))); - //BA.debugLineNum = 273;BA.debugLine="f2=Starter.skmt.ExecQuery(\"select sum(REP_COSTO_"; -_f2 = (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 sum(REP_COSTO_TOT) as MONTO_REC_DIA FROM REPARTO where REP_cliente in (Select cat_cl_codigo from kmt_info)"))); - //BA.debugLineNum = 275;BA.debugLine="b=Starter.skmt.ExecQuery(\"select count(DISTINCT"; -_b = (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 count(DISTINCT NV_CLIENTE) as CUANTOS from noventa where nv_motivo <> 'ENTREGA' and NV_CLIENTE <> 63403"))); - //BA.debugLineNum = 277;BA.debugLine="L=Starter.skmt.ExecQuery(\"select count(DISTINCT"; -_l = (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 count(DISTINCT NV_CLIENTE) as CLIENTES_DIA from noventa where nv_motivo = 'ENTREGA' and NV_CLIENTE <> 63403"))); - //BA.debugLineNum = 278;BA.debugLine="f2.Position=0"; -_f2.setPosition((int) (0)); - //BA.debugLineNum = 281;BA.debugLine="Private MONTO_REC_DIA = 0"; -_monto_rec_dia = BA.NumberToString(0); - //BA.debugLineNum = 282;BA.debugLine="If f2.GetString(\"MONTO_REC_DIA\") <> Null Then MO"; -if (_f2.GetString("MONTO_REC_DIA")!= null) { -_monto_rec_dia = _f2.GetString("MONTO_REC_DIA");}; - //BA.debugLineNum = 293;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 294;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 295;BA.debugLine="L.Position = 0"; -_l.setPosition((int) (0)); - //BA.debugLineNum = 296;BA.debugLine="f1.Position = 0"; -_f1.setPosition((int) (0)); - //BA.debugLineNum = 297;BA.debugLine="l_aLiquidar.Text = 0"; -_l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 298;BA.debugLine="If f1.RowCount > 0 Then l_aLiquidar.Text = to_nu"; -if (_f1.getRowCount()>0) { -_l_aliquidar.setText(BA.ObjectToCharSequence(_to_number_vb((Object)(_f1.GetString("MONTO_TOTAL_DIA")))));}; - //BA.debugLineNum = 299;BA.debugLine="L_MONTOE.Text = 0"; -_l_montoe.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 301;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 302;BA.debugLine="If L.RowCount > 0 Then l_cuantosc.Text = L.GetSt"; -if (_l.getRowCount()>0) { -_l_cuantosc.setText(BA.ObjectToCharSequence(_l.GetString("CLIENTES_DIA")));}; - //BA.debugLineNum = 303;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 304;BA.debugLine="If b.RowCount > 0 Then l_cuantosn.Text = b.GetSt"; -if (_b.getRowCount()>0) { -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS")));}; - //BA.debugLineNum = 306;BA.debugLine="If f1.GetString(\"MONTO_TOTAL_DIA\") <> Null Then"; -if (_f1.GetString("MONTO_TOTAL_DIA")!= null) { -_l_montosalida.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_f1.GetString("MONTO_TOTAL_DIA"))),(int) (2))));}; - //BA.debugLineNum = 308;BA.debugLine="l_ctast.Text = 0"; -_l_ctast.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 309;BA.debugLine="If d.RowCount > 0 Then l_ctast.Text = d.GetStrin"; -if (_d.getRowCount()>0) { -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR")));}; - //BA.debugLineNum = 310;BA.debugLine="l_porvisitar.Text = 0"; -_l_porvisitar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 311;BA.debugLine="If e.RowCount > 0 Then l_porvisitar.Text = e.Get"; -if (_e.getRowCount()>0) { -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR")));}; - //BA.debugLineNum = 312;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 313;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 324;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 326;BA.debugLine="c=Starter.skmt.ExecQuery(\"select ID_ALMACEN from"; -_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 = 327;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 328;BA.debugLine="ALMACEN = 0"; -_almacen = BA.NumberToString(0); - //BA.debugLineNum = 329;BA.debugLine="If C.RowCount > 0 Then ALMACEN = C.GetString(\"ID_"; -if (_c.getRowCount()>0) { -_almacen = _c.GetString("ID_ALMACEN");}; - //BA.debugLineNum = 330;BA.debugLine="B4XPages.MainPage.almacen = ALMACEN"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._almacen /*String*/ = _almacen; - //BA.debugLineNum = 331;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 332;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HGDATE, HGLAT, H"; -_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 HGDATE, HGLAT, HGLON from HIST_GPS"))); - //BA.debugLineNum = 334;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 335;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step108 = 1; -final int limit108 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit108 ;_i = _i + step108 ) { - //BA.debugLineNum = 336;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 337;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 338;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 339;BA.debugLine="cmd.Name = \"insert_gps_actual_REP\""; -_cmd.Name /*String*/ = "insert_gps_actual_REP"; - //BA.debugLineNum = 340;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"h"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("hgdate")),(Object)(_c.GetString("hglat")),(Object)(_c.GetString("hglon")),(Object)(_usuario)}; - } -}; - }; - //BA.debugLineNum = 344;BA.debugLine="bu.Initialize"; -_bu._initialize /*String*/ (ba); - //BA.debugLineNum = 345;BA.debugLine="batterystatus = bu.BatteryInformation"; -_batterystatus = _bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 347;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._batt /*int*/ = _batterystatus[(int) (0)]; - //BA.debugLineNum = 348;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_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 = 349;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 350;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 351;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 352;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; -_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 RUTAA from RUTAA"))); - //BA.debugLineNum = 353;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 354;BA.debugLine="RUTA_T = 0"; -_ruta_t = BA.NumberToString(0); - //BA.debugLineNum = 355;BA.debugLine="If c.RowCount > 0 Then RUTA_T = c.GetString(\"RUTA"; -if (_c.getRowCount()>0) { -_ruta_t = _c.GetString("RUTAA");}; - //BA.debugLineNum = 356;BA.debugLine="B4XPages.MainPage.rutaPreventa = RUTA_T"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _ruta_t; - //BA.debugLineNum = 357;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 358;BA.debugLine="reqs.Initialize"; -_reqs.Initialize(); - //BA.debugLineNum = 360;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; -_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rc = (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 REPARTO where REP_RECHAZO = \"1\" and REP_CANT > 0")))); - //BA.debugLineNum = 362;BA.debugLine="If rc.RowCount > 0 Then"; -if (_rc.getRowCount()>0) { - //BA.debugLineNum = 363;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from RECHAZOS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from RECHAZOS")); - //BA.debugLineNum = 364;BA.debugLine="For i3=0 To rc.RowCount -1 'Copiamos los rechazo"; -{ -final int step133 = 1; -final int limit133 = (int) (_rc.getRowCount()-1); -_i3 = (int) (0) ; -for (;_i3 <= limit133 ;_i3 = _i3 + step133 ) { - //BA.debugLineNum = 365;BA.debugLine="rc.Position = i3"; -_rc.setPosition(_i3); - //BA.debugLineNum = 368;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into RECHAZO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into RECHAZOS(R_FECHA, R_CLIENTE, R_CLI_ORIG, R_PRODID, R_CANT, R_RECHAZO, R_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_rc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '1' and REP_CANT > 0")); - } -}; - }; - //BA.debugLineNum = 371;BA.debugLine="Private vc As Cursor = Starter.skmt.ExecQuery($\"s"; -_vc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_vc = (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 REPARTO where REP_RECHAZO = \"0\" and REP_CANT > 0")))); - //BA.debugLineNum = 373;BA.debugLine="If vc.RowCount > 0 Then"; -if (_vc.getRowCount()>0) { - //BA.debugLineNum = 374;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from VENTAS\"$"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from VENTAS")); - //BA.debugLineNum = 375;BA.debugLine="For i4=0 To vc.RowCount -1 'Copiamos las ventas"; -{ -final int step141 = 1; -final int limit141 = (int) (_vc.getRowCount()-1); -_i4 = (int) (0) ; -for (;_i4 <= limit141 ;_i4 = _i4 + step141 ) { - //BA.debugLineNum = 376;BA.debugLine="vc.Position = i4"; -_vc.setPosition(_i4); - //BA.debugLineNum = 379;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into VENTAS("; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into VENTAS(V_FECHA, V_CLIENTE, V_CLI_ORIG, V_PRODID, V_CANT, V_RECHAZO, V_PRECIO) select REP_FECHA, REP_CLIENTE, REP_CLI_ORIG, REP_PRODID, REP_CANT, REP_RECHAZO, REP_PRECIO from REPARTO where REP_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLIENTE")))+"' and REP_CLI_ORIG = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_CLI_ORIG")))+"' and REP_PRODID = '"+__c.SmartStringFormatter("",(Object)(_vc.GetString("REP_PRODID")))+"' and REP_RECHAZO = '0' and REP_CANT > 0")); - } -}; - }; - //BA.debugLineNum = 382;BA.debugLine="Starter.ENVIA_ULTIMA_GPS"; -_starter._envia_ultima_gps /*String*/ (); - //BA.debugLineNum = 387;BA.debugLine="Dim entMap As Map = Subs.traeEntregados"; -_entmap = new anywheresoftware.b4a.objects.collections.Map(); -_entmap = _subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 388;BA.debugLine="Dim rechMap As Map = Subs.traeRechazados"; -_rechmap = new anywheresoftware.b4a.objects.collections.Map(); -_rechmap = _subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 389;BA.debugLine="Dim vendMap As Map = Subs.traeVendidos"; -_vendmap = new anywheresoftware.b4a.objects.collections.Map(); -_vendmap = _subs._traevendidos /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 390;BA.debugLine="l_aLiquidar.Text = entMap.Get(\"monto\") + vendMap."; -_l_aliquidar.setText(BA.ObjectToCharSequence((double)(BA.ObjectToNumber(_entmap.Get((Object)("monto"))))+(double)(BA.ObjectToNumber(_vendmap.Get((Object)("monto")))))); - //BA.debugLineNum = 392;BA.debugLine="Dim cancelrecha As Cursor = Starter.skmt.ExecQuer"; -_cancelrecha = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cancelrecha = (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 ifnull(HVD_RECHAZOCANT,0), HVD_RECHAZO, CONSECUTIVO FROM HIST_VENTAS"))); - //BA.debugLineNum = 393;BA.debugLine="If cancelrecha.RowCount > 0 Then"; -if (_cancelrecha.getRowCount()>0) { - //BA.debugLineNum = 394;BA.debugLine="For h54 = 0 To cancelrecha.RowCount - 1"; -{ -final int step153 = 1; -final int limit153 = (int) (_cancelrecha.getRowCount()-1); -_h54 = (int) (0) ; -for (;_h54 <= limit153 ;_h54 = _h54 + step153 ) { - //BA.debugLineNum = 395;BA.debugLine="cancelrecha.Position = h54"; -_cancelrecha.setPosition(_h54); - //BA.debugLineNum = 396;BA.debugLine="Starter.skmt.ExecNonQuery2(\"Update HIST_VENTAS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update HIST_VENTAS set HVD_RECHAZO = '0' WHERE CONSECUTIVO = ? and (HVD_RECHAZOCANT = 0 OR HVD_RECHAZOCANT IS NULL)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_cancelrecha.GetString("CONSECUTIVO")})); - } -}; - }; - //BA.debugLineNum = 399;BA.debugLine="cancelrecha.Close"; -_cancelrecha.Close(); - //BA.debugLineNum = 403;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ORDER BY HVD_CLIENTE, HVD_PROID ")))); - //BA.debugLineNum = 405;BA.debugLine="Private rescant As String = 0"; -_rescant = BA.NumberToString(0); - //BA.debugLineNum = 406;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 407;BA.debugLine="For j4 = 0 To r5.RowCount -1"; -{ -final int step162 = 1; -final int limit162 = (int) (_r5.getRowCount()-1); -_j4 = (int) (0) ; -for (;_j4 <= limit162 ;_j4 = _j4 + step162 ) { - //BA.debugLineNum = 408;BA.debugLine="r5.Position = j4"; -_r5.setPosition(_j4); - //BA.debugLineNum = 409;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; -_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 410;BA.debugLine="Dim totalcantped As String"; -_totalcantped = ""; - //BA.debugLineNum = 411;BA.debugLine="If r6.RowCount > 0 Then"; -if (_r6.getRowCount()>0) { - //BA.debugLineNum = 412;BA.debugLine="r6.Position = 0"; -_r6.setPosition((int) (0)); - //BA.debugLineNum = 413;BA.debugLine="totalcantped = r6.GetString(\"PE_CANT\")"; -_totalcantped = _r6.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 416;BA.debugLine="totalcantped = 0"; -_totalcantped = BA.NumberToString(0); - }; - //BA.debugLineNum = 419;BA.debugLine="Log(r5.GetString(\"HVD_CLIENTE\")&\"---- ID"; -__c.LogImpl("36291704",_r5.GetString("HVD_CLIENTE")+"---- ID "+_r5.GetString("HVD_PROID")+" ///// "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_totalcantped+" $$$$$$$$$$$$ "+BA.NumberToString((((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped)))))),0); - //BA.debugLineNum = 420;BA.debugLine="rescant = rescant + ((r5.GetString(\"HVD_COSTO_T"; -_rescant = BA.NumberToString((double)(Double.parseDouble(_rescant))+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_totalcantped)))))); - //BA.debugLineNum = 422;BA.debugLine="r6.Close"; -_r6.Close(); - } -}; - }; - //BA.debugLineNum = 425;BA.debugLine="If rescant = \"NaN\" Then rescant = 0"; -if ((_rescant).equals("NaN")) { -_rescant = BA.NumberToString(0);}; - //BA.debugLineNum = 426;BA.debugLine="LogColor(rescant,Colors.Red)"; -__c.LogImpl("36291711",_rescant,__c.Colors.Red); - //BA.debugLineNum = 427;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 431;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 435;BA.debugLine="Private rescant2 As Double = 0"; -_rescant2 = 0; - //BA.debugLineNum = 436;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 437;BA.debugLine="For j5 = 0 To r5.RowCount -1"; -{ -final int step183 = 1; -final int limit183 = (int) (_r5.getRowCount()-1); -_j5 = (int) (0) ; -for (;_j5 <= limit183 ;_j5 = _j5 + step183 ) { - //BA.debugLineNum = 438;BA.debugLine="r5.Position = j5"; -_r5.setPosition(_j5); - //BA.debugLineNum = 439;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; -_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 440;BA.debugLine="r6.Position = 0"; -_r6.setPosition((int) (0)); - //BA.debugLineNum = 442;BA.debugLine="rescant2 = rescant2 + ((r5.GetString(\"HVD_COSTO"; -_rescant2 = _rescant2+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_r6.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); - //BA.debugLineNum = 443;BA.debugLine="rescant2 = NumberFormat2(rescant2, 0, 2, 2, Fal"; -_rescant2 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant2,(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 444;BA.debugLine="r6.Close"; -_r6.Close(); - } -}; - }; - //BA.debugLineNum = 447;BA.debugLine="If rescant2 = \"NaN\" Then rescant2 = 0"; -if (_rescant2==(double)(Double.parseDouble("NaN"))) { -_rescant2 = 0;}; - //BA.debugLineNum = 448;BA.debugLine="Log(rescant2)"; -__c.LogImpl("36291733",BA.NumberToString(_rescant2),0); - //BA.debugLineNum = 449;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 454;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; -_r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5r = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); - //BA.debugLineNum = 456;BA.debugLine="Private rescantr As String = 0"; -_rescantr = BA.NumberToString(0); - //BA.debugLineNum = 457;BA.debugLine="If r5r.RowCount > 0 Then"; -if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 458;BA.debugLine="For j4r = 0 To r5r.RowCount -1"; -{ -final int step198 = 1; -final int limit198 = (int) (_r5r.getRowCount()-1); -_j4r = (int) (0) ; -for (;_j4r <= limit198 ;_j4r = _j4r + step198 ) { - //BA.debugLineNum = 459;BA.debugLine="r5r.Position = j4r"; -_r5r.setPosition(_j4r); - //BA.debugLineNum = 460;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; -_r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r6r = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 461;BA.debugLine="r6r.Position = 0"; -_r6r.setPosition((int) (0)); - //BA.debugLineNum = 464;BA.debugLine="rescantr = rescantr + ((r5r.GetString(\"HVD_COST"; -_rescantr = BA.NumberToString((double)(Double.parseDouble(_rescantr))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("HVD_CANT")))))*(double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT")))))); - //BA.debugLineNum = 465;BA.debugLine="r6r.Close"; -_r6r.Close(); - } -}; - }; - //BA.debugLineNum = 468;BA.debugLine="If rescantr = \"NaN\" Then rescantr = 0"; -if ((_rescantr).equals("NaN")) { -_rescantr = BA.NumberToString(0);}; - //BA.debugLineNum = 470;BA.debugLine="r5r.Close"; -_r5r.Close(); - //BA.debugLineNum = 472;BA.debugLine="Log(rescantr)"; -__c.LogImpl("36291757",_rescantr,0); - //BA.debugLineNum = 474;BA.debugLine="Private r5r As Cursor = Starter.skmt.ExecQuery($\""; -_r5r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5r = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 478;BA.debugLine="Private rescant2r As String = 0"; -_rescant2r = BA.NumberToString(0); - //BA.debugLineNum = 479;BA.debugLine="If r5r.RowCount > 0 Then"; -if (_r5r.getRowCount()>0) { - //BA.debugLineNum = 480;BA.debugLine="For j5r = 0 To r5r.RowCount -1"; -{ -final int step212 = 1; -final int limit212 = (int) (_r5r.getRowCount()-1); -_j5r = (int) (0) ; -for (;_j5r <= limit212 ;_j5r = _j5r + step212 ) { - //BA.debugLineNum = 481;BA.debugLine="r5r.Position = j5r"; -_r5r.setPosition(_j5r); - //BA.debugLineNum = 482;BA.debugLine="Private r6r As Cursor = Starter.skmt.ExecQuery("; -_r6r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r6r = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5r.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 483;BA.debugLine="r6r.Position = 0"; -_r6r.setPosition((int) (0)); - //BA.debugLineNum = 485;BA.debugLine="rescant2r = rescant2r + ((r5r.GetString(\"HVD_CO"; -_rescant2r = BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(((double)(Double.parseDouble(_r5r.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5r.GetString("CANTC")))))*((double)(Double.parseDouble((_r5r.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5r.GetString("HVD_PROID"))))))); - //BA.debugLineNum = 486;BA.debugLine="r6r.Close"; -_r6r.Close(); - } -}; - }; - //BA.debugLineNum = 489;BA.debugLine="If rescant2r = \"NaN\" Then rescant2r = 0"; -if ((_rescant2r).equals("NaN")) { -_rescant2r = BA.NumberToString(0);}; - //BA.debugLineNum = 491;BA.debugLine="r5r.Close"; -_r5r.Close(); - //BA.debugLineNum = 492;BA.debugLine="Log(rescant2r)"; -__c.LogImpl("36291777",_rescant2r,0); - //BA.debugLineNum = 493;BA.debugLine="Log(rescant2r+rescantr)"; -__c.LogImpl("36291778",BA.NumberToString((double)(Double.parseDouble(_rescant2r))+(double)(Double.parseDouble(_rescantr))),0); - //BA.debugLineNum = 509;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; -_r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r55 = (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 HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '0' ")))); - //BA.debugLineNum = 510;BA.debugLine="Private rescant3 As Double"; -_rescant3 = 0; - //BA.debugLineNum = 511;BA.debugLine="If r55.RowCount > 0 Then"; -if (_r55.getRowCount()>0) { - //BA.debugLineNum = 512;BA.debugLine="For r75 = 0 To r55.RowCount -1"; -{ -final int step227 = 1; -final int limit227 = (int) (_r55.getRowCount()-1); -_r75 = (int) (0) ; -for (;_r75 <= limit227 ;_r75 = _r75 + step227 ) { - //BA.debugLineNum = 513;BA.debugLine="r55.Position = r75"; -_r55.setPosition(_r75); - //BA.debugLineNum = 514;BA.debugLine="rescant3 = rescant3 + r55.GetString(\"HVD_COSTO_"; -_rescant3 = _rescant3+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); - //BA.debugLineNum = 515;BA.debugLine="rescant3 = NumberFormat2(rescant3, 0, 2, 2, Fal"; -_rescant3 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant3,(int) (0),(int) (2),(int) (2),__c.False))); - } -}; - }; - //BA.debugLineNum = 519;BA.debugLine="Log(rescant3)"; -__c.LogImpl("36291804",BA.NumberToString(_rescant3),0); - //BA.debugLineNum = 520;BA.debugLine="r55.Close"; -_r55.Close(); - //BA.debugLineNum = 525;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(SUM(HVD_COSTO_TOT),0) AS HVD_COSTO_TOT from HIST_VENTAS where HVD_RECHAZO = '0' and BCAJAS = '1' ")))); - //BA.debugLineNum = 526;BA.debugLine="Private rescant4 As Double"; -_rescant4 = 0; - //BA.debugLineNum = 527;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 528;BA.debugLine="r5.Position = 0"; -_r5.setPosition((int) (0)); - //BA.debugLineNum = 529;BA.debugLine="rescant4 = r5.GetString(\"HVD_COSTO_TOT\")"; -_rescant4 = (double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT"))); - }; - //BA.debugLineNum = 531;BA.debugLine="Log(rescant4)"; -__c.LogImpl("36291816",BA.NumberToString(_rescant4),0); - //BA.debugLineNum = 532;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 534;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT from PEDIDO ")))); - //BA.debugLineNum = 535;BA.debugLine="Private rescant5 As Double"; -_rescant5 = 0; - //BA.debugLineNum = 536;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 537;BA.debugLine="r5.Position = 0"; -_r5.setPosition((int) (0)); - //BA.debugLineNum = 538;BA.debugLine="rescant5 = r5.GetString(\"PE_COSTO_TOT\")"; -_rescant5 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); - }; - //BA.debugLineNum = 540;BA.debugLine="Log(rescant5)"; -__c.LogImpl("36291825",BA.NumberToString(_rescant5),0); - //BA.debugLineNum = 541;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 546;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '0' ")))); - //BA.debugLineNum = 547;BA.debugLine="Private rescant6 As Double"; -_rescant6 = 0; - //BA.debugLineNum = 548;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 549;BA.debugLine="For j4 = 0 To r5.RowCount -1"; -{ -final int step254 = 1; -final int limit254 = (int) (_r5.getRowCount()-1); -_j4 = (int) (0) ; -for (;_j4 <= limit254 ;_j4 = _j4 + step254 ) { - //BA.debugLineNum = 550;BA.debugLine="r5.Position = j4"; -_r5.setPosition(_j4); - //BA.debugLineNum = 551;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; -_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 552;BA.debugLine="r6.Position = 0"; -_r6.setPosition((int) (0)); - //BA.debugLineNum = 555;BA.debugLine="rescant6 = rescant6 + ((r5.GetString(\"HVD_COSTO"; -_rescant6 = _rescant6+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 557;BA.debugLine="r6.Close"; -_r6.Close(); - } -}; - }; - //BA.debugLineNum = 560;BA.debugLine="If rescant6 = \"NaN\" Then rescant6 = 0"; -if (_rescant6==(double)(Double.parseDouble("NaN"))) { -_rescant6 = 0;}; - //BA.debugLineNum = 561;BA.debugLine="LogColor(rescant6,Colors.Red)"; -__c.LogImpl("36291846",BA.NumberToString(_rescant6),__c.Colors.Red); - //BA.debugLineNum = 562;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 564;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT,IFNULL(CANTC,0) AS CANTC, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' and BCAJAS = '1' ")))); - //BA.debugLineNum = 565;BA.debugLine="Private rescant7 As Double"; -_rescant7 = 0; - //BA.debugLineNum = 566;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 567;BA.debugLine="For j5 = 0 To r5.RowCount -1"; -{ -final int step268 = 1; -final int limit268 = (int) (_r5.getRowCount()-1); -_j5 = (int) (0) ; -for (;_j5 <= limit268 ;_j5 = _j5 + step268 ) { - //BA.debugLineNum = 568;BA.debugLine="r5.Position = j5"; -_r5.setPosition(_j5); - //BA.debugLineNum = 569;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; -_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 570;BA.debugLine="r6.Position = 0"; -_r6.setPosition((int) (0)); - //BA.debugLineNum = 572;BA.debugLine="rescant7 = rescant7 + ((r5.GetString(\"HVD_COSTO"; -_rescant7 = _rescant7+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("CANTC")))))*(((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_r5.GetString("HVD_PROID")))))); - //BA.debugLineNum = 573;BA.debugLine="r6.Close"; -_r6.Close(); - } -}; - }; - //BA.debugLineNum = 576;BA.debugLine="If rescant7 = \"NaN\" Then rescant7 = 0"; -if (_rescant7==(double)(Double.parseDouble("NaN"))) { -_rescant7 = 0;}; - //BA.debugLineNum = 577;BA.debugLine="Log(rescant7)"; -__c.LogImpl("36291862",BA.NumberToString(_rescant7),0); - //BA.debugLineNum = 578;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 580;BA.debugLine="Private r55 As Cursor = Starter.skmt.ExecQuery($\""; -_r55 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r55 = (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 HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS where HVD_RECHAZO = '0' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = '2')")))); - //BA.debugLineNum = 581;BA.debugLine="Private rescant10 As Double"; -_rescant10 = 0; - //BA.debugLineNum = 582;BA.debugLine="Private pztotal As Int"; -_pztotal = 0; - //BA.debugLineNum = 583;BA.debugLine="If r55.RowCount > 0 Then"; -if (_r55.getRowCount()>0) { - //BA.debugLineNum = 584;BA.debugLine="For r75 = 0 To r55.RowCount -1"; -{ -final int step283 = 1; -final int limit283 = (int) (_r55.getRowCount()-1); -_r75 = (int) (0) ; -for (;_r75 <= limit283 ;_r75 = _r75 + step283 ) { - //BA.debugLineNum = 585;BA.debugLine="r55.Position = r75"; -_r55.setPosition(_r75); - //BA.debugLineNum = 586;BA.debugLine="rescant10 = rescant10 + r55.GetString(\"HVD_COST"; -_rescant10 = _rescant10+(double)(Double.parseDouble(_r55.GetString("HVD_COSTO_TOT"))); - //BA.debugLineNum = 587;BA.debugLine="rescant10 = NumberFormat2(rescant10, 0, 2, 2, F"; -_rescant10 = (double)(Double.parseDouble(__c.NumberFormat2(_rescant10,(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 588;BA.debugLine="pztotal = pztotal + r55.GetString(\"HVD_CANT\")"; -_pztotal = (int) (_pztotal+(double)(Double.parseDouble(_r55.GetString("HVD_CANT")))); - } -}; - }; - //BA.debugLineNum = 591;BA.debugLine="Log(rescant10)"; -__c.LogImpl("36291876",BA.NumberToString(_rescant10),0); - //BA.debugLineNum = 592;BA.debugLine="r55.Close"; -_r55.Close(); - //BA.debugLineNum = 594;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(SUM(PE_COSTO_TOT),0) AS PE_COSTO_TOT, IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO ")))); - //BA.debugLineNum = 595;BA.debugLine="Private pztotal2 As Int"; -_pztotal2 = 0; - //BA.debugLineNum = 596;BA.debugLine="Private rescant11 As Double"; -_rescant11 = 0; - //BA.debugLineNum = 597;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 598;BA.debugLine="r5.Position = 0"; -_r5.setPosition((int) (0)); - //BA.debugLineNum = 599;BA.debugLine="rescant11 = r5.GetString(\"PE_COSTO_TOT\")"; -_rescant11 = (double)(Double.parseDouble(_r5.GetString("PE_COSTO_TOT"))); - //BA.debugLineNum = 600;BA.debugLine="pztotal2 = pztotal2 + r5.GetString(\"PE_CANT\")"; -_pztotal2 = (int) (_pztotal2+(double)(Double.parseDouble(_r5.GetString("PE_CANT")))); - }; - //BA.debugLineNum = 602;BA.debugLine="Log(rescant11)"; -__c.LogImpl("36291887",BA.NumberToString(_rescant11),0); - //BA.debugLineNum = 603;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 605;BA.debugLine="Private r5 As Cursor = Starter.skmt.ExecQuery($\"s"; -_r5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r5 = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, IFNULL(HVD_CANT,0) AS HVD_CANT, IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_PROID, HVD_CLIENTE, CONSECUTIVO from HIST_VENTAS where HVD_RECHAZO = '1' AND HVD_CLIENTE IN (SELECT CAT_CL_CODIGO from kmt_info WHERE gestion = 2) ")))); - //BA.debugLineNum = 606;BA.debugLine="Private pztotal3 As Int"; -_pztotal3 = 0; - //BA.debugLineNum = 607;BA.debugLine="Private rescant12 As Double"; -_rescant12 = 0; - //BA.debugLineNum = 608;BA.debugLine="If r5.RowCount > 0 Then"; -if (_r5.getRowCount()>0) { - //BA.debugLineNum = 609;BA.debugLine="For j4 = 0 To r5.RowCount -1"; -{ -final int step306 = 1; -final int limit306 = (int) (_r5.getRowCount()-1); -_j4 = (int) (0) ; -for (;_j4 <= limit306 ;_j4 = _j4 + step306 ) { - //BA.debugLineNum = 610;BA.debugLine="r5.Position = j4"; -_r5.setPosition(_j4); - //BA.debugLineNum = 611;BA.debugLine="Private r6 As Cursor = Starter.skmt.ExecQuery($"; -_r6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_r6 = (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 IFNULL(SUM(PE_CANT),0) AS PE_CANT from PEDIDO where PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_r5.GetString("CONSECUTIVO")))+"' ")))); - //BA.debugLineNum = 612;BA.debugLine="r6.Position = 0"; -_r6.setPosition((int) (0)); - //BA.debugLineNum = 613;BA.debugLine="LogColor(r5.GetString(\"HVD_COSTO_TOT\")&\" / \"& r"; -__c.LogImpl("36291898",_r5.GetString("HVD_COSTO_TOT")+" / "+_r5.GetString("HVD_CANT")+" * "+_r5.GetString("HVD_RECHAZOCANT")+" - "+_r6.GetString("PE_CANT"),__c.Colors.Blue); - //BA.debugLineNum = 614;BA.debugLine="LogColor(r6.GetString(\"PE_CANT\"),Colors.Blue)"; -__c.LogImpl("36291899",_r6.GetString("PE_CANT"),__c.Colors.Blue); - //BA.debugLineNum = 615;BA.debugLine="rescant12 = rescant12 + ((r5.GetString(\"HVD_COS"; -_rescant12 = _rescant12+(((double)(Double.parseDouble(_r5.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble((_r5.GetString("HVD_CANT")))))*((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 616;BA.debugLine="pztotal3 = pztotal3 + (r5.GetString(\"HVD_CANT\""; -_pztotal3 = (int) (_pztotal3+((double)(Double.parseDouble(_r5.GetString("HVD_CANT")))-(double)(Double.parseDouble(_r5.GetString("HVD_RECHAZOCANT"))))); - //BA.debugLineNum = 617;BA.debugLine="Log(rescant12)"; -__c.LogImpl("36291902",BA.NumberToString(_rescant12),0); - //BA.debugLineNum = 618;BA.debugLine="r6.Close"; -_r6.Close(); - } -}; - }; - //BA.debugLineNum = 621;BA.debugLine="If rescant12 = \"NaN\" Then rescant12 = 0"; -if (_rescant12==(double)(Double.parseDouble("NaN"))) { -_rescant12 = 0;}; - //BA.debugLineNum = 622;BA.debugLine="LogColor(rescant12,Colors.Red)"; -__c.LogImpl("36291907",BA.NumberToString(_rescant12),__c.Colors.Red); - //BA.debugLineNum = 623;BA.debugLine="r5.Close"; -_r5.Close(); - //BA.debugLineNum = 625;BA.debugLine="l_rechazo.text = NumberFormat2((rescant + rescant"; -_l_rechazo.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_rescant))+_rescant2),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 626;BA.debugLine="L_MONTOE.Text = NumberFormat2((rescant3 + rescant"; -_l_montoe.setText(BA.ObjectToCharSequence(__c.NumberFormat2((_rescant3+_rescant4+_rescant5+_rescant6+_rescant7),(int) (0),(int) (2),(int) (2),__c.False))); - //BA.debugLineNum = 629;BA.debugLine="Dim cltVisitados As Int = (l_cuantosc.Text).As(In"; -_cltvisitados = (int) (((int)(Double.parseDouble((_l_cuantosc.getText()))))+((int)(Double.parseDouble((_l_cuantosn.getText()))))); - //BA.debugLineNum = 630;BA.debugLine="B4XPages.MainPage.clientesVisitados = cltVisitado"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = BA.NumberToString(_cltvisitados); - //BA.debugLineNum = 631;BA.debugLine="Log(\"Esto es clientes visitados: \" & B4XPages.Mai"; -__c.LogImpl("36291916","Esto es clientes visitados: "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesvisitados /*String*/ ,0); - //BA.debugLineNum = 634;BA.debugLine="B4XPages.MainPage.clientesVenta = NumberFormat2(("; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ = __c.NumberFormat2((_rescant10+_rescant11+_rescant12),(int) (0),(int) (2),(int) (2),__c.False); - //BA.debugLineNum = 635;BA.debugLine="Log(\"Esto es Monto Recibido \" & B4XPages.MainPage"; -__c.LogImpl("36291920","Esto es Monto Recibido "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesventa /*String*/ ,0); - //BA.debugLineNum = 637;BA.debugLine="B4XPages.MainPage.clientesRechazo = l_cuantosn.Te"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ = _l_cuantosn.getText(); - //BA.debugLineNum = 638;BA.debugLine="Log(\"Esto deberia ser el rechazo: \" & l_cuantosn."; -__c.LogImpl("36291923","Esto deberia ser el rechazo: "+_l_cuantosn.getText(),0); - //BA.debugLineNum = 639;BA.debugLine="Log(\"clientesRechazo ? \" & B4XPages.MainPage.clie"; -__c.LogImpl("36291924","clientesRechazo ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientesrechazo /*String*/ ,0); - //BA.debugLineNum = 641;BA.debugLine="B4XPages.MainPage.clientestotal = l_porvisitar.Te"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_porvisitar.getText(); - //BA.debugLineNum = 642;BA.debugLine="Log(\"clientestotal ? \" & B4XPages.MainPage.client"; -__c.LogImpl("36291927","clientestotal ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._clientestotal /*String*/ ,0); - //BA.debugLineNum = 645;BA.debugLine="B4XPages.MainPage.montoActual = l_montoSalida.Tex"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ = _l_montosalida.getText(); - //BA.debugLineNum = 646;BA.debugLine="Log(\"montoActual ? \" & B4XPages.MainPage.montoAct"; -__c.LogImpl("36291931","montoActual ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoactual /*String*/ ,0); - //BA.debugLineNum = 648;BA.debugLine="B4XPages.MainPage.porVisitar = l_ctast.text"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ = _l_ctast.getText(); - //BA.debugLineNum = 649;BA.debugLine="Log(\"porVisitar ? \" & B4XPages.MainPage.porVisita"; -__c.LogImpl("36291934","porVisitar ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._porvisitar /*String*/ ,0); - //BA.debugLineNum = 651;BA.debugLine="B4XPages.MainPage.entregas = l_cuantosc.text"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 652;BA.debugLine="Log(\"entregas ? \" & B4XPages.MainPage.entregas)"; -__c.LogImpl("36291937","entregas ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._entregas /*String*/ ,0); - //BA.debugLineNum = 654;BA.debugLine="B4XPages.MainPage.rechazos = l_cuantosn.text"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ = _l_cuantosn.getText(); - //BA.debugLineNum = 655;BA.debugLine="Log(\"rechazos ? \" & B4XPages.MainPage.rechazos)"; -__c.LogImpl("36291940","rechazos ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rechazos /*String*/ ,0); - //BA.debugLineNum = 658;BA.debugLine="B4XPages.MainPage.montoEntregado = NumberFormat2("; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ = __c.NumberFormat2((_rescant10+_rescant11+_rescant12),(int) (0),(int) (2),(int) (2),__c.False); - //BA.debugLineNum = 659;BA.debugLine="Log(\"montoEntregado ? \" & B4XPages.MainPage.monto"; -__c.LogImpl("36291944","montoEntregado ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montoentregado /*String*/ ,0); - //BA.debugLineNum = 661;BA.debugLine="B4XPages.MainPage.montoRechazado = l_rechazo.text"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ = _l_rechazo.getText(); - //BA.debugLineNum = 662;BA.debugLine="Log(\"montoRechazado ? \" & B4XPages.MainPage.monto"; -__c.LogImpl("36291947","montoRechazado ? "+_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._montorechazado /*String*/ ,0); - //BA.debugLineNum = 664;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 667;BA.debugLine="If l_ctast.Text = 0 And l_porvisitar.Text <> 0 Th"; -if ((_l_ctast.getText()).equals(BA.NumberToString(0)) && (_l_porvisitar.getText()).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 668;BA.debugLine="Label9.Visible = True"; -_label9.setVisible(__c.True); - //BA.debugLineNum = 669;BA.debugLine="L_MONTOE.Visible = True"; -_l_montoe.setVisible(__c.True); - //BA.debugLineNum = 672;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VEN"; -_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 HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 673;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 674;BA.debugLine="b_venta_emp.Visible = True"; -_b_venta_emp.setVisible(__c.True); - }else { - //BA.debugLineNum = 676;BA.debugLine="b_venta_emp.Visible = False"; -_b_venta_emp.setVisible(__c.False); - }; - }else { - //BA.debugLineNum = 679;BA.debugLine="Label9.Visible = False"; -_label9.setVisible(__c.False); - //BA.debugLineNum = 680;BA.debugLine="L_MONTOE.Visible = False"; -_l_montoe.setVisible(__c.False); - //BA.debugLineNum = 681;BA.debugLine="b_venta_emp.Visible = False"; -_b_venta_emp.setVisible(__c.False); - }; - //BA.debugLineNum = 693;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(reparto_mazapa.keymon.lat.c_principal parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 1783;BA.debugLine="If Panel1.visible Then"; -if (true) break; - -case 1: -//if -this.state = 10; -if (parent._panel1.getVisible()) { -this.state = 3; -}else if(parent._p_prod.getVisible()) { -this.state = 5; -}else if(parent._penvioinfo.getVisible()) { -this.state = 7; -}else { -this.state = 9; -}if (true) break; - -case 3: -//C -this.state = 10; - //BA.debugLineNum = 1784;BA.debugLine="Log(\"PANEL1 VISIBLE\")"; -parent.__c.LogImpl("37012355","PANEL1 VISIBLE",0); - //BA.debugLineNum = 1785;BA.debugLine="B_REGRESA_Click"; -parent._b_regresa_click(); - if (true) break; - -case 5: -//C -this.state = 10; - //BA.debugLineNum = 1787;BA.debugLine="p_prod.Visible = False"; -parent._p_prod.setVisible(parent.__c.False); - if (true) break; - -case 7: -//C -this.state = 10; - //BA.debugLineNum = 1789;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 = 1791;BA.debugLine="B4XPages.ShowPage(\"Login\")"; -parent._b4xpages._showpage /*String*/ (ba,"Login"); - if (true) break; - -case 10: -//C -this.state = -1; -; - //BA.debugLineNum = 1794;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 1795;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 109;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 110;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 112;BA.debugLine="Root.LoadLayout(\"principal\")"; -_root.LoadLayout("principal",ba); - //BA.debugLineNum = 113;BA.debugLine="EJECUTANDO=1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 114;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serve"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 117;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 118;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 119;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 121;BA.debugLine="b=Starter.skmt.ExecQuery(\"Select count(*) as CUAN"; -_b = (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 count(*) as CUANTOS from pedido_cliente"))); - //BA.debugLineNum = 122;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 123;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; -_cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 124;BA.debugLine="d=Starter.skmt.ExecQuery(\"select DISTINCT count(*"; -_d = (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 DISTINCT count(*) as TOTAL_VISITAR from kmt_info where gestion = 0 AND CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 125;BA.debugLine="D.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 126;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 127;BA.debugLine="e=Starter.skmt.ExecQuery(\"select DISTINCT count(*"; -_e = (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 DISTINCT count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_RUTA <> 1000"))); - //BA.debugLineNum = 128;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 129;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 130;BA.debugLine="l_aLiquidar.Text = 0"; -_l_aliquidar.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 131;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 132;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 133;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 134;BA.debugLine="l_montoSalida.Text = 0"; -_l_montosalida.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 135;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 137;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 138;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - }else { - }; - //BA.debugLineNum = 157;BA.debugLine="b=Starter.skmt.ExecQuery(\"select id_almacen from"; -_b = (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 = 158;BA.debugLine="If b.RowCount > 0 Then"; -if (_b.getRowCount()>0) { - //BA.debugLineNum = 160;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 162;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 163;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 164;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\""; -_cmd.Name /*String*/ = "select_coords_almacen_MAZAPA"; - //BA.debugLineNum = 165;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"ID"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_b.GetString("ID_ALMACEN"))}; - //BA.debugLineNum = 166;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); - }; - //BA.debugLineNum = 168;BA.debugLine="B4XPages.MainPage.usuario=Subs.dameUsuarioDeDB"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._usuario /*String*/ = _subs._dameusuariodedb /*String*/ (ba); - //BA.debugLineNum = 169;BA.debugLine="End Sub"; -return ""; -} -public String _benvioinfo_click() throws Exception{ - //BA.debugLineNum = 1776;BA.debugLine="Private Sub bEnvioInfo_Click"; - //BA.debugLineNum = 1777;BA.debugLine="bEnvioInfo.Enabled = False"; -_benvioinfo.setEnabled(__c.False); - //BA.debugLineNum = 1778;BA.debugLine="pEnvioInfo.Visible = False"; -_penvioinfo.setVisible(__c.False); - //BA.debugLineNum = 1779;BA.debugLine="End Sub"; -return ""; -} -public String _btn_ubicar_ru_click() throws Exception{ - //BA.debugLineNum = 2134;BA.debugLine="Sub Btn_Ubicar_Ru_Click"; - //BA.debugLineNum = 2135;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 2136;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 2139;BA.debugLine="StartActivity(MAPA_RUTAS)"; -__c.StartActivity(ba,(Object)(_mapa_rutas.getObject())); - }; - //BA.debugLineNum = 2141;BA.debugLine="End Sub"; -return ""; -} -public String _busca_click() throws Exception{ - //BA.debugLineNum = 1828;BA.debugLine="Sub BUSCA_Click"; - //BA.debugLineNum = 1829;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 1830;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Aten"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 1833;BA.debugLine="B4XPages.ShowPage(\"Buscar\")"; -_b4xpages._showpage /*String*/ (ba,"Buscar"); - }; - //BA.debugLineNum = 1835;BA.debugLine="End Sub"; -return ""; -} -public String _cargadedia() throws Exception{ - //BA.debugLineNum = 1205;BA.debugLine="Sub cargadedia"; - //BA.debugLineNum = 1206;BA.debugLine="imei = \"\" 'p.GetDeviceId"; -_imei = ""; - //BA.debugLineNum = 1207;BA.debugLine="conn = \"1\""; -_conn = "1"; - //BA.debugLineNum = 1208;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 1213;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1214;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1215;BA.debugLine="cmd.Name = \"select_ruta_re_REPG_MAZAPA8\""; -_cmd.Name /*String*/ = "select_ruta_re_REPG_MAZAPA8"; - //BA.debugLineNum = 1216;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta."; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_imei)}; - //BA.debugLineNum = 1218;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta")); - //BA.debugLineNum = 1219;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),__c.True); - //BA.debugLineNum = 1220;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1221;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTAA(RUT"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_e_ruta.getText())})); - //BA.debugLineNum = 1222;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); - //BA.debugLineNum = 1223;BA.debugLine="End Sub"; -return ""; -} -public String _cargar_click() throws Exception{ -boolean _pedidodiaanterior = false; -String[] _fecha2 = null; -String[] _fecha3 = null; -String _dia = ""; -String _dia2 = ""; - //BA.debugLineNum = 1046;BA.debugLine="Sub cargar_Click"; - //BA.debugLineNum = 1047;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; -_pedidodiaanterior = __c.False; - //BA.debugLineNum = 1048;BA.debugLine="Dim cp As Cursor = Starter.skmt.ExecQuery(\"select"; -_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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from NOVENTA"))); - //BA.debugLineNum = 1049;BA.debugLine="If cp.RowCount > 0 Then"; -if (_cp.getRowCount()>0) { - //BA.debugLineNum = 1050;BA.debugLine="cp.Position = 0"; -_cp.setPosition((int) (0)); - //BA.debugLineNum = 1051;BA.debugLine="Private fecha As String = cp.GetString(\"NV_FECHA"; -_fecha = _cp.GetString("NV_FECHA"); - //BA.debugLineNum = 1052;BA.debugLine="Log(cp.GetString(\"NV_FECHA\"))"; -__c.LogImpl("36750214",_cp.GetString("NV_FECHA"),0); - //BA.debugLineNum = 1053;BA.debugLine="Dim fecha2() As String = Regex.Split(\" \",fecha)"; -_fecha2 = __c.Regex.Split(" ",_fecha); - //BA.debugLineNum = 1054;BA.debugLine="Log(fecha2(0))"; -__c.LogImpl("36750216",_fecha2[(int) (0)],0); - //BA.debugLineNum = 1055;BA.debugLine="Dim fecha3() As String = Regex.Split(\"/\",fecha2("; -_fecha3 = __c.Regex.Split("/",_fecha2[(int) (0)]); - //BA.debugLineNum = 1056;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; -__c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 1057;BA.debugLine="DateTime.TimeFormat = \"\""; -__c.DateTime.setTimeFormat(""); - //BA.debugLineNum = 1058;BA.debugLine="Dim dia As String = fecha3(2)&fecha3(0)&fecha3(1"; -_dia = _fecha3[(int) (2)]+_fecha3[(int) (0)]+_fecha3[(int) (1)]; - //BA.debugLineNum = 1059;BA.debugLine="Log(dia)"; -__c.LogImpl("36750221",_dia,0); - //BA.debugLineNum = 1060;BA.debugLine="Dim dia2 As String = DateTime.Date(DateTime.Now)"; -_dia2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1061;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("36750223",_dia+" , "+_dia2,0); - //BA.debugLineNum = 1062;BA.debugLine="If dia < dia2 Then"; -if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 1063;BA.debugLine="pedidodiaanterior = True"; -_pedidodiaanterior = __c.True; - }; - }; - //BA.debugLineNum = 1066;BA.debugLine="If Not (pedidodiaanterior) Then"; -if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 1068;BA.debugLine="Log(\"CUMPLE\")"; -__c.LogImpl("36750230","CUMPLE",0); - //BA.debugLineNum = 1069;BA.debugLine="EJECUTANDO = 1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 1070;BA.debugLine="reqs.Initialize"; -_reqs.Initialize(); - //BA.debugLineNum = 1071;BA.debugLine="TOPE = 0"; -_tope = (int) (0); - //BA.debugLineNum = 1072;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.serve"; -__c.LogImpl("36750234",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1073;BA.debugLine="reqManager.Initialize(Me, B4XPages.MainPage.serv"; -_reqmanager._initialize /*String*/ (ba,this,_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ); - //BA.debugLineNum = 1075;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1076;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1077;BA.debugLine="cmd.Name = \"insert_drop_rep_MAZAPA2\""; -_cmd.Name /*String*/ = "insert_drop_rep_MAZAPA2"; - //BA.debugLineNum = 1078;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuari"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._dameusuariodedb /*String*/ (ba)),(Object)(_l_ruta.getText()),(Object)(_almacen),(Object)(_l_ctast.getText()),(Object)(_subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(_subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("CARGA"),(Object)(__c.Application.getVersionName())}; - //BA.debugLineNum = 1079;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1082;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1083;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cod_resul"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 1084;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from hist_gest"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 1085;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETAL"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1086;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from telefonos"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 1088;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PUNTEO_GP"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PUNTEO_GPS"); - //BA.debugLineNum = 1089;BA.debugLine="If l_ruta.Text = \"0\" Then '"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1090;BA.debugLine="Log(\"********************* No hay ruta, BORRAM"; -__c.LogImpl("36750252","********************* No hay ruta, BORRAMOS TODO",0); - //BA.debugLineNum = 1091;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1092;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1093;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1094;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1095;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS2"); - //BA.debugLineNum = 1096;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from NOVENTA\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA"); - }else { - //BA.debugLineNum = 1098;BA.debugLine="Log(\"********************* Hay ruta, NO BORRAM"; -__c.LogImpl("36750260","********************* Hay ruta, NO BORRAMOS TODO",0); - }; - //BA.debugLineNum = 1102;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from us"; -_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 = 1103;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1104;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1106;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1107;BA.debugLine="cmd.Name = \"select_punteo_MAZAPA_re_REPG\""; -_cmd.Name /*String*/ = "select_punteo_MAZAPA_re_REPG"; - //BA.debugLineNum = 1108;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen)}; - //BA.debugLineNum = 1109;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"punteo\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("punteo")); - //BA.debugLineNum = 1110;BA.debugLine="Log($\"Pedimos Punteo\"$)"; -__c.LogImpl("36750272",("Pedimos Punteo"),0); - //BA.debugLineNum = 1111;BA.debugLine="reqs.Add(\"punteo\")"; -_reqs.Add((Object)("punteo")); - //BA.debugLineNum = 1114;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1115;BA.debugLine="cmd.Name = \"select_almacen_MAZAPA_re_REPG2\""; -_cmd.Name /*String*/ = "select_almacen_MAZAPA_re_REPG2"; - //BA.debugLineNum = 1116;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1117;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 1118;BA.debugLine="Log($\"Pedimos gunaprod - ${ALMACEN}, ${e_ruta.te"; -__c.LogImpl("36750280",("Pedimos gunaprod - "+__c.SmartStringFormatter("",(Object)(_almacen))+", "+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+""),0); - //BA.debugLineNum = 1119;BA.debugLine="reqs.Add(\"gunaprod\")"; -_reqs.Add((Object)("gunaprod")); - //BA.debugLineNum = 1123;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1124;BA.debugLine="cmd.Name = \"select_cliente_MAZAPA_re_REPG\""; -_cmd.Name /*String*/ = "select_cliente_MAZAPA_re_REPG"; - //BA.debugLineNum = 1125;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1126;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1127;BA.debugLine="Log($\"Pedimos kmt_datos\"$)"; -__c.LogImpl("36750289",("Pedimos kmt_datos"),0); - //BA.debugLineNum = 1128;BA.debugLine="reqs.Add(\"kmt_datos\")"; -_reqs.Add((Object)("kmt_datos")); - //BA.debugLineNum = 1130;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1131;BA.debugLine="cmd.Name = \"select_ventad_MAZAPA_re_REPG\""; -_cmd.Name /*String*/ = "select_ventad_MAZAPA_re_REPG"; - //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="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1134;BA.debugLine="Log($\"Pedimos hist_datos\"$)"; -__c.LogImpl("36750296",("Pedimos hist_datos"),0); - //BA.debugLineNum = 1135;BA.debugLine="reqs.Add(\"hist_datos\")"; -_reqs.Add((Object)("hist_datos")); - //BA.debugLineNum = 1137;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1138;BA.debugLine="cmd.Name = \"select_coords_almacen_MAZAPA\""; -_cmd.Name /*String*/ = "select_coords_almacen_MAZAPA"; - //BA.debugLineNum = 1139;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1140;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("coords_almacen")); - //BA.debugLineNum = 1142;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1143;BA.debugLine="cmd.Name = \"select_cat_gunaprod3_MAZAPA\""; -_cmd.Name /*String*/ = "select_cat_gunaprod3_MAZAPA"; - //BA.debugLineNum = 1144;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1145;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod3\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod3")); - //BA.debugLineNum = 1147;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1148;BA.debugLine="cmd.Name = \"select_pagares_MAZAPA\""; -_cmd.Name /*String*/ = "select_pagares_MAZAPA"; - //BA.debugLineNum = 1149;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text,ALM"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1150;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"PAGARES\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("PAGARES")); - //BA.debugLineNum = 1182;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUA"; -_d = (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 COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 1183;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 1184;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 1185;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 1186;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1187;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1188;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 1189;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1190;BA.debugLine="ToastMessageShow(\"Se actualizarán los datos, est"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Se actualizarán los datos, este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 1191;BA.debugLine="ProgressDialogShow2(\"Descargando rutas, espere u"; -__c.ProgressDialogShow2(ba,BA.ObjectToCharSequence("Descargando rutas, espere un momento."),__c.False); - //BA.debugLineNum = 1192;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\""; -if (__c.Not(_isconnectedtointernet())) { -__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; - //BA.debugLineNum = 1194;BA.debugLine="Starter.skmt.ExecNonQuery2(\"DELETE FROM CAT_VARI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"CARGA_DIA"})); - //BA.debugLineNum = 1195;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; -_starter._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)("CARGA_DIA"),(Object)(1)})); - }else { - //BA.debugLineNum = 1199;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("36750361","XXXX",0); - //BA.debugLineNum = 1200;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 = 1203;BA.debugLine="End Sub"; -return ""; -} -public String _checachek() throws Exception{ - //BA.debugLineNum = 695;BA.debugLine="Sub checachek"; - //BA.debugLineNum = 696;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT CHECADO FROM"; -_b = (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 CHECADO FROM CHECADO_CHECK"))); - //BA.debugLineNum = 697;BA.debugLine="If b.RowCount > 0 Then"; -if (_b.getRowCount()>0) { - //BA.debugLineNum = 698;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 699;BA.debugLine="If b.GetString(\"CHECADO\") = 0 Then"; -if ((_b.GetString("CHECADO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 700;BA.debugLine="b_check.Visible = True"; -_b_check.setVisible(__c.True); - }else if((_b.GetString("CHECADO")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 702;BA.debugLine="b_check.Visible =False"; -_b_check.setVisible(__c.False); - }; - //BA.debugLineNum = 704;BA.debugLine="b.Close"; -_b.Close(); - }; - //BA.debugLineNum = 706;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 reqManager As DBRequestManager"; -_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 5;BA.debugLine="Dim conectado As String"; -_conectado = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim t1 As Timer"; -_t1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 7;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim PHONE As Phone"; -_phone = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 9;BA.debugLine="Dim trabajar As Button"; -_trabajar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim b As Cursor"; -_b = 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 f1 As Cursor"; -_f1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim f2 As Cursor"; -_f2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim f3 As Cursor"; -_f3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim F4 As Cursor"; -_f4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim lv As ListView"; -_lv = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim cargar As Button"; -_cargar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim pendiente As Button"; -_pendiente = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim foto1() As Byte"; -_foto1 = new byte[(int) (0)]; -; - //BA.debugLineNum = 23;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 24;BA.debugLine="Dim connecta As Button"; -_connecta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim conn As String"; -_conn = ""; - //BA.debugLineNum = 26;BA.debugLine="Dim Subir As Button"; -_subir = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 28;BA.debugLine="Dim TOPE As Int"; -_tope = 0; - //BA.debugLineNum = 29;BA.debugLine="Dim COUNT_CLIE As Int"; -_count_clie = 0; - //BA.debugLineNum = 30;BA.debugLine="Dim fecha As String"; -_fecha = ""; - //BA.debugLineNum = 31;BA.debugLine="Dim drop As Double"; -_drop = 0; - //BA.debugLineNum = 32;BA.debugLine="Dim efectiva As Double"; -_efectiva = 0; - //BA.debugLineNum = 33;BA.debugLine="Dim L As Cursor"; -_l = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim l_aLiquidar As Label"; -_l_aliquidar = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim l_cuantosc As Label"; -_l_cuantosc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim l_montoSalida As Label"; -_l_montosalida = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Dim l_ctast As Label"; -_l_ctast = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim BUSCA As Button"; -_busca = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim Cuantos As String"; -_cuantos = ""; - //BA.debugLineNum = 41;BA.debugLine="Dim l_cuantosn As Label"; -_l_cuantosn = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim e_ruta As EditText"; -_e_ruta = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim l_porvisitar As Label"; -_l_porvisitar = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim b_mapa As Button"; -_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim l_ruta As Label"; -_l_ruta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim ALMACEN As String"; -_almacen = ""; - //BA.debugLineNum = 47;BA.debugLine="Private img2 As ImageView"; -_img2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim Listo1 As String"; -_listo1 = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim Listo2 As String"; -_listo2 = ""; - //BA.debugLineNum = 50;BA.debugLine="Dim Listo3 As String"; -_listo3 = ""; - //BA.debugLineNum = 51;BA.debugLine="Dim Listo4 As String"; -_listo4 = ""; - //BA.debugLineNum = 52;BA.debugLine="Dim Listo5 As String"; -_listo5 = ""; - //BA.debugLineNum = 53;BA.debugLine="Dim EJECUTANDO As String"; -_ejecutando = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim RES As String"; -_res = ""; - //BA.debugLineNum = 55;BA.debugLine="Dim inve As String"; -_inve = ""; - //BA.debugLineNum = 56;BA.debugLine="Dim cuantos_pedidosc As String"; -_cuantos_pedidosc = ""; - //BA.debugLineNum = 57;BA.debugLine="Dim cuantos_pedido As String"; -_cuantos_pedido = ""; - //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_noventa As String"; -_cuantos_noventa = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim datos_iguales As String"; -_datos_iguales = ""; - //BA.debugLineNum = 60;BA.debugLine="Dim p As PhoneId"; -_p = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 61;BA.debugLine="Dim imei As String"; -_imei = ""; - //BA.debugLineNum = 63;BA.debugLine="Private inv As Button"; -_inv = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Private L_MONTOE As Label"; -_l_montoe = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Private B_CLIEPROD As Button"; -_b_clieprod = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Private ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Private B_REGRESA As Button"; -_b_regresa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 69;BA.debugLine="Private Panel1 As Panel"; -_panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 70;BA.debugLine="Dim ESTATUS As String"; -_estatus = ""; - //BA.debugLineNum = 71;BA.debugLine="Dim batterystatus(11) As Int"; -_batterystatus = new int[(int) (11)]; -; - //BA.debugLineNum = 72;BA.debugLine="Private bu As BatteryUtilities"; -_bu = new reparto_mazapa.keymon.lat.batteryutilities(); - //BA.debugLineNum = 73;BA.debugLine="Dim RUTA_T As String"; -_ruta_t = ""; - //BA.debugLineNum = 74;BA.debugLine="Dim reqs As List"; -_reqs = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 76;BA.debugLine="Private Btn_Ubicar_Ru As Button"; -_btn_ubicar_ru = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Dim cargo As String"; -_cargo = ""; - //BA.debugLineNum = 78;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Dim ime As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 80;BA.debugLine="Private b_tabulador As Button"; -_b_tabulador = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Private l_rutasP As Label"; -_l_rutasp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private l_rechazo As Label"; -_l_rechazo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private Label9 As Label"; -_label9 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Dim cp As Cursor"; -_cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Private b_check As Button"; -_b_check = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private b_rechazos As Button"; -_b_rechazos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private p_prod As Panel"; -_p_prod = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Private b_regreso As Button"; -_b_regreso = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private lv_prod_Prin As ListView"; -_lv_prod_prin = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Private b_venta_emp As Button"; -_b_venta_emp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Dim successfulRequests As Int = 0"; -_successfulrequests = (int) (0); - //BA.debugLineNum = 93;BA.debugLine="Dim totalRegistros As Int = 0"; -_totalregistros = (int) (0); - //BA.debugLineNum = 94;BA.debugLine="Dim totalRegistrosTotales As Int = 0"; -_totalregistrostotales = (int) (0); - //BA.debugLineNum = 95;BA.debugLine="Dim todosRequest As Int = 0"; -_todosrequest = (int) (0); - //BA.debugLineNum = 96;BA.debugLine="Private pEnvioInfo As Panel"; -_penvioinfo = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 97;BA.debugLine="Private bEnvioInfo As Button"; -_benvioinfo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 98;BA.debugLine="Private pbEnvioInfo As ProgressBar"; -_pbenvioinfo = new anywheresoftware.b4a.objects.ProgressBarWrapper(); - //BA.debugLineNum = 99;BA.debugLine="Private lEnviaInfo As Label"; -_lenviainfo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Private lVersionName As Label"; -_lversionname = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 101;BA.debugLine="End Sub"; -return ""; -} -public String _connecta_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _rut = null; -String _rutaquetraje = ""; - //BA.debugLineNum = 1797;BA.debugLine="Sub connecta_Click"; - //BA.debugLineNum = 1798;BA.debugLine="LogColor($\"ReqServer = ${B4XPages.MainPage.server"; -__c.LogImpl("37077889",("ReqServer = "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._server /*String*/ ))+""),__c.Colors.Red); - //BA.debugLineNum = 1799;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; -if (__c.Not(_isconnectedtointernet())) { -__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; - //BA.debugLineNum = 1800;BA.debugLine="If e_ruta.Text <> \"\" Then"; -if ((_e_ruta.getText()).equals("") == false) { - //BA.debugLineNum = 1802;BA.debugLine="Dim rut As Cursor = Starter.skmt.ExecQuery(\"SELE"; -_rut = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rut = (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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 1803;BA.debugLine="If rut.RowCount = 0 Then"; -if (_rut.getRowCount()==0) { - //BA.debugLineNum = 1804;BA.debugLine="cargadedia"; -_cargadedia(); - //BA.debugLineNum = 1805;BA.debugLine="Log(1.1)"; -__c.LogImpl("37077896",BA.NumberToString(1.1),0); - }else { - //BA.debugLineNum = 1807;BA.debugLine="rut.Position = 0"; -_rut.setPosition((int) (0)); - //BA.debugLineNum = 1808;BA.debugLine="Dim rutaquetraje As String= rut.GetString(\"RUTA"; -_rutaquetraje = _rut.GetString("RUTAA"); - //BA.debugLineNum = 1809;BA.debugLine="If rutaquetraje = e_ruta.Text Then"; -if ((_rutaquetraje).equals(_e_ruta.getText())) { - //BA.debugLineNum = 1810;BA.debugLine="cargadedia"; -_cargadedia(); - //BA.debugLineNum = 1811;BA.debugLine="Log(2.1)"; -__c.LogImpl("37077902",BA.NumberToString(2.1),0); - }else { - //BA.debugLineNum = 1813;BA.debugLine="Log(2.2)"; -__c.LogImpl("37077904",BA.NumberToString(2.2),0); - //BA.debugLineNum = 1814;BA.debugLine="MsgboxAsync(\"Cargaste una ruta diferente. Por"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Cargaste una ruta diferente. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba); - }; - }; - }; - //BA.debugLineNum = 1826;BA.debugLine="End Sub"; -return ""; -} -public String _connecta_longclick() throws Exception{ -int _i = 0; - //BA.debugLineNum = 2235;BA.debugLine="Private Sub connecta_LongClick"; - //BA.debugLineNum = 2236;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARIO"; -_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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO"))); - //BA.debugLineNum = 2237;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2238;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi"; -__c.LogImpl("38192003",("Procesando REPARTO_GEO: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 2239;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -_totalregistros = (int) (_totalregistros+_c.getRowCount()); - //BA.debugLineNum = 2240;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -_totalregistrostotales = (int) (_totalregistrostotales+_c.getRowCount()); - //BA.debugLineNum = 2241;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -__c.LogImpl("38192006",("Total acumulado: "+__c.SmartStringFormatter("",(Object)(_totalregistros))+""),0); - //BA.debugLineNum = 2243;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 = 2244;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 2245;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2246;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2247;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\""; -_cmd.Name /*String*/ = "insert_REPARTO_MAZAPA"; - //BA.debugLineNum = 2248;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("FECHA_PUNTEO")),(Object)(_c.GetString("LATITUD")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("RUTA_REPARTO")),(Object)(_c.GetString("RUTA_PREV")),(Object)(_c.GetString("FECHA_PREVENTA")),(Object)(_c.GetString("MOTIVO")),(Object)(_c.GetString("COMENTARIO")),(Object)(_c.GetString("TIPO"))}; - //BA.debugLineNum = 2249;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_REPARTOPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 2252;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2253;BA.debugLine="End Sub"; -return ""; -} -public String _e_ruta_enterpressed() throws Exception{ - //BA.debugLineNum = 1842;BA.debugLine="Sub e_ruta_EnterPressed"; - //BA.debugLineNum = 1843;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; -if ((_e_ruta.getText()).equals("FIN DIA")) { - //BA.debugLineNum = 1844;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 = 1845;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1846;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1847;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE GPS SET HABI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)})); - //BA.debugLineNum = 1848;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from GPS\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from GPS"); - //BA.debugLineNum = 1849;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from PICK_CIE"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICK_CIEGO"); - //BA.debugLineNum = 1850;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO_GEO"); - //BA.debugLineNum = 1851;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_c"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); - //BA.debugLineNum = 1852;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECADO_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECADO_CHECK"); - //BA.debugLineNum = 1853;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CHECKLIS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CHECKLIST2"); - //BA.debugLineNum = 1854;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); - //BA.debugLineNum = 1855;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from noventa\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); - //BA.debugLineNum = 1856;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from clie_act"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); - //BA.debugLineNum = 1857;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from kmt_info"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 1858;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 1859;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from cat_guna"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); - //BA.debugLineNum = 1860;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_DETA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 1861;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_VEN"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 1862;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from REPARTO\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from REPARTO"); - //BA.debugLineNum = 1863;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); - //BA.debugLineNum = 1864;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); - //BA.debugLineNum = 1865;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1866;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - //BA.debugLineNum = 1869;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from waypoints"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from waypoints"); - }; - //BA.debugLineNum = 1871;BA.debugLine="End Sub"; -return ""; -} -public void _envioinfo() throws Exception{ -ResumableSub_envioinfo rsub = new ResumableSub_envioinfo(this); -rsub.resume(ba, null); -} -public static class ResumableSub_envioinfo extends BA.ResumableSub { -public ResumableSub_envioinfo(reparto_mazapa.keymon.lat.c_principal parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.c_principal parent; -int _i = 0; -String _folio = ""; -String[] _fechatabulador = null; -String[] _fechatabulador2 = null; -String _fechatabulador3 = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _d4 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _d5 = null; -String _restacant = ""; -String[] _fecha1 = null; -String[] _fecha2 = null; -String _fecha3 = ""; -String[] _hora = null; -String _sdate = ""; -String _stime = ""; -int step16; -int limit16; -int step36; -int limit36; -int step54; -int limit54; -int step71; -int limit71; -int step88; -int limit88; -int step105; -int limit105; -int step121; -int limit121; -int step143; -int limit143; -int step165; -int limit165; -int step215; -int limit215; - -@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 = 766;BA.debugLine="Log(\"*** Entramos a envia info***\")"; -parent.__c.LogImpl("36684674","*** Entramos a envia info***",0); - //BA.debugLineNum = 767;BA.debugLine="Log(\"--- Entramos a envia info---\")"; -parent.__c.LogImpl("36684675","--- Entramos a envia info---",0); - //BA.debugLineNum = 768;BA.debugLine="Log(\"### Entramos a envia info###\")"; -parent.__c.LogImpl("36684676","### Entramos a envia info###",0); - //BA.debugLineNum = 769;BA.debugLine="successfulRequests = 0"; -parent._successfulrequests = (int) (0); - //BA.debugLineNum = 770;BA.debugLine="totalRegistros = 0"; -parent._totalregistros = (int) (0); - //BA.debugLineNum = 771;BA.debugLine="totalRegistrosTotales = 0"; -parent._totalregistrostotales = (int) (0); - //BA.debugLineNum = 772;BA.debugLine="todosRequest = -1"; -parent._todosrequest = (int) (-1); - //BA.debugLineNum = 773;BA.debugLine="bEnvioInfo.Enabled = False"; -parent._benvioinfo.setEnabled(parent.__c.False); - //BA.debugLineNum = 775;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NV_CLIENTE,NV_"; -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 NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO FROM NOVENTA"))); - //BA.debugLineNum = 776;BA.debugLine="D=Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS CUAN"; -parent._d = (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 COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 777;BA.debugLine="If c.RowCount>0 Then"; -if (true) break; - -case 1: -//if -this.state = 8; -if (parent._c.getRowCount()>0) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 778;BA.debugLine="Log($\"Procesando NOVENTA: ${c.RowCount} registro"; -parent.__c.LogImpl("36684686",("Procesando NOVENTA: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 779;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 780;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 781;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684689",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 783;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 4: -//for -this.state = 7; -step16 = 1; -limit16 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 87; -if (true) break; - -case 87: -//C -this.state = 7; -if ((step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16)) this.state = 6; -if (true) break; - -case 88: -//C -this.state = 87; -_i = ((int)(0 + _i + step16)) ; -if (true) break; - -case 6: -//C -this.state = 88; - //BA.debugLineNum = 784;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 785;BA.debugLine="foto1 = c.GetBlob(\"NV_FOTO\")"; -parent._foto1 = parent._c.GetBlob("NV_FOTO"); - //BA.debugLineNum = 786;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 787;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 788;BA.debugLine="cmd.Name = \"insert_reparto_noventa_MAZAPA_REPG\""; -parent._cmd.Name /*String*/ = "insert_reparto_noventa_MAZAPA_REPG"; - //BA.debugLineNum = 789;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("NV_CLIENTE")),(Object)(parent._c.GetString("NV_FECHA")),(Object)(parent._c.GetString("NV_USER")),(Object)(parent._c.GetString("NV_MOTIVO")),(Object)(parent._c.GetString("NV_COMM")),(Object)(parent._c.GetString("NV_LAT")),(Object)(parent._c.GetString("NV_LON")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; - //BA.debugLineNum = 790;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("inst_noventa")); - if (true) break; -if (true) break; - -case 7: -//C -this.state = 8; -; - //BA.debugLineNum = 792;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 8: -//C -this.state = 9; -; - //BA.debugLineNum = 794;BA.debugLine="d.Position=0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 795;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -parent._cuantos_noventa = parent._d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 796;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 799;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT HVD_CLIENTE,HVD_"; -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 HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID, HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_PARCIAL FROM hist_ventas WHERE HVD_RECHAZO = 1 OR HVD_PARCIAL = 1"))); - //BA.debugLineNum = 800;BA.debugLine="If c.RowCount>0 Then"; -if (true) break; - -case 9: -//if -this.state = 16; -if (parent._c.getRowCount()>0) { -this.state = 11; -}if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 801;BA.debugLine="Log($\"Procesando HIST_VENTAS (rechazos/parciales"; -parent.__c.LogImpl("36684709",("Procesando HIST_VENTAS (rechazos/parciales): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 802;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 803;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 804;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684712",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 806;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 12: -//for -this.state = 15; -step36 = 1; -limit36 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 89; -if (true) break; - -case 89: -//C -this.state = 15; -if ((step36 > 0 && _i <= limit36) || (step36 < 0 && _i >= limit36)) this.state = 14; -if (true) break; - -case 90: -//C -this.state = 89; -_i = ((int)(0 + _i + step36)) ; -if (true) break; - -case 14: -//C -this.state = 90; - //BA.debugLineNum = 807;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 808;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 809;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 810;BA.debugLine="cmd.Name = \"insert_rep_hist_ventas_MAZAPA_REPG\""; -parent._cmd.Name /*String*/ = "insert_rep_hist_ventas_MAZAPA_REPG"; - //BA.debugLineNum = 811;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"H"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("HVD_CLIENTE")),(Object)(parent._c.GetString("HVD_PRONOMBRE")),(Object)(parent._c.GetString("HVD_CANT")),(Object)(parent._c.GetString("HVD_COSTO_TOT")),(Object)(parent._c.GetString("HVD_CODPROMO")),(Object)(parent._c.GetString("HVD_PROID")),(Object)(parent._c.GetString("HVD_NUM_TICKET")),(Object)(parent._c.GetString("HVD_NUM_REGISTRO")),(Object)(parent._c.GetString("HVD_RECHAZO")),(Object)(parent._c.GetString("HVD_PARCIAL")),(Object)(parent._almacen)}; - //BA.debugLineNum = 812;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("inst_noventa")); - if (true) break; -if (true) break; - -case 15: -//C -this.state = 16; -; - //BA.debugLineNum = 814;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 16: -//C -this.state = 17; -; - //BA.debugLineNum = 818;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PE_TIPO, PE_RUTA"; -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 PE_TIPO, PE_RUTA, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_CLIENTEOR, PE_CAJAS, PE_BCAJAS, CONSECUTIVO, FECHA_PREV, RUTA_REP, PE_REGALO FROM PEDIDO"))); - //BA.debugLineNum = 819;BA.debugLine="If c.RowCount>0 Then"; -if (true) break; - -case 17: -//if -this.state = 24; -if (parent._c.getRowCount()>0) { -this.state = 19; -}if (true) break; - -case 19: -//C -this.state = 20; - //BA.debugLineNum = 820;BA.debugLine="Log(\">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"; -parent.__c.LogImpl("36684728",">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Pedido reparto <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0); - //BA.debugLineNum = 821;BA.debugLine="Log($\"Procesando PEDIDO: ${c.RowCount} registros"; -parent.__c.LogImpl("36684729",("Procesando PEDIDO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 822;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 823;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 824;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684732",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 825;BA.debugLine="Log(\">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"; -parent.__c.LogImpl("36684733",">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Pedido reparto <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0); - //BA.debugLineNum = 826;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 20: -//for -this.state = 23; -step54 = 1; -limit54 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 91; -if (true) break; - -case 91: -//C -this.state = 23; -if ((step54 > 0 && _i <= limit54) || (step54 < 0 && _i >= limit54)) this.state = 22; -if (true) break; - -case 92: -//C -this.state = 91; -_i = ((int)(0 + _i + step54)) ; -if (true) break; - -case 22: -//C -this.state = 92; - //BA.debugLineNum = 827;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 828;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 829;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 830;BA.debugLine="cmd.Name = \"insert_pedido_REP_MAZAPA\""; -parent._cmd.Name /*String*/ = "insert_pedido_REP_MAZAPA"; - //BA.debugLineNum = 831;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("PE_TIPO")),(Object)(parent._c.GetString("PE_RUTA")),(Object)(parent._c.GetString("PE_CEDIS")),(Object)(parent._c.GetString("PE_COSTO_TOT")),(Object)(parent._c.GetString("PE_COSTOU")),(Object)(parent._c.GetString("PE_CANT")),(Object)(parent._c.GetString("PE_PRONOMBRE")),(Object)(parent._c.GetString("PE_PROID")),(Object)(parent._c.GetString("PE_CLIENTE")),(Object)(parent._c.GetString("PE_FECHA")),(Object)(parent._c.GetString("PE_USUARIO")),(Object)(parent._c.GetString("PE_CLIENTEOR")),(Object)(parent._c.GetString("PE_CAJAS")),(Object)(parent._c.GetString("PE_BCAJAS")),(Object)(parent._c.GetString("CONSECUTIVO")),(Object)(parent._c.GetString("FECHA_PREV")),(Object)(parent._c.GetString("RUTA_REP")),(Object)(parent._c.GetString("PE_REGALO"))}; - //BA.debugLineNum = 832;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedido_MAZ"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_pedido_MAZAPA")); - if (true) break; -if (true) break; - -case 23: -//C -this.state = 24; -; - //BA.debugLineNum = 834;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 24: -//C -this.state = 25; -; - //BA.debugLineNum = 838;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from reparto"; -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 * from reparto"))); - //BA.debugLineNum = 839;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 25: -//if -this.state = 32; -if (parent._c.getRowCount()>0) { -this.state = 27; -}if (true) break; - -case 27: -//C -this.state = 28; - //BA.debugLineNum = 840;BA.debugLine="Log($\"Procesando REPARTO: ${c.RowCount} registro"; -parent.__c.LogImpl("36684748",("Procesando REPARTO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 841;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 842;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 843;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684751",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 845;BA.debugLine="Private folio As String = Subs.hmsKMT"; -_folio = parent._subs._hmskmt /*String*/ (ba); - //BA.debugLineNum = 846;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 28: -//for -this.state = 31; -step71 = 1; -limit71 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 93; -if (true) break; - -case 93: -//C -this.state = 31; -if ((step71 > 0 && _i <= limit71) || (step71 < 0 && _i >= limit71)) this.state = 30; -if (true) break; - -case 94: -//C -this.state = 93; -_i = ((int)(0 + _i + step71)) ; -if (true) break; - -case 30: -//C -this.state = 94; - //BA.debugLineNum = 847;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 848;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 849;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 850;BA.debugLine="cmd.Name = \"insertReparto_MAZAPA\""; -parent._cmd.Name /*String*/ = "insertReparto_MAZAPA"; - //BA.debugLineNum = 851;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(parent._c.GetString("REP_FECHA")),(Object)(parent._c.GetString("REP_CLIENTE")),(Object)(parent._c.GetString("REP_CLI_ORIG")),(Object)(parent._c.GetString("REP_PRODID")),(Object)(parent._c.GetString("REP_PRONOMBRE")),(Object)(parent._c.GetString("REP_PRODREGISTRO")),(Object)(parent._c.GetString("REP_CANT")),(Object)(parent._c.GetString("REP_PRECIO")),(Object)(parent._c.GetString("REP_COSTO_TOT")),(Object)(parent._c.GetString("REP_RECHAZO")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; - //BA.debugLineNum = 852;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_reparto\")"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_reparto")); - if (true) break; -if (true) break; - -case 31: -//C -this.state = 32; -; - //BA.debugLineNum = 854;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 32: -//C -this.state = 33; -; - //BA.debugLineNum = 858;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from rechazo"; -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 * from rechazos"))); - //BA.debugLineNum = 859;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 33: -//if -this.state = 40; -if (parent._c.getRowCount()>0) { -this.state = 35; -}if (true) break; - -case 35: -//C -this.state = 36; - //BA.debugLineNum = 860;BA.debugLine="Log($\"Procesando RECHAZOS: ${c.RowCount} registr"; -parent.__c.LogImpl("36684768",("Procesando RECHAZOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 861;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 862;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 863;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684771",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 865;BA.debugLine="Private folio As String = Subs.hmsKMT"; -_folio = parent._subs._hmskmt /*String*/ (ba); - //BA.debugLineNum = 866;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 36: -//for -this.state = 39; -step88 = 1; -limit88 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 95; -if (true) break; - -case 95: -//C -this.state = 39; -if ((step88 > 0 && _i <= limit88) || (step88 < 0 && _i >= limit88)) this.state = 38; -if (true) break; - -case 96: -//C -this.state = 95; -_i = ((int)(0 + _i + step88)) ; -if (true) break; - -case 38: -//C -this.state = 96; - //BA.debugLineNum = 867;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 868;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 869;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 870;BA.debugLine="cmd.Name = \"insertRechazos_MAZAPA\""; -parent._cmd.Name /*String*/ = "insertRechazos_MAZAPA"; - //BA.debugLineNum = 871;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(parent._c.GetString("R_FECHA")),(Object)(parent._c.GetString("R_CLIENTE")),(Object)(parent._c.GetString("R_CLI_ORIG")),(Object)(parent._c.GetString("R_PRODID")),(Object)(parent._c.GetString("R_CANT")),(Object)(parent._c.GetString("R_RECHAZO")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; - //BA.debugLineNum = 872;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_rechazos\")"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_rechazos")); - if (true) break; -if (true) break; - -case 39: -//C -this.state = 40; -; - //BA.debugLineNum = 874;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 40: -//C -this.state = 41; -; - //BA.debugLineNum = 878;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * from ventas\""; -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 * from ventas"))); - //BA.debugLineNum = 879;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 41: -//if -this.state = 48; -if (parent._c.getRowCount()>0) { -this.state = 43; -}if (true) break; - -case 43: -//C -this.state = 44; - //BA.debugLineNum = 880;BA.debugLine="Log($\"Procesando VENTAS: ${c.RowCount} registros"; -parent.__c.LogImpl("36684788",("Procesando VENTAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 881;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 882;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 883;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684791",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 885;BA.debugLine="Private folio As String = Subs.hmsKMT"; -_folio = parent._subs._hmskmt /*String*/ (ba); - //BA.debugLineNum = 886;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 44: -//for -this.state = 47; -step105 = 1; -limit105 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 97; -if (true) break; - -case 97: -//C -this.state = 47; -if ((step105 > 0 && _i <= limit105) || (step105 < 0 && _i >= limit105)) this.state = 46; -if (true) break; - -case 98: -//C -this.state = 97; -_i = ((int)(0 + _i + step105)) ; -if (true) break; - -case 46: -//C -this.state = 98; - //BA.debugLineNum = 887;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 888;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 889;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 890;BA.debugLine="cmd.Name = \"insertVentas_MAZAPA\""; -parent._cmd.Name /*String*/ = "insertVentas_MAZAPA"; - //BA.debugLineNum = 891;BA.debugLine="cmd.Parameters = Array As Object(folio, C.GetSt"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_folio),(Object)(parent._c.GetString("V_FECHA")),(Object)(parent._c.GetString("V_CLIENTE")),(Object)(parent._c.GetString("V_CLI_ORIG")),(Object)(parent._c.GetString("V_PRODID")),(Object)(parent._c.GetString("V_CANT")),(Object)(parent._c.GetString("V_RECHAZO")),(Object)(parent._almacen),(Object)(parent._l_ruta.getText())}; - //BA.debugLineNum = 892;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_ventas\")"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_ventas")); - if (true) break; -if (true) break; - -case 47: -//C -this.state = 48; -; - //BA.debugLineNum = 894;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 48: -//C -this.state = 49; -; - //BA.debugLineNum = 898;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CLIENTE, USUARIO"; -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 CLIENTE, USUARIO, FECHA_PUNTEO, LATITUD, LONGITUD, ALMACEN, RUTA_REPARTO, RUTA_PREV, FECHA_PREVENTA, MOTIVO, COMENTARIO,TIPO FROM REPARTO_GEO"))); - //BA.debugLineNum = 899;BA.debugLine="If c.RowCount>0 Then"; -if (true) break; - -case 49: -//if -this.state = 56; -if (parent._c.getRowCount()>0) { -this.state = 51; -}if (true) break; - -case 51: -//C -this.state = 52; - //BA.debugLineNum = 900;BA.debugLine="Log($\"Procesando REPARTO_GEO: ${c.RowCount} regi"; -parent.__c.LogImpl("36684808",("Procesando REPARTO_GEO: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 901;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 902;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 903;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684811",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 905;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 52: -//for -this.state = 55; -step121 = 1; -limit121 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 99; -if (true) break; - -case 99: -//C -this.state = 55; -if ((step121 > 0 && _i <= limit121) || (step121 < 0 && _i >= limit121)) this.state = 54; -if (true) break; - -case 100: -//C -this.state = 99; -_i = ((int)(0 + _i + step121)) ; -if (true) break; - -case 54: -//C -this.state = 100; - //BA.debugLineNum = 906;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 907;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 908;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 909;BA.debugLine="cmd.Name = \"insert_REPARTO_MAZAPA\""; -parent._cmd.Name /*String*/ = "insert_REPARTO_MAZAPA"; - //BA.debugLineNum = 910;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("CLIENTE")),(Object)(parent._c.GetString("USUARIO")),(Object)(parent._c.GetString("FECHA_PUNTEO")),(Object)(parent._c.GetString("LATITUD")),(Object)(parent._c.GetString("LONGITUD")),(Object)(parent._c.GetString("ALMACEN")),(Object)(parent._c.GetString("RUTA_REPARTO")),(Object)(parent._c.GetString("RUTA_PREV")),(Object)(parent._c.GetString("FECHA_PREVENTA")),(Object)(parent._c.GetString("MOTIVO")),(Object)(parent._c.GetString("COMENTARIO")),(Object)(parent._c.GetString("TIPO"))}; - //BA.debugLineNum = 911;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_REPARTOPe"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)(("ins_REPARTOPendientes_head_"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CLIENTE")))+""))); - if (true) break; -if (true) break; - -case 55: -//C -this.state = 56; -; - if (true) break; - -case 56: -//C -this.state = 57; -; - //BA.debugLineNum = 914;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 917;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; -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 VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); - //BA.debugLineNum = 918;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; -parent._d = (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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 919;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; -parent._b = (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 ID_ALMACEN FROM CAT_ALMACEN"))); - //BA.debugLineNum = 920;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; -parent._f = (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 HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 921;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 922;BA.debugLine="b.Position = 0"; -parent._b.setPosition((int) (0)); - //BA.debugLineNum = 923;BA.debugLine="f.Position = 0"; -parent._f.setPosition((int) (0)); - //BA.debugLineNum = 924;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 57: -//if -this.state = 64; -if (parent._c.getRowCount()>0) { -this.state = 59; -}if (true) break; - -case 59: -//C -this.state = 60; - //BA.debugLineNum = 925;BA.debugLine="Log($\"Procesando TABULADOR_MONEDAS: ${c.RowCount"; -parent.__c.LogImpl("36684833",("Procesando TABULADOR_MONEDAS: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 926;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 927;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 928;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684836",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 930;BA.debugLine="For i = 0 To c.RowCount - 1"; -if (true) break; - -case 60: -//for -this.state = 63; -step143 = 1; -limit143 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 101; -if (true) break; - -case 101: -//C -this.state = 63; -if ((step143 > 0 && _i <= limit143) || (step143 < 0 && _i >= limit143)) this.state = 62; -if (true) break; - -case 102: -//C -this.state = 101; -_i = ((int)(0 + _i + step143)) ; -if (true) break; - -case 62: -//C -this.state = 102; - //BA.debugLineNum = 931;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 932;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 933;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; -_fechatabulador = parent.__c.Regex.Split(" ",parent._f.GetString("HVD_FECHA")); - //BA.debugLineNum = 934;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; -_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 935;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; -_fechatabulador3 = _fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 936;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 937;BA.debugLine="cmd.Name = \"insert_tabulador_monedas_MAZAPA\""; -parent._cmd.Name /*String*/ = "insert_tabulador_monedas_MAZAPA"; - //BA.debugLineNum = 938;BA.debugLine="cmd.Parameters = Array As Object(d.GetString(\"R"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._d.GetString("RUTAA")),(Object)(parent._b.GetString("ID_ALMACEN")),(Object)(parent._c.GetString("VEINTE")),(Object)(parent._c.GetString("DIEZ")),(Object)(parent._c.GetString("CINCO")),(Object)(parent._c.GetString("DOS")),(Object)(parent._c.GetString("PESO")),(Object)(parent._c.GetString("CENTAVO")),(Object)(_fechatabulador3)}; - //BA.debugLineNum = 939;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_tabulador_mon")); - if (true) break; -if (true) break; - -case 63: -//C -this.state = 64; -; - //BA.debugLineNum = 941;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 942;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 943;BA.debugLine="b.Close"; -parent._b.Close(); - //BA.debugLineNum = 944;BA.debugLine="f.Close"; -parent._f.Close(); - if (true) break; - -case 64: -//C -this.state = 65; -; - //BA.debugLineNum = 948;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IFNULL(HVD_REC"; -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 IFNULL(HVD_RECHAZOCANT,0) AS HVD_RECHAZOCANT, HVD_RUTA, HVD_CLIENTE, HVD_PROID, HVD_FECHA, HVD_CODPROMO, HVD_NUM_TICKET, HVD_CANT, CONSECUTIVO, BCAJAS_OR AS BCAJAS, CANTC_OR AS CANTC FROM HIST_VENTAS"))); - //BA.debugLineNum = 949;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 65: -//if -this.state = 78; -if (parent._c.getRowCount()>0) { -this.state = 67; -}if (true) break; - -case 67: -//C -this.state = 68; - //BA.debugLineNum = 950;BA.debugLine="Log($\"Procesando HIST_VENTAS (actualización): ${"; -parent.__c.LogImpl("36684858",("Procesando HIST_VENTAS (actualización): "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 951;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 952;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 953;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684861",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 955;BA.debugLine="For i=0 To c.RowCount -1"; -if (true) break; - -case 68: -//for -this.state = 77; -step165 = 1; -limit165 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 103; -if (true) break; - -case 103: -//C -this.state = 77; -if ((step165 > 0 && _i <= limit165) || (step165 < 0 && _i >= limit165)) this.state = 70; -if (true) break; - -case 104: -//C -this.state = 103; -_i = ((int)(0 + _i + step165)) ; -if (true) break; - -case 70: -//C -this.state = 71; - //BA.debugLineNum = 956;BA.debugLine="c.Position = i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 957;BA.debugLine="Log(c.GetString(\"HVD_CLIENTE\"))"; -parent.__c.LogImpl("36684865",parent._c.GetString("HVD_CLIENTE"),0); - //BA.debugLineNum = 958;BA.debugLine="Private d4 As Cursor = Starter.skmt.ExecQuery($"; -_d4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_d4 = (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 CAT_CL_RUTA FROM kmt_info WHERE CAT_CL_CODIGO = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_CLIENTE")))+"'")))); - //BA.debugLineNum = 959;BA.debugLine="d4.Position = 0"; -_d4.setPosition((int) (0)); - //BA.debugLineNum = 960;BA.debugLine="Log(d4.GetString(\"CAT_CL_RUTA\"))"; -parent.__c.LogImpl("36684868",_d4.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 961;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery("; -_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_d5 = (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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 962;BA.debugLine="d5.Position = 0"; -_d5.setPosition((int) (0)); - //BA.debugLineNum = 963;BA.debugLine="Private restacant As String = d5.GetString(\"PE_"; -_restacant = _d5.GetString("PE_CANT"); - //BA.debugLineNum = 964;BA.debugLine="d5.Close"; -_d5.Close(); - //BA.debugLineNum = 966;BA.debugLine="Dim fecha1() As String = Regex.Split(\" \", c.Get"; -_fecha1 = parent.__c.Regex.Split(" ",parent._c.GetString("HVD_FECHA")); - //BA.debugLineNum = 967;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha"; -_fecha2 = parent.__c.Regex.Split("-",_fecha1[(int) (0)]); - //BA.debugLineNum = 968;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&"; -_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; - //BA.debugLineNum = 969;BA.debugLine="Log(fecha3)"; -parent.__c.LogImpl("36684877",_fecha3,0); - //BA.debugLineNum = 970;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha1"; -_hora = parent.__c.Regex.Split("\\.",_fecha1[(int) (1)]); - //BA.debugLineNum = 971;BA.debugLine="Log(hora(0))"; -parent.__c.LogImpl("36684879",_hora[(int) (0)],0); - //BA.debugLineNum = 973;BA.debugLine="Dim sDate, sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 974;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 975;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 976;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 977;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 978;BA.debugLine="If c.GetString(\"HVD_RECHAZOCANT\") <> \"0\" Then"; -if (true) break; - -case 71: -//if -this.state = 76; -if ((parent._c.GetString("HVD_RECHAZOCANT")).equals("0") == false) { -this.state = 73; -}else { -this.state = 75; -}if (true) break; - -case 73: -//C -this.state = 76; - //BA.debugLineNum = 979;BA.debugLine="Log((c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; -parent.__c.LogImpl("36684887",BA.NumberToString(((double)(Double.parseDouble(parent._c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))),0); - //BA.debugLineNum = 980;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 981;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\""; -parent._cmd.Name /*String*/ = "update_HVD_MAZAPArep2"; - //BA.debugLineNum = 982;BA.debugLine="cmd.Parameters = Array As String(c.GetString(\""; -parent._cmd.Parameters /*Object[]*/ = (Object[])(new String[]{parent._c.GetString("HVD_RECHAZOCANT"),parent._c.GetString("BCAJAS"),parent._c.GetString("CANTC"),_sdate+" "+_stime,BA.NumberToString(1),parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PROID"),_fecha3+" "+_hora[(int) (0)],parent._c.GetString("HVD_RUTA"),parent._almacen,parent._l_ruta.getText(),parent._c.GetString("HVD_CODPROMO"),parent._c.GetString("HVD_NUM_TICKET"),parent._c.GetString("HVD_CANT")}); - //BA.debugLineNum = 983;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("update_hvd")); - if (true) break; - -case 75: -//C -this.state = 76; - //BA.debugLineNum = 985;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 986;BA.debugLine="cmd.Name = \"update_HVD_MAZAPArep2\""; -parent._cmd.Name /*String*/ = "update_HVD_MAZAPArep2"; - //BA.debugLineNum = 987;BA.debugLine="Log( c.GetString(\"CANTC\")& c.GetString(\"HVD_CL"; -parent.__c.LogImpl("36684895",parent._c.GetString("CANTC")+parent._c.GetString("HVD_CLIENTE")+parent._c.GetString("HVD_PROID")+_fecha3+" "+_hora[(int) (0)]+_d4.GetString("CAT_CL_RUTA")+parent._almacen+parent._l_ruta.getText()+parent._c.GetString("HVD_CODPROMO")+parent._c.GetString("HVD_NUM_TICKET")+parent._c.GetString("HVD_CANT"),0); - //BA.debugLineNum = 988;BA.debugLine="cmd.Parameters = Array As String(\"\",c.GetStrin"; -parent._cmd.Parameters /*Object[]*/ = (Object[])(new String[]{"",parent._c.GetString("BCAJAS"),parent._c.GetString("CANTC"),"","",parent._c.GetString("HVD_CLIENTE"),parent._c.GetString("HVD_PROID"),_fecha3+" "+_hora[(int) (0)],parent._c.GetString("HVD_RUTA"),parent._almacen,parent._l_ruta.getText(),parent._c.GetString("HVD_CODPROMO"),parent._c.GetString("HVD_NUM_TICKET"),parent._c.GetString("HVD_CANT")}); - //BA.debugLineNum = 989;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvd\")"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("update_hvd")); - if (true) break; - -case 76: -//C -this.state = 104; -; - //BA.debugLineNum = 991;BA.debugLine="d4.Close"; -_d4.Close(); - if (true) break; -if (true) break; - -case 77: -//C -this.state = 78; -; - if (true) break; - -case 78: -//C -this.state = 79; -; - //BA.debugLineNum = 994;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 997;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; -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 MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); - //BA.debugLineNum = 998;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT RUTAA FROM RUT"; -parent._d = (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 RUTAA FROM RUTAA"))); - //BA.debugLineNum = 999;BA.debugLine="b = Starter.skmt.ExecQuery(\"SELECT ID_ALMACEN FRO"; -parent._b = (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 ID_ALMACEN FROM CAT_ALMACEN"))); - //BA.debugLineNum = 1000;BA.debugLine="f = Starter.skmt.ExecQuery(\"SELECT HVD_FECHA FROM"; -parent._f = (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 HVD_FECHA FROM HIST_VENTAS"))); - //BA.debugLineNum = 1001;BA.debugLine="d.Position = 0"; -parent._d.setPosition((int) (0)); - //BA.debugLineNum = 1002;BA.debugLine="b.Position = 0"; -parent._b.setPosition((int) (0)); - //BA.debugLineNum = 1003;BA.debugLine="f.Position = 0"; -parent._f.setPosition((int) (0)); - //BA.debugLineNum = 1004;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 79: -//if -this.state = 86; -if (parent._c.getRowCount()>0) { -this.state = 81; -}if (true) break; - -case 81: -//C -this.state = 82; - //BA.debugLineNum = 1005;BA.debugLine="Log($\"Procesando TABULADOR_BILLETES: ${c.RowCoun"; -parent.__c.LogImpl("36684913",("Procesando TABULADOR_BILLETES: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+" registros"),0); - //BA.debugLineNum = 1006;BA.debugLine="totalRegistros = totalRegistros + c.RowCount"; -parent._totalregistros = (int) (parent._totalregistros+parent._c.getRowCount()); - //BA.debugLineNum = 1007;BA.debugLine="totalRegistrosTotales = totalRegistrosTotales +"; -parent._totalregistrostotales = (int) (parent._totalregistrostotales+parent._c.getRowCount()); - //BA.debugLineNum = 1008;BA.debugLine="Log($\"Total acumulado: ${totalRegistros}\"$)"; -parent.__c.LogImpl("36684916",("Total acumulado: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 1010;BA.debugLine="For i = 0 To c.RowCount - 1"; -if (true) break; - -case 82: -//for -this.state = 85; -step215 = 1; -limit215 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 105; -if (true) break; - -case 105: -//C -this.state = 85; -if ((step215 > 0 && _i <= limit215) || (step215 < 0 && _i >= limit215)) this.state = 84; -if (true) break; - -case 106: -//C -this.state = 105; -_i = ((int)(0 + _i + step215)) ; -if (true) break; - -case 84: -//C -this.state = 106; - //BA.debugLineNum = 1011;BA.debugLine="c.Position=i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 1012;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1013;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; -_fechatabulador = parent.__c.Regex.Split(" ",parent._f.GetString("HVD_FECHA")); - //BA.debugLineNum = 1014;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; -_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); - //BA.debugLineNum = 1015;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; -_fechatabulador3 = _fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (0)]; - //BA.debugLineNum = 1016;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 1017;BA.debugLine="cmd.Name = \"insert_tabulador_billetes_MAZAPA\""; -parent._cmd.Name /*String*/ = "insert_tabulador_billetes_MAZAPA"; - //BA.debugLineNum = 1018;BA.debugLine="cmd.Parameters = Array As Object(b.GetString(\"I"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._b.GetString("ID_ALMACEN")),(Object)(parent._d.GetString("RUTAA")),(Object)(parent._c.GetString("MIL")),(Object)(parent._c.GetString("QUINIENTOS")),(Object)(parent._c.GetString("DOCIENTOS")),(Object)(parent._c.GetString("CIEN")),(Object)(parent._c.GetString("CINCUENTA")),(Object)(parent._c.GetString("VEINTE")),(Object)(_fechatabulador3)}; - //BA.debugLineNum = 1019;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_tabulador_"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("ins_tabulador_bill")); - if (true) break; -if (true) break; - -case 85: -//C -this.state = 86; -; - //BA.debugLineNum = 1021;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 1022;BA.debugLine="d.Close"; -parent._d.Close(); - //BA.debugLineNum = 1023;BA.debugLine="b.Close"; -parent._b.Close(); - //BA.debugLineNum = 1024;BA.debugLine="f.Close"; -parent._f.Close(); - if (true) break; - -case 86: -//C -this.state = -1; -; - //BA.debugLineNum = 1028;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1029;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 1030;BA.debugLine="cmd.Name = \"insert_drop_rep_MAZAPA2\""; -parent._cmd.Name /*String*/ = "insert_drop_rep_MAZAPA2"; - //BA.debugLineNum = 1031;BA.debugLine="cmd.Parameters = Array As Object(Subs.dameUsuario"; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._dameusuariodedb /*String*/ (ba)),(Object)(parent._l_ruta.getText()),(Object)(parent._almacen),(Object)(parent._l_ctast.getText()),(Object)(parent._subs._traeentregados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)(parent._subs._traerechazados /*anywheresoftware.b4a.objects.collections.Map*/ (ba).getObject()),(Object)("ENVIO"),(Object)(parent.__c.Application.getVersionName())}; - //BA.debugLineNum = 1032;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_drop\")"; -parent._reqmanager._executecommand /*String*/ (parent._cmd,(Object)("inst_drop")); - //BA.debugLineNum = 1034;BA.debugLine="Log($\"PROCESO COMPLETADO - TOTAL DE REGISTROS PRO"; -parent.__c.LogImpl("36684942",("PROCESO COMPLETADO - TOTAL DE REGISTROS PROCESADOS: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 1035;BA.debugLine="ToastMessageShow(\"Se Actualizaron los datos, Este"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaron los datos, Este proceso podria tardar hasta un minuto, gracias "+parent._l_ruta.getText()),parent.__c.True); - //BA.debugLineNum = 1037;BA.debugLine="Wait For AllRequestsComplete ' Espera a que todos"; -parent.__c.WaitFor("allrequestscomplete", ba, this, null); -this.state = 107; -return; -case 107: -//C -this.state = -1; -; - //BA.debugLineNum = 1039;BA.debugLine="Log($\"Total registros procesados: ${totalRegistro"; -parent.__c.LogImpl("36684947",("Total registros procesados: "+parent.__c.SmartStringFormatter("",(Object)(parent._totalregistros))+""),0); - //BA.debugLineNum = 1040;BA.debugLine="Log($\"Requests exitosos: ${successfulRequests}\"$)"; -parent.__c.LogImpl("36684948",("Requests exitosos: "+parent.__c.SmartStringFormatter("",(Object)(parent._successfulrequests))+""),0); - //BA.debugLineNum = 1041;BA.debugLine="LogColor(\"Esto es totalRegistrosTotales: ---->\" &"; -parent.__c.LogImpl("36684949","Esto es totalRegistrosTotales: ---->"+BA.NumberToString(parent._totalregistrostotales),parent.__c.Colors.Red); - //BA.debugLineNum = 1044;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _allrequestscomplete() throws Exception{ -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 104;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 105;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return null; -} -public String _inv_click() throws Exception{ - //BA.debugLineNum = 1873;BA.debugLine="Sub inv_Click"; - //BA.debugLineNum = 1874;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 = 1875;BA.debugLine="End Sub"; -return ""; -} -public boolean _isconnectedtointernet() throws Exception{ -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 708;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; - //BA.debugLineNum = 709;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 710;BA.debugLine="r.Target = r.GetContext"; -_r.Target = (Object)(_r.GetContext(ba)); - //BA.debugLineNum = 711;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; -_r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); - //BA.debugLineNum = 712;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; -_r.Target = _r.RunMethod("getActiveNetworkInfo"); - //BA.debugLineNum = 713;BA.debugLine="If r.Target <> Null Then"; -if (_r.Target!= null) { - //BA.debugLineNum = 714;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; -if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); - }; - //BA.debugLineNum = 716;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 717;BA.debugLine="End Sub"; -return false; -} -public String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _result = null; -Object[] _records = null; -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_bcredito = ""; -String _cat_cl_secuencia = ""; -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; -float _cat_dp_precio4 = 0f; -int _cat_dp_conversion1 = 0; -int _cat_dp_cant_min_venta = 0; -String _conversion = ""; -String _precioconver = ""; -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_estatus = ""; -String _hv_cliente = ""; -String _hv_long = ""; -String _hv_lat = ""; -int _consecutivo = 0; -String _hvd_cliente = ""; -String _hvd_pronombre = ""; -String _hvd_cant = ""; -String _hvd_costo_tot = ""; -String _hvd_fecha = ""; -String _hvd_codpromo = ""; -String _hvd_proid = ""; -String _hvd_num_ticket = ""; -String _hvd_num_registro = ""; -String _hvd_rechazo = ""; -String _hvd_placa = ""; -String _bcajas = ""; -String _cantc = ""; -String _hvd_ruta = ""; -String _hvd_listaprecio = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _tc = null; -String _cat_va_descripcion = ""; -String _cat_va_valor = ""; -String _tmp_monto_pagare = ""; -String _tmp_cliente = ""; -int _cuantosp = 0; -int _cuantosc = 0; -int _cuantosn = 0; -String _cat_ve_version = ""; -String _valido = ""; -double _lat = 0; -double _lon = 0; -String _k = ""; - //BA.debugLineNum = 1225;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1227;BA.debugLine="Log(todosRequest)"; -__c.LogImpl("36881282",BA.NumberToString(_todosrequest),0); - //BA.debugLineNum = 1228;BA.debugLine="todosRequest = todosRequest +1"; -_todosrequest = (int) (_todosrequest+1); - //BA.debugLineNum = 1229;BA.debugLine="Log(todosRequest)"; -__c.LogImpl("36881284",BA.NumberToString(_todosrequest),0); - //BA.debugLineNum = 1230;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 1231;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; -__c.LogImpl("36881286","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); - }else { - //BA.debugLineNum = 1234;BA.debugLine="LogColor(\"Esto es totalRegistros: \" & totalRegis"; -__c.LogImpl("36881289","Esto es totalRegistros: "+BA.NumberToString(_totalregistros),__c.Colors.Red); - //BA.debugLineNum = 1235;BA.debugLine="successfulRequests = successfulRequests + 1"; -_successfulrequests = (int) (_successfulrequests+1); - //BA.debugLineNum = 1236;BA.debugLine="totalRegistros = totalRegistros - 1"; -_totalregistros = (int) (_totalregistros-1); - //BA.debugLineNum = 1237;BA.debugLine="Log(\"Esto es successfulRequests: \" & successfulR"; -__c.LogImpl("36881292","Esto es successfulRequests: "+BA.NumberToString(_successfulrequests),0); - //BA.debugLineNum = 1238;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("36881293","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 1239;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1240;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1241;BA.debugLine="If result.Tag = \"kmt_datos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { - //BA.debugLineNum = 1242;BA.debugLine="If reqs.IndexOf(\"kmt_datos\") > -1 Then"; -if (_reqs.IndexOf((Object)("kmt_datos"))>-1) { - //BA.debugLineNum = 1243;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"kmt_datos\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("kmt_datos"))); - }; - //BA.debugLineNum = 1246;BA.debugLine="Starter.skmt.BeginTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1248;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group19 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen19 = group19.getSize() -;int index19 = 0; -; -for (; index19 < groupLen19;index19++){ -_records = (Object[])(group19.Get(index19)); - //BA.debugLineNum = 1249;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 = 1250;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 = 1251;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 = 1252;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 = 1253;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 = 1254;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 = 1255;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 = 1256;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 = 1257;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 = 1258;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 = 1259;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 = 1260;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 = 1261;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 = 1262;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 = 1263;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 = 1264;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 = 1265;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 = 1266;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 = 1267;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 = 1268;BA.debugLine="Dim CAT_CL_SECUENCIA As String = records(resu"; -_cat_cl_secuencia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_SECUENCIA"))))]); - //BA.debugLineNum = 1270;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_BCREDITO, gestion,SECUENCIA) 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_bcredito),(Object)(_cat_cl_secuencia)})); - } -}; - //BA.debugLineNum = 1272;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_BCREDITO, gestion,SECUENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(63403),(Object)(1000),(Object)("VENTA RECHAZO"),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("-98.8357694"),(Object)("19.6906052"),(Object)("0"),(Object)("1")})); - //BA.debugLineNum = 1274;BA.debugLine="Starter.skmt.TransactionSuccessful"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1275;BA.debugLine="Starter.skmt.EndTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1276;BA.debugLine="Listo1 = 1"; -_listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1277;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1278;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1279;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1280;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1281;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1286;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1287;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1288;BA.debugLine="If result.Tag = \"gunaprod3\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod3"))) { - //BA.debugLineNum = 1289;BA.debugLine="If reqs.IndexOf(\"gunaprod3\") > -1 Then"; -if (_reqs.IndexOf((Object)("gunaprod3"))>-1) { - //BA.debugLineNum = 1290;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod3\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod3"))); - //BA.debugLineNum = 1291;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("36881346",BA.NumberToString(_reqs.getSize()),0); - }; - //BA.debugLineNum = 1293;BA.debugLine="Starter.skmt.BeginTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1294;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group62 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen62 = group62.getSize() -;int index62 = 0; -; -for (; index62 < groupLen62;index62++){ -_records = (Object[])(group62.Get(index62)); - //BA.debugLineNum = 1295;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 = 1296;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 = 1297;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 = 1298;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 = 1299;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 = 1300;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 = 1301;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 = 1302;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 = 1303;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 = 1304;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 = 1305;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 = 1307;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 = 1308;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 = 1309;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(result."; -_cat_dp_precio4 = (float)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))])); - //BA.debugLineNum = 1310;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 = 1311;BA.debugLine="Dim CAT_DP_CANT_MIN_VENTA As Int = records(re"; -_cat_dp_cant_min_venta = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CANT_MIN_VENTA"))))])); - //BA.debugLineNum = 1314;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD3(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,CAT_DP_CANT_MIN_VENTA) 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),(Object)(_cat_dp_cant_min_venta)})); - } -}; - //BA.debugLineNum = 1316;BA.debugLine="Starter.skmt.TransactionSuccessful"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1317;BA.debugLine="Starter.skmt.EndTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1318;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1319;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 = 1320;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1321;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1322;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1323;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1328;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1329;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1330;BA.debugLine="If result.Tag = \"gunaprod\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { - //BA.debugLineNum = 1331;BA.debugLine="If reqs.IndexOf(\"gunaprod\") > -1 Then"; -if (_reqs.IndexOf((Object)("gunaprod"))>-1) { - //BA.debugLineNum = 1332;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprod\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprod"))); - //BA.debugLineNum = 1333;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("36881388",BA.NumberToString(_reqs.getSize()),0); - }; - //BA.debugLineNum = 1335;BA.debugLine="Starter.skmt.BeginTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1336;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group100 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen100 = group100.getSize() -;int index100 = 0; -; -for (; index100 < groupLen100;index100++){ -_records = (Object[])(group100.Get(index100)); - //BA.debugLineNum = 1337;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_DP_ID"))))]); - //BA.debugLineNum = 1338;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_DP_NOMBRE"))))]); - //BA.debugLineNum = 1339;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_DP_IMP1"))))]); - //BA.debugLineNum = 1340;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_DP_IMP2"))))]); - //BA.debugLineNum = 1341;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_DP_PRECIO"))))]); - //BA.debugLineNum = 1342;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_DP_CLASIF"))))]); - //BA.debugLineNum = 1343;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_DP_STS"))))]); - //BA.debugLineNum = 1344;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_DP_TIPO"))))]); - //BA.debugLineNum = 1345;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_DP_SUBTIPO"))))]); - //BA.debugLineNum = 1346;BA.debugLine="Dim CONVERSION As String = records(result.Col"; -_conversion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CONVERSION1"))))]); - //BA.debugLineNum = 1347;BA.debugLine="Dim PRECIOCONVER As String = records(result.C"; -_precioconver = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))]); - //BA.debugLineNum = 1348;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_DP_IMG"))))]); - //BA.debugLineNum = 1353;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; -_starter._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,CONVERSION,PRECIOCONVER) 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)(0),(Object)(_conversion),(Object)(_precioconver)})); - } -}; - //BA.debugLineNum = 1355;BA.debugLine="Starter.skmt.TransactionSuccessful"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1356;BA.debugLine="Starter.skmt.EndTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1357;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1358;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 = 1359;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1360;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1361;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1362;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1367;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1368;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1369;BA.debugLine="If result.Tag = \"gunaprodp\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { - //BA.debugLineNum = 1370;BA.debugLine="If reqs.IndexOf(\"gunaprodp\") > -1 Then"; -if (_reqs.IndexOf((Object)("gunaprodp"))>-1) { - //BA.debugLineNum = 1371;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"gunaprodp\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("gunaprodp"))); - //BA.debugLineNum = 1372;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("36881427",BA.NumberToString(_reqs.getSize()),0); - }; - //BA.debugLineNum = 1374;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group133 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen133 = group133.getSize() -;int index133 = 0; -; -for (; index133 < groupLen133;index133++){ -_records = (Object[])(group133.Get(index133)); - //BA.debugLineNum = 1375;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 = 1376;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 = 1377;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 = 1378;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 = 1379;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 = 1380;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 = 1381;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 = 1382;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 = 1383;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 = 1384;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 = 1387;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; -_starter._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) 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)(0)})); - } -}; - //BA.debugLineNum = 1389;BA.debugLine="Listo4=1"; -_listo4 = BA.NumberToString(1); - //BA.debugLineNum = 1390;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 = 1391;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1392;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1393;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1394;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 = 1396;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1397;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1398;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1399;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1404;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1405;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1406;BA.debugLine="If result.Tag = \"detallepaq\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { - //BA.debugLineNum = 1407;BA.debugLine="If reqs.IndexOf(\"detallepaq\") > -1 Then"; -if (_reqs.IndexOf((Object)("detallepaq"))>-1) { - //BA.debugLineNum = 1408;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"detallepaq\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("detallepaq"))); - //BA.debugLineNum = 1409;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("36881464",BA.NumberToString(_reqs.getSize()),0); - }; - //BA.debugLineNum = 1411;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group167 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen167 = group167.getSize() -;int index167 = 0; -; -for (; index167 < groupLen167;index167++){ -_records = (Object[])(group167.Get(index167)); - //BA.debugLineNum = 1412;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_DP_ALMACEN"))))]); - //BA.debugLineNum = 1413;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_DP_ID"))))]); - //BA.debugLineNum = 1414;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_DP_IDPROD"))))]); - //BA.debugLineNum = 1415;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_DP_TIPO"))))]); - //BA.debugLineNum = 1416;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_DP_PZAS"))))]); - //BA.debugLineNum = 1417;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_DP_USUARIO"))))]); - //BA.debugLineNum = 1418;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_DP_FECHA"))))]); - //BA.debugLineNum = 1419;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_DP_REGALO"))))]); - //BA.debugLineNum = 1420;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_DP_CLASIF"))))]); - //BA.debugLineNum = 1421;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_DP_PRECIO"))))]); - //BA.debugLineNum = 1422;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_DP_PRECIO_SIMPTOS"))))]); - //BA.debugLineNum = 1424;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_D"; -_starter._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 = 1426;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1427;BA.debugLine="If Listo1 = 1 And Listo2 = 1 And Listo3 = 1 An"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1428;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1429;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1430;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1431;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 = 1433;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1434;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1435;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1436;BA.debugLine="EJECUTANDO = 0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1441;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1442;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1443;BA.debugLine="If result.Tag = \"estatus\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("estatus"))) { - //BA.debugLineNum = 1444;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group198 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen198 = group198.getSize() -;int index198 = 0; -; -for (; index198 < groupLen198;index198++){ -_records = (Object[])(group198.Get(index198)); - //BA.debugLineNum = 1445;BA.debugLine="Dim hvd_estatus As String = records(result.Co"; -_hvd_estatus = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_ESTATUS"))))]); - //BA.debugLineNum = 1446;BA.debugLine="If hvd_estatus = \"Liquidado\" Then"; -if ((_hvd_estatus).equals("Liquidado")) { - //BA.debugLineNum = 1448;BA.debugLine="MsgboxAsync(\"La venta ya fue liquidada\",\"Ate"; -__c.MsgboxAsync(BA.ObjectToCharSequence("La venta ya fue liquidada"),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 1450;BA.debugLine="envioinfo"; -_envioinfo(); - }; - } -}; - }; - }; - //BA.debugLineNum = 1456;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1457;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1458;BA.debugLine="If result.Tag = \"punteo\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("punteo"))) { - //BA.debugLineNum = 1459;BA.debugLine="If reqs.IndexOf(\"punteo\") > -1 Then"; -if (_reqs.IndexOf((Object)("punteo"))>-1) { - //BA.debugLineNum = 1460;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); - }; - //BA.debugLineNum = 1463;BA.debugLine="If reqs.IndexOf(\"punteo\") > 0 Then"; -if (_reqs.IndexOf((Object)("punteo"))>0) { - //BA.debugLineNum = 1464;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"punteo\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("punteo"))); - //BA.debugLineNum = 1465;BA.debugLine="Log(reqs.Size)"; -__c.LogImpl("36881520",BA.NumberToString(_reqs.getSize()),0); - }; - //BA.debugLineNum = 1467;BA.debugLine="Starter.skmt.BeginTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1468;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group219 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen219 = group219.getSize() -;int index219 = 0; -; -for (; index219 < groupLen219;index219++){ -_records = (Object[])(group219.Get(index219)); - //BA.debugLineNum = 1469;BA.debugLine="Dim HV_CLIENTE As String = records(result.Col"; -_hv_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_CLIENTE"))))]); - //BA.debugLineNum = 1470;BA.debugLine="Dim HV_LONG As String = records(result.Column"; -_hv_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LONG"))))]); - //BA.debugLineNum = 1471;BA.debugLine="Dim HV_LAT As String = records(result.Columns"; -_hv_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HV_LAT"))))]); - //BA.debugLineNum = 1473;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PUNTE"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PUNTEO_GPS(HV_CLIENTE, HV_LONG, HV_LAT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hv_cliente),(Object)(_hv_long),(Object)(_hv_lat)})); - } -}; - //BA.debugLineNum = 1475;BA.debugLine="Starter.skmt.TransactionSuccessful"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1476;BA.debugLine="Starter.skmt.EndTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - }; - }; - //BA.debugLineNum = 1480;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1481;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1482;BA.debugLine="If result.Tag = \"hist_datos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { - //BA.debugLineNum = 1483;BA.debugLine="If reqs.IndexOf(\"hist_datos\") > -1 Then"; -if (_reqs.IndexOf((Object)("hist_datos"))>-1) { - //BA.debugLineNum = 1484;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"hist_datos\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("hist_datos"))); - }; - //BA.debugLineNum = 1489;BA.debugLine="Starter.skmt.BeginTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); - //BA.debugLineNum = 1490;BA.debugLine="Dim consecutivo As Int= 0"; -_consecutivo = (int) (0); - //BA.debugLineNum = 1491;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group237 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen237 = group237.getSize() -;int index237 = 0; -; -for (; index237 < groupLen237;index237++){ -_records = (Object[])(group237.Get(index237)); - //BA.debugLineNum = 1492;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 = 1493;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 = 1494;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 = 1495;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 = 1496;BA.debugLine="Dim HVD_FECHA As String = records(result.Colu"; -_hvd_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_FECHA"))))]); - //BA.debugLineNum = 1497;BA.debugLine="Dim HVD_CODPROMO As String = records(result.C"; -_hvd_codpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CODPROMO"))))]); - //BA.debugLineNum = 1498;BA.debugLine="Dim HVD_PROID As String = records(result.Colu"; -_hvd_proid = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PROID"))))]); - //BA.debugLineNum = 1499;BA.debugLine="Dim HVD_NUM_TICKET As String = records(result"; -_hvd_num_ticket = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_TICKET"))))]); - //BA.debugLineNum = 1500;BA.debugLine="Dim HVD_NUM_REGISTRO As String = records(resu"; -_hvd_num_registro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_REGISTRO"))))]); - //BA.debugLineNum = 1501;BA.debugLine="Dim HVD_RECHAZO As String = records(result.Co"; -_hvd_rechazo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_RECHAZO"))))]); - //BA.debugLineNum = 1502;BA.debugLine="Dim HVD_PLACA As String = records(result.Colu"; -_hvd_placa = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PLACA"))))]); - //BA.debugLineNum = 1503;BA.debugLine="Dim bcajas As String = records(result.Columns"; -_bcajas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_BCAJAS"))))]); - //BA.debugLineNum = 1504;BA.debugLine="Dim cantc As String = records(result.Columns."; -_cantc = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANTC"))))]); - //BA.debugLineNum = 1505;BA.debugLine="Dim HVD_RUTA As String = records(result.Colum"; -_hvd_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_RUTA"))))]); - //BA.debugLineNum = 1506;BA.debugLine="Dim HVD_LISTAPRECIO As String = records(resul"; -_hvd_listaprecio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_LISTAPRECIO"))))]); - //BA.debugLineNum = 1509;BA.debugLine="consecutivo = consecutivo +1"; -_consecutivo = (int) (_consecutivo+1); - //BA.debugLineNum = 1510;BA.debugLine="If l_ruta.Text = \"0\" Then 'Si no hay ruta car"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 1512;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA, HVD_LISTAPRECIO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?, ?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_hvd_placa),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_ruta),(Object)(_hvd_listaprecio)})); - //BA.debugLineNum = 1513;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); - }else { - //BA.debugLineNum = 1516;BA.debugLine="Private tc As Cursor = Starter.skmt.ExecQuer"; -_tc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_tc = (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 HVD_CLIENTE from HIST_VENTAS where HVD_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_hvd_cliente))+"' and HVD_PROID = '"+__c.SmartStringFormatter("",(Object)(_hvd_proid))+"' AND HVD_CANT = '"+__c.SmartStringFormatter("",(Object)(_hvd_cant))+"' AND HVD_CODPROMO = '"+__c.SmartStringFormatter("",(Object)(_hvd_codpromo))+"' ")))); - //BA.debugLineNum = 1517;BA.debugLine="If tc.RowCount = 0 Then"; -if (_tc.getRowCount()==0) { - //BA.debugLineNum = 1519;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL, PLACA,BCAJAS,CANTC,CONSECUTIVO,BCAJAS_OR,CANTC_OR, HVD_RUTA, HVD_LISTAPRECIO) VALUES (?,?,?,?,?,?,?,?,?,?,0,0,?,?,?,?,?,?, ?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo),(Object)(_hvd_placa),(Object)(_bcajas),(Object)(_cantc),(Object)(_consecutivo),(Object)(_bcajas),(Object)(_cantc),(Object)(_hvd_ruta),(Object)(_hvd_listaprecio)})); - //BA.debugLineNum = 1520;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIS"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS2(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_CODPROMO, HVD_PROID,HVD_NUM_TICKET, HVD_NUM_REGISTRO, HVD_RECHAZO, HVD_ESTATUS, HVD_PARCIAL) VALUES (?,?,?,?,?,?,?,?,?,?,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_codpromo),(Object)(_hvd_proid),(Object)(_hvd_num_ticket),(Object)(_hvd_num_registro),(Object)(_hvd_rechazo)})); - }; - }; - } -}; - //BA.debugLineNum = 1524;BA.debugLine="Starter.skmt.TransactionSuccessful"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); - //BA.debugLineNum = 1525;BA.debugLine="Starter.skmt.EndTransaction"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); - //BA.debugLineNum = 1540;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1541;BA.debugLine="If Listo1 = 1 And Listo3 = 1 Then"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1542;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - //BA.debugLineNum = 1543;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1544;BA.debugLine="img2.Visible = False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1545;BA.debugLine="EJECUTANDO = 0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1550;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1551;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1552;BA.debugLine="If result.Tag = \"variables\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { - //BA.debugLineNum = 1553;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group279 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen279 = group279.getSize() -;int index279 = 0; -; -for (; index279 < groupLen279;index279++){ -_records = (Object[])(group279.Get(index279)); - //BA.debugLineNum = 1554;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 = 1555;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 = 1557;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; -_starter._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 = 1563;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1564;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1565;BA.debugLine="If result.Tag = \"PAGARES\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("PAGARES"))) { - //BA.debugLineNum = 1566;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group289 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen289 = group289.getSize() -;int index289 = 0; -; -for (; index289 < groupLen289;index289++){ -_records = (Object[])(group289.Get(index289)); - //BA.debugLineNum = 1568;BA.debugLine="Dim TMP_MONTO_PAGARE As String = records(resu"; -_tmp_monto_pagare = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_MONTO_PAGARE"))))]); - //BA.debugLineNum = 1569;BA.debugLine="Dim TMP_CLIENTE As String = records(result.Co"; -_tmp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_CLIENTE"))))]); - //BA.debugLineNum = 1571;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PAGAR"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES(TMP_MONTO_PAGARE, TMP_CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_tmp_monto_pagare),(Object)(_tmp_cliente)})); - } -}; - }; - }; - //BA.debugLineNum = 1576;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1577;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1578;BA.debugLine="If result.Tag = \"valida_pedido\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { - //BA.debugLineNum = 1579;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 = 1580;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 = 1581;BA.debugLine="If cuantos_pedido = CUANTOSP Then"; -if ((_cuantos_pedido).equals(BA.NumberToString(_cuantosp))) { - //BA.debugLineNum = 1583;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 1585;BA.debugLine="ToastMessageShow(\"No se cargo bien la info P"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+_cuantos_pedido),__c.True); - }; - } -}; - }; - }; - //BA.debugLineNum = 1593;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1594;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1595;BA.debugLine="If result.Tag = \"valida_pedidoc\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { - //BA.debugLineNum = 1596;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group312 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen312 = group312.getSize() -;int index312 = 0; -; -for (; index312 < groupLen312;index312++){ -_records = (Object[])(group312.Get(index312)); - //BA.debugLineNum = 1597;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 = 1598;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; -if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) { - //BA.debugLineNum = 1600;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 1602;BA.debugLine="ToastMessageShow(\"No se cargo bien la info C"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+_cuantos_pedidosc),__c.True); - }; - } -}; - }; - }; - //BA.debugLineNum = 1608;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1609;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1610;BA.debugLine="If result.Tag = \"valida_noventa\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { - //BA.debugLineNum = 1611;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group325 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen325 = group325.getSize() -;int index325 = 0; -; -for (; index325 < groupLen325;index325++){ -_records = (Object[])(group325.Get(index325)); - //BA.debugLineNum = 1612;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 = 1613;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; -if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) { - //BA.debugLineNum = 1615;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 1617;BA.debugLine="ToastMessageShow(\"No se cargo bien la info N"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+_cuantos_noventa),__c.True); - }; - } -}; - }; - }; - //BA.debugLineNum = 1623;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1624;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1625;BA.debugLine="If result.Tag = \"insert_pedido\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("insert_pedido"))) { - //BA.debugLineNum = 1626;BA.debugLine="ToastMessageShow(\"Datos Actualizados.\" , True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Datos Actualizados."),__c.True); - }; - }; - //BA.debugLineNum = 1630;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1631;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1632;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 1633;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group344 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen344 = group344.getSize() -;int index344 = 0; -; -for (; index344 < groupLen344;index344++){ -_records = (Object[])(group344.Get(index344)); - //BA.debugLineNum = 1634;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from VERSIO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 1635;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 = 1637;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO VERSI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); - } -}; - }; - }; - //BA.debugLineNum = 1642;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1643;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1644;BA.debugLine="If result.Tag = \"count_cli\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { - //BA.debugLineNum = 1645;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group354 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen354 = group354.getSize() -;int index354 = 0; -; -for (; index354 < groupLen354;index354++){ -_records = (Object[])(group354.Get(index354)); - //BA.debugLineNum = 1646;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 = 1651;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1652;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1653;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { - //BA.debugLineNum = 1654;BA.debugLine="If reqs.IndexOf(\"ruta\") > -1 Then"; -if (_reqs.IndexOf((Object)("ruta"))>-1) { - //BA.debugLineNum = 1655;BA.debugLine="reqs.RemoveAt(reqs.IndexOf(\"ruta\"))"; -_reqs.RemoveAt(_reqs.IndexOf((Object)("ruta"))); - }; - //BA.debugLineNum = 1658;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group365 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen365 = group365.getSize() -;int index365 = 0; -; -for (; index365 < groupLen365;index365++){ -_records = (Object[])(group365.Get(index365)); - //BA.debugLineNum = 1659;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 = 1661;BA.debugLine="If VALIDO = \"OK\" Then"; -if ((_valido).equals("OK")) { - //BA.debugLineNum = 1662;BA.debugLine="If l_ctast.Text = \"0\" Then"; -if ((_l_ctast.getText()).equals("0")) { - //BA.debugLineNum = 1663;BA.debugLine="Subir.Visible = True"; -_subir.setVisible(__c.True); - }else if((_l_ctast.getText()).equals("0") == false) { - //BA.debugLineNum = 1665;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - }; - //BA.debugLineNum = 1667;BA.debugLine="cargar.Visible = True"; -_cargar.setVisible(__c.True); - //BA.debugLineNum = 1668;BA.debugLine="If Subs.dameUsuarioDeDB = \"ROOT\" Then Subir."; -if ((_subs._dameusuariodedb /*String*/ (ba)).equals("ROOT")) { -_subir.setVisible(__c.True);}; - //BA.debugLineNum = 1669;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 1670;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM RUTAA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 1672;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO RUTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_e_ruta.getText())})); - //BA.debugLineNum = 1673;BA.debugLine="B4XPages.MainPage.rutaPreventa = e_ruta.TEXT"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _e_ruta.getText(); - //BA.debugLineNum = 1674;BA.debugLine="If conn = \"1\" Then"; -if ((_conn).equals("1")) { - //BA.debugLineNum = 1675;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); - }; - }else { - //BA.debugLineNum = 1678;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1679;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1680;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1681;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - }; - } -}; - }; - }; - //BA.debugLineNum = 1687;BA.debugLine="If Job.JobName = \"DBRequest\" Then 'Traemos las c"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1688;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1689;BA.debugLine="If result.Tag = \"coords_almacen\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { - //BA.debugLineNum = 1690;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group394 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen394 = group394.getSize() -;int index394 = 0; -; -for (; index394 < groupLen394;index394++){ -_records = (Object[])(group394.Get(index394)); - //BA.debugLineNum = 1692;BA.debugLine="Private lat, lon As Double"; -_lat = 0; -_lon = 0; - //BA.debugLineNum = 1693;BA.debugLine="lat = 0.0"; -_lat = 0.0; - //BA.debugLineNum = 1694;BA.debugLine="lon = 0.0"; -_lon = 0.0; - //BA.debugLineNum = 1695;BA.debugLine="If IsNumber(records(result.Columns.Get(\"CAT_A"; -if (__c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])) && __c.IsNumber(BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]))) { - //BA.debugLineNum = 1696;BA.debugLine="lat = records(result.Columns.Get(\"CAT_AL_LAT"; -_lat = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))])); - //BA.debugLineNum = 1697;BA.debugLine="lon = records(result.Columns.Get(\"CAT_AL_LON"; -_lon = (double)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))])); - }; - //BA.debugLineNum = 1699;BA.debugLine="Starter.cedisLocation.Latitude = lat"; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLatitude(_lat); - //BA.debugLineNum = 1700;BA.debugLine="Starter.cedisLocation.Longitude = lon"; -_starter._cedislocation /*anywheresoftware.b4a.gps.LocationWrapper*/ .setLongitude(_lon); - //BA.debugLineNum = 1701;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_V"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COORDS_ALMACEN")})); - //BA.debugLineNum = 1702;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_V"; -_starter._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)("COORDS_ALMACEN"),(Object)(BA.NumberToString(_lon)+","+BA.NumberToString(_lat))})); - } -}; - }; - }; - //BA.debugLineNum = 1708;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1709;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1710;BA.debugLine="If result.Tag = \"ins_reparto\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_reparto"))) { - //BA.debugLineNum = 1711;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group412 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen412 = group412.getSize() -;int index412 = 0; -; -for (; index412 < groupLen412;index412++){ -_records = (Object[])(group412.Get(index412)); - //BA.debugLineNum = 1712;BA.debugLine="For Each k As String In result.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group413 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen413 = group413.getSize() -;int index413 = 0; -; -for (; index413 < groupLen413;index413++){ -_k = BA.ObjectToString(group413.Get(index413)); - } -}; - } -}; - }; - }; - //BA.debugLineNum = 1719;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1720;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*reparto_mazapa.keymon.lat.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1721;BA.debugLine="If result.Tag = \"ins_rechazos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_rechazos"))) { - //BA.debugLineNum = 1722;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group421 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen421 = group421.getSize() -;int index421 = 0; -; -for (; index421 < groupLen421;index421++){ -_records = (Object[])(group421.Get(index421)); - //BA.debugLineNum = 1723;BA.debugLine="For Each k As String In result.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group422 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen422 = group422.getSize() -;int index422 = 0; -; -for (; index422 < groupLen422;index422++){ -_k = BA.ObjectToString(group422.Get(index422)); - } -}; - } -}; - }; - }; - //BA.debugLineNum = 1729;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 1731;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - //BA.debugLineNum = 1732;BA.debugLine="If reqs.Size = 0 Then"; -if (_reqs.getSize()==0) { - //BA.debugLineNum = 1736;BA.debugLine="ProgressDialogHide"; -__c.ProgressDialogHide(); - //BA.debugLineNum = 1738;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT COUNT(*) AS C"; -_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 COUNT(*) AS CUANTOS FROM CHECADO_CHECK"))); - //BA.debugLineNum = 1739;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1740;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; -if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1741;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into CHECADO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into CHECADO_CHECK (CHECADO) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"0"})); - }else if((_c.GetString("CUANTOS")).equals(BA.NumberToString(1))) { - }; - //BA.debugLineNum = 1746;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 1756;BA.debugLine="If totalRegistrosTotales > 0 Then"; -if (_totalregistrostotales>0) { - //BA.debugLineNum = 1757;BA.debugLine="pbEnvioInfo.Progress = NumberFormat2(((todosRequ"; -_pbenvioinfo.setProgress((int)(Double.parseDouble(__c.NumberFormat2(((_todosrequest/(double)_totalregistrostotales)*100),(int) (1),(int) (0),(int) (0),__c.False)))); - //BA.debugLineNum = 1759;BA.debugLine="If pbEnvioInfo.Progress >= 100 Then"; -if (_pbenvioinfo.getProgress()>=100) { - //BA.debugLineNum = 1760;BA.debugLine="lEnviaInfo.Text = \"Informacion Enviada \"& CRLF"; -_lenviainfo.setText(BA.ObjectToCharSequence("Informacion Enviada "+__c.CRLF+"%100")); - }else { - //BA.debugLineNum = 1762;BA.debugLine="lEnviaInfo.Text = \"Enviando Informacion: %\" &"; -_lenviainfo.setText(BA.ObjectToCharSequence("Enviando Informacion: %"+BA.NumberToString(_pbenvioinfo.getProgress()))); - }; - }; - //BA.debugLineNum = 1768;BA.debugLine="If todosRequest < totalRegistrosTotales Then"; -if (_todosrequest<_totalregistrostotales) { - }else { - //BA.debugLineNum = 1771;BA.debugLine="bEnvioInfo.Enabled = True"; -_benvioinfo.setEnabled(__c.True); - }; - //BA.debugLineNum = 1774;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemclick(int _position,Object _value) throws Exception{ -String[] _clieasing = null; - //BA.debugLineNum = 2158;BA.debugLine="Private Sub ListView1_ItemClick (Position As Int,"; - //BA.debugLineNum = 2159;BA.debugLine="Log(Value)"; -__c.LogImpl("37798785",BA.ObjectToString(_value),0); - //BA.debugLineNum = 2161;BA.debugLine="Dim clieasing() As String = Regex.Split(\" \", Valu"; -_clieasing = __c.Regex.Split(" ",BA.ObjectToString(_value)); - //BA.debugLineNum = 2162;BA.debugLine="Log(clieasing(0))"; -__c.LogImpl("37798788",_clieasing[(int) (0)],0); - //BA.debugLineNum = 2164;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 2165;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)(_clieasing[(int) (0)])})); - //BA.debugLineNum = 2166;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 2167;BA.debugLine="End Sub"; -return ""; -} -public String _p_prod_click() throws Exception{ - //BA.debugLineNum = 2221;BA.debugLine="Private Sub p_prod_Click"; - //BA.debugLineNum = 2223;BA.debugLine="End Sub"; -return ""; -} -public String _penvioinfo_click() throws Exception{ - //BA.debugLineNum = 2231;BA.debugLine="Private Sub pEnvioInfo_Click"; - //BA.debugLineNum = 2233;BA.debugLine="End Sub"; -return ""; -} -public String _subir_click() throws Exception{ - //BA.debugLineNum = 741;BA.debugLine="Sub Subir_Click"; - //BA.debugLineNum = 742;BA.debugLine="pEnvioInfo.Width = Root.Width"; -_penvioinfo.setWidth(_root.getWidth()); - //BA.debugLineNum = 743;BA.debugLine="pEnvioInfo.Height = Root.Height"; -_penvioinfo.setHeight(_root.getHeight()); - //BA.debugLineNum = 744;BA.debugLine="pEnvioInfo.Left = 0"; -_penvioinfo.setLeft((int) (0)); - //BA.debugLineNum = 745;BA.debugLine="pEnvioInfo.Visible = True"; -_penvioinfo.setVisible(__c.True); - //BA.debugLineNum = 746;BA.debugLine="pbEnvioInfo.Width = Root.Width * 0.7"; -_pbenvioinfo.setWidth((int) (_root.getWidth()*0.7)); - //BA.debugLineNum = 747;BA.debugLine="pbEnvioInfo.Left = Round(Root.Width/2)-(pbEnvioIn"; -_pbenvioinfo.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_pbenvioinfo.getWidth()/(double)2))); - //BA.debugLineNum = 748;BA.debugLine="Subs.centraBoton(bEnvioInfo, pEnvioInfo.Width)"; -_subs._centraboton /*String*/ (ba,_benvioinfo,_penvioinfo.getWidth()); - //BA.debugLineNum = 749;BA.debugLine="Subs.centraEtiqueta(lEnviaInfo, pEnvioInfo.Width)"; -_subs._centraetiqueta /*String*/ (ba,_lenviainfo,_penvioinfo.getWidth()); - //BA.debugLineNum = 751;BA.debugLine="If Not(IsConnectedToInternet) Then MsgboxAsync(\"N"; -if (__c.Not(_isconnectedtointernet())) { -__c.MsgboxAsync(BA.ObjectToCharSequence("No hay conexión a conexión a Internet"),BA.ObjectToCharSequence("Revisa tu conexión"),ba);}; - //BA.debugLineNum = 752;BA.debugLine="c=Starter.skmt.ExecQuery(\"select usuario from usu"; -_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 = 753;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 754;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 755;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 758;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 759;BA.debugLine="cmd.Name = \"select_estatus_MAZAPA\""; -_cmd.Name /*String*/ = "select_estatus_MAZAPA"; - //BA.debugLineNum = 760;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 761;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"estatus\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("estatus")); - //BA.debugLineNum = 762;BA.debugLine="End Sub"; -return ""; -} -public String _t1_tick() throws Exception{ - //BA.debugLineNum = 1877;BA.debugLine="Sub t1_tick"; - //BA.debugLineNum = 1878;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1879;BA.debugLine="cmd.Name = \"select_cuantos_pedido\""; -_cmd.Name /*String*/ = "select_cuantos_pedido"; - //BA.debugLineNum = 1880;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1881;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedido")); - //BA.debugLineNum = 1883;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1884;BA.debugLine="cmd.Name = \"select_cuantos_noventa_mards\""; -_cmd.Name /*String*/ = "select_cuantos_noventa_mards"; - //BA.debugLineNum = 1885;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1886;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_noventa")); - //BA.debugLineNum = 1888;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1889;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc\""; -_cmd.Name /*String*/ = "select_cuantos_pedidoc"; - //BA.debugLineNum = 1890;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1891;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedidoc")); - //BA.debugLineNum = 1892;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1893;BA.debugLine="t1.Enabled = False"; -_t1.setEnabled(__c.False); - //BA.debugLineNum = 1894;BA.debugLine="End Sub"; -return ""; -} -public String _to_number_vb(Object _valor) throws Exception{ -int _valstring = 0; -String _valstring2 = ""; - //BA.debugLineNum = 719;BA.debugLine="Sub to_number_vb (valor As Object) As String"; - //BA.debugLineNum = 720;BA.debugLine="Dim valstring As Int"; -_valstring = 0; - //BA.debugLineNum = 721;BA.debugLine="Dim valstring2 As String = valor"; -_valstring2 = BA.ObjectToString(_valor); - //BA.debugLineNum = 722;BA.debugLine="valstring2.Replace(\":\",\"\")"; -_valstring2.replace(":",""); - //BA.debugLineNum = 723;BA.debugLine="Try"; -try { //BA.debugLineNum = 724;BA.debugLine="valstring =valstring2.Replace(\":\",\"\")"; -_valstring = (int)(Double.parseDouble(_valstring2.replace(":",""))); - //BA.debugLineNum = 725;BA.debugLine="Return valstring"; -if (true) return BA.NumberToString(_valstring); - } - catch (Exception e8) { - ba.setLastException(e8); //BA.debugLineNum = 727;BA.debugLine="Return 0"; -if (true) return BA.NumberToString(0); - }; - //BA.debugLineNum = 729;BA.debugLine="End Sub"; -return ""; -} -public String _trabajar_click() throws Exception{ - //BA.debugLineNum = 731;BA.debugLine="Sub trabajar_Click"; - //BA.debugLineNum = 732;BA.debugLine="If b_check.Visible = True Then"; -if (_b_check.getVisible()==__c.True) { - //BA.debugLineNum = 733;BA.debugLine="MsgboxAsync(\"Favor de hacer el checklist.\",\"Atenc"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de hacer el checklist."),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 736;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -_b4xpages._showpage /*String*/ (ba,"Clientes"); - }; - //BA.debugLineNum = 739;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, "JOBDONE")) - return _jobdone((reparto_mazapa.keymon.lat.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java deleted file mode 100644 index e1b3558..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_productos.java +++ /dev/null @@ -1,1215 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_productos"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 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 anywheresoftware.b4a.objects.ButtonWrapper _b_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 _b_borra = null; -public String _existe = ""; -public String _result = ""; -public String _cuantos = ""; -public String _nombre_prod = ""; -public String _cuantos_pedido = ""; -public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; -public anywheresoftware.b4a.objects.PanelWrapper _p1 = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv2 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public b4a.example3.customlistview _clv_pedido = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; -public boolean _etcanthasfocus = false; -public int _totalprods = 0; -public int _totalcompra = 0; -public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; -public boolean _reconstruirpedido = false; -public String _promoaborrar = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenosc = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pcantc = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcantc = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmasc = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmenc = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmen = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_revversar = null; -public anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -public anywheresoftware.b4a.objects.LabelWrapper _label3 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_piezas = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cajas = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 1077;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 1079;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 _maxprods = ""; -String _minimoadesc = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _preciocat = null; -String _preciofull = ""; -String _pup = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _precioreg = null; -String _precioregalo = ""; -String _esregalo = ""; - //BA.debugLineNum = 664;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 665;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 666;BA.debugLine="Dim sDate, sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 667;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 668;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 669;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 670;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 672;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("350069512","b_prodMas_Click",__c.Colors.Magenta); - //BA.debugLineNum = 673;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 674;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 675;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 676;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 680;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 681;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|LC_TAG:\"&laCant.Tag&"; -__c.LogImpl("350069521","LC_TEXT:"+_lacant.getText()+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 682;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 684;BA.debugLine="Private maxProds = esteTag.Get(1) + esteTag.Get(4"; -_maxprods = BA.NumberToString((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4))))); - //BA.debugLineNum = 686;BA.debugLine="Private minimoadesc As String"; -_minimoadesc = ""; - //BA.debugLineNum = 687;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; -_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_minimos = (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 CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 688;BA.debugLine="If minimos.RowCount > 0 Then"; -if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 689;BA.debugLine="minimos.Position = 0"; -_minimos.setPosition((int) (0)); - //BA.debugLineNum = 690;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; -_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); - }else { - //BA.debugLineNum = 692;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - }; - //BA.debugLineNum = 694;BA.debugLine="minimos.Close"; -_minimos.Close(); - //BA.debugLineNum = 697;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("350069537",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 698;BA.debugLine="Log(esteTag.get(4))"; -__c.LogImpl("350069538",BA.ObjectToString(_estetag.Get((int) (4))),0); - //BA.debugLineNum = 699;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; -if ((_estetag.Get((int) (4))).equals((Object)("0"))) { - }else { - //BA.debugLineNum = 702;BA.debugLine="If laCant.Text + 1 * minimoadesc <= maxProds The"; -if ((double)(Double.parseDouble(_lacant.getText()))+1*(double)(Double.parseDouble(_minimoadesc))<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 703;BA.debugLine="Log($\"NuevaCant = ${laCant.Text + 1}\"$)"; -__c.LogImpl("350069543",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""),0); - //BA.debugLineNum = 704;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 = 705;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - 1 where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2)))})); - //BA.debugLineNum = 706;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; -_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 PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 707;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 708;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 709;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 710;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 712;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; -_preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_preciocat = (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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 713;BA.debugLine="If preciocat.RowCount > 0 Then"; -if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 714;BA.debugLine="preciocat.Position = 0"; -_preciocat.setPosition((int) (0)); - //BA.debugLineNum = 715;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; -_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); - }; - //BA.debugLineNum = 717;BA.debugLine="preciocat.Close"; -_preciocat.Close(); - //BA.debugLineNum = 719;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; -if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { - //BA.debugLineNum = 720;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; -_pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT")))); - //BA.debugLineNum = 722;BA.debugLine="If c2.GetString(\"HVD_LISTAPRECIO\") = \"2\" The"; -if ((_c2.GetString("HVD_LISTAPRECIO")).equals("2")) { - //BA.debugLineNum = 723;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }else { - //BA.debugLineNum = 725;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO s"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_pup))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }else { - //BA.debugLineNum = 729;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0)+(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_preciofull))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }; - }else { - //BA.debugLineNum = 734;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 735;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 736;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 738;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQu"; -_preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_preciocat = (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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 739;BA.debugLine="If preciocat.RowCount > 0 Then"; -if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 740;BA.debugLine="preciocat.Position = 0"; -_preciocat.setPosition((int) (0)); - //BA.debugLineNum = 741;BA.debugLine="Dim preciofull As String = preciocat.GetStri"; -_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); - }; - //BA.debugLineNum = 743;BA.debugLine="preciocat.Close"; -_preciocat.Close(); - //BA.debugLineNum = 745;BA.debugLine="Dim precioreg As Cursor = Starter.skmt.ExecQu"; -_precioreg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_precioreg = (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 IFNULL(HVD_COSTO_TOT,0) AS HVD_COSTO_TOT, HVD_CANT from HIST_VENTAS WHERE HVD_PROID = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")))); - //BA.debugLineNum = 746;BA.debugLine="If precioreg.RowCount > 0 Then"; -if (_precioreg.getRowCount()>0) { - //BA.debugLineNum = 747;BA.debugLine="precioreg.Position = 0"; -_precioreg.setPosition((int) (0)); - //BA.debugLineNum = 748;BA.debugLine="Dim precioregalo As String = precioreg.GetSt"; -_precioregalo = BA.NumberToString((double)(Double.parseDouble(_precioreg.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_precioreg.GetString("HVD_CANT")))); - //BA.debugLineNum = 749;BA.debugLine="If precioregalo < 1 Then"; -if ((double)(Double.parseDouble(_precioregalo))<1) { - //BA.debugLineNum = 750;BA.debugLine="Dim esregalo As String = 1"; -_esregalo = BA.NumberToString(1); - }else { - //BA.debugLineNum = 752;BA.debugLine="Dim esregalo As String = 0"; -_esregalo = BA.NumberToString(0); - }; - }; - //BA.debugLineNum = 755;BA.debugLine="precioreg.Close"; -_precioreg.Close(); - //BA.debugLineNum = 757;BA.debugLine="If c2.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; -if ((_c2.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { - //BA.debugLineNum = 758;BA.debugLine="Private pup As String = c2.GetString(\"HVD_CO"; -_pup = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("HVD_CANT")))); - //BA.debugLineNum = 760;BA.debugLine="If c2.GetString(\"HVD_LISTAPRECIO\") = \"2\" The"; -if ((_c2.GetString("HVD_LISTAPRECIO")).equals("2")) { - //BA.debugLineNum = 761;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),(_preciofull),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); - }else { - //BA.debugLineNum = 763;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PED"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),(_pup),BA.NumberToString(((double)(Double.parseDouble(_pup))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); - }; - }else { - //BA.debugLineNum = 767;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDI"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,0,0,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),BA.NumberToString(1*(double)(Double.parseDouble(_minimoadesc))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),(_preciofull),BA.NumberToString(((double)(Double.parseDouble(_preciofull))*(double)(Double.parseDouble(_minimoadesc)))),BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),_esregalo})); - }; - }; - }; - //BA.debugLineNum = 774;BA.debugLine="Subs.prodVenta(esteTag.Get(5), esteTag.Get(2))"; -_subs._prodventa /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (5))),BA.ObjectToString(_estetag.Get((int) (2)))); - //BA.debugLineNum = 779;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - //BA.debugLineNum = 796;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 _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _maxprods = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -String _puc = ""; - //BA.debugLineNum = 799;BA.debugLine="Private Sub b_prodMasC_Click"; - //BA.debugLineNum = 800;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 802;BA.debugLine="LogColor(\"b_prodMas_Click\", Colors.Magenta)"; -__c.LogImpl("350135043","b_prodMas_Click",__c.Colors.Magenta); - //BA.debugLineNum = 803;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 804;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 805;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 806;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 807;BA.debugLine="LogColor(laCantc.Text&\"--------------------------"; -__c.LogImpl("350135048",_lacantc.getText()+"-----------------------------",__c.Colors.Blue); - //BA.debugLineNum = 811;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); - //BA.debugLineNum = 812;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|LC_TAG:\"&laCantc.Ta"; -__c.LogImpl("350135053","LC_TEXT:"+_lacantc.getText()+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 813;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 815;BA.debugLine="Private maxProds As String = (esteTag.Get(1) + es"; -_maxprods = BA.NumberToString(((double)(BA.ObjectToNumber(_estetag.Get((int) (1))))+(double)(BA.ObjectToNumber(_estetag.Get((int) (4)))))); - //BA.debugLineNum = 816;BA.debugLine="LogColor(esteTag.Get(1),Colors.Red)"; -__c.LogImpl("350135057",BA.ObjectToString(_estetag.Get((int) (1))),__c.Colors.Red); - //BA.debugLineNum = 817;BA.debugLine="LogColor(esteTag.Get(4),Colors.Red)"; -__c.LogImpl("350135058",BA.ObjectToString(_estetag.Get((int) (4))),__c.Colors.Red); - //BA.debugLineNum = 818;BA.debugLine="LogColor($\"++++++++++++++++++++++++++ ${esteTag"; -__c.LogImpl("350135059",("++++++++++++++++++++++++++ "+__c.SmartStringFormatter("",(Object)(_estetag.getObject()))+""),__c.Colors.Green); - //BA.debugLineNum = 820;BA.debugLine="Log(maxProds)"; -__c.LogImpl("350135061",_maxprods,0); - //BA.debugLineNum = 823;BA.debugLine="Log(esteTag.Get(4))"; -__c.LogImpl("350135064",BA.ObjectToString(_estetag.Get((int) (4))),0); - //BA.debugLineNum = 824;BA.debugLine="If esteTag.Get(4) = \"0\" Then"; -if ((_estetag.Get((int) (4))).equals((Object)("0"))) { - }else { - //BA.debugLineNum = 827;BA.debugLine="If laCantc.Text + 1 <= maxProds Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))+1<=(double)(Double.parseDouble(_maxprods))) { - //BA.debugLineNum = 828;BA.debugLine="Log($\"NuevaCant = ${laCantc.Text + 1}\"$)"; -__c.LogImpl("350135069",("NuevaCant = "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""),0); - //BA.debugLineNum = 830;BA.debugLine="laCantc.Text = $\"$1.0{laCantc.Text + 1}\"$"; -_lacantc.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacantc.getText()))+1))+""))); - //BA.debugLineNum = 831;BA.debugLine="LogColor(esteTag,Colors.Magenta)"; -__c.LogImpl("350135072",BA.ObjectToString(_estetag),__c.Colors.Magenta); - //BA.debugLineNum = 833;BA.debugLine="LogColor(laCantc.Text,Colors.Red)"; -__c.LogImpl("350135074",_lacantc.getText(),__c.Colors.Red); - //BA.debugLineNum = 836;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PEDI"; -_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 PEDIDO WHERE PE_PROID = ? and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 837;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 838;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 839;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 840;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 841;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; -_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC")))); - //BA.debugLineNum = 843;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)+(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= (IFNULL(PE_CAJAS,0)+1)*'"+__c.SmartStringFormatter("",(Object)(_puc))+"', PE_CAJAS= IFNULL(PE_CAJAS,0) + 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - //BA.debugLineNum = 844;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 845;BA.debugLine="Log(\"aqui2\")"; -__c.LogImpl("350135086","aqui2",0); - }; - }else { - //BA.debugLineNum = 848;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 HIST_VENTAS WHERE HVD_PROID = ? AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 849;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 850;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 851;BA.debugLine="Private puc As String = c2.GetString(\"HVD_COS"; -_puc = BA.NumberToString((double)(Double.parseDouble(_c2.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c2.GetString("CANTC")))); - //BA.debugLineNum = 852;BA.debugLine="Log(puc)"; -__c.LogImpl("350135093",_puc,0); - //BA.debugLineNum = 855;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDID"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO(PE_PROID,PE_PRONOMBRE,PE_CANT,PE_CLIENTEOR,PE_CLIENTE,PE_COSTOU,PE_COSTO_TOT,PE_CAJAS,PE_BCAJAS,CONSECUTIVO,PE_RUTA, PE_TIPO,PE_CEDIS,PE_FECHA,PE_USUARIO,FECHA_PREV,RUTA_REP,PE_REGALO) VALUES (?,?,?,?,?,?,?,1,1,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.ObjectToString(_estetag.Get((int) (2))),_c2.GetString("HVD_PRONOMBRE"),_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2)))),BA.ObjectToString(_estetag.Get((int) (5))),_subs._traecliente /*String*/ (ba),_puc,_puc,BA.ObjectToString(_estetag.Get((int) (6))),_subs._traerutaprev /*String*/ (ba),"PREVENTA",_subs._traealmacen /*String*/ (ba),_sdate+" "+_stime,_subs._traeusuario /*String*/ (ba),_subs._traefechaprev /*String*/ (ba),_subs._traerutareparto /*String*/ (ba),BA.NumberToString(0)})); - //BA.debugLineNum = 856;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - }; - }; - //BA.debugLineNum = 862;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.collections.List _estetag = null; -String _minimoadesc = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _minimos = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -float _preciou = 0f; - //BA.debugLineNum = 558;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 559;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 560;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("350003970","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 561;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("350003971","b_prodMenos_Click",__c.Colors.Magenta); - //BA.debugLineNum = 562;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 563;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 564;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 565;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(3)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 567;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.Ta"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 568;BA.debugLine="Log(\"LC_TEXT:\"&laCant.Text&\"|PROMO:\"&esteTag.Get("; -__c.LogImpl("350003978","LC_TEXT:"+_lacant.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacant.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 570;BA.debugLine="Private minimoadesc As String"; -_minimoadesc = ""; - //BA.debugLineNum = 571;BA.debugLine="Dim minimos As Cursor = Starter.skmt.ExecQuery2(\""; -_minimos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_minimos = (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 CAT_GUNAPROD3 WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 572;BA.debugLine="If minimos.RowCount > 0 Then"; -if (_minimos.getRowCount()>0) { - //BA.debugLineNum = 573;BA.debugLine="minimos.Position = 0"; -_minimos.setPosition((int) (0)); - //BA.debugLineNum = 574;BA.debugLine="minimoadesc = minimos.GetString(\"CAT_DP_CANT_MIN"; -_minimoadesc = _minimos.GetString("CAT_DP_CANT_MIN_VENTA"); - }else { - //BA.debugLineNum = 576;BA.debugLine="minimoadesc = \"1\""; -_minimoadesc = "1"; - }; - //BA.debugLineNum = 578;BA.debugLine="minimos.Close"; -_minimos.Close(); - //BA.debugLineNum = 581;BA.debugLine="If laCant.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacant.getText()))>0) { - //BA.debugLineNum = 616;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 617;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-(1*minimoadesc)"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-(1*(double)(Double.parseDouble(_minimoadesc)))))+""))); - //BA.debugLineNum = 618;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 619;BA.debugLine="Log(\"NO ES promo\")"; -__c.LogImpl("350004029","NO ES promo",0); - //BA.debugLineNum = 624;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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_CANT FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 625;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 626;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 627;BA.debugLine="If c3.GetString(\"PE_CANT\")> minimoadesc Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CANT")))>(double)(Double.parseDouble(_minimoadesc))) { - //BA.debugLineNum = 628;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 629;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 630;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 632;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = IFNULL(PE_CANT,0)-(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'), PE_COSTO_TOT= ((IFNULL(PE_CANT,0) -(1*'"+__c.SmartStringFormatter("",(Object)(_minimoadesc))+"'))*'"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_GP_PRECIO")))+"') WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }else if((_c3.GetString("PE_CANT")).equals(_minimoadesc)) { - //BA.debugLineNum = 635;BA.debugLine="Private c2 As Cursor = Starter.skmt.ExecQuery2"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 CAT_GUNAPROD WHERE CAT_GP_ID = ?",new String[]{BA.ObjectToString(_estetag.Get((int) (2)))}))); - //BA.debugLineNum = 636;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 637;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 640;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDID"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }; - }; - //BA.debugLineNum = 647;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - //BA.debugLineNum = 650;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; -_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); - //BA.debugLineNum = 651;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("350004061","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 662;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 _lacantc = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -float _preciou = 0f; - //BA.debugLineNum = 864;BA.debugLine="Private Sub b_prodMenosC_Click"; - //BA.debugLineNum = 865;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 866;BA.debugLine="Log(\"etCantHasFocus=\" & etCantHasFocus)"; -__c.LogImpl("350200578","etCantHasFocus="+BA.ObjectToString(_etcanthasfocus),0); - //BA.debugLineNum = 867;BA.debugLine="LogColor(\"b_prodMenos_Click\", Colors.Magenta)"; -__c.LogImpl("350200579","b_prodMenos_Click",__c.Colors.Magenta); - //BA.debugLineNum = 868;BA.debugLine="Dim index As Int = clv_pedido.GetItemFromView(Sen"; -_index = _clv_pedido._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 869;BA.debugLine="Dim pnl0 As B4XView = clv_pedido.GetPanel(index)"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_pedido._getpanel(_index); - //BA.debugLineNum = 870;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 871;BA.debugLine="Dim laCantc As B4XView = pnl.GetView(3).GetView(3"; -_lacantc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacantc = _pnl.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 873;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCantc.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacantc.getTag()))); - //BA.debugLineNum = 874;BA.debugLine="Log(\"LC_TEXT:\"&laCantc.Text&\"|PROMO:\"&esteTag.Get"; -__c.LogImpl("350200586","LC_TEXT:"+_lacantc.getText()+"|PROMO:"+BA.ObjectToString(_estetag.Get((int) (3)))+"|LC_TAG:"+BA.ObjectToString(_lacantc.getTag())+"|ET:"+BA.ObjectToString(_estetag),0); - //BA.debugLineNum = 878;BA.debugLine="If laCantc.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacantc.getText()))>0) { - //BA.debugLineNum = 881;BA.debugLine="Private c3 As Cursor = Starter.skmt.ExecQuery2(\""; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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_CAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND CONSECUTIVO = ? ",new String[]{BA.ObjectToString(_estetag.Get((int) (2))),BA.ObjectToString(_estetag.Get((int) (6)))}))); - //BA.debugLineNum = 882;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 883;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 884;BA.debugLine="If c3.GetString(\"PE_CAJAS\") > 1 Then"; -if ((double)(Double.parseDouble(_c3.GetString("PE_CAJAS")))>1) { - //BA.debugLineNum = 885;BA.debugLine="Starter.skmt.ExecNonQuery($\"update PEDIDO set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_CANT = (IFNULL(PE_CANT,0)-(1 * '"+__c.SmartStringFormatter("",(Object)(_subs._traeconversion /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"')), PE_COSTO_TOT= ((IFNULL(PE_CAJAS,0)-1) *'"+__c.SmartStringFormatter("",(Object)(_subs._traeprecioc /*String*/ (ba,BA.ObjectToString(_estetag.Get((int) (2))))))+"'), PE_CAJAS = IFNULL(PE_CAJAS,0) - 1 WHERE PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }else if((_c3.GetString("PE_CAJAS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 887;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from PEDIDO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from PEDIDO where PE_PROID = '"+__c.SmartStringFormatter("",_estetag.Get((int) (2)))+"' and PE_CLIENTE in (Select CUENTA from cuentaa) AND CONSECUTIVO = '"+__c.SmartStringFormatter("",_estetag.Get((int) (6)))+"'")); - }; - }; - //BA.debugLineNum = 890;BA.debugLine="Log(\"entre al if o algo asi \")"; -__c.LogImpl("350200602","entre al if o algo asi ",0); - //BA.debugLineNum = 891;BA.debugLine="If laCantc.Text = \"\" Then laCantc.Text = 0"; -if ((_lacantc.getText()).equals("")) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 892;BA.debugLine="laCantc.Text = laCantc.Text - 1"; -_lacantc.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_lacantc.getText()))-1)); - //BA.debugLineNum = 893;BA.debugLine="If laCantc.Text < 0 Then laCantc.Text = 0"; -if ((double)(Double.parseDouble(_lacantc.getText()))<0) { -_lacantc.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 894;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_lacantc.getText()).equals(BA.NumberToString(0))) { - }; - //BA.debugLineNum = 900;BA.debugLine="Dim preciou As Float = esteTag.Get(0)/esteTag.Get"; -_preciou = (float) ((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))/(double)(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))); - //BA.debugLineNum = 901;BA.debugLine="Log(\"PU: \" & preciou)"; -__c.LogImpl("350200613","PU: "+BA.NumberToString(_preciou),0); - //BA.debugLineNum = 902;BA.debugLine="End Sub"; -return ""; -} -public String _b_regresar_click() throws Exception{ - //BA.debugLineNum = 367;BA.debugLine="Sub b_regresar_Click"; - //BA.debugLineNum = 368;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 369;BA.debugLine="End Sub"; -return ""; -} -public String _b_revversar_click() throws Exception{ - //BA.debugLineNum = 908;BA.debugLine="Private Sub b_revversar_Click"; - //BA.debugLineNum = 909;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS se"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_RECHAZO = 0, HVD_RECHAZOCANT = 0 WHERE HVD_cliente in (Select CUENTA from cuentaa)")); - //BA.debugLineNum = 910;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 911;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -int _bgcolor = 0; -int _textcolor = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _d5 = null; -String _restacant = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -String _resta = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _preciocat = null; -String _preciofull = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _oc = null; -int _cant2 = 0; -String _puc = ""; - //BA.debugLineNum = 74;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 75;BA.debugLine="Label2.Visible = False"; -_label2.setVisible(__c.False); - //BA.debugLineNum = 76;BA.debugLine="Label3.Visible = False"; -_label3.setVisible(__c.False); - //BA.debugLineNum = 77;BA.debugLine="L_TOTAL.Visible = False"; -_l_total.setVisible(__c.False); - //BA.debugLineNum = 78;BA.debugLine="L_CANT.Visible = False"; -_l_cant.setVisible(__c.False); - //BA.debugLineNum = 79;BA.debugLine="b_revversar.Visible = False"; -_b_revversar.setVisible(__c.False); - //BA.debugLineNum = 80;BA.debugLine="Subs.centraPanel(p_principal, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_principal,_root.getWidth()); - //BA.debugLineNum = 84;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 85;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 86;BA.debugLine="c=Starter.skmt.ExecQuery(\"select count(*) as EXIS"; -_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 count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and HVD_RECHAZO = 0 "))); - //BA.debugLineNum = 87;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 88;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 89;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 93;BA.debugLine="c=Starter.skmt.ExecQuery(\"select * from HIST_VENT"; -_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 HIST_VENTAS WHERE hvd_rechazo <> 2 and HVD_RECHAZOCANT > 0 and HVD_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND HVD_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO <> 'ALEN') order by HVD_CODPROMO desc, HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 96;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 97;BA.debugLine="clv_pedido.Clear"; -_clv_pedido._clear(); - //BA.debugLineNum = 98;BA.debugLine="Subs.SetDivider(ListView1, Colors.LightGray, 2)"; -_subs._setdivider /*String*/ (ba,_listview1,__c.Colors.LightGray,(int) (2)); - //BA.debugLineNum = 99;BA.debugLine="clv_pedido.GetBase.SetLayoutAnimated(100, 0dip, 6"; -_clv_pedido._getbase().SetLayoutAnimated((int) (100),__c.DipToCurrent((int) (0)),__c.DipToCurrent((int) (60)),(int) (_root.getWidth()-50),(int) (_root.getHeight()*0.62)); - //BA.debugLineNum = 100;BA.debugLine="clv_pedido.Base_Resize(clv_pedido.GetBase.Width,"; -_clv_pedido._base_resize(_clv_pedido._getbase().getWidth(),_clv_pedido._getbase().getHeight()); - //BA.debugLineNum = 102;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 105;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 = 106;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 108;BA.debugLine="If c.GetString(\"BCAJAS\") = \"0\" Then"; -if ((_c.GetString("BCAJAS")).equals("0")) { - //BA.debugLineNum = 119;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 120;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 121;BA.debugLine="label1.TextSize = 12"; -_label1.setTextSize((float) (12)); - //BA.debugLineNum = 122;BA.debugLine="label1.TextColor = Colors.black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 123;BA.debugLine="Dim Label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 124;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 125;BA.debugLine="Label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 126;BA.debugLine="Label2.TextColor = Colors.black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 127;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 128;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; -_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 129;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 130;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 132;BA.debugLine="bgColor = Colors.White"; -_bgcolor = __c.Colors.White; - }; - //BA.debugLineNum = 138;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 IFNULL(PE_CANT,0) AS PE_CANT, CONSECUTIVO, PE_BCAJAS from PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 141;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; -_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_d5 = (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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 142;BA.debugLine="d5.Position = 0"; -_d5.setPosition((int) (0)); - //BA.debugLineNum = 143;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; -_restacant = _d5.GetString("PE_CANT"); - //BA.debugLineNum = 144;BA.debugLine="d5.Close"; -_d5.Close(); - //BA.debugLineNum = 146;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; -if (((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 147;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 148;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 150;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 151;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 153;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 155;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 156;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 159;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 162;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; -_preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_preciocat = (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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 163;BA.debugLine="If preciocat.RowCount > 0 Then"; -if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 164;BA.debugLine="preciocat.Position = 0"; -_preciocat.setPosition((int) (0)); - //BA.debugLineNum = 165;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; -_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); - }; - //BA.debugLineNum = 167;BA.debugLine="preciocat.Close"; -_preciocat.Close(); - //BA.debugLineNum = 168;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("349479774",_c.GetString("HVD_CODPROMO"),0); - //BA.debugLineNum = 169;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("349479775",_subs._traealmacen /*String*/ (ba),0); - //BA.debugLineNum = 172;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { - //BA.debugLineNum = 173;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }else { - //BA.debugLineNum = 175;BA.debugLine="Log(\"aqui arriba\")"; -__c.LogImpl("349479781","aqui arriba",0); - //BA.debugLineNum = 176;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int)(Double.parseDouble(_c2.GetString("PE_CANT"))),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_c2.GetString("PE_CANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }; - }else if(_c2.getRowCount()==0) { - //BA.debugLineNum = 181;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 182;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 184;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 186;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 187;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 190;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 194;BA.debugLine="Dim preciocat As Cursor = Starter.skmt.ExecQ"; -_preciocat = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_preciocat = (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 IFNULL(CAT_GP_PRECIO,0) AS CAT_GP_PRECIO from CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"'")))); - //BA.debugLineNum = 195;BA.debugLine="If preciocat.RowCount > 0 Then"; -if (_preciocat.getRowCount()>0) { - //BA.debugLineNum = 196;BA.debugLine="preciocat.Position = 0"; -_preciocat.setPosition((int) (0)); - //BA.debugLineNum = 197;BA.debugLine="Dim preciofull As String = preciocat.GetStr"; -_preciofull = _preciocat.GetString("CAT_GP_PRECIO"); - }; - //BA.debugLineNum = 199;BA.debugLine="preciocat.Close"; -_preciocat.Close(); - //BA.debugLineNum = 200;BA.debugLine="Log(c.GetString(\"HVD_CODPROMO\"))"; -__c.LogImpl("349479806",_c.GetString("HVD_CODPROMO"),0); - //BA.debugLineNum = 201;BA.debugLine="Log(Subs.traeAlmacen)"; -__c.LogImpl("349479807",_subs._traealmacen /*String*/ (ba),0); - //BA.debugLineNum = 203;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") = Subs.traeAl"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba))) { - //BA.debugLineNum = 204;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_subs._traeprecio2 /*String*/ (ba,_c.GetString("HVD_PROID"),_c.GetString("HVD_CODPROMO"),_c.GetString("CONSECUTIVO")),(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }else { - //BA.debugLineNum = 206;BA.debugLine="Log(\"aqui abajo\")"; -__c.LogImpl("349479812","aqui abajo",0); - //BA.debugLineNum = 207;BA.debugLine="clv_pedido.Add(CreateListItem(c.GetString(\""; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("HVD_PRONOMBRE"),_preciofull,(int) (0),(int) ((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }; - }; - }; - //BA.debugLineNum = 214;BA.debugLine="c2.Close"; -_c2.Close(); - }else if((_c.GetString("BCAJAS")).equals("1")) { - //BA.debugLineNum = 218;BA.debugLine="Log(\"AQUI1\")"; -__c.LogImpl("349479824","AQUI1",0); - //BA.debugLineNum = 221;BA.debugLine="Private oc As Cursor = Starter.skmt.ExecQuery("; -_oc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_oc = (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 HVD_CANT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) and hvd_proid = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' and HVD_NUM_REGISTRO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_NUM_REGISTRO")))+"'")))); - //BA.debugLineNum = 222;BA.debugLine="Private cant2 As Int = 0"; -_cant2 = (int) (0); - //BA.debugLineNum = 223;BA.debugLine="If oc.RowCount > 0 Then"; -if (_oc.getRowCount()>0) { - //BA.debugLineNum = 224;BA.debugLine="oc.Position = 0"; -_oc.setPosition((int) (0)); - //BA.debugLineNum = 225;BA.debugLine="cant2 = oc.GetString(\"HVD_CANT\")"; -_cant2 = (int)(Double.parseDouble(_oc.GetString("HVD_CANT"))); - }; - //BA.debugLineNum = 227;BA.debugLine="oc.Close"; -_oc.Close(); - //BA.debugLineNum = 228;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 229;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 230;BA.debugLine="label1.TextSize = 12"; -_label1.setTextSize((float) (12)); - //BA.debugLineNum = 231;BA.debugLine="label1.TextColor = Colors.black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 232;BA.debugLine="Dim Label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 233;BA.debugLine="Label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 234;BA.debugLine="Label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 235;BA.debugLine="Label2.TextColor = Colors.black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 236;BA.debugLine="Private bgColor, textColor As Int"; -_bgcolor = 0; -_textcolor = 0; - //BA.debugLineNum = 237;BA.debugLine="bgColor = Colors.RGB(177, 200, 249)'azul"; -_bgcolor = __c.Colors.RGB((int) (177),(int) (200),(int) (249)); - //BA.debugLineNum = 238;BA.debugLine="textColor = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 239;BA.debugLine="If c.GetString(\"HVD_CODPROMO\") <> Subs.traeAlm"; -if ((_c.GetString("HVD_CODPROMO")).equals(_subs._traealmacen /*String*/ (ba)) == false) { - //BA.debugLineNum = 241;BA.debugLine="bgColor = Colors.White"; -_bgcolor = __c.Colors.White; - }; - //BA.debugLineNum = 246;BA.debugLine="Private c2 As Cursor=Starter.skmt.ExecQuery($\""; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c2 = (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 PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); - //BA.debugLineNum = 248;BA.debugLine="Private d5 As Cursor = Starter.skmt.ExecQuery"; -_d5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_d5 = (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 IFNULL(Sum(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 249;BA.debugLine="d5.Position = 0"; -_d5.setPosition((int) (0)); - //BA.debugLineNum = 250;BA.debugLine="Private restacant As String = d5.GetString(\"PE"; -_restacant = _d5.GetString("PE_CANT"); - //BA.debugLineNum = 251;BA.debugLine="d5.Close"; -_d5.Close(); - //BA.debugLineNum = 253;BA.debugLine="If (c.GetString(\"HVD_RECHAZOCANT\")-restacant)"; -if (((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant)))!=(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 254;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 255;BA.debugLine="c2.Position = 0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 256;BA.debugLine="Log(\"SI ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("349479862","SI ENTRO A PONER CAJAS BIEN ",0); - //BA.debugLineNum = 257;BA.debugLine="Log(c2.GetString(\"PE_CAJAS\"))"; -__c.LogImpl("349479863",_c2.GetString("PE_CAJAS"),0); - //BA.debugLineNum = 258;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 259;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 261;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 263;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 264;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 267;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 269;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; -_puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC")))); - //BA.debugLineNum = 270;BA.debugLine="LogColor((restacant/Subs.traeConversion(c.Ge"; -__c.LogImpl("349479876",BA.NumberToString(((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),__c.Colors.Green); - //BA.debugLineNum = 271;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c.GetString("HVD_PRONOMBRE"),_puc,(int) (((double)(Double.parseDouble(_restacant))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_restacant))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }else { - //BA.debugLineNum = 273;BA.debugLine="Log(\"NO ENTRO A PONER CAJAS BIEN \")"; -__c.LogImpl("349479879","NO ENTRO A PONER CAJAS BIEN ",0); - //BA.debugLineNum = 274;BA.debugLine="Private c3 As Cursor=Starter.skmt.ExecQuery("; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c3 = (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 Ifnull(sum(PE_CANT),0) AS PE_CANT from PEDIDO WHERE PE_CLIENTE NOT IN (SELECT CUENTA FROM CUENTAA) AND PE_CLIENTEOR = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_CLIENTE")))+"' AND PE_PROID ='"+__c.SmartStringFormatter("",(Object)(_c.GetString("HVD_PROID")))+"' AND CONSECUTIVO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CONSECUTIVO")))+"'")))); - //BA.debugLineNum = 275;BA.debugLine="Private resta As String = 0"; -_resta = BA.NumberToString(0); - //BA.debugLineNum = 277;BA.debugLine="If c3.RowCount > 0 Then"; -if (_c3.getRowCount()>0) { - //BA.debugLineNum = 279;BA.debugLine="c3.Position = 0"; -_c3.setPosition((int) (0)); - //BA.debugLineNum = 280;BA.debugLine="resta = c3.GetString(\"PE_CANT\")"; -_resta = _c3.GetString("PE_CANT"); - }else { - //BA.debugLineNum = 283;BA.debugLine="resta = 0"; -_resta = BA.NumberToString(0); - }; - //BA.debugLineNum = 285;BA.debugLine="LogColor(resta,Colors.Green)"; -__c.LogImpl("349479891",_resta,__c.Colors.Green); - //BA.debugLineNum = 286;BA.debugLine="Private puc As String = c.GetString(\"HVD_COS"; -_puc = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_c.GetString("CANTC")))); - //BA.debugLineNum = 288;BA.debugLine="clv_pedido.Add(CreateListItem2(c.GetString(\""; -_clv_pedido._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_c.GetString("HVD_PRONOMBRE"),_puc,(int) (0),(int) ((((double)(Double.parseDouble(_c.GetString("HVD_RECHAZOCANT")))-(double)(Double.parseDouble(_resta)))/(double)(double)(Double.parseDouble(_subs._traeconversion /*String*/ (ba,_c.GetString("HVD_PROID")))))),_clv_pedido._asview().getWidth(),__c.DipToCurrent((int) (118)),_bmp,_c.GetString("HVD_PROID"),_bgcolor,_textcolor,_c.GetString("HVD_CODPROMO"),_c.GetString("HVD_CLIENTE"),(int)(Double.parseDouble(_c.GetString("CONSECUTIVO")))).getObject())),(Object)(_i)); - }; - }; - //BA.debugLineNum = 291;BA.debugLine="c2.Close"; -_c2.Close(); - }; - } -}; - }; - //BA.debugLineNum = 360;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(reparto_mazapa.keymon.lat.c_productos parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 374;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 376;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 377;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 63;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 64;BA.debugLine="B4XPages.SetTitle(Me, \"Productos\")"; -_b4xpages._settitle /*String*/ (ba,this,(Object)("Productos")); - //BA.debugLineNum = 66;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - //BA.debugLineNum = 67;BA.debugLine="Root.LoadLayout(\"detalleVenta\")"; -_root.LoadLayout("detalleVenta",ba); - //BA.debugLineNum = 68;BA.debugLine="b_borra.Visible = False"; -_b_borra.setVisible(__c.False); - //BA.debugLineNum = 69;BA.debugLine="Titulo.Text = \"Pedido\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido")); - //BA.debugLineNum = 70;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 g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 5;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_regresar As Button"; -_b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim L_TOTAL As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim b_borra As Button"; -_b_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim Existe As String"; -_existe = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim result As String"; -_result = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim cuantos As String"; -_cuantos = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim nombre_prod As String"; -_nombre_prod = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim cuantos_pedido As String"; -_cuantos_pedido = ""; - //BA.debugLineNum = 21;BA.debugLine="Private Titulo As Label"; -_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private P1 As Panel"; -_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private lv2 As ListView"; -_lv2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim clv_pedido As CustomListView"; -_clv_pedido = new b4a.example3.customlistview(); - //BA.debugLineNum = 26;BA.debugLine="Private p_prods As Panel"; -_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private l_prodX As Label"; -_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_pCant As Label"; -_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private et_pCant As EditText"; -_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim etCantHasFocus As Boolean = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 32;BA.debugLine="Dim totalProds As Int = 0"; -_totalprods = (int) (0); - //BA.debugLineNum = 33;BA.debugLine="Dim totalCompra As Int = 0"; -_totalcompra = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="Dim prodsMap As Map"; -_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 35;BA.debugLine="Dim reconstruirPedido As Boolean = False"; -_reconstruirpedido = __c.False; - //BA.debugLineNum = 36;BA.debugLine="Dim promoABorrar As String"; -_promoaborrar = ""; - //BA.debugLineNum = 37;BA.debugLine="Private b_guardar As Button"; -_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMas As Button"; -_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private b_prodMenos As Button"; -_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Private b_prodMenosC As Button"; -_b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private l_pCantC As Label"; -_l_pcantc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private et_pCantC As EditText"; -_et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Private b_prodMasC As Button"; -_b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Private p_botMasMenC As Panel"; -_p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Private p_botMasMen As Panel"; -_p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Private b_revversar As Button"; -_b_revversar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Private Label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Private Label3 As Label"; -_label3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Private l_piezas As Label"; -_l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Private l_cajas As Label"; -_l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Private l_cajas As Label"; -_l_cajas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Private l_piezas As Label"; -_l_piezas = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 492;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 493;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 494;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 495;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 496;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 497;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 498;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 499;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 500;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 501;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 502;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 503;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); - }; - //BA.debugLineNum = 505;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; -_l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); - //BA.debugLineNum = 508;BA.debugLine="l_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&\""; -_l_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 509;BA.debugLine="et_pCant.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; -_et_pcant.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 510;BA.debugLine="p_prods.Tag = l_pCant.tag"; -_p_prods.setTag(_l_pcant.getTag()); - //BA.debugLineNum = 512;BA.debugLine="l_pCant.Text = inv"; -_l_pcant.setText(BA.ObjectToCharSequence(_inv)); - //BA.debugLineNum = 516;BA.debugLine="l_pCant.BringToFront"; -_l_pcant.BringToFront(); - //BA.debugLineNum = 517;BA.debugLine="et_pCant.SendToBack"; -_et_pcant.SendToBack(); - //BA.debugLineNum = 518;BA.debugLine="p_botMasMenC.Visible = False"; -_p_botmasmenc.setVisible(__c.False); - //BA.debugLineNum = 519;BA.debugLine="l_cajas.Visible = False"; -_l_cajas.setVisible(__c.False); - //BA.debugLineNum = 521;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 = 522;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _text,String _preciou,int _inv,int _inv2,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc,String _promo,String _cliente_original,int _consecutivo) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 524;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; - //BA.debugLineNum = 525;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 526;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 527;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 528;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 529;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 530;BA.debugLine="p_prods.Color = bc"; -_p_prods.setColor(_bc); - //BA.debugLineNum = 531;BA.debugLine="l_prodX.TextColor = tc"; -_l_prodx.setTextColor(_tc); - //BA.debugLineNum = 532;BA.debugLine="precioU = $\"$1.2{precioU}\"$"; -_preciou = (""+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""); - //BA.debugLineNum = 533;BA.debugLine="l_prodX.Text = Text&CRLF&\"Cant: \" & inv2 & \" $\""; -_l_prodx.setText(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)); - //BA.debugLineNum = 534;BA.debugLine="If promo <> \"1\" And precioU = 0 Then"; -if ((_promo).equals("1") == false && (_preciou).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 535;BA.debugLine="l_prodX.Text = cs.Color(Colors.RGB(123,0,0)).app"; -_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (123),(int) (0),(int) (0))).Append(BA.ObjectToCharSequence(_text+__c.CRLF+"Cant: "+BA.NumberToString(_inv2)+" $"+_preciou)).PopAll().getObject())); - }; - //BA.debugLineNum = 538;BA.debugLine="Log(inv&\" inventario 1\")"; -__c.LogImpl("349938446",BA.NumberToString(_inv)+" inventario 1",0); - //BA.debugLineNum = 539;BA.debugLine="Log(inv2&\" inventario 2\")"; -__c.LogImpl("349938447",BA.NumberToString(_inv2)+" inventario 2",0); - //BA.debugLineNum = 540;BA.debugLine="l_prodX.Tag = $\"ID: ${prodId}${CRLF}${Text}${CRLF"; -_l_prodx.setTag((Object)(("ID: "+__c.SmartStringFormatter("",(Object)(_prodid))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_text))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Precio: $"+__c.SmartStringFormatter("1.2",(Object)(_preciou))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Inv: "+__c.SmartStringFormatter("",(Object)(_inv))+" pzs"))); - //BA.debugLineNum = 542;BA.debugLine="l_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)&"; -_l_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 543;BA.debugLine="et_pCantC.Tag = Round2(precioU.Replace(\",\",\"\"),2)"; -_et_pcantc.setTag((Object)(BA.NumberToString(__c.Round2((double)(Double.parseDouble(_preciou.replace(",",""))),(int) (2)))+"|"+BA.NumberToString(_inv)+"|"+_prodid+"|"+_promo+"|"+BA.NumberToString(_inv2)+"|"+_cliente_original+"|"+BA.NumberToString(_consecutivo))); - //BA.debugLineNum = 544;BA.debugLine="p_prods.Tag = l_pCantC.tag"; -_p_prods.setTag(_l_pcantc.getTag()); - //BA.debugLineNum = 546;BA.debugLine="l_pCantC.Text = NumberFormat2(inv,0,0,0,False)"; -_l_pcantc.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_inv,(int) (0),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 550;BA.debugLine="l_pCantC.BringToFront"; -_l_pcantc.BringToFront(); - //BA.debugLineNum = 551;BA.debugLine="et_pCantC.SendToBack"; -_et_pcantc.SendToBack(); - //BA.debugLineNum = 552;BA.debugLine="p_botMasMen.Visible = False"; -_p_botmasmen.setVisible(__c.False); - //BA.debugLineNum = 553;BA.debugLine="l_piezas.Visible = False"; -_l_piezas.setVisible(__c.False); - //BA.debugLineNum = 555;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 = 556;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods(String _accion) throws Exception{ - //BA.debugLineNum = 913;BA.debugLine="Sub cuentaProds(accion As String)"; - //BA.debugLineNum = 1075;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 362;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 365;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 57;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 58;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return null; -} -public String _l_pcant_click() throws Exception{ - //BA.debugLineNum = 1082;BA.debugLine="Private Sub l_pCant_Click"; - //BA.debugLineNum = 1084;BA.debugLine="End Sub"; -return ""; -} -public String _l_pcantc_click() throws Exception{ - //BA.debugLineNum = 904;BA.debugLine="Private Sub l_pCantC_Click"; - //BA.debugLineNum = 906;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 379;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 423;BA.debugLine="End Sub"; -return ""; -} -public String _lv2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 425;BA.debugLine="Sub lv2_ItemClick (Position As Int, Value As Objec"; - //BA.debugLineNum = 486;BA.debugLine="End Sub"; -return ""; -} -public String _p_prods_click() throws Exception{ - //BA.debugLineNum = 1086;BA.debugLine="Sub p_prods_Click"; - //BA.debugLineNum = 1087;BA.debugLine="Log(Sender.As(Panel).tag)"; -__c.LogImpl("350593793",BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),0); - //BA.debugLineNum = 1088;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/reparto_mazapa/keymon/lat/c_tabulador.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java deleted file mode 100644 index 59cf934..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_tabulador.java +++ /dev/null @@ -1,303 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_tabulador 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, "reparto_mazapa.keymon.lat.c_tabulador"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.c_tabulador.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.EditTextWrapper _et_mil = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_quinientos = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_docientos = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_cien = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_cincuenta = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_veinte = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_m_veinte = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_m_diez = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_m_cinco = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_m_dos = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_m_peso = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_m_centavo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_calcular = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; -public int _sum_billetes = 0; -public float _sum_monedas = 0f; -public float _total = 0f; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public String _b_calcular_click() throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Private Sub b_calcular_Click"; - //BA.debugLineNum = 88;BA.debugLine="If et_mil.Text = \"\" Then"; -if ((_et_mil.getText()).equals("")) { - //BA.debugLineNum = 89;BA.debugLine="et_mil.Text = 0"; -_et_mil.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 91;BA.debugLine="If et_quinientos.Text = \"\" Then"; -if ((_et_quinientos.getText()).equals("")) { - //BA.debugLineNum = 92;BA.debugLine="et_quinientos.Text = 0"; -_et_quinientos.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 94;BA.debugLine="If et_docientos.Text = \"\" Then"; -if ((_et_docientos.getText()).equals("")) { - //BA.debugLineNum = 95;BA.debugLine="et_docientos.Text = 0"; -_et_docientos.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 97;BA.debugLine="If et_cien.Text = \"\" Then"; -if ((_et_cien.getText()).equals("")) { - //BA.debugLineNum = 98;BA.debugLine="et_cien.Text = 0"; -_et_cien.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 100;BA.debugLine="If et_cincuenta.Text = \"\" Then"; -if ((_et_cincuenta.getText()).equals("")) { - //BA.debugLineNum = 101;BA.debugLine="et_cincuenta.Text = 0"; -_et_cincuenta.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 103;BA.debugLine="If et_veinte.Text = \"\" Then"; -if ((_et_veinte.getText()).equals("")) { - //BA.debugLineNum = 104;BA.debugLine="et_veinte.Text = 0"; -_et_veinte.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 106;BA.debugLine="If et_m_veinte.Text = \"\" Then"; -if ((_et_m_veinte.getText()).equals("")) { - //BA.debugLineNum = 107;BA.debugLine="et_m_veinte.Text = 0"; -_et_m_veinte.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 109;BA.debugLine="If et_m_diez.Text = \"\" Then"; -if ((_et_m_diez.getText()).equals("")) { - //BA.debugLineNum = 110;BA.debugLine="et_m_diez.Text = 0"; -_et_m_diez.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 112;BA.debugLine="If et_m_cinco.Text = \"\" Then"; -if ((_et_m_cinco.getText()).equals("")) { - //BA.debugLineNum = 113;BA.debugLine="et_m_cinco.Text = 0"; -_et_m_cinco.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 115;BA.debugLine="If et_m_dos.Text = \"\" Then"; -if ((_et_m_dos.getText()).equals("")) { - //BA.debugLineNum = 116;BA.debugLine="et_m_dos.Text = 0"; -_et_m_dos.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 118;BA.debugLine="If et_m_peso.Text = \"\" Then"; -if ((_et_m_peso.getText()).equals("")) { - //BA.debugLineNum = 119;BA.debugLine="et_m_peso.Text = 0"; -_et_m_peso.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 121;BA.debugLine="If et_m_centavo.Text = \"\" Then"; -if ((_et_m_centavo.getText()).equals("")) { - //BA.debugLineNum = 122;BA.debugLine="et_m_centavo.Text = 0"; -_et_m_centavo.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 124;BA.debugLine="sum_billetes = (et_mil.Text * 1000) + (et_quinien"; -_sum_billetes = (int) (((double)(Double.parseDouble(_et_mil.getText()))*1000)+((double)(Double.parseDouble(_et_quinientos.getText()))*500)+((double)(Double.parseDouble(_et_docientos.getText()))*200)+((double)(Double.parseDouble(_et_cien.getText()))*100)+((double)(Double.parseDouble(_et_cincuenta.getText()))*50)+((double)(Double.parseDouble(_et_veinte.getText()))*20)); - //BA.debugLineNum = 125;BA.debugLine="sum_monedas = (et_m_veinte.Text * 20) + ( et_m_di"; -_sum_monedas = (float) (((double)(Double.parseDouble(_et_m_veinte.getText()))*20)+((double)(Double.parseDouble(_et_m_diez.getText()))*10)+((double)(Double.parseDouble(_et_m_cinco.getText()))*5)+((double)(Double.parseDouble(_et_m_dos.getText()))*2)+((double)(Double.parseDouble(_et_m_peso.getText()))*1)+((double)(Double.parseDouble(_et_m_centavo.getText()))*0.50)); - //BA.debugLineNum = 126;BA.debugLine="total = sum_billetes + sum_monedas"; -_total = (float) (_sum_billetes+_sum_monedas); - //BA.debugLineNum = 127;BA.debugLine="l_total.Text = Round2(total, 2)"; -_l_total.setText(BA.ObjectToCharSequence(__c.Round2(_total,(int) (2)))); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 79;BA.debugLine="b_calcular_Click"; -_b_calcular_click(); - //BA.debugLineNum = 80;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); - //BA.debugLineNum = 81;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); - //BA.debugLineNum = 82;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_BILLETES (MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_et_mil.getText()),(Object)(_et_quinientos.getText()),(Object)(_et_docientos.getText()),(Object)(_et_cien.getText()),(Object)(_et_cincuenta.getText()),(Object)(_et_veinte.getText())})); - //BA.debugLineNum = 83;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO TABULADOR"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO TABULADOR_MONEDAS (VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_et_m_veinte.getText()),(Object)(_et_m_diez.getText()),(Object)(_et_m_cinco.getText()),(Object)(_et_m_dos.getText()),(Object)(_et_m_peso.getText()),(Object)(_et_m_centavo.getText()),(Object)(_l_total.getText())})); - //BA.debugLineNum = 84;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 85;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 39;BA.debugLine="d = Starter.skmt.ExecQuery(\"SELECT VEINTE, DIEZ,"; -_d = (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 VEINTE, DIEZ, CINCO, DOS, PESO, CENTAVO, TOTAL FROM TABULADOR_MONEDAS"))); - //BA.debugLineNum = 40;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT MIL, QUINIENTO"; -_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 MIL, QUINIENTOS, DOCIENTOS, CIEN, CINCUENTA, VEINTE FROM TABULADOR_BILLETES"))); - //BA.debugLineNum = 41;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 42;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 43;BA.debugLine="If c.RowCount > 0 And d.RowCount > 0 Then"; -if (_c.getRowCount()>0 && _d.getRowCount()>0) { - //BA.debugLineNum = 44;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")"; -__c.LogImpl("361145094","TABULADR CON RESUKTADO",0); - //BA.debugLineNum = 45;BA.debugLine="et_mil.Text = c.GetString(\"MIL\")"; -_et_mil.setText(BA.ObjectToCharSequence(_c.GetString("MIL"))); - //BA.debugLineNum = 46;BA.debugLine="et_quinientos.Text = c.GetString(\"QUINIENTOS\")"; -_et_quinientos.setText(BA.ObjectToCharSequence(_c.GetString("QUINIENTOS"))); - //BA.debugLineNum = 47;BA.debugLine="et_docientos.Text = c.GetString(\"DOCIENTOS\")"; -_et_docientos.setText(BA.ObjectToCharSequence(_c.GetString("DOCIENTOS"))); - //BA.debugLineNum = 48;BA.debugLine="et_cien.Text = c.GetString(\"CIEN\")"; -_et_cien.setText(BA.ObjectToCharSequence(_c.GetString("CIEN"))); - //BA.debugLineNum = 49;BA.debugLine="et_cincuenta.Text = c.GetString(\"CINCUENTA\")"; -_et_cincuenta.setText(BA.ObjectToCharSequence(_c.GetString("CINCUENTA"))); - //BA.debugLineNum = 50;BA.debugLine="et_veinte.Text = c.GetString(\"VEINTE\")"; -_et_veinte.setText(BA.ObjectToCharSequence(_c.GetString("VEINTE"))); - //BA.debugLineNum = 51;BA.debugLine="et_m_veinte.Text = d.GetString(\"VEINTE\")"; -_et_m_veinte.setText(BA.ObjectToCharSequence(_d.GetString("VEINTE"))); - //BA.debugLineNum = 52;BA.debugLine="et_m_diez.Text = d.GetString(\"DIEZ\")"; -_et_m_diez.setText(BA.ObjectToCharSequence(_d.GetString("DIEZ"))); - //BA.debugLineNum = 53;BA.debugLine="et_m_cinco.Text = d.GetString(\"CINCO\")"; -_et_m_cinco.setText(BA.ObjectToCharSequence(_d.GetString("CINCO"))); - //BA.debugLineNum = 54;BA.debugLine="et_m_dos.Text = d.GetString(\"DOS\")"; -_et_m_dos.setText(BA.ObjectToCharSequence(_d.GetString("DOS"))); - //BA.debugLineNum = 55;BA.debugLine="et_m_peso.Text = d.GetString(\"PESO\")"; -_et_m_peso.setText(BA.ObjectToCharSequence(_d.GetString("PESO"))); - //BA.debugLineNum = 56;BA.debugLine="et_m_centavo.Text = d.GetString(\"CENTAVO\")"; -_et_m_centavo.setText(BA.ObjectToCharSequence(_d.GetString("CENTAVO"))); - //BA.debugLineNum = 57;BA.debugLine="l_total.Text = d.GetString(\"TOTAL\")"; -_l_total.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL"))); - }else if(_c.getRowCount()==0 && _d.getRowCount()==0) { - //BA.debugLineNum = 59;BA.debugLine="Log(\"TABULADR SIN RESUKTADO\")"; -__c.LogImpl("361145109","TABULADR SIN RESUKTADO",0); - //BA.debugLineNum = 60;BA.debugLine="et_mil.Text = \"\""; -_et_mil.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 61;BA.debugLine="et_quinientos.Text = \"\""; -_et_quinientos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 62;BA.debugLine="et_docientos.Text = \"\""; -_et_docientos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 63;BA.debugLine="et_cien.Text = \"\""; -_et_cien.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 64;BA.debugLine="et_cincuenta.Text = \"\""; -_et_cincuenta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 65;BA.debugLine="et_veinte.Text = \"\""; -_et_veinte.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 66;BA.debugLine="et_m_veinte.Text = \"\""; -_et_m_veinte.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 67;BA.debugLine="et_m_diez.Text = \"\""; -_et_m_diez.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 68;BA.debugLine="et_m_cinco.Text = \"\""; -_et_m_cinco.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 69;BA.debugLine="et_m_dos.Text = \"\""; -_et_m_dos.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 70;BA.debugLine="et_m_peso.Text = \"\""; -_et_m_peso.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 71;BA.debugLine="et_m_centavo.Text = \"\""; -_et_m_centavo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 72;BA.debugLine="l_total.Text = \"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 74;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 75;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 33;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 35;BA.debugLine="Root.LoadLayout(\"tabulador\")"; -_root.LoadLayout("tabulador",ba); - //BA.debugLineNum = 36;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 et_mil As EditText"; -_et_mil = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private et_quinientos As EditText"; -_et_quinientos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private et_docientos As EditText"; -_et_docientos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private et_cien As EditText"; -_et_cien = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Private et_cincuenta As EditText"; -_et_cincuenta = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private et_veinte As EditText"; -_et_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private et_m_veinte As EditText"; -_et_m_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private et_m_diez As EditText"; -_et_m_diez = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Private et_m_cinco As EditText"; -_et_m_cinco = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private et_m_dos As EditText"; -_et_m_dos = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private et_m_peso As EditText"; -_et_m_peso = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private et_m_centavo As EditText"; -_et_m_centavo = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private b_calcular As Button"; -_b_calcular = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private b_guardar As Button"; -_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim sum_billetes As Int"; -_sum_billetes = 0; - //BA.debugLineNum = 20;BA.debugLine="Dim sum_monedas As Float"; -_sum_monedas = 0f; - //BA.debugLineNum = 21;BA.debugLine="Dim total As Float"; -_total = 0f; - //BA.debugLineNum = 22;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 28;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 29;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/reparto_mazapa/keymon/lat/c_ticketsdia.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_ticketsdia.java deleted file mode 100644 index 80d944a..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_ticketsdia.java +++ /dev/null @@ -1,74 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_ticketsdia"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/c_updateavailable.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java deleted file mode 100644 index 89ef61f..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/c_updateavailable.java +++ /dev/null @@ -1,253 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.c_updateavailable"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.c_updateavailable parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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("361734922","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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 = 57;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 58;BA.debugLine="StartActivity(Main)"; -__c.StartActivity(ba,(Object)(_main.getObject())); - //BA.debugLineNum = 60;BA.debugLine="B4XPages.ShowPage(\"Login\")"; -_b4xpages._showpage /*String*/ (ba,"Login"); - //BA.debugLineNum = 61;BA.debugLine="End Sub"; -return ""; -} -public String _sinactualizacion() throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Sub sinActualizacion"; - //BA.debugLineNum = 64;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; -__c.Msgbox(BA.ObjectToCharSequence(_appupdater._newapp /*reparto_mazapa.keymon.lat.appupdater._mnewversion*/ .okMsg /*String*/ ),BA.ObjectToCharSequence("Aplicación al corriente"),ba); - //BA.debugLineNum = 66;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 67;BA.debugLine="B4XPages.ShowPage(\"Login\")"; -_b4xpages._showpage /*String*/ (ba,"Login"); - //BA.debugLineNum = 68;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/reparto_mazapa/keymon/lat/cameraexclass.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java deleted file mode 100644 index f0ec263..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/cameraexclass.java +++ /dev/null @@ -1,623 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.cameraexclass"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 = 275;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; - //BA.debugLineNum = 276;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 277;BA.debugLine="TakePicture"; -_takepicture(); - }else { - //BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")"; -__c.LogImpl("364159748","AutoFocus error.",0); - }; - //BA.debugLineNum = 281;BA.debugLine="End Sub"; -return ""; -} -public String _camera_picturetaken(byte[] _data) throws Exception{ - //BA.debugLineNum = 104;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 105;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; -__c.CallSubNew2(ba,_target,_event+"_PictureTaken",(Object)(_data)); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public String _camera_preview(byte[] _data) throws Exception{ - //BA.debugLineNum = 95;BA.debugLine="Sub Camera_Preview (Data() As Byte)"; - //BA.debugLineNum = 96;BA.debugLine="If SubExists(target, event & \"_preview\") Then"; -if (__c.SubExists(ba,_target,_event+"_preview")) { - //BA.debugLineNum = 97;BA.debugLine="CallSub2(target, event & \"_preview\", Data)"; -__c.CallSubNew2(ba,_target,_event+"_preview",(Object)(_data)); - }; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} -public String _camera_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 82;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; - //BA.debugLineNum = 83;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 84;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 85;BA.debugLine="nativeCam = r.GetField(\"camera\")"; -_nativecam = _r.GetField("camera"); - //BA.debugLineNum = 86;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 87;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; -_parameters = _r.RunMethod("getParameters"); - //BA.debugLineNum = 88;BA.debugLine="SetDisplayOrientation"; -_setdisplayorientation(); - }else { - //BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)"; -__c.LogImpl("362259208","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); - }; - //BA.debugLineNum = 92;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; -__c.CallSubNew2(ba,_target,_event+"_ready",(Object)(_success)); - //BA.debugLineNum = 93;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 nativeCam As Object"; -_nativecam = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Private cam As Camera"; -_cam = new anywheresoftware.b4a.objects.CameraW(); - //BA.debugLineNum = 10;BA.debugLine="Private r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 11;BA.debugLine="Private target As Object"; -_target = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Private event As String"; -_event = ""; - //BA.debugLineNum = 13;BA.debugLine="Public Front As Boolean"; -_front = false; - //BA.debugLineNum = 14;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; -; - //BA.debugLineNum = 15;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; -; - //BA.debugLineNum = 16;BA.debugLine="Private parameters As Object"; -_parameters = new Object(); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public String _closenow() throws Exception{ - //BA.debugLineNum = 266;BA.debugLine="Public Sub CloseNow"; - //BA.debugLineNum = 267;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 268;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 269;BA.debugLine="r.RunMethod2(\"releaseCameras\", True, \"java.lang.b"; -_r.RunMethod2("releaseCameras",BA.ObjectToString(__c.True),"java.lang.boolean"); - //BA.debugLineNum = 270;BA.debugLine="End Sub"; -return ""; -} -public String _commitparameters() throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Public Sub CommitParameters"; - //BA.debugLineNum = 138;BA.debugLine="Try"; -try { //BA.debugLineNum = 139;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 140;BA.debugLine="r.RunMethod4(\"setParameters\", Array As Object(pa"; -_r.RunMethod4("setParameters",new Object[]{_parameters},new String[]{"android.hardware.Camera$Parameters"}); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 142;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Error setting parameters."),__c.True); - //BA.debugLineNum = 143;BA.debugLine="Log(LastException)"; -__c.LogImpl("362914566",BA.ObjectToString(__c.LastException(ba)),0); - }; - //BA.debugLineNum = 145;BA.debugLine="End Sub"; -return ""; -} -public reparto_mazapa.keymon.lat.cameraexclass._camerainfoandid _findcamera(boolean _frontcamera) throws Exception{ -reparto_mazapa.keymon.lat.cameraexclass._camerainfoandid _ci = null; -Object _camerainfo = null; -int _cameravalue = 0; -int _numberofcameras = 0; -int _i = 0; - //BA.debugLineNum = 36;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; - //BA.debugLineNum = 37;BA.debugLine="Dim ci As CameraInfoAndId"; -_ci = new reparto_mazapa.keymon.lat.cameraexclass._camerainfoandid(); - //BA.debugLineNum = 38;BA.debugLine="Dim cameraInfo As Object"; -_camerainfo = new Object(); - //BA.debugLineNum = 39;BA.debugLine="Dim cameraValue As Int"; -_cameravalue = 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="For i = 0 To numberOfCameras - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_numberofcameras-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 44;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 = 46;BA.debugLine="r.target = cameraInfo"; -_r.Target = _camerainfo; - //BA.debugLineNum = 47;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; -if ((_r.GetField("facing")).equals((Object)(_cameravalue))) { - //BA.debugLineNum = 48;BA.debugLine="ci.cameraInfo = r.target"; -_ci.CameraInfo /*Object*/ = _r.Target; - //BA.debugLineNum = 49;BA.debugLine="ci.Id = i"; -_ci.Id /*int*/ = _i; - //BA.debugLineNum = 50;BA.debugLine="Return ci"; -if (true) return _ci; - }; - } -}; - //BA.debugLineNum = 53;BA.debugLine="ci.id = -1"; -_ci.Id /*int*/ = (int) (-1); - //BA.debugLineNum = 54;BA.debugLine="Return ci"; -if (true) return _ci; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return null; -} -public String _focusandtakepicture() throws Exception{ - //BA.debugLineNum = 272;BA.debugLine="Public Sub FocusAndTakePicture"; - //BA.debugLineNum = 273;BA.debugLine="cam.AutoFocus"; -_cam.AutoFocus(); - //BA.debugLineNum = 274;BA.debugLine="End Sub"; -return ""; -} -public String _getcoloreffect() throws Exception{ - //BA.debugLineNum = 147;BA.debugLine="Public Sub GetColorEffect As String"; - //BA.debugLineNum = 148;BA.debugLine="Return GetParameter(\"effect\")"; -if (true) return _getparameter("effect"); - //BA.debugLineNum = 149;BA.debugLine="End Sub"; -return ""; -} -public String _getflashmode() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub GetFlashMode As String"; - //BA.debugLineNum = 183;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 184;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; -if (true) return BA.ObjectToString(_r.RunMethod("getFlashMode")); - //BA.debugLineNum = 185;BA.debugLine="End Sub"; -return ""; -} -public float[] _getfocusdistances() throws Exception{ -float[] _f = null; - //BA.debugLineNum = 258;BA.debugLine="Public Sub GetFocusDistances As Float()"; - //BA.debugLineNum = 259;BA.debugLine="Dim F(3) As Float"; -_f = new float[(int) (3)]; -; - //BA.debugLineNum = 260;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 261;BA.debugLine="r.RunMethod4(\"getFocusDistances\", Array As Object"; -_r.RunMethod4("getFocusDistances",new Object[]{(Object)(_f)},new String[]{"[F"}); - //BA.debugLineNum = 262;BA.debugLine="Return F"; -if (true) return _f; - //BA.debugLineNum = 263;BA.debugLine="End Sub"; -return null; -} -public String _getparameter(String _key) throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Public Sub GetParameter(Key As String) As String"; - //BA.debugLineNum = 133;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 134;BA.debugLine="Return r.RunMethod2(\"get\", Key, \"java.lang.String"; -if (true) return BA.ObjectToString(_r.RunMethod2("get",_key,"java.lang.String")); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public reparto_mazapa.keymon.lat.cameraexclass._camerasize _getpicturesize() throws Exception{ -reparto_mazapa.keymon.lat.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 206;BA.debugLine="Public Sub GetPictureSize As CameraSize"; - //BA.debugLineNum = 207;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 208;BA.debugLine="r.target = r.RunMethod(\"getPictureSize\")"; -_r.Target = _r.RunMethod("getPictureSize"); - //BA.debugLineNum = 209;BA.debugLine="Dim cs As CameraSize"; -_cs = new reparto_mazapa.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 210;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 211;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 212;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return null; -} -public reparto_mazapa.keymon.lat.cameraexclass._camerasize _getpreviewsize() throws Exception{ -reparto_mazapa.keymon.lat.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 197;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; - //BA.debugLineNum = 198;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 199;BA.debugLine="r.target = r.RunMethod(\"getPreviewSize\")"; -_r.Target = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 200;BA.debugLine="Dim cs As CameraSize"; -_cs = new reparto_mazapa.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 201;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 202;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 203;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 204;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedcoloreffects() throws Exception{ - //BA.debugLineNum = 192;BA.debugLine="Public Sub GetSupportedColorEffects As List"; - //BA.debugLineNum = 193;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 194;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 = 195;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedflashmodes() throws Exception{ - //BA.debugLineNum = 187;BA.debugLine="Public Sub GetSupportedFlashModes As List"; - //BA.debugLineNum = 188;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 189;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 = 190;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedfocusmodes() throws Exception{ - //BA.debugLineNum = 237;BA.debugLine="Public Sub GetSupportedFocusModes As List"; - //BA.debugLineNum = 238;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 239;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 = 240;BA.debugLine="End Sub"; -return null; -} -public reparto_mazapa.keymon.lat.cameraexclass._camerasize[] _getsupportedpicturessizes() throws Exception{ -anywheresoftware.b4a.objects.collections.List _list1 = null; -reparto_mazapa.keymon.lat.cameraexclass._camerasize[] _cs = null; -int _i = 0; - //BA.debugLineNum = 155;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; - //BA.debugLineNum = 156;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 157;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 = 158;BA.debugLine="Dim cs(list1.Size) As CameraSize"; -_cs = new reparto_mazapa.keymon.lat.cameraexclass._camerasize[_list1.getSize()]; -{ -int d0 = _cs.length; -for (int i0 = 0;i0 < d0;i0++) { -_cs[i0] = new reparto_mazapa.keymon.lat.cameraexclass._camerasize(); -} -} -; - //BA.debugLineNum = 159;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 = 160;BA.debugLine="r.target = list1.Get(i)"; -_r.Target = _list1.Get(_i); - //BA.debugLineNum = 161;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; -_cs[_i].Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 162;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; -_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - } -}; - //BA.debugLineNum = 164;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 165;BA.debugLine="End Sub"; -return null; -} -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 = 19;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; - //BA.debugLineNum = 20;BA.debugLine="target = TargetModule"; -_target = _targetmodule; - //BA.debugLineNum = 21;BA.debugLine="event = EventName"; -_event = _eventname; - //BA.debugLineNum = 22;BA.debugLine="Front = FrontCamera"; -_front = _frontcamera; - //BA.debugLineNum = 23;BA.debugLine="Dim id As Int"; -_id = 0; - //BA.debugLineNum = 24;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 25;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 26;BA.debugLine="Front = Not(Front) 'try different camera"; -_front = __c.Not(_front); - //BA.debugLineNum = 27;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 28;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 29;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No camera found."),__c.True); - //BA.debugLineNum = 30;BA.debugLine="Return"; -if (true) return ""; - }; - }; - //BA.debugLineNum = 33;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; -_cam.Initialize2(ba,(android.view.ViewGroup)(_panel1.getObject()),"camera",_id); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -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 = 217;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; - //BA.debugLineNum = 218;BA.debugLine="Dim size, previewFormat As Object"; -_size = new Object(); -_previewformat = new Object(); - //BA.debugLineNum = 219;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 220;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; -_size = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 221;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; -_previewformat = _r.RunMethod("getPreviewFormat"); - //BA.debugLineNum = 222;BA.debugLine="r.target = size"; -_r.Target = _size; - //BA.debugLineNum = 223;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 = 224;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 = 227;BA.debugLine="r.target = yuvImage"; -_r.Target = _yuvimage; - //BA.debugLineNum = 228;BA.debugLine="Dim rect1 As Rect"; -_rect1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); - //BA.debugLineNum = 229;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 = 230;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 231;BA.debugLine="out.InitializeToBytesArray(100)"; -_out.InitializeToBytesArray((int) (100)); - //BA.debugLineNum = 232;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 = 234;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 235;BA.debugLine="End Sub"; -return null; -} -public String _release() throws Exception{ - //BA.debugLineNum = 116;BA.debugLine="Public Sub Release"; - //BA.debugLineNum = 117;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 118;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 = 121;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; - //BA.debugLineNum = 122;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 = 123;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 124;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; -return ""; -} -public String _setcoloreffect(String _effect) throws Exception{ - //BA.debugLineNum = 151;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; - //BA.debugLineNum = 152;BA.debugLine="SetParameter(\"effect\", Effect)"; -_setparameter("effect",_effect); - //BA.debugLineNum = 153;BA.debugLine="End Sub"; -return ""; -} -public String _setcontinuousautofocus() throws Exception{ -anywheresoftware.b4a.objects.collections.List _modes = null; - //BA.debugLineNum = 242;BA.debugLine="Public Sub SetContinuousAutoFocus"; - //BA.debugLineNum = 243;BA.debugLine="Dim modes As List = GetSupportedFocusModes"; -_modes = new anywheresoftware.b4a.objects.collections.List(); -_modes = _getsupportedfocusmodes(); - //BA.debugLineNum = 244;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; -if (_modes.IndexOf((Object)("continuous-picture"))>-1) { - //BA.debugLineNum = 245;BA.debugLine="SetFocusMode(\"continuous-picture\")"; -_setfocusmode("continuous-picture"); - }else if(_modes.IndexOf((Object)("continuous-video"))>-1) { - //BA.debugLineNum = 247;BA.debugLine="SetFocusMode(\"continuous-video\")"; -_setfocusmode("continuous-video"); - }else { - //BA.debugLineNum = 249;BA.debugLine="Log(\"Continuous focus mode is not availabl"; -__c.LogImpl("363832071","Continuous focus mode is not available",0); - }; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return ""; -} -public String _setdisplayorientation() throws Exception{ -int _previewresult = 0; -int _result = 0; -int _degrees = 0; -reparto_mazapa.keymon.lat.cameraexclass._camerainfoandid _ci = null; -int _orientation = 0; - //BA.debugLineNum = 57;BA.debugLine="Private Sub SetDisplayOrientation"; - //BA.debugLineNum = 58;BA.debugLine="r.target = r.GetActivity"; -_r.Target = (Object)(_r.GetActivity(ba)); - //BA.debugLineNum = 59;BA.debugLine="r.target = r.RunMethod(\"getWindowManager\")"; -_r.Target = _r.RunMethod("getWindowManager"); - //BA.debugLineNum = 60;BA.debugLine="r.target = r.RunMethod(\"getDefaultDisplay\")"; -_r.Target = _r.RunMethod("getDefaultDisplay"); - //BA.debugLineNum = 61;BA.debugLine="r.target = r.RunMethod(\"getRotation\")"; -_r.Target = _r.RunMethod("getRotation"); - //BA.debugLineNum = 62;BA.debugLine="Dim previewResult, result, degrees As Int = r.tar"; -_previewresult = 0; -_result = 0; -_degrees = (int) ((double)(BA.ObjectToNumber(_r.Target))*90); - //BA.debugLineNum = 63;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; -_ci = _findcamera(_front); - //BA.debugLineNum = 64;BA.debugLine="r.target = ci.CameraInfo"; -_r.Target = _ci.CameraInfo /*Object*/ ; - //BA.debugLineNum = 65;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; -_orientation = (int)(BA.ObjectToNumber(_r.GetField("orientation"))); - //BA.debugLineNum = 66;BA.debugLine="If Front Then"; -if (_front) { - //BA.debugLineNum = 67;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; -_previewresult = (int) ((_orientation+_degrees)%360); - //BA.debugLineNum = 68;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 69;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; -_previewresult = (int) ((360-_previewresult)%360); - }else { - //BA.debugLineNum = 71;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; -_previewresult = (int) ((_orientation-_degrees+360)%360); - //BA.debugLineNum = 72;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 73;BA.debugLine="Log(previewResult)"; -__c.LogImpl("362193680",BA.NumberToString(_previewresult),0); - }; - //BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 76;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; -_r.RunMethod2("setDisplayOrientation",BA.NumberToString(_previewresult),"java.lang.int"); - //BA.debugLineNum = 77;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 78;BA.debugLine="r.RunMethod2(\"setRotation\", result, \"java.lang.in"; -_r.RunMethod2("setRotation",BA.NumberToString(_result),"java.lang.int"); - //BA.debugLineNum = 79;BA.debugLine="CommitParameters"; -_commitparameters(); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; -return ""; -} -public String _setflashmode(String _mode) throws Exception{ - //BA.debugLineNum = 177;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; - //BA.debugLineNum = 178;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 179;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; -_r.RunMethod2("setFlashMode",_mode,"java.lang.String"); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; -return ""; -} -public String _setfocusmode(String _mode) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; - //BA.debugLineNum = 254;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 255;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; -_r.RunMethod2("setFocusMode",_mode,"java.lang.String"); - //BA.debugLineNum = 256;BA.debugLine="End Sub"; -return ""; -} -public String _setjpegquality(int _quality) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; - //BA.debugLineNum = 173;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 174;BA.debugLine="r.RunMethod2(\"setJpegQuality\", Quality, \"java.lan"; -_r.RunMethod2("setJpegQuality",BA.NumberToString(_quality),"java.lang.int"); - //BA.debugLineNum = 175;BA.debugLine="End Sub"; -return ""; -} -public String _setparameter(String _key,String _value) throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; - //BA.debugLineNum = 128;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 129;BA.debugLine="r.RunMethod3(\"set\", Key, \"java.lang.String\", Valu"; -_r.RunMethod3("set",_key,"java.lang.String",_value,"java.lang.String"); - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public String _setpicturesize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 167;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; - //BA.debugLineNum = 168;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 169;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 = 170;BA.debugLine="End Sub"; -return ""; -} -public String _startpreview() throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub StartPreview"; - //BA.debugLineNum = 109;BA.debugLine="cam.StartPreview"; -_cam.StartPreview(); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public String _stoppreview() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Public Sub StopPreview"; - //BA.debugLineNum = 113;BA.debugLine="cam.StopPreview"; -_cam.StopPreview(); - //BA.debugLineNum = 114;BA.debugLine="End Sub"; -return ""; -} -public String _takepicture() throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Public Sub TakePicture"; - //BA.debugLineNum = 101;BA.debugLine="cam.TakePicture"; -_cam.TakePicture(); - //BA.debugLineNum = 102;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/reparto_mazapa/keymon/lat/cl_appupdate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java deleted file mode 100644 index 52c84bd..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/cl_appupdate.java +++ /dev/null @@ -1,1790 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.cl_appupdate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.cl_appupdate parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.cl_appupdate parent; -reparto_mazapa.keymon.lat.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("910551297","---- 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("910551301",(""+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 reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("910551312",("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("910551319",("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("910551321",(""+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("910551323",(""+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("910551325",(""+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(reparto_mazapa.keymon.lat.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("99568277",("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("910616833","---- 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("910616837",__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("910616840",__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("910878980",(""+__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("910878985",(""+__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(reparto_mazapa.keymon.lat.cl_appupdate parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.cl_appupdate parent; -reparto_mazapa.keymon.lat.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("910944513","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("910944517",(""+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 reparto_mazapa.keymon.lat.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("910944525","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 = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 327;BA.debugLine="Log(\"after\")"; -parent.__c.LogImpl("910944527","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("910944529",("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("910944536",(""+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("910944539",(""+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("910944543",(""+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("910944546",(""+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("910944548",(""+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("910420225","---- 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(reparto_mazapa.keymon.lat.cl_appupdate parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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("910485761","---- 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(reparto_mazapa.keymon.lat.cl_appupdate parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.cl_appupdate parent; -reparto_mazapa.keymon.lat.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("910747905",(""+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 reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.httpjob) result[0]; -; - //BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("910747915",("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("910747923",("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("910747925",(""+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("910747927",("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("910747929",(""+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("910747933",(""+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("910747935",(""+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("910747942",(""+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(reparto_mazapa.keymon.lat.cl_appupdate parent,boolean _pstatus) { -this.parent = parent; -this._pstatus = _pstatus; -} -reparto_mazapa.keymon.lat.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("910682369","---- 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("910682372",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("910682382",(""+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("910682387",(""+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("910682390",(""+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("910682395",(""+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/reparto_mazapa/keymon/lat/dbrequestmanager.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java deleted file mode 100644 index 49b209b..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/dbrequestmanager.java +++ /dev/null @@ -1,691 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.dbrequestmanager"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 = 239;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; - //BA.debugLineNum = 240;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 241;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; -_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); - //BA.debugLineNum = 242;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 243;BA.debugLine="bmp.Initialize2(In)"; -_bmp.Initialize2((java.io.InputStream)(_in.getObject())); - //BA.debugLineNum = 244;BA.debugLine="Return bmp"; -if (true) return _bmp; - //BA.debugLineNum = 245;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="End Sub"; -return ""; -} -public String _executebatch(anywheresoftware.b4a.objects.collections.List _listofcommands,Object _tag) throws Exception{ -reparto_mazapa.keymon.lat.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _command = null; - //BA.debugLineNum = 41;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; - //BA.debugLineNum = 42;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 43;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 44;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 = 45;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; -_writeint(_listofcommands.getSize(),_out2); - //BA.debugLineNum = 46;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 = (reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand)(group5.Get(index5)); - //BA.debugLineNum = 47;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 48;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - } -}; - //BA.debugLineNum = 50;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 51;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=batch",_ms.ToBytesArray()); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public String _executecommand(reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _command,Object _tag) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; - //BA.debugLineNum = 56;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; -_executebatch(anywheresoftware.b4a.keywords.Common.ArrayToList(new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand[]{_command}),_tag); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; -return ""; -} -public String _executequery(reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _command,int _limit,Object _tag) throws Exception{ -reparto_mazapa.keymon.lat.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; - //BA.debugLineNum = 26;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; - //BA.debugLineNum = 27;BA.debugLine="Dim j As HttpJob"; -_j = new reparto_mazapa.keymon.lat.httpjob(); - //BA.debugLineNum = 28;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 29;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 = 31;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 32;BA.debugLine="WriteInt(Limit, out2)"; -_writeint(_limit,_out2); - //BA.debugLineNum = 33;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - //BA.debugLineNum = 34;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 35;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=query",_ms.ToBytesArray()); - //BA.debugLineNum = 36;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 = 221;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; - //BA.debugLineNum = 222;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 223;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 224;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 = 225;BA.debugLine="File.Copy2(In, out)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 226;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 227;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 228;BA.debugLine="End Sub"; -return null; -} -public reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _handlejob(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; -anywheresoftware.b4a.randomaccessfile.CompressedStreams _cs = null; -float _serverversion = 0f; -String _method = ""; -reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _table = null; -int _numberofcolumns = 0; -int _i = 0; -Object[] _rowobjects = null; -int _col = 0; -Object _o = null; -int _rows = 0; - //BA.debugLineNum = 182;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; - //BA.debugLineNum = 184;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 = 185;BA.debugLine="Dim cs As CompressedStreams"; -_cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 186;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; -_in = _cs.WrapInputStream((java.io.InputStream)(_in.getObject()),"gzip"); - //BA.debugLineNum = 187;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; -_serverversion = (float)(BA.ObjectToNumber(_readobject(_in))); - //BA.debugLineNum = 188;BA.debugLine="Dim method As String = ReadObject(In)"; -_method = BA.ObjectToString(_readobject(_in)); - //BA.debugLineNum = 189;BA.debugLine="Dim table As DBResult"; -_table = new reparto_mazapa.keymon.lat.dbrequestmanager._dbresult(); - //BA.debugLineNum = 190;BA.debugLine="table.Initialize"; -_table.Initialize(); - //BA.debugLineNum = 191;BA.debugLine="table.Columns.Initialize"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 192;BA.debugLine="table.rows.Initialize"; -_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 193;BA.debugLine="table.Tag = Job.Tag"; -_table.Tag /*Object*/ = _job._tag /*Object*/ ; - //BA.debugLineNum = 194;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; -if ((_jobtaganterior).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { -__c.LogImpl("365077260","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.Blue);}; - //BA.debugLineNum = 195;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211023"; -_jobtaganterior = BA.ObjectToString(_job._tag /*Object*/ ); - //BA.debugLineNum = 196;BA.debugLine="If method = \"query\" Then"; -if ((_method).equals("query")) { - //BA.debugLineNum = 197;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; -_numberofcolumns = _readint(_in); - //BA.debugLineNum = 198;BA.debugLine="For i = 0 To numberOfColumns - 1"; -{ -final int step15 = 1; -final int limit15 = (int) (_numberofcolumns-1); -_i = (int) (0) ; -for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 199;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_readobject(_in),(Object)(_i)); - } -}; - //BA.debugLineNum = 201;BA.debugLine="Do While ReadByte(In) = 1"; -while (_readbyte(_in)==1) { - //BA.debugLineNum = 202;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 = 203;BA.debugLine="table.rows.Add(rowObjects)"; -_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_rowobjects)); - //BA.debugLineNum = 204;BA.debugLine="For col = 0 To numberOfColumns - 1"; -{ -final int step21 = 1; -final int limit21 = (int) (_numberofcolumns-1); -_col = (int) (0) ; -for (;_col <= limit21 ;_col = _col + step21 ) { - //BA.debugLineNum = 205;BA.debugLine="Dim o As Object = ReadObject(In)"; -_o = _readobject(_in); - //BA.debugLineNum = 206;BA.debugLine="rowObjects(col) = o"; -_rowobjects[_col] = _o; - } -}; - } -; - }else if((_method).equals("batch")) { - //BA.debugLineNum = 210;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("AffectedRows"),(Object)(0)); - //BA.debugLineNum = 211;BA.debugLine="Dim rows As Int = ReadInt(In)"; -_rows = _readint(_in); - //BA.debugLineNum = 212;BA.debugLine="For i = 0 To rows - 1"; -{ -final int step29 = 1; -final int limit29 = (int) (_rows-1); -_i = (int) (0) ; -for (;_i <= limit29 ;_i = _i + step29 ) { - //BA.debugLineNum = 213;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 = 216;BA.debugLine="In.Close"; -_in.Close(); - //BA.debugLineNum = 217;BA.debugLine="Return table"; -if (true) return _table; - //BA.debugLineNum = 218;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 = 231;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; - //BA.debugLineNum = 232;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 233;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 234;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 = 235;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 236;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _target,String _connectorlink) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; - //BA.debugLineNum = 18;BA.debugLine="mTarget = Target"; -_mtarget = _target; - //BA.debugLineNum = 19;BA.debugLine="link = ConnectorLink"; -_link = _connectorlink; - //BA.debugLineNum = 20;BA.debugLine="End Sub"; -return ""; -} -public String _printtable(reparto_mazapa.keymon.lat.dbrequestmanager._dbresult _table) throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -Object _col = null; -Object[] _row = null; -Object _record = null; - //BA.debugLineNum = 248;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; - //BA.debugLineNum = 249;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; -__c.LogImpl("365339393","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 = 250;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 251;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 252;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 = 253;BA.debugLine="sb.Append(col).Append(TAB)"; -_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 255;BA.debugLine="Log(sb.ToString)"; -__c.LogImpl("365339399",_sb.ToString(),0); - //BA.debugLineNum = 256;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 = 257;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 258;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 259;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 = 260;BA.debugLine="sb.Append(record).Append(TAB)"; -_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 262;BA.debugLine="ToastMessageShow(sb.ToString, True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_sb.ToString()),__c.True); - } -}; - //BA.debugLineNum = 264;BA.debugLine="End Sub"; -return ""; -} -public byte _readbyte(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 175;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; - //BA.debugLineNum = 176;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 177;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 178;BA.debugLine="Return data(0)"; -if (true) return _data[(int) (0)]; - //BA.debugLineNum = 179;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 = 155;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; - //BA.debugLineNum = 156;BA.debugLine="Dim count = 0, read As Int"; -_count = (int) (0); -_read = 0; - //BA.debugLineNum = 157;BA.debugLine="Do While count < Len And read > -1"; -while (_count<_len && _read>-1) { - //BA.debugLineNum = 158;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; -_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); - //BA.debugLineNum = 159;BA.debugLine="count = count + read"; -_count = (int) (_count+_read); - } -; - //BA.debugLineNum = 161;BA.debugLine="Return Data"; -if (true) return _data; - //BA.debugLineNum = 162;BA.debugLine="End Sub"; -return null; -} -public int _readint(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 170;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; - //BA.debugLineNum = 171;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 172;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; -if (true) return _bc.IntsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]; - //BA.debugLineNum = 173;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 = 119;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; - //BA.debugLineNum = 120;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 121;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 122;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 = 124;BA.debugLine="Return Null"; -if (true) return __c.Null; - break; } -case 1: { - //BA.debugLineNum = 126;BA.debugLine="Dim data(2) As Byte"; -_data = new byte[(int) (2)]; -; - //BA.debugLineNum = 127;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 = 129;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 130;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 = 132;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 133;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 = 135;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 136;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 = 138;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 139;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 = 141;BA.debugLine="Dim b As Byte = ReadByte(In)"; -_b = _readbyte(_in); - //BA.debugLineNum = 142;BA.debugLine="Return b = 1"; -if (true) return (Object)(_b==1); - break; } -case 7: { - //BA.debugLineNum = 144;BA.debugLine="Dim len As Int = ReadInt(In)"; -_len = _readint(_in); - //BA.debugLineNum = 145;BA.debugLine="Dim data(len) As Byte"; -_data = new byte[_len]; -; - //BA.debugLineNum = 146;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; -if (true) return (Object)(_readbytesfully(_in,_data,_data.length)); - break; } -default: { - //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="ReadBytesFully(In, data, data.Length)"; -_readbytesfully(_in,_data,_data.length); - //BA.debugLineNum = 151;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; -if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); - break; } -} -; - //BA.debugLineNum = 153;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(reparto_mazapa.keymon.lat.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 = 59;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; - //BA.debugLineNum = 60;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; -_j._initialize /*String*/ (ba,"DBRequest",_mtarget); - //BA.debugLineNum = 61;BA.debugLine="j.Tag = Tag"; -_j._tag /*Object*/ = _tag; - //BA.debugLineNum = 62;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; -_memorystream.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 63;BA.debugLine="Dim compress As CompressedStreams"; -_compress = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 64;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 = 65;BA.debugLine="WriteObject(VERSION, out)"; -_writeobject((Object)(_version),_out); - //BA.debugLineNum = 66;BA.debugLine="Return out"; -if (true) return _out; - //BA.debugLineNum = 67;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 = 164;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; - //BA.debugLineNum = 165;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 166;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; -_data = _bc.IntsToBytes(new int[]{_i}); - //BA.debugLineNum = 167;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 168;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 = 69;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; - //BA.debugLineNum = 70;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 71;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; -if (_parameters== null || _parameters.IsInitialized()==__c.False) { - //BA.debugLineNum = 72;BA.debugLine="Dim Parameters As List"; -_parameters = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 73;BA.debugLine="Parameters.Initialize"; -_parameters.Initialize(); - }; - //BA.debugLineNum = 75;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; -_data = _bc.IntsToBytes(new int[]{_parameters.getSize()}); - //BA.debugLineNum = 76;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 77;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 = 78;BA.debugLine="WriteObject(o, out)"; -_writeobject(_o,_out); - } -}; - //BA.debugLineNum = 80;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 = 82;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; - //BA.debugLineNum = 83;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 84;BA.debugLine="tempArray(0) = o"; -_temparray[(int) (0)] = _o; - //BA.debugLineNum = 85;BA.debugLine="If tempArray(0) = Null Then"; -if (_temparray[(int) (0)]== null) { - //BA.debugLineNum = 86;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 = 88;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_short},(int) (0),(int) (1)); - //BA.debugLineNum = 89;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 = 91;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_int},(int) (0),(int) (1)); - //BA.debugLineNum = 92;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 = 94;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_float},(int) (0),(int) (1)); - //BA.debugLineNum = 95;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 = 97;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; -_out.WriteBytes(new byte[]{_t_double},(int) (0),(int) (1)); - //BA.debugLineNum = 98;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 = 100;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; -_out.WriteBytes(new byte[]{_t_long},(int) (0),(int) (1)); - //BA.debugLineNum = 101;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 = 103;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; -_out.WriteBytes(new byte[]{_t_boolean},(int) (0),(int) (1)); - //BA.debugLineNum = 104;BA.debugLine="Dim b As Boolean = 0"; -_b = BA.ObjectToBoolean(0); - //BA.debugLineNum = 105;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 106;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 = 108;BA.debugLine="data = o"; -_data = (byte[])(_o); - //BA.debugLineNum = 109;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; -_out.WriteBytes(new byte[]{_t_blob},(int) (0),(int) (1)); - //BA.debugLineNum = 110;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }else { - //BA.debugLineNum = 112;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; -_out.WriteBytes(new byte[]{_t_string},(int) (0),(int) (1)); - //BA.debugLineNum = 113;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; -_data = _bc.StringToBytes(BA.ObjectToString(_o),"UTF8"); - //BA.debugLineNum = 114;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }; - //BA.debugLineNum = 116;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 = 117;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/reparto_mazapa/keymon/lat/designerscripts/LS_check.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_check.java deleted file mode 100644 index 6fd732a..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_check.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_check{ - -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"[check/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.java deleted file mode 100644 index 91b019b..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_checklist.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_checklist{ - -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"[checklist/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.java deleted file mode 100644 index 7aa2dd5..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_clientes.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.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); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[clientes/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.java deleted file mode 100644 index 8e45a6a..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_detalle_promo.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_detalle_promo{ - -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"[detalle_promo/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.java deleted file mode 100644 index d41f433..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_detalleventa.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_detalleventa{ - -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 'uncomment to scale all views based on the device physical size."[detalleVenta/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_historico.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_historico.java deleted file mode 100644 index 490bc6c..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_historico.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_historico{ - -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 'uncomment to scale all views based on the device physical size."[historico/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_login.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_login.java deleted file mode 100644 index 3600254..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_login.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.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); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[login/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.java deleted file mode 100644 index 199221e..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mainpage.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.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); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[MainPage/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.java deleted file mode 100644 index 5be42da..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_cliente.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_mapa_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 = 2;BA.debugLine="AutoScaleAll"[mapa_cliente/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.java deleted file mode 100644 index e716025..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_mapa_rutas.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.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); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[mapa_rutas/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.java deleted file mode 100644 index 4342a1b..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_no_venta.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_no_venta{ - -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 'uncomment to scale all views based on the device physical size."[no_venta/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.java deleted file mode 100644 index ac0fefe..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_panel_pick_ciego.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.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); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[panel_pick_ciego/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.java deleted file mode 100644 index f777285..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_pedido.java +++ /dev/null @@ -1,22 +0,0 @@ -package reparto_mazapa.keymon.lat.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); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[pedido/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); -//BA.debugLineNum = 3;BA.debugLine="i_fotol.SetLeftAndRight(0,100%x)"[pedido/General script] -views.get("i_fotol").vw.setLeft((int)(0d)); -views.get("i_fotol").vw.setWidth((int)((100d / 100 * width) - (0d))); -//BA.debugLineNum = 4;BA.debugLine="i_fotol.SetTopAndBottom(0,100%y)"[pedido/General script] -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/reparto_mazapa/keymon/lat/designerscripts/LS_principal.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_principal.java deleted file mode 100644 index d88dfc8..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_principal.java +++ /dev/null @@ -1,20 +0,0 @@ -package reparto_mazapa.keymon.lat.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))); -//BA.debugLineNum = 4;BA.debugLine="img2.SetTopAndBottom(0,100%y)"[principal/General script] -views.get("img2").vw.setTop((int)(0d)); -views.get("img2").vw.setHeight((int)((100d / 100 * height) - (0d))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.java deleted file mode 100644 index f69012f..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_proditem.java +++ /dev/null @@ -1,15 +0,0 @@ -package reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.java deleted file mode 100644 index 68bdd01..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_proditem2.java +++ /dev/null @@ -1,15 +0,0 @@ -package reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/designerscripts/LS_productos.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_productos.java deleted file mode 100644 index f037ed1..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_productos.java +++ /dev/null @@ -1,18 +0,0 @@ -package reparto_mazapa.keymon.lat.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); -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/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.java deleted file mode 100644 index 2360b42..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_searchtemplate.java +++ /dev/null @@ -1,16 +0,0 @@ -package reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.java deleted file mode 100644 index ee9ccf6..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/designerscripts/LS_tabulador.java +++ /dev/null @@ -1,15 +0,0 @@ -package reparto_mazapa.keymon.lat.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_tabulador{ - -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/reparto_mazapa/keymon/lat/escposprinter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java deleted file mode 100644 index 7958e90..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/escposprinter.java +++ /dev/null @@ -1,2041 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.escposprinter"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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("368878340","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("365732618","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("365732621","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("365732632","aqui 3",0); - }; - //BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")"; -__c.LogImpl("365732634","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("365732641","aqui 5",0); - }; - } - catch (Exception e31) { - ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)"; -__c.LogImpl("365732644",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("367043370","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("367043373","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("367043376","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("367043379","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 reparto_mazapa.keymon.lat.escposprinter._animage _ditherimage1d(reparto_mazapa.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ -byte[] _pixels = null; -int _error = 0; -int _y = 0; -int _x = 0; -int _lum = 0; -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.escposprinter._animage _ditherimage2d(reparto_mazapa.keymon.lat.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; -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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; -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.escposprinter._animage _packimage(reparto_mazapa.keymon.lat.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; -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.escposprinter._animage _thresholdimage(reparto_mazapa.keymon.lat.escposprinter._animage _img,int _threshold) throws Exception{ -byte[] _pixels = null; -int _i = 0; -int _lum = 0; -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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("368681731","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("368747268","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("366781190","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/reparto_mazapa/keymon/lat/fileprovider.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java deleted file mode 100644 index cc172d7..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/fileprovider.java +++ /dev/null @@ -1,129 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.fileprovider"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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("920971530",("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/reparto_mazapa/keymon/lat/firebasemessaging.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/firebasemessaging.java deleted file mode 100644 index 284b65c..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/firebasemessaging.java +++ /dev/null @@ -1,465 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.objects.ServiceHelper; -import anywheresoftware.b4a.debug.*; - -public class firebasemessaging extends android.app.Service{ - public static class firebasemessaging_BR extends android.content.BroadcastReceiver { - - @Override - public void onReceive(android.content.Context context, android.content.Intent intent) { - BA.LogInfo("** Receiver (firebasemessaging) OnReceive **"); - android.content.Intent in = new android.content.Intent(context, firebasemessaging.class); - if (intent != null) - in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); - } - - } - static firebasemessaging mostCurrent; - public static BA processBA; - private ServiceHelper _service; - public static Class getObject() { - return firebasemessaging.class; - } - @Override - public void onCreate() { - super.onCreate(); - mostCurrent = this; - if (processBA == null) { - processBA = new BA(this, null, null, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.firebasemessaging"); - 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, "reparto_mazapa.keymon.lat.firebasemessaging", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); - } - if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { - - } - else { - processBA.setActivityPaused(false); - BA.LogInfo("*** Service (firebasemessaging) 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 (firebasemessaging) 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 (firebasemessaging) 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 (firebasemessaging) Destroy (ignored)**"); - } - else { - BA.LogInfo("** Service (firebasemessaging) 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.objects.FirebaseNotificationsService.FirebaseMessageWrapper _fm = null; -public static String _api_key = ""; -public static String _locrequest = ""; -public static anywheresoftware.b4a.phone.PhoneEvents _pe = null; -public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public static de.donmanfred.GZipStringswrapper _gzip = null; -public static String _sprvsr = ""; -public static String _subscrito = ""; -public static String _au = ""; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static String _borragpshist() throws Exception{ - //BA.debugLineNum = 218;BA.debugLine="Sub borraGPSHist"; - //BA.debugLineNum = 220;BA.debugLine="End Sub"; -return ""; -} -public static String _borramosarchivogps() throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -String _s = ""; -byte[] _t = null; - //BA.debugLineNum = 167;BA.debugLine="Sub borramosArchivoGPS"; - //BA.debugLineNum = 168;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.getDirRootExternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 169;BA.debugLine="Dim s As String = \"\""; -_s = ""; - //BA.debugLineNum = 170;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 171;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 172;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; -return ""; -} -public static String _compress(String _str) throws Exception{ -anywheresoftware.b4a.objects.StringUtils _su = null; -byte[] _compressed = null; -String _base64 = ""; - //BA.debugLineNum = 179;BA.debugLine="Sub compress(str As String) As String"; - //BA.debugLineNum = 181;BA.debugLine="Private su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 182;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; -_compressed = _gzip.compress(_str); - //BA.debugLineNum = 183;BA.debugLine="Log($\"CompressedBytesLength: ${compressed.Length}"; -anywheresoftware.b4a.keywords.Common.LogImpl("370057988",("CompressedBytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_compressed.length))+""),0); - //BA.debugLineNum = 184;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; -_base64 = _su.EncodeBase64(_compressed); - //BA.debugLineNum = 185;BA.debugLine="Log($\"CompressedBytes converted to base64 Length:"; -anywheresoftware.b4a.keywords.Common.LogImpl("370057990",("CompressedBytes converted to base64 Length: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); - //BA.debugLineNum = 186;BA.debugLine="Log($\"CompressedBytes converted to base64: ${base"; -anywheresoftware.b4a.keywords.Common.LogImpl("370057991",("CompressedBytes converted to base64: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64))+""),0); - //BA.debugLineNum = 187;BA.debugLine="Return base64"; -if (true) return _base64; - //BA.debugLineNum = 188;BA.debugLine="End Sub"; -return ""; -} -public static String _dameruta() throws Exception{ - //BA.debugLineNum = 202;BA.debugLine="Sub dameRuta As String"; - //BA.debugLineNum = 216;BA.debugLine="End Sub"; -return ""; -} -public static String _decompress(String _base64) throws Exception{ -anywheresoftware.b4a.objects.StringUtils _su = null; -byte[] _decompressedbytes = null; -anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; -String _uncompressed = ""; - //BA.debugLineNum = 190;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; - //BA.debugLineNum = 192;BA.debugLine="Private su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 193;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; -_decompressedbytes = _su.DecodeBase64(_base64); - //BA.debugLineNum = 194;BA.debugLine="Log($\"decompressedbytesLength: ${decompressedbyte"; -anywheresoftware.b4a.keywords.Common.LogImpl("370123524",("decompressedbytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_decompressedbytes.length))+""),0); - //BA.debugLineNum = 195;BA.debugLine="Dim bc As ByteConverter"; -_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 196;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; -_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); - //BA.debugLineNum = 197;BA.debugLine="Log($\"uncompressedLength: ${uncompressed.Length}\""; -anywheresoftware.b4a.keywords.Common.LogImpl("370123527",("uncompressedLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); - //BA.debugLineNum = 198;BA.debugLine="Log($\"Decompressed String = ${uncompressed}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("370123528",("Decompressed String = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed))+""),0); - //BA.debugLineNum = 199;BA.debugLine="Return uncompressed"; -if (true) return _uncompressed; - //BA.debugLineNum = 200;BA.debugLine="End Sub"; -return ""; -} -public static String _fm_messagearrived(anywheresoftware.b4a.objects.FirebaseNotificationsService.RemoteMessageWrapper _message) throws Exception{ -anywheresoftware.b4a.objects.collections.List _tipos = null; -anywheresoftware.b4a.objects.collections.Map _params = null; -String _rutagpscmp = ""; - //BA.debugLineNum = 72;BA.debugLine="Sub fm_MessageArrived (Message As RemoteMessage)"; - //BA.debugLineNum = 73;BA.debugLine="Log(\"Message arrived\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599233","Message arrived",0); - //BA.debugLineNum = 74;BA.debugLine="Log($\"Message data: ${Message.GetData}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599234",("Message data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_message.GetData().getObject()))+""),0); - //BA.debugLineNum = 76;BA.debugLine="If Message.GetData.ContainsKey(\"t\") Then"; -if (_message.GetData().ContainsKey((Object)("t"))) { - //BA.debugLineNum = 77;BA.debugLine="Dim tipos As List = Regex.Split(\",\",Message.GetD"; -_tipos = new anywheresoftware.b4a.objects.collections.List(); -_tipos = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split(",",BA.ObjectToString(_message.GetData().Get((Object)("t"))))); - //BA.debugLineNum = 78;BA.debugLine="If tipos.IndexOf(\"pu\") <> -1 Or tipos.IndexOf(\"a"; -if (_tipos.IndexOf((Object)("pu"))!=-1 || _tipos.IndexOf((Object)("au"))!=-1) { - //BA.debugLineNum = 79;BA.debugLine="Log(\"Es una peticion de ubicacion\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599239","Es una peticion de ubicacion",0); - //BA.debugLineNum = 80;BA.debugLine="locRequest=\"Activa\""; -_locrequest = "Activa"; - //BA.debugLineNum = 81;BA.debugLine="Log(\"Llamamos StartFLPSmall\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599241","Llamamos StartFLPSmall",0); - //BA.debugLineNum = 82;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"StartFLPSmall"); - //BA.debugLineNum = 83;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"StartFLP"); - }; - //BA.debugLineNum = 85;BA.debugLine="If tipos.IndexOf(\"au\") <> -1 Then 'Si es una act"; -if (_tipos.IndexOf((Object)("au"))!=-1) { - //BA.debugLineNum = 86;BA.debugLine="au = 1"; -_au = BA.NumberToString(1); - }; - //BA.debugLineNum = 88;BA.debugLine="If tipos.IndexOf(\"ping\") <> -1 Then 'Si es un pi"; -if (_tipos.IndexOf((Object)("ping"))!=-1) { - //BA.debugLineNum = 89;BA.debugLine="Log(\"Es un ping\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599249","Es un ping",0); - //BA.debugLineNum = 90;BA.debugLine="Log(\"Mandamos pong\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599250","Mandamos pong",0); - //BA.debugLineNum = 91;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; -_params = new anywheresoftware.b4a.objects.collections.Map(); -_params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("pong"),(Object)("body"),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._usuario /*String*/ +" - Recibi mensaje "+BA.ObjectToString(_message.GetData().Get((Object)("title")))),(Object)("t"),(Object)("pong")}); - //BA.debugLineNum = 92;BA.debugLine="SendMessage(params)"; -_sendmessage(_params); - }; - //BA.debugLineNum = 94;BA.debugLine="If tipos.IndexOf(\"bgps\") <> -1 Then 'Si es una i"; -if (_tipos.IndexOf((Object)("bgps"))!=-1) { - //BA.debugLineNum = 95;BA.debugLine="Log(\"Es una instruccion de borrar archivo gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599255","Es una instruccion de borrar archivo gps",0); - //BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos archivo gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599256","Borramos archivo gps",0); - //BA.debugLineNum = 97;BA.debugLine="borramosArchivoGPS"; -_borramosarchivogps(); - }; - //BA.debugLineNum = 99;BA.debugLine="If tipos.IndexOf(\"dr\") <> -1 Then 'Si es una pet"; -if (_tipos.IndexOf((Object)("dr"))!=-1) { - //BA.debugLineNum = 100;BA.debugLine="Log(\"Es una peticion de Ruta GPS\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599260","Es una peticion de Ruta GPS",0); - //BA.debugLineNum = 101;BA.debugLine="Dim rutaGpsCmp As String = dameRuta"; -_rutagpscmp = _dameruta(); - //BA.debugLineNum = 102;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t"; -_params = new anywheresoftware.b4a.objects.collections.Map(); -_params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("ruta"),(Object)("body"),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._usuario /*String*/ +" - Recibi mensaje "+BA.ObjectToString(_message.GetData().Get((Object)("title")))),(Object)("t"),(Object)("ruta"),(Object)("r"),(Object)(_rutagpscmp)}); - //BA.debugLineNum = 103;BA.debugLine="SendMessage(params)"; -_sendmessage(_params); - }; - //BA.debugLineNum = 105;BA.debugLine="If tipos.IndexOf(\"bgps2\") <> -1 Then 'Si es una"; -if (_tipos.IndexOf((Object)("bgps2"))!=-1) { - //BA.debugLineNum = 106;BA.debugLine="Log(\"Es una instruccion de borrar BD gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599266","Es una instruccion de borrar BD gps",0); - //BA.debugLineNum = 107;BA.debugLine="Log(\"Borramos BD gps\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599267","Borramos BD gps",0); - //BA.debugLineNum = 108;BA.debugLine="borraGPSHist"; -_borragpshist(); - }; - //BA.debugLineNum = 110;BA.debugLine="If tipos.IndexOf(\"pu\") = -1 And tipos.IndexOf(\"a"; -if (_tipos.IndexOf((Object)("pu"))==-1 && _tipos.IndexOf((Object)("au"))==-1 && _tipos.IndexOf((Object)("ping"))==-1 && _tipos.IndexOf((Object)("dr"))==-1) { - //BA.debugLineNum = 111;BA.debugLine="Log(\"No es ping ni solicitud de ubicacion o rut"; -anywheresoftware.b4a.keywords.Common.LogImpl("369599271","No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada",0); - }; - }; - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return ""; -} -public static String _guardainfoenarchivo(String _coords) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; - //BA.debugLineNum = 165;BA.debugLine="End Sub"; -return ""; -} -public static String _mandamosloc(String _coords) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _params = null; - //BA.debugLineNum = 150;BA.debugLine="Sub mandamosLoc(coords As String)"; - //BA.debugLineNum = 153;BA.debugLine="If locRequest=\"Activa\" Then 'Si hay solicitud de"; -if ((_locrequest).equals("Activa")) { - //BA.debugLineNum = 154;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"ti"; -_params = new anywheresoftware.b4a.objects.collections.Map(); -_params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("ubicacionRecibida"),(Object)("body"),(Object)(_coords),(Object)("t"),(Object)("u")}); - //BA.debugLineNum = 155;BA.debugLine="SendMessage(params)"; -_sendmessage(_params); - //BA.debugLineNum = 156;BA.debugLine="locRequest=\"Enviada\""; -_locrequest = "Enviada"; - //BA.debugLineNum = 157;BA.debugLine="CallSubDelayed(Tracker,\"CreateLocationRequest\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"CreateLocationRequest"); - }; - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public static String _pe_batterychanged(int _level,int _scale,boolean _plugged,anywheresoftware.b4a.objects.IntentWrapper _intent) throws Exception{ - //BA.debugLineNum = 175;BA.debugLine="Sub pe_BatteryChanged (Level As Int, Scale As Int,"; - //BA.debugLineNum = 176;BA.debugLine="B4XPages.MainPage.batt=Level"; -mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ = _level; - //BA.debugLineNum = 177;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 33;BA.debugLine="Private fm As FirebaseMessaging"; -_fm = new anywheresoftware.b4a.objects.FirebaseNotificationsService.FirebaseMessageWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private const API_KEY As String = \"AAAAv1qt3Lk:AP"; -_api_key = "AAAAv1qt3Lk:APA91bECIR-pHn6ul53eYyoVlpPuOo85RO-0zcAgEXwE7vqw8DFSbBtCaCINiqWQAkBBZXxHtQMdpU6B-jHIqgFKVL196UgwHv0Gw6_IgmipfV_NiItjzlH9d2QNpGLp9y_JUKVjUEhP"; - //BA.debugLineNum = 35;BA.debugLine="Dim locRequest As String"; -_locrequest = ""; - //BA.debugLineNum = 37;BA.debugLine="Dim pe As PhoneEvents"; -_pe = new anywheresoftware.b4a.phone.PhoneEvents(); - //BA.debugLineNum = 38;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Public GZip As GZipStrings"; -_gzip = new de.donmanfred.GZipStringswrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim Sprvsr As String = \"Sprv-Cedex\" ' El topico a"; -_sprvsr = "Sprv-Cedex"; - //BA.debugLineNum = 41;BA.debugLine="Dim Subscrito As String"; -_subscrito = ""; - //BA.debugLineNum = 42;BA.debugLine="Dim au As String 'ignore"; -_au = ""; - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return ""; -} -public static String _sendmessage(anywheresoftware.b4a.objects.collections.Map _params) throws Exception{ - //BA.debugLineNum = 125;BA.debugLine="Sub SendMessage(params As Map)"; - //BA.debugLineNum = 148;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 46;BA.debugLine="fm.Initialize(\"fm\") 'Inicializamos FirebaseMessag"; -_fm.Initialize(processBA,"fm"); - //BA.debugLineNum = 47;BA.debugLine="pe.Initialize(\"pe\") 'Para obtener la bateria"; -_pe.Initialize(processBA,"pe"); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 121;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 123;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(reparto_mazapa.keymon.lat.firebasemessaging parent,anywheresoftware.b4a.objects.IntentWrapper _startingintent) { -this.parent = parent; -this._startingintent = _startingintent; -} -reparto_mazapa.keymon.lat.firebasemessaging parent; -anywheresoftware.b4a.objects.IntentWrapper _startingintent; - -@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="If StartingIntent.IsInitialized Then fm.HandleInt"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_startingintent.IsInitialized()) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -parent._fm.HandleIntent((android.content.Intent)(_startingintent.getObject())); -if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 67;BA.debugLine="Sleep(0)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (0)); -this.state = 7; -return; -case 7: -//C -this.state = -1; -; - //BA.debugLineNum = 68;BA.debugLine="Service.StopAutomaticForeground 'remove if not us"; -parent.mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 69;BA.debugLine="StartServiceAt(Me, DateTime.Now + 15 * DateTime.T"; -anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,firebasemessaging.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+15*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static String _subscribetotopics() throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub SubscribeToTopics"; - //BA.debugLineNum = 52;BA.debugLine="fm.SubscribeToTopic(\"Trckr\") 'Tracker Global"; -_fm.SubscribeToTopic("Trckr"); - //BA.debugLineNum = 54;BA.debugLine="fm.SubscribeToTopic(\"Trckr-Cedex\") 'Topico de Gun"; -_fm.SubscribeToTopic("Trckr-Cedex"); - //BA.debugLineNum = 55;BA.debugLine="If \"Cdx_\"&B4XPages.MainPage.usuario <> Subscrito"; -if (("Cdx_"+mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._usuario /*String*/ ).equals(_subscrito) == false) { - //BA.debugLineNum = 56;BA.debugLine="fm.SubscribeToTopic(\"Cdx_\"&B4XPages.MainPage.usu"; -_fm.SubscribeToTopic("Cdx_"+mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._usuario /*String*/ ); - //BA.debugLineNum = 57;BA.debugLine="fm.UnsubscribeFromTopic(Subscrito) 'Unsubscribe"; -_fm.UnsubscribeFromTopic(_subscrito); - }; - //BA.debugLineNum = 60;BA.debugLine="Subscrito = \"Cdx_\"&B4XPages.MainPage.usuario"; -_subscrito = "Cdx_"+mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._usuario /*String*/ ; - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java deleted file mode 100644 index 2979677..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/foto.java +++ /dev/null @@ -1,671 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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 foto extends Activity implements B4AActivity{ - public static foto 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 = true; - 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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.foto"); - 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 (foto)."); - 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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.foto"); - - 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, "reparto_mazapa.keymon.lat.foto", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); - _activity.reinitializeForShell(activityBA, "activity"); - } - initializeProcessGlobals(); - initializeGlobals(); - - BA.LogInfo("** Activity (foto) Create " + (isFirst ? "(first time)" : "") + " **"); - processBA.raiseEvent2(null, true, "activity_create", false, isFirst); - isFirst = false; - if (this != mostCurrent) - return; - processBA.setActivityPaused(false); - BA.LogInfo("** Activity (foto) 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 foto.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 (foto) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); - else - BA.LogInfo("** Activity (foto) 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() { - foto mc = mostCurrent; - if (mc == null || mc != activity.get()) - return; - processBA.setActivityPaused(false); - BA.LogInfo("** Activity (foto) 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 _frontcamera = false; -public static anywheresoftware.b4a.gps.GPS _g = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; -public reparto_mazapa.keymon.lat.cameraexclass _camex = null; -public anywheresoftware.b4a.objects.ButtonWrapper _btntakepicture = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public static String _cuenta = ""; -public static String _lat_gps = ""; -public static String _usuario = ""; -public static String _motivo = ""; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; - -public static void initializeProcessGlobals() { - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } -} -public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 28;BA.debugLine="If(FirstTime) Then"; -if ((_firsttime)) { - //BA.debugLineNum = 29;BA.debugLine="g.Initialize(\"GPS\")"; -_g.Initialize("GPS"); - }; - //BA.debugLineNum = 31;BA.debugLine="Activity.LoadLayout(\"foto\")"; -mostCurrent._activity.LoadLayout("foto",mostCurrent.activityBA); - //BA.debugLineNum = 32;BA.debugLine="c=Starter.skmt.ExecQuery(\"select cuenta from cuen"; -mostCurrent._c = (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 cuenta from cuentaa"))); - //BA.debugLineNum = 33;BA.debugLine="c.Position = 0"; -mostCurrent._c.setPosition((int) (0)); - //BA.debugLineNum = 34;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -mostCurrent._cuenta = mostCurrent._c.GetString("CUENTA"); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public static boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 174;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; - //BA.debugLineNum = 176;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; -if (_key==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 178;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); - }; - //BA.debugLineNum = 182;BA.debugLine="Return False"; -if (true) return anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 183;BA.debugLine="End Sub"; -return false; -} -public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 46;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 47;BA.debugLine="camEx.Release"; -mostCurrent._camex._release /*String*/ (); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 38;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public static String _btneffect_click() throws Exception{ -anywheresoftware.b4a.objects.collections.List _effects = null; -String _effect = ""; - //BA.debugLineNum = 138;BA.debugLine="Sub btnEffect_Click"; - //BA.debugLineNum = 139;BA.debugLine="Dim effects As List = camEx.GetSupportedColorEffe"; -_effects = new anywheresoftware.b4a.objects.collections.List(); -_effects = mostCurrent._camex._getsupportedcoloreffects /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 140;BA.debugLine="If effects.IsInitialized = False Then"; -if (_effects.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 141;BA.debugLine="ToastMessageShow(\"Effects not supported.\", False"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Effects not supported."),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 142;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 144;BA.debugLine="Dim effect As String = effects.Get((effects.Index"; -_effect = BA.ObjectToString(_effects.Get((int) ((_effects.IndexOf((Object)(mostCurrent._camex._getcoloreffect /*String*/ ()))+1)%_effects.getSize()))); - //BA.debugLineNum = 145;BA.debugLine="camEx.SetColorEffect(effect)"; -mostCurrent._camex._setcoloreffect /*String*/ (_effect); - //BA.debugLineNum = 146;BA.debugLine="ToastMessageShow(effect, False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(_effect),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 147;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 148;BA.debugLine="End Sub"; -return ""; -} -public static String _btnflash_click() throws Exception{ -float[] _f = null; -anywheresoftware.b4a.objects.collections.List _flashmodes = null; -String _flash = ""; - //BA.debugLineNum = 150;BA.debugLine="Sub btnFlash_Click"; - //BA.debugLineNum = 151;BA.debugLine="Dim f() As Float = camEx.GetFocusDistances"; -_f = mostCurrent._camex._getfocusdistances /*float[]*/ (); - //BA.debugLineNum = 152;BA.debugLine="Log(f(0) & \", \" & f(1) & \", \" & f(2))"; -anywheresoftware.b4a.keywords.Common.LogImpl("371172098",BA.NumberToString(_f[(int) (0)])+", "+BA.NumberToString(_f[(int) (1)])+", "+BA.NumberToString(_f[(int) (2)]),0); - //BA.debugLineNum = 153;BA.debugLine="Dim flashModes As List = camEx.GetSupportedFlashM"; -_flashmodes = new anywheresoftware.b4a.objects.collections.List(); -_flashmodes = mostCurrent._camex._getsupportedflashmodes /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 154;BA.debugLine="If flashModes.IsInitialized = False Then"; -if (_flashmodes.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 155;BA.debugLine="ToastMessageShow(\"Flash not supported.\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Flash not supported."),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 156;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 158;BA.debugLine="Dim flash As String = flashModes.Get((flashModes."; -_flash = BA.ObjectToString(_flashmodes.Get((int) ((_flashmodes.IndexOf((Object)(mostCurrent._camex._getflashmode /*String*/ ()))+1)%_flashmodes.getSize()))); - //BA.debugLineNum = 159;BA.debugLine="camEx.SetFlashMode(flash)"; -mostCurrent._camex._setflashmode /*String*/ (_flash); - //BA.debugLineNum = 160;BA.debugLine="ToastMessageShow(flash, False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(_flash),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 161;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 162;BA.debugLine="End Sub"; -return ""; -} -public static String _btnfocus_click() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Sub btnFocus_Click"; - //BA.debugLineNum = 79;BA.debugLine="camEx.FocusAndTakePicture"; -mostCurrent._camex._focusandtakepicture /*String*/ (); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; -return ""; -} -public static String _btnpicturesize_click() throws Exception{ -reparto_mazapa.keymon.lat.cameraexclass._camerasize[] _picturesizes = null; -reparto_mazapa.keymon.lat.cameraexclass._camerasize _current = null; -int _i = 0; -reparto_mazapa.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 163;BA.debugLine="Sub btnPictureSize_Click"; - //BA.debugLineNum = 164;BA.debugLine="Dim pictureSizes() As CameraSize = camEx.GetSuppo"; -_picturesizes = mostCurrent._camex._getsupportedpicturessizes /*reparto_mazapa.keymon.lat.cameraexclass._camerasize[]*/ (); - //BA.debugLineNum = 165;BA.debugLine="Dim current As CameraSize = camEx.GetPictureSize"; -_current = mostCurrent._camex._getpicturesize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ (); - //BA.debugLineNum = 166;BA.debugLine="For i = 0 To pictureSizes.Length - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_picturesizes.length /*int*/ -1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 167;BA.debugLine="If pictureSizes(i).Width = current.Width And pic"; -if (_picturesizes[_i].Width /*int*/ ==_current.Width /*int*/ && _picturesizes[_i].Height /*int*/ ==_current.Height /*int*/ ) { -if (true) break;}; - } -}; - //BA.debugLineNum = 169;BA.debugLine="Dim ps As CameraSize = pictureSizes((i + 1) Mod p"; -_ps = _picturesizes[(int) ((_i+1)%_picturesizes.length /*int*/ )]; - //BA.debugLineNum = 170;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -mostCurrent._camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 171;BA.debugLine="ToastMessageShow(ps.Width & \"x\" & ps.Height & i,"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(BA.NumberToString(_ps.Width /*int*/ )+"x"+BA.NumberToString(_ps.Height /*int*/ )+BA.NumberToString(_i)),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 172;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; -return ""; -} -public static String _btntakepicture_click() throws Exception{ -reparto_mazapa.keymon.lat.cameraexclass._camerasize _ps = null; - //BA.debugLineNum = 68;BA.debugLine="Sub btnTakePicture_Click"; - //BA.debugLineNum = 69;BA.debugLine="Dim ps As CameraSize"; -_ps = new reparto_mazapa.keymon.lat.cameraexclass._camerasize(); - //BA.debugLineNum = 70;BA.debugLine="ps.Width =640"; -_ps.Width /*int*/ = (int) (640); - //BA.debugLineNum = 71;BA.debugLine="ps.Height =480"; -_ps.Height /*int*/ = (int) (480); - //BA.debugLineNum = 72;BA.debugLine="camEx.SetPictureSize(ps.Width, ps.Height)"; -mostCurrent._camex._setpicturesize /*String*/ (_ps.Width /*int*/ ,_ps.Height /*int*/ ); - //BA.debugLineNum = 74;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 75;BA.debugLine="camEx.TakePicture"; -mostCurrent._camex._takepicture /*String*/ (); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public static String _camera1_picturetaken(byte[] _data) throws Exception{ -String _filename = ""; -String _dir = ""; -String _sdate = ""; -String _stime = ""; -int _i = 0; - //BA.debugLineNum = 82;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 83;BA.debugLine="Dim filename As String = \"1.jpg\""; -_filename = "1.jpg"; - //BA.debugLineNum = 84;BA.debugLine="Dim dir As String = File.DirInternal"; -_dir = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 86;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; -mostCurrent._camex._savepicturetofile /*String*/ (_data,_dir,_filename); - //BA.debugLineNum = 87;BA.debugLine="camEx.StartPreview 'restart preview"; -mostCurrent._camex._startpreview /*String*/ (); - //BA.debugLineNum = 91;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 94;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 95;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 96;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 97;BA.debugLine="c=Starter.skmt.ExecQuery(\"select CUENTA from cuen"; -mostCurrent._c = (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 CUENTA from cuentaa"))); - //BA.debugLineNum = 98;BA.debugLine="c.Position = 0"; -mostCurrent._c.setPosition((int) (0)); - //BA.debugLineNum = 99;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -mostCurrent._cuenta = mostCurrent._c.GetString("CUENTA"); - //BA.debugLineNum = 100;BA.debugLine="c=Starter.skmt.ExecQuery(\"select USUARIO from usu"; -mostCurrent._c = (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 USUARIO from usuarioa"))); - //BA.debugLineNum = 101;BA.debugLine="c.Position = 0"; -mostCurrent._c.setPosition((int) (0)); - //BA.debugLineNum = 102;BA.debugLine="USUARIO = c.GetString(\"USUARIO\")"; -mostCurrent._usuario = mostCurrent._c.GetString("USUARIO"); - //BA.debugLineNum = 103;BA.debugLine="c.Close"; -mostCurrent._c.Close(); - //BA.debugLineNum = 104;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM NOVENTA WH"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM NOVENTA WHERE NV_CLIENTE IN (select cuenta from cuentaa)"); - //BA.debugLineNum = 106;BA.debugLine="c=Starter.skmt.ExecQuery(\"select HVD_CLIENTE,HVD_"; -mostCurrent._c = (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 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 = 108;BA.debugLine="If c.RowCount>0 Then"; -if (mostCurrent._c.getRowCount()>0) { - //BA.debugLineNum = 109;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step19 = 1; -final int limit19 = (int) (mostCurrent._c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 110;BA.debugLine="c.Position=i"; -mostCurrent._c.setPosition(_i); - //BA.debugLineNum = 111;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT) select HVD_CLIENTE, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT from hist_ventas where HVD_PRONOMBRE = ? and HVD_cliente in (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{mostCurrent._c.GetString("HVD_PRONOMBRE")})); - //BA.debugLineNum = 113;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update cat_gunaprod"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_nombre = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._c.GetString("HVD_CANT")),(Object)(mostCurrent._c.GetString("HVD_PRONOMBRE"))})); - } -}; - }; - //BA.debugLineNum = 124;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO NOVENTA"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON, NV_FOTO) VALUES(?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._cuenta),(Object)(_sdate+_stime),(Object)(mostCurrent._usuario),(Object)("CERRADO"),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._noventa /*reparto_mazapa.keymon.lat.c_noventa*/ ._comentario /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._lon_gps /*String*/ ),(Object)(_data)})); - //BA.debugLineNum = 125;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE kmt_info set g"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set gestion = 3, HORAENT = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_sdate+" "+_stime))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); - //BA.debugLineNum = 126;BA.debugLine="Starter.skmt.ExecNonQuery(\"update HIST_VENTAS SET"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("update HIST_VENTAS SET HVD_RECHAZO = 1 WHERE HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"); - //BA.debugLineNum = 127;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public static String _camera1_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; - //BA.debugLineNum = 58;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 59;BA.debugLine="camEx.SetJpegQuality(90)"; -mostCurrent._camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 60;BA.debugLine="camEx.CommitParameters"; -mostCurrent._camex._commitparameters /*String*/ (); - //BA.debugLineNum = 61;BA.debugLine="camEx.StartPreview"; -mostCurrent._camex._startpreview /*String*/ (); - //BA.debugLineNum = 62;BA.debugLine="Log(camEx.GetPreviewSize)"; -anywheresoftware.b4a.keywords.Common.LogImpl("370778885",BA.ObjectToString(mostCurrent._camex._getpreviewsize /*reparto_mazapa.keymon.lat.cameraexclass._camerasize*/ ()),0); - }else { - //BA.debugLineNum = 64;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),anywheresoftware.b4a.keywords.Common.True); - }; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public static String _changecamera_click() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Sub ChangeCamera_Click"; - //BA.debugLineNum = 133;BA.debugLine="camEx.Release"; -mostCurrent._camex._release /*String*/ (); - //BA.debugLineNum = 134;BA.debugLine="frontCamera = Not(frontCamera)"; -_frontcamera = anywheresoftware.b4a.keywords.Common.Not(_frontcamera); - //BA.debugLineNum = 135;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 136;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 15;BA.debugLine="Private p_camara As Panel"; -mostCurrent._p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private camEx As CameraExClass"; -mostCurrent._camex = new reparto_mazapa.keymon.lat.cameraexclass(); - //BA.debugLineNum = 17;BA.debugLine="Dim btnTakePicture As Button"; -mostCurrent._btntakepicture = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim c As Cursor"; -mostCurrent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim cuenta As String"; -mostCurrent._cuenta = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim lat_gps As String"; -mostCurrent._lat_gps = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim USUARIO As String"; -mostCurrent._usuario = ""; - //BA.debugLineNum = 24;BA.debugLine="Dim MOTIVO As String"; -mostCurrent._motivo = ""; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public static String _initializecamera() throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub InitializeCamera"; - //BA.debugLineNum = 42;BA.debugLine="camEx.Initialize(p_camara, frontCamera, Me, \"Came"; -mostCurrent._camex._initialize /*String*/ (mostCurrent.activityBA,mostCurrent._p_camara,_frontcamera,foto.getObject(),"Camera1"); - //BA.debugLineNum = 43;BA.debugLine="frontCamera = camEx.Front"; -_frontcamera = mostCurrent._camex._front /*boolean*/ ; - //BA.debugLineNum = 44;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="Private frontCamera As Boolean = False"; -_frontcamera = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 10;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 12;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java deleted file mode 100644 index d22ba7d..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/httpjob.java +++ /dev/null @@ -1,578 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.httpjob"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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.b4a.objects.streams.File.OutputStreamWrapper _out = null; -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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 = 10;BA.debugLine="Public taskId As String"; -_taskid = ""; - //BA.debugLineNum = 11;BA.debugLine="Public Out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //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("922872069",("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("922937605",("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("922675461",("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("922740997",("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("922413317",("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("922347788",("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("922085637",("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; - //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("922609928","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 = ""; -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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("922216709",("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/reparto_mazapa/keymon/lat/httputils2service.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java deleted file mode 100644 index 503b1b4..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/httputils2service.java +++ /dev/null @@ -1,239 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static String _completejob(int _taskid,boolean _success,String _errormessage) throws Exception{ -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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("321757958","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{ -reparto_mazapa.keymon.lat.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("321692418",("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 = (reparto_mazapa.keymon.lat.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("321692423","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{ -reparto_mazapa.keymon.lat.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 = (reparto_mazapa.keymon.lat.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("321561347","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 = 101;BA.debugLine="job.Out = out"; -_job._out /*anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper*/ = _out; - //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 = 5;BA.debugLine="Public hc As OkHttpClient"; -_hc = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Public 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("321233671",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); - //BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("321233672","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(reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/madewithlove.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/madewithlove.java deleted file mode 100644 index 5267058..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/madewithlove.java +++ /dev/null @@ -1,109 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.madewithlove"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/main.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/main.java deleted file mode 100644 index acf9d79..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/main.java +++ /dev/null @@ -1,460 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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 = true; - 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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; - -public static boolean isAnyActivityVisible() { - boolean vis = false; -vis = vis | (main.mostCurrent != null); -vis = vis | (foto.mostCurrent != null); -vis = vis | (mapa_cliente.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 /*reparto_mazapa.keymon.lat.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{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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 /*reparto_mazapa.keymon.lat.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(); -starter._process_globals(); -tracker._process_globals(); -subs._process_globals(); -appupdater._process_globals(); -firebasemessaging._process_globals(); -foto._process_globals(); -mapa_cliente._process_globals(); -mapa_rutas._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/reparto_mazapa/keymon/lat/manageexternalstorage.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java deleted file mode 100644 index 02ab73e..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/manageexternalstorage.java +++ /dev/null @@ -1,148 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.manageexternalstorage"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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 = 71;BA.debugLine="Private Sub GetBA As Object"; - //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="Return jo.RunMethod(\"getBA\", Null)"; -if (true) return _jo.RunMethod("getBA",(Object[])(__c.Null)); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; -return null; -} -public String _getpermission() throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _in = null; - //BA.debugLineNum = 41;BA.debugLine="Public Sub GetPermission"; - //BA.debugLineNum = 42;BA.debugLine="If HasPermission Then"; -if (_haspermission()) { - //BA.debugLineNum = 43;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 44;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 46;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 48;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 = 49;BA.debugLine="StartActivityForResult(in)"; -_startactivityforresult(_in); - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public boolean _haspermission() throws Exception{ -boolean _has = false; -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 30;BA.debugLine="Public Sub HasPermission As Boolean"; - //BA.debugLineNum = 31;BA.debugLine="Dim has As Boolean"; -_has = false; - //BA.debugLineNum = 32;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 33;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; -_jo.InitializeStatic("android.os.Environment"); - //BA.debugLineNum = 34;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; -_has = BA.ObjectToBoolean(_jo.RunMethod("isExternalStorageManager",(Object[])(__c.Null))); - //BA.debugLineNum = 35;BA.debugLine="Return has"; -if (true) return _has; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return false; -} -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="mCallback = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 24;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public Object _ion_event(String _methodname,Object[] _args) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; - //BA.debugLineNum = 60;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 61;BA.debugLine="Return Null"; -if (true) return __c.Null; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return null; -} -public String _raiseevent() throws Exception{ - //BA.debugLineNum = 53;BA.debugLine="Private Sub RaiseEvent"; - //BA.debugLineNum = 54;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; -__c.LogImpl("371630849","Calling : "+_meventname+"_StorageAvailable",0); - //BA.debugLineNum = 55;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_StorageAvailable"); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return ""; -} -public String _startactivityforresult(anywheresoftware.b4a.objects.IntentWrapper _i) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 65;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; - //BA.debugLineNum = 66;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 = 67;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; -_ion = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); - //BA.debugLineNum = 68;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; -_jo.RunMethod("startActivityForResult",new Object[]{_ion,(Object)(_i.getObject())}); - //BA.debugLineNum = 69;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/reparto_mazapa/keymon/lat/mapa_cliente.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java deleted file mode 100644 index 8942f00..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_cliente.java +++ /dev/null @@ -1,575 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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_cliente extends Activity implements B4AActivity{ - public static mapa_cliente 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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.mapa_cliente"); - 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_cliente)."); - 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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.mapa_cliente"); - - 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, "reparto_mazapa.keymon.lat.mapa_cliente", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); - _activity.reinitializeForShell(activityBA, "activity"); - } - initializeProcessGlobals(); - initializeGlobals(); - - BA.LogInfo("** Activity (mapa_cliente) 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_cliente) 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_cliente.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_cliente) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); - else - BA.LogInfo("** Activity (mapa_cliente) 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_cliente mc = mostCurrent; - if (mc == null || mc != activity.get()) - return; - processBA.setActivityPaused(false); - BA.LogInfo("** Activity (mapa_cliente) 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 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 anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public static String _latmarker = ""; -public static String _longmarker = ""; -public anywheresoftware.b4a.objects.LabelWrapper _l_long = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_lat = null; -public static String _nombre_tienda = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_regresar = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; - -public static void initializeProcessGlobals() { - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } -} -public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 35;BA.debugLine="Activity.LoadLayout(\"mapa_cliente\")"; -mostCurrent._activity.LoadLayout("mapa_cliente",mostCurrent.activityBA); - //BA.debugLineNum = 36;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; -if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 37;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); - }; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 96;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 97;BA.debugLine="GPS.Stop"; -_gps.Stop(); - //BA.debugLineNum = 98;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 81;BA.debugLine="Subs.centraBoton(b_regresar, Activity.Width)"; -mostCurrent._subs._centraboton /*String*/ (mostCurrent.activityBA,mostCurrent._b_regresar,mostCurrent._activity.getWidth()); - //BA.debugLineNum = 82;BA.debugLine="GPS.Initialize(\"GPS\")"; -_gps.Initialize("GPS"); - //BA.debugLineNum = 83;BA.debugLine="If GPS.GPSEnabled = False Then"; -if (_gps.getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 84;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 85;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; -anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_gps.getLocationSettingsIntent())); - }else { - //BA.debugLineNum = 87;BA.debugLine="GPS.Start(0, 0)"; -_gps.Start(processBA,(long) (0),(float) (0)); - }; - //BA.debugLineNum = 89;BA.debugLine="Subs.centraPanel(p_principal, Activity.Width)"; -mostCurrent._subs._centrapanel /*String*/ (mostCurrent.activityBA,mostCurrent._p_principal,mostCurrent._activity.getWidth()); - //BA.debugLineNum = 90;BA.debugLine="p_principal.Height = Activity.Height * 0.95"; -mostCurrent._p_principal.setHeight((int) (mostCurrent._activity.getHeight()*0.95)); - //BA.debugLineNum = 91;BA.debugLine="latmarker = B4XPages.MainPage.cliente.LATITUD"; -mostCurrent._latmarker = mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_mazapa.keymon.lat.c_cliente*/ ._latitud /*String*/ ; - //BA.debugLineNum = 92;BA.debugLine="longmarker = B4XPages.MainPage.cliente.LONGITUD"; -mostCurrent._longmarker = mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_mazapa.keymon.lat.c_cliente*/ ._longitud /*String*/ ; - //BA.debugLineNum = 93;BA.debugLine="NOMBRE_TIENDA = B4XPages.MainPage.cliente.NOMBRE"; -mostCurrent._nombre_tienda = mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_mazapa.keymon.lat.c_cliente*/ ._nombre /*String*/ ; - //BA.debugLineNum = 94;BA.debugLine="End Sub"; -return ""; -} -public static String _b_regresar_click() throws Exception{ - //BA.debugLineNum = 105;BA.debugLine="Private Sub b_regresar_Click"; - //BA.debugLineNum = 106;BA.debugLine="Log(\"Pressed\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("372417281","Pressed",0); - //BA.debugLineNum = 107;BA.debugLine="Activity.Finish"; -mostCurrent._activity.Finish(); - //BA.debugLineNum = 108;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 15;BA.debugLine="Private gmap As GoogleMap"; -mostCurrent._gmap = new anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private MapFragment1 As MapFragment"; -mostCurrent._mapfragment1 = new anywheresoftware.b4a.objects.MapFragmentWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim Latitud As Double = 0"; -_latitud = 0; - //BA.debugLineNum = 18;BA.debugLine="Dim Longitud As Double = 0"; -_longitud = 0; - //BA.debugLineNum = 19;BA.debugLine="Dim Lat2 As Double = 0"; -_lat2 = 0; - //BA.debugLineNum = 20;BA.debugLine="Dim Lon2 As Double = 0"; -_lon2 = 0; - //BA.debugLineNum = 21;BA.debugLine="Dim p1, p2 As Location"; -mostCurrent._p1 = new anywheresoftware.b4a.gps.LocationWrapper(); -mostCurrent._p2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim Distance As Float"; -_distance = 0f; - //BA.debugLineNum = 23;BA.debugLine="Dim boton1 As Button"; -mostCurrent._boton1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim c As Cursor"; -mostCurrent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim latmarker As String"; -mostCurrent._latmarker = ""; - //BA.debugLineNum = 26;BA.debugLine="Dim longmarker As String"; -mostCurrent._longmarker = ""; - //BA.debugLineNum = 27;BA.debugLine="Private l_long As Label"; -mostCurrent._l_long = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private l_lat As Label"; -mostCurrent._l_lat = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private NOMBRE_TIENDA As String"; -mostCurrent._nombre_tienda = ""; - //BA.debugLineNum = 30;BA.debugLine="Private p_principal As Panel"; -mostCurrent._p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private b_regresar As Button"; -mostCurrent._b_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return ""; -} -public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; - //BA.debugLineNum = 78;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(reparto_mazapa.keymon.lat.mapa_cliente parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.mapa_cliente parent; -String _permission = ""; -boolean _result = false; -anywheresoftware.b4j.object.JavaObject _javamapsobject = null; -anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marcador1 = null; -anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = 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 = 42;BA.debugLine="gmap = MapFragment1.GetMap"; -parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); - //BA.debugLineNum = 44;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; -parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 45;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); -this.state = 1; -return; -case 1: -//C -this.state = -1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 46;BA.debugLine="gmap.MyLocationEnabled = Result"; -parent.mostCurrent._gmap.setMyLocationEnabled(_result); - //BA.debugLineNum = 48;BA.debugLine="Dim JavaMapsObject As JavaObject"; -_javamapsobject = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 49;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 = 50;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; -_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); - //BA.debugLineNum = 51;BA.debugLine="Dim marcador1 As Marker = gmap.AddMarker (latmark"; -_marcador1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); -_marcador1 = parent.mostCurrent._gmap.AddMarker((double)(Double.parseDouble(parent.mostCurrent._latmarker)),(double)(Double.parseDouble(parent.mostCurrent._longmarker)),"TIENDA"); - //BA.debugLineNum = 52;BA.debugLine="marcador1.Snippet = B4XPages.MainPage.cliente.NOM"; -_marcador1.setSnippet(parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (mostCurrent.activityBA)._cliente /*reparto_mazapa.keymon.lat.c_cliente*/ ._nombre /*String*/ ); - //BA.debugLineNum = 54;BA.debugLine="Dim aa As CameraPosition"; -_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); - //BA.debugLineNum = 55;BA.debugLine="aa.Initialize(latmarker,longmarker,15)''' RECOMEN"; -_aa.Initialize((double)(Double.parseDouble(parent.mostCurrent._latmarker)),(double)(Double.parseDouble(parent.mostCurrent._longmarker)),(float) (15)); - //BA.debugLineNum = 56;BA.debugLine="gmap.AnimateCamera(aa)"; -parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{ -} -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="End Sub"; -return ""; -} -public static String _reg_click() throws Exception{ - //BA.debugLineNum = 100;BA.debugLine="Sub reg_Click"; - //BA.debugLineNum = 102;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 103;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_rutas.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_rutas.java deleted file mode 100644 index f95f4fd..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/mapa_rutas.java +++ /dev/null @@ -1,1665 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat.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 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 String _ruta = ""; -public static String _rutaant = ""; -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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; - -public static void initializeProcessGlobals() { - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } -} -public static String _activity_create(boolean _firsttime) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 61;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; -mostCurrent._activity.LoadLayout("MAPA_RUTAS",mostCurrent.activityBA); - //BA.debugLineNum = 72;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; -if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 73;BA.debugLine="ToastMessageShow(\"Please install Google Play Ser"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); - }; - //BA.debugLineNum = 84;BA.debugLine="MARK_AZUL.IsInitialized"; -mostCurrent._mark_azul.IsInitialized(); - //BA.debugLineNum = 85;BA.debugLine="MARK_ROJO.IsInitialized"; -mostCurrent._mark_rojo.IsInitialized(); - //BA.debugLineNum = 86;BA.debugLine="MARK_VERDE.IsInitialized"; -mostCurrent._mark_verde.IsInitialized(); - //BA.debugLineNum = 88;BA.debugLine="LIST_AZUL.Initialize"; -mostCurrent._list_azul.Initialize(); - //BA.debugLineNum = 89;BA.debugLine="LIST_ROJO.Initialize"; -mostCurrent._list_rojo.Initialize(); - //BA.debugLineNum = 90;BA.debugLine="LIST_VERDE.Initialize"; -mostCurrent._list_verde.Initialize(); - //BA.debugLineNum = 92;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 93;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 94;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 95;BA.debugLine="todos = 1"; -mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return ""; -} -public static boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 354;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean 'ign"; - //BA.debugLineNum = 356;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; -if (_key==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 358;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); - //BA.debugLineNum = 359;BA.debugLine="Return False"; -if (true) return anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 363;BA.debugLine="End Sub"; -return false; -} -public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 314;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 315;BA.debugLine="GPS.Stop"; -_gps.Stop(); - //BA.debugLineNum = 316;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 305;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return ""; -} -public static String _b_azul_click() throws Exception{ - //BA.debugLineNum = 344;BA.debugLine="Sub B_AZUL_Click"; - //BA.debugLineNum = 345;BA.debugLine="azul = 1"; -mostCurrent._azul = BA.NumberToString(1); - //BA.debugLineNum = 346;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 347;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 348;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 349;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 350;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 351;BA.debugLine="End Sub"; -return ""; -} -public static String _b_rojo_click() throws Exception{ - //BA.debugLineNum = 335;BA.debugLine="Sub B_ROJO_Click"; - //BA.debugLineNum = 336;BA.debugLine="rojo = 1"; -mostCurrent._rojo = BA.NumberToString(1); - //BA.debugLineNum = 337;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 338;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 339;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 340;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 341;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 342;BA.debugLine="End Sub"; -return ""; -} -public static String _b_todos_click() throws Exception{ - //BA.debugLineNum = 318;BA.debugLine="Sub B_TODOS_Click"; - //BA.debugLineNum = 319;BA.debugLine="todos =1"; -mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 320;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 321;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 322;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 323;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 324;BA.debugLine="End Sub"; -return ""; -} -public static String _b_verde_click() throws Exception{ - //BA.debugLineNum = 326;BA.debugLine="Sub B_VERDE_Click"; - //BA.debugLineNum = 327;BA.debugLine="verde = 1"; -mostCurrent._verde = BA.NumberToString(1); - //BA.debugLineNum = 328;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 329;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 330;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 331;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 332;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 333;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 17;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 18;BA.debugLine="Private gmap As GoogleMap"; -mostCurrent._gmap = new anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Private MapFragment1 As MapFragment"; -mostCurrent._mapfragment1 = new anywheresoftware.b4a.objects.MapFragmentWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim Latitud As Double = 0"; -_latitud = 0; - //BA.debugLineNum = 21;BA.debugLine="Dim Longitud As Double = 0"; -_longitud = 0; - //BA.debugLineNum = 22;BA.debugLine="Dim Lat2 As Double = 0"; -_lat2 = 0; - //BA.debugLineNum = 23;BA.debugLine="Dim Lon2 As Double = 0"; -_lon2 = 0; - //BA.debugLineNum = 24;BA.debugLine="Dim p1, p2 As Location"; -mostCurrent._p1 = new anywheresoftware.b4a.gps.LocationWrapper(); -mostCurrent._p2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim Distance As Float"; -_distance = 0f; - //BA.debugLineNum = 26;BA.debugLine="Dim boton1 As Button"; -mostCurrent._boton1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim HUE_BLUE As Float"; -_hue_blue = 0f; - //BA.debugLineNum = 28;BA.debugLine="Dim HUE_RED As Float"; -_hue_red = 0f; - //BA.debugLineNum = 29;BA.debugLine="Dim HUE_GREEN As Float"; -_hue_green = 0f; - //BA.debugLineNum = 30;BA.debugLine="Private B_AZUL As Button"; -mostCurrent._b_azul = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private B_ROJO As Button"; -mostCurrent._b_rojo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private B_VERDE As Button"; -mostCurrent._b_verde = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private B_TODOS As Button"; -mostCurrent._b_todos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim Tienda As String"; -mostCurrent._tienda = ""; - //BA.debugLineNum = 35;BA.debugLine="Dim ruta, rutaAnt As String"; -mostCurrent._ruta = ""; -mostCurrent._rutaant = ""; - //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 = 57;BA.debugLine="End Sub"; -return ""; -} -public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ - //BA.debugLineNum = 284;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; - //BA.debugLineNum = 303;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(reparto_mazapa.keymon.lat.mapa_rutas parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.mapa_rutas parent; -String _permission = ""; -boolean _result = false; -anywheresoftware.b4j.object.JavaObject _javamapsobject = null; -int _esteazul = 0; -String _esteazul2 = ""; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; -int _esterojo = 0; -String _esterojo2 = ""; -anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null; -int step15; -int limit15; -int step59; -int limit59; -int step84; -int limit84; -int step104; -int limit104; -int step129; -int limit129; - -@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 = 112;BA.debugLine="gmap = MapFragment1.GetMap"; -parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); - //BA.debugLineNum = 113;BA.debugLine="gmap.IsInitialized"; -parent.mostCurrent._gmap.IsInitialized(); - //BA.debugLineNum = 114;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; -parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 115;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); -this.state = 186; -return; -case 186: -//C -this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 116;BA.debugLine="gmap.MyLocationEnabled = Result"; -parent.mostCurrent._gmap.setMyLocationEnabled(_result); - //BA.debugLineNum = 118;BA.debugLine="Dim JavaMapsObject As JavaObject"; -_javamapsobject = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 119;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 = 120;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; -_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); - //BA.debugLineNum = 122;BA.debugLine="Private esteAzul As Int = 0"; -_esteazul = (int) (0); - //BA.debugLineNum = 123;BA.debugLine="Private esteAzul2 As String"; -_esteazul2 = ""; - //BA.debugLineNum = 124;BA.debugLine="If azul = 1 Or todos = 1 Then"; -if (true) break; - -case 1: -//if -this.state = 119; -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 = 125;BA.debugLine="c.IsInitialized"; -parent._c.IsInitialized(); - //BA.debugLineNum = 126;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LAT, CAT_CL_LONG, CAT_CL_RUTA 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_CODIGO <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 127;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 128;BA.debugLine="For i = 0 To c.RowCount -1"; -if (true) break; - -case 4: -//for -this.state = 112; -step15 = 1; -limit15 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 187; -if (true) break; - -case 187: -//C -this.state = 112; -if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 6; -if (true) break; - -case 188: -//C -this.state = 187; -_i = ((int)(0 + _i + step15)) ; -if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 129;BA.debugLine="c.Position = i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 130;BA.debugLine="LatitudRu = c.GetString(\"CAT_CL_LAT\")"; -parent._latitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 131;BA.debugLine="LongitudRU = c.GetString(\"CAT_CL_LONG\")"; -parent._longitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 132;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 133;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 134;BA.debugLine="ruta = c.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 135;BA.debugLine="If c.GetString(\"SECUENCIA\") = \"null\" Then"; -if (true) break; - -case 7: -//if -this.state = 12; -if ((parent._c.GetString("SECUENCIA")).equals("null")) { -this.state = 9; -}else { -this.state = 11; -}if (true) break; - -case 9: -//C -this.state = 12; - //BA.debugLineNum = 136;BA.debugLine="NumSerie = 0"; -parent._numserie = (int) (0); - if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 138;BA.debugLine="NumSerie = c.GetString(\"SECUENCIA\")"; -parent._numserie = (int)(Double.parseDouble(parent._c.GetString("SECUENCIA"))); - if (true) break; - -case 12: -//C -this.state = 13; -; - //BA.debugLineNum = 140;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 141;BA.debugLine="If s.RowCount > 0 Then"; -if (true) break; - -case 13: -//if -this.state = 16; -if (_s.getRowCount()>0) { -this.state = 15; -}if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 142;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 143;BA.debugLine="NumSerie = s.GetString(\"indice\")"; -parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); - if (true) break; -; - //BA.debugLineNum = 145;BA.debugLine="If rutaAnt <> ruta Then esteAzul = esteAzul + 1"; - -case 16: -//if -this.state = 21; -if ((parent.mostCurrent._rutaant).equals(parent.mostCurrent._ruta) == false) { -this.state = 18; -;}if (true) break; - -case 18: -//C -this.state = 21; -_esteazul = (int) (_esteazul+1); -if (true) break; - -case 21: -//C -this.state = 22; -; - //BA.debugLineNum = 146;BA.debugLine="If esteAzul = 1 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 22: -//if -this.state = 27; -if (_esteazul==1) { -this.state = 24; -;}if (true) break; - -case 24: -//C -this.state = 27; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul.png"; -if (true) break; - -case 27: -//C -this.state = 28; -; - //BA.debugLineNum = 147;BA.debugLine="If esteAzul = 2 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 28: -//if -this.state = 33; -if (_esteazul==2) { -this.state = 30; -;}if (true) break; - -case 30: -//C -this.state = 33; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul1.png"; -if (true) break; - -case 33: -//C -this.state = 34; -; - //BA.debugLineNum = 148;BA.debugLine="If esteAzul = 3 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 34: -//if -this.state = 39; -if (_esteazul==3) { -this.state = 36; -;}if (true) break; - -case 36: -//C -this.state = 39; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul2.png"; -if (true) break; - -case 39: -//C -this.state = 40; -; - //BA.debugLineNum = 149;BA.debugLine="If esteAzul = 4 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 40: -//if -this.state = 45; -if (_esteazul==4) { -this.state = 42; -;}if (true) break; - -case 42: -//C -this.state = 45; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul3.png"; -if (true) break; - -case 45: -//C -this.state = 46; -; - //BA.debugLineNum = 150;BA.debugLine="If esteAzul = 5 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 46: -//if -this.state = 51; -if (_esteazul==5) { -this.state = 48; -;}if (true) break; - -case 48: -//C -this.state = 51; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul4.png"; -if (true) break; - -case 51: -//C -this.state = 52; -; - //BA.debugLineNum = 151;BA.debugLine="If esteAzul = 6 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 52: -//if -this.state = 57; -if (_esteazul==6) { -this.state = 54; -;}if (true) break; - -case 54: -//C -this.state = 57; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul.png"; -if (true) break; - -case 57: -//C -this.state = 58; -; - //BA.debugLineNum = 152;BA.debugLine="If esteAzul = 7 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 58: -//if -this.state = 63; -if (_esteazul==7) { -this.state = 60; -;}if (true) break; - -case 60: -//C -this.state = 63; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul1.png"; -if (true) break; - -case 63: -//C -this.state = 64; -; - //BA.debugLineNum = 153;BA.debugLine="If esteAzul = 8 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 64: -//if -this.state = 69; -if (_esteazul==8) { -this.state = 66; -;}if (true) break; - -case 66: -//C -this.state = 69; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul2.png"; -if (true) break; - -case 69: -//C -this.state = 70; -; - //BA.debugLineNum = 154;BA.debugLine="If esteAzul = 9 Then esteAzul2= NumSerie&\"maker"; -if (true) break; - -case 70: -//if -this.state = 75; -if (_esteazul==9) { -this.state = 72; -;}if (true) break; - -case 72: -//C -this.state = 75; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul3.png"; -if (true) break; - -case 75: -//C -this.state = 76; -; - //BA.debugLineNum = 155;BA.debugLine="If esteAzul = 10 Then esteAzul2= NumSerie&\"make"; -if (true) break; - -case 76: -//if -this.state = 81; -if (_esteazul==10) { -this.state = 78; -;}if (true) break; - -case 78: -//C -this.state = 81; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul4.png"; -if (true) break; - -case 81: -//C -this.state = 82; -; - //BA.debugLineNum = 156;BA.debugLine="If esteAzul = 11 Then esteAzul2= NumSerie&\"make"; -if (true) break; - -case 82: -//if -this.state = 87; -if (_esteazul==11) { -this.state = 84; -;}if (true) break; - -case 84: -//C -this.state = 87; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul.png"; -if (true) break; - -case 87: -//C -this.state = 88; -; - //BA.debugLineNum = 157;BA.debugLine="If esteAzul = 12 Then esteAzul2= NumSerie&\"make"; -if (true) break; - -case 88: -//if -this.state = 93; -if (_esteazul==12) { -this.state = 90; -;}if (true) break; - -case 90: -//C -this.state = 93; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul1.png"; -if (true) break; - -case 93: -//C -this.state = 94; -; - //BA.debugLineNum = 158;BA.debugLine="If esteAzul = 13 Then esteAzul2= NumSerie&\"make"; -if (true) break; - -case 94: -//if -this.state = 99; -if (_esteazul==13) { -this.state = 96; -;}if (true) break; - -case 96: -//C -this.state = 99; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul2.png"; -if (true) break; - -case 99: -//C -this.state = 100; -; - //BA.debugLineNum = 159;BA.debugLine="If esteAzul = 14 Then esteAzul2= NumSerie&\"make"; -if (true) break; - -case 100: -//if -this.state = 105; -if (_esteazul==14) { -this.state = 102; -;}if (true) break; - -case 102: -//C -this.state = 105; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul3.png"; -if (true) break; - -case 105: -//C -this.state = 106; -; - //BA.debugLineNum = 160;BA.debugLine="If esteAzul = 15 Then esteAzul2= NumSerie&\"make"; -if (true) break; - -case 106: -//if -this.state = 111; -if (_esteazul==15) { -this.state = 108; -;}if (true) break; - -case 108: -//C -this.state = 111; -_esteazul2 = BA.NumberToString(parent._numserie)+"maker-azul4.png"; -if (true) break; - -case 111: -//C -this.state = 188; -; - //BA.debugLineNum = 164;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudR"; -parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),_esteazul2).getObject())); - //BA.debugLineNum = 165;BA.debugLine="MARK_AZUL.Snippet = \"R: \" & ruta & \" - \" & Tien"; -parent.mostCurrent._mark_azul.setSnippet("R: "+parent.mostCurrent._ruta+" - "+parent.mostCurrent._tienda); - //BA.debugLineNum = 166;BA.debugLine="rutaAnt = ruta"; -parent.mostCurrent._rutaant = parent.mostCurrent._ruta; - if (true) break; -if (true) break; - -case 112: -//C -this.state = 113; -; - //BA.debugLineNum = 168;BA.debugLine="c .Close"; -parent._c.Close(); - //BA.debugLineNum = 169;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; -if (true) break; - -case 113: -//if -this.state = 118; -if (parent.mostCurrent._mark_azul.IsInitialized()) { -this.state = 115; -;}if (true) break; - -case 115: -//C -this.state = 118; -parent.mostCurrent._list_azul.Add((Object)(parent.mostCurrent._mark_azul.getObject())); -if (true) break; - -case 118: -//C -this.state = 119; -; - if (true) break; -; - //BA.debugLineNum = 172;BA.debugLine="If verde = 1 Or todos = 1 Then"; - -case 119: -//if -this.state = 152; -if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 121; -}else { -this.state = 137; -}if (true) break; - -case 121: -//C -this.state = 122; - //BA.debugLineNum = 173;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 174;BA.debugLine="c2.IsInitialized"; -parent._c2.IsInitialized(); - //BA.debugLineNum = 175;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA 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 <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 176;BA.debugLine="For i = 0 To c2.RowCount -1"; -if (true) break; - -case 122: -//for -this.state = 135; -step59 = 1; -limit59 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 189; -if (true) break; - -case 189: -//C -this.state = 135; -if ((step59 > 0 && _i <= limit59) || (step59 < 0 && _i >= limit59)) this.state = 124; -if (true) break; - -case 190: -//C -this.state = 189; -_i = ((int)(0 + _i + step59)) ; -if (true) break; - -case 124: -//C -this.state = 125; - //BA.debugLineNum = 177;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 178;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; -parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 179;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; -parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 180;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 181;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 182;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 183;BA.debugLine="If c2.GetString(\"SECUENCIA\") = \"null\" Then"; -if (true) break; - -case 125: -//if -this.state = 130; -if ((parent._c2.GetString("SECUENCIA")).equals("null")) { -this.state = 127; -}else { -this.state = 129; -}if (true) break; - -case 127: -//C -this.state = 130; - //BA.debugLineNum = 184;BA.debugLine="NumSerie = 0"; -parent._numserie = (int) (0); - if (true) break; - -case 129: -//C -this.state = 130; - //BA.debugLineNum = 186;BA.debugLine="NumSerie = c2.GetString(\"SECUENCIA\")"; -parent._numserie = (int)(Double.parseDouble(parent._c2.GetString("SECUENCIA"))); - if (true) break; - -case 130: -//C -this.state = 131; -; - //BA.debugLineNum = 188;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 189;BA.debugLine="If s.RowCount > 0 Then"; -if (true) break; - -case 131: -//if -this.state = 134; -if (_s.getRowCount()>0) { -this.state = 133; -}if (true) break; - -case 133: -//C -this.state = 134; - //BA.debugLineNum = 190;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 191;BA.debugLine="NumSerie = s.GetString(\"indice\")"; -parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); - if (true) break; - -case 134: -//C -this.state = 190; -; - //BA.debugLineNum = 193;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitud"; -parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),BA.NumberToString(parent._numserie)+"marker-verde.png").getObject())); - //BA.debugLineNum = 194;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tiend"; -parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); - if (true) break; -if (true) break; - -case 135: -//C -this.state = 152; -; - if (true) break; - -case 137: -//C -this.state = 138; - //BA.debugLineNum = 197;BA.debugLine="If verde = 1 Or todos = 1 Then"; -if (true) break; - -case 138: -//if -this.state = 151; -if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 140; -}if (true) break; - -case 140: -//C -this.state = 141; - //BA.debugLineNum = 198;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 199;BA.debugLine="c2.IsInitialized"; -parent._c2.IsInitialized(); - //BA.debugLineNum = 200;BA.debugLine="c2=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA 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 <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 201;BA.debugLine="For i = 0 To c2.RowCount -1"; -if (true) break; - -case 141: -//for -this.state = 144; -step84 = 1; -limit84 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 191; -if (true) break; - -case 191: -//C -this.state = 144; -if ((step84 > 0 && _i <= limit84) || (step84 < 0 && _i >= limit84)) this.state = 143; -if (true) break; - -case 192: -//C -this.state = 191; -_i = ((int)(0 + _i + step84)) ; -if (true) break; - -case 143: -//C -this.state = 192; - //BA.debugLineNum = 202;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 203;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; -parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 204;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; -parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 205;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 206;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 207;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 208;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu,Longitu"; -parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); - //BA.debugLineNum = 209;BA.debugLine="MARK_VERDE.Snippet = \"R:\" & ruta & \", \" & Tien"; -parent.mostCurrent._mark_verde.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); - if (true) break; -if (true) break; - -case 144: -//C -this.state = 145; -; - //BA.debugLineNum = 211;BA.debugLine="c2 .Close"; -parent._c2.Close(); - //BA.debugLineNum = 212;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; -if (true) break; - -case 145: -//if -this.state = 150; -if (parent.mostCurrent._mark_verde.IsInitialized()) { -this.state = 147; -;}if (true) break; - -case 147: -//C -this.state = 150; -parent.mostCurrent._list_verde.Add((Object)(parent.mostCurrent._mark_verde.getObject())); -if (true) break; - -case 150: -//C -this.state = 151; -; - if (true) break; - -case 151: -//C -this.state = 152; -; - if (true) break; - -case 152: -//C -this.state = 153; -; - //BA.debugLineNum = 216;BA.debugLine="Private esteRojo As Int = 0"; -_esterojo = (int) (0); - //BA.debugLineNum = 217;BA.debugLine="Private esteRojo2 As String"; -_esterojo2 = ""; - //BA.debugLineNum = 218;BA.debugLine="If rojo = 1 Or todos = 1 Then"; -if (true) break; - -case 153: -//if -this.state = 185; -if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 155; -}else { -this.state = 171; -}if (true) break; - -case 155: -//C -this.state = 156; - //BA.debugLineNum = 219;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 220;BA.debugLine="c3.IsInitialized"; -parent._c3.IsInitialized(); - //BA.debugLineNum = 221;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO,"; -parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, IFNULL(SECUENCIA,0) AS SECUENCIA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA 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 <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 222;BA.debugLine="For i = 0 To c3.RowCount -1"; -if (true) break; - -case 156: -//for -this.state = 169; -step104 = 1; -limit104 = (int) (parent._c3.getRowCount()-1); -_i = (int) (0) ; -this.state = 193; -if (true) break; - -case 193: -//C -this.state = 169; -if ((step104 > 0 && _i <= limit104) || (step104 < 0 && _i >= limit104)) this.state = 158; -if (true) break; - -case 194: -//C -this.state = 193; -_i = ((int)(0 + _i + step104)) ; -if (true) break; - -case 158: -//C -this.state = 159; - //BA.debugLineNum = 223;BA.debugLine="c3.Position = i"; -parent._c3.setPosition(_i); - //BA.debugLineNum = 224;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; -parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 225;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; -parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 226;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 227;BA.debugLine="ruta = c3.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c3.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 228;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 229;BA.debugLine="If c3.GetString(\"SECUENCIA\") = \"null\" Then"; -if (true) break; - -case 159: -//if -this.state = 164; -if ((parent._c3.GetString("SECUENCIA")).equals("null")) { -this.state = 161; -}else { -this.state = 163; -}if (true) break; - -case 161: -//C -this.state = 164; - //BA.debugLineNum = 230;BA.debugLine="NumSerie = 0"; -parent._numserie = (int) (0); - if (true) break; - -case 163: -//C -this.state = 164; - //BA.debugLineNum = 232;BA.debugLine="NumSerie = c3.GetString(\"SECUENCIA\")"; -parent._numserie = (int)(Double.parseDouble(parent._c3.GetString("SECUENCIA"))); - if (true) break; - -case 164: -//C -this.state = 165; -; - //BA.debugLineNum = 234;BA.debugLine="Private s As Cursor = Starter.skmt.ExecQuery($\""; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select indice from waypoints where codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent.mostCurrent._codigo))+"'")))); - //BA.debugLineNum = 235;BA.debugLine="If s.RowCount > 0 Then"; -if (true) break; - -case 165: -//if -this.state = 168; -if (_s.getRowCount()>0) { -this.state = 167; -}if (true) break; - -case 167: -//C -this.state = 168; - //BA.debugLineNum = 236;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 237;BA.debugLine="NumSerie = s.GetString(\"indice\")"; -parent._numserie = (int)(Double.parseDouble(_s.GetString("indice"))); - if (true) break; - -case 168: -//C -this.state = 194; -; - //BA.debugLineNum = 239;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR"; -parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),BA.NumberToString(parent._numserie)+"marker-rojo.png").getObject())); - //BA.debugLineNum = 240;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; -parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); - if (true) break; -if (true) break; - -case 169: -//C -this.state = 185; -; - if (true) break; - -case 171: -//C -this.state = 172; - //BA.debugLineNum = 243;BA.debugLine="If rojo = 1 Or todos = 1 Then"; -if (true) break; - -case 172: -//if -this.state = 184; -if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 174; -}if (true) break; - -case 174: -//C -this.state = 175; - //BA.debugLineNum = 244;BA.debugLine="rutaAnt = \"\""; -parent.mostCurrent._rutaant = ""; - //BA.debugLineNum = 245;BA.debugLine="c3.IsInitialized"; -parent._c3.IsInitialized(); - //BA.debugLineNum = 246;BA.debugLine="c3=Starter.skmt.ExecQuery(\"select CAT_CL_CODIGO"; -parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent.mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_RUTA 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 <> 63403 order by CAT_CL_RUTA"))); - //BA.debugLineNum = 247;BA.debugLine="For i = 0 To c3.RowCount -1"; -if (true) break; - -case 175: -//for -this.state = 178; -step129 = 1; -limit129 = (int) (parent._c3.getRowCount()-1); -_i = (int) (0) ; -this.state = 195; -if (true) break; - -case 195: -//C -this.state = 178; -if ((step129 > 0 && _i <= limit129) || (step129 < 0 && _i >= limit129)) this.state = 177; -if (true) break; - -case 196: -//C -this.state = 195; -_i = ((int)(0 + _i + step129)) ; -if (true) break; - -case 177: -//C -this.state = 196; - //BA.debugLineNum = 248;BA.debugLine="c3.Position = i"; -parent._c3.setPosition(_i); - //BA.debugLineNum = 249;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; -parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 250;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; -parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 251;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 252;BA.debugLine="ruta = c2.GetString(\"CAT_CL_RUTA\")"; -parent.mostCurrent._ruta = parent._c2.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 253;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 254;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 = 255;BA.debugLine="MARK_ROJO.Snippet= \"R:\" & ruta & \", \" & Tienda"; -parent.mostCurrent._mark_rojo.setSnippet("R:"+parent.mostCurrent._ruta+", "+parent.mostCurrent._tienda); - if (true) break; -if (true) break; -; - //BA.debugLineNum = 257;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; - -case 178: -//if -this.state = 183; -if (parent.mostCurrent._mark_rojo.IsInitialized()) { -this.state = 180; -;}if (true) break; - -case 180: -//C -this.state = 183; -parent.mostCurrent._list_rojo.Add((Object)(parent.mostCurrent._mark_rojo.getObject())); -if (true) break; - -case 183: -//C -this.state = 184; -; - //BA.debugLineNum = 258;BA.debugLine="c3.Close"; -parent._c3.Close(); - if (true) break; - -case 184: -//C -this.state = 185; -; - if (true) break; - -case 185: -//C -this.state = -1; -; - //BA.debugLineNum = 266;BA.debugLine="Dim aa As CameraPosition"; -_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); - //BA.debugLineNum = 267;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; -_aa.Initialize(parent._latitudru,parent._longitudru,(float) (15)); - //BA.debugLineNum = 268;BA.debugLine="gmap.AnimateCamera(aa)"; -parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); - //BA.debugLineNum = 271;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; -parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 272;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; -parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1"); - //BA.debugLineNum = 273;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 = 274;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{ -} -public static String _oninfowindowclicklistener1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marker1) throws Exception{ - //BA.debugLineNum = 277;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; - //BA.debugLineNum = 278;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 279;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())})); - //BA.debugLineNum = 280;BA.debugLine="Activity.Finish"; -mostCurrent._activity.Finish(); - //BA.debugLineNum = 281;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 282;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 = 11;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim c22 As Cursor"; -_c22 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim c3 As Cursor"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java deleted file mode 100644 index a524c07..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/newinst2.java +++ /dev/null @@ -1,229 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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("312189697","-- 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("311927553","---- 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("311993089","---- 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("311993091",(""+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("311993092",(""+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("311993093",(""+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("311993094",(""+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("311993097",(""+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("311993099",(""+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/reparto_mazapa/keymon/lat/roundslider.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/roundslider.java deleted file mode 100644 index 0ee7ea6..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/roundslider.java +++ /dev/null @@ -1,395 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.roundslider"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/scrollinglabel.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/scrollinglabel.java deleted file mode 100644 index f768047..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/scrollinglabel.java +++ /dev/null @@ -1,424 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.scrollinglabel"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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(reparto_mazapa.keymon.lat.scrollinglabel parent,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { -this.parent = parent; -this._p = _p; -this._originalwidth = _originalwidth; -} -reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/starter.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java deleted file mode 100644 index 8e6a06a..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/starter.java +++ /dev/null @@ -1,372 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat.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 String _distanciageo = ""; -public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public static uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper _flp = null; -public static boolean _flpstarted = false; -public static anywheresoftware.b4a.sql.SQL _skmt = null; -public static String _ruta = ""; -public static anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; -public static boolean _bluetoothstate = false; -public static anywheresoftware.b4a.objects.Timer _timer1 = null; -public static int _interval = 0; -public static String _trackeractividad = ""; -public static String _pushserviceactividad = ""; -public static String _mac_impresora = ""; -public static anywheresoftware.b4a.keywords.StringBuilderWrapper _logs = null; -public static anywheresoftware.b4a.phone.Phone.LogCat _logcat = null; -public static String _sharedfolder = ""; -public static anywheresoftware.b4a.gps.LocationWrapper _cedislocation = null; -public static reparto_mazapa.keymon.lat.dbrequestmanager _reqmanager = null; -public static String _server = ""; -public static String _muestraprogreso = ""; -public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static boolean _application_error(anywheresoftware.b4a.objects.B4AException _error,String _stacktrace) throws Exception{ - //BA.debugLineNum = 83;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; - //BA.debugLineNum = 84;BA.debugLine="Return True"; -if (true) return anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 85;BA.debugLine="End Sub"; -return false; -} -public static String _envia_ultima_gps() throws Exception{ -reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 97;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; - //BA.debugLineNum = 98;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 99;BA.debugLine="reqManager.Initialize(Me, server)"; -_reqmanager._initialize /*String*/ (processBA,starter.getObject(),_server); - //BA.debugLineNum = 100;BA.debugLine="If IsConnectedToInternet Then"; -if (_isconnectedtointernet()) { - //BA.debugLineNum = 101;BA.debugLine="Log(\"Con internet, enviamos UTR!\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("3786436","Con internet, enviamos UTR!",0); - //BA.debugLineNum = 102;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 103;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 105;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 107;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 108;BA.debugLine="If B4XPages.MainPage.logger Then LogColor(\"Inici"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("3786443","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 109;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 110;BA.debugLine="B4XPages.MainPage.ultimaActualizacionGPS = DateT"; -mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 111;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 112;BA.debugLine="cmd.Name = \"select_fechat\""; -_cmd.Name /*String*/ = "select_fechat"; - //BA.debugLineNum = 113;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fechat\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("fechat")); - //BA.debugLineNum = 115;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new reparto_mazapa.keymon.lat.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 116;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 117;BA.debugLine="cmd.Name = \"UPDATE_MAZAPA_ACTUALR3_GPS\""; -_cmd.Name /*String*/ = "UPDATE_MAZAPA_ACTUALR3_GPS"; - //BA.debugLineNum = 118;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPa"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ),(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; - //BA.debugLineNum = 120;BA.debugLine="Log($\"Monto actual: ${B4XPages.MainPage.montoAct"; -anywheresoftware.b4a.keywords.Common.LogImpl("3786455",("Monto actual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+" & Clientes totales: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+" & Clientes con venta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+" & Clientes visitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+" & Latitud: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+" & Longitud: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+" & Bateria: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+" & Monto Rechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+" & Monto entregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+" & Clientes totales: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+" & Por visitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+" & Entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+" & Rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+" & Version: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+" & Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+" & Ruta cargada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0); - //BA.debugLineNum = 122;BA.debugLine="If B4XPages.MainPage.logger Then Log($\"montoActu"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("3786457",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._batt /*int*/ ))+", montoRechazado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montorechazado /*String*/ ))+", montoEntregado: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._montoentregado /*String*/ ))+", porVisitar: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._porvisitar /*String*/ ))+", entregas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._entregas /*String*/ ))+", rechazos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rechazos /*String*/ ))+", Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; - //BA.debugLineNum = 124;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas")); - //BA.debugLineNum = 125;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 = 128;BA.debugLine="Timer1.Enabled = False"; -_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 129;BA.debugLine="Timer1.Interval = Interval * 1000"; -_timer1.setInterval((long) (_interval*1000)); - //BA.debugLineNum = 130;BA.debugLine="Timer1.Enabled = True"; -_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); - }else { - //BA.debugLineNum = 132;BA.debugLine="Log(\"Sin conexión a internet, no se envió UTR!\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("3786467","Sin conexión a internet, no se envió UTR!",0); - }; - //BA.debugLineNum = 134;BA.debugLine="End Sub"; -return ""; -} -public static boolean _isconnectedtointernet() throws Exception{ -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 136;BA.debugLine="Sub IsConnectedToInternet As Boolean 'ignore"; - //BA.debugLineNum = 137;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 138;BA.debugLine="r.Target = r.GetContext"; -_r.Target = (Object)(_r.GetContext(processBA)); - //BA.debugLineNum = 139;BA.debugLine="r.Target = r.RunMethod2(\"getSystemService\", \"conn"; -_r.Target = _r.RunMethod2("getSystemService","connectivity","java.lang.String"); - //BA.debugLineNum = 140;BA.debugLine="r.Target = r.RunMethod(\"getActiveNetworkInfo\")"; -_r.Target = _r.RunMethod("getActiveNetworkInfo"); - //BA.debugLineNum = 141;BA.debugLine="If r.Target <> Null Then"; -if (_r.Target!= null) { - //BA.debugLineNum = 142;BA.debugLine="Return r.RunMethod(\"isConnectedOrConnecting\")"; -if (true) return BA.ObjectToBoolean(_r.RunMethod("isConnectedOrConnecting")); - }; - //BA.debugLineNum = 144;BA.debugLine="Return False"; -if (true) return anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 145;BA.debugLine="End Sub"; -return false; -} -public static String _jobdone(reparto_mazapa.keymon.lat.httpjob _job) throws Exception{ - //BA.debugLineNum = 147;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 150;BA.debugLine="Log(\"ENTRAMOS A JOBDONE\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("3917507","ENTRAMOS A JOBDONE",0); - //BA.debugLineNum = 152;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 154;BA.debugLine="If Job.ErrorMessage.Contains(\"failed to connect\""; -if (_job._errormessage /*String*/ .contains("failed to connect") || _job._errormessage /*String*/ .contains("Failed to connect")) { - //BA.debugLineNum = 155;BA.debugLine="ToastMessageShow(\"!Hubo un error contactando al"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("!Hubo un error contactando al servidor, por favor revise su conexión!"),anywheresoftware.b4a.keywords.Common.True); - }; - }else { - }; - //BA.debugLineNum = 161;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="Public distanciaGeo As String = 0"; -_distanciageo = BA.NumberToString(0); - //BA.debugLineNum = 11;BA.debugLine="Public rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 12;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private flpStarted As Boolean"; -_flpstarted = false; - //BA.debugLineNum = 14;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 15;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 16;BA.debugLine="Private BTAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 17;BA.debugLine="Public BluetoothState As Boolean"; -_bluetoothstate = false; - //BA.debugLineNum = 18;BA.debugLine="Dim Timer1 As Timer"; -_timer1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 19;BA.debugLine="Dim Interval As Int = 10"; -_interval = (int) (10); - //BA.debugLineNum = 23;BA.debugLine="Dim trackerActividad As String = \"501231235959\""; -_trackeractividad = "501231235959"; - //BA.debugLineNum = 24;BA.debugLine="Dim pushServiceActividad As String = \"50123123595"; -_pushserviceactividad = "501231235959"; - //BA.debugLineNum = 26;BA.debugLine="Dim MAC_IMPRESORA As String"; -_mac_impresora = ""; - //BA.debugLineNum = 27;BA.debugLine="Private logs As StringBuilder"; -_logs = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private logcat As LogCat"; -_logcat = new anywheresoftware.b4a.phone.Phone.LogCat(); - //BA.debugLineNum = 29;BA.debugLine="Public SharedFolder As String 'Para actualizar ap"; -_sharedfolder = ""; - //BA.debugLineNum = 30;BA.debugLine="Dim cedisLocation As Location"; -_cedislocation = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new reparto_mazapa.keymon.lat.dbrequestmanager(); - //BA.debugLineNum = 32;BA.debugLine="Dim server As String = \"http://keymon.net:1781\""; -_server = "http://keymon.net:1781"; - //BA.debugLineNum = 36;BA.debugLine="Dim muestraProgreso = 0"; -_muestraprogreso = BA.NumberToString(0); - //BA.debugLineNum = 37;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 43;BA.debugLine="ruta = File.DirInternal 'Ruta de la base de datos"; -_ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 45;BA.debugLine="If Not(File.Exists(ruta, \"kmt.db\")) Then File.Cop"; -if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(_ruta,"kmt.db"))) { -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",_ruta,"kmt.db");}; - //BA.debugLineNum = 46;BA.debugLine="Log(ruta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("3393222",_ruta,0); - //BA.debugLineNum = 47;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -_skmt.Initialize(_ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 61;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; -_timer1.Initialize(processBA,"Timer1",(long) (_interval*1000)); - //BA.debugLineNum = 62;BA.debugLine="Timer1.Enabled = True"; -_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 63;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"\")"; -_sharedfolder = _rp.GetSafeDirDefaultExternal(""); - //BA.debugLineNum = 64;BA.debugLine="cedisLocation.Initialize"; -_cedislocation.Initialize(); - //BA.debugLineNum = 67;BA.debugLine="cedisLocation.Latitude = \"0\""; -_cedislocation.setLatitude((double)(Double.parseDouble("0"))); - //BA.debugLineNum = 68;BA.debugLine="cedisLocation.Longitude = \"0\""; -_cedislocation.setLongitude((double)(Double.parseDouble("0"))); - //BA.debugLineNum = 69;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 72;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; -mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public static String _service_taskremoved() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Sub Service_TaskRemoved"; - //BA.debugLineNum = 80;BA.debugLine="End Sub"; -return ""; -} -public static String _timer1_tick() throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Private Sub Timer1_Tick"; - //BA.debugLineNum = 94;BA.debugLine="ENVIA_ULTIMA_GPS"; -_envia_ultima_gps(); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java deleted file mode 100644 index 291c89f..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/subs.java +++ /dev/null @@ -1,1666 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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 b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -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 = 924;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 925;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 926;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)(mostCurrent._starter._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 = 927;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 928;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 929;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; -mostCurrent._starter._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 = 930;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("348824326",("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 = 933;BA.debugLine="Try"; -try { //BA.debugLineNum = 934;BA.debugLine="Starter.skmt.ExecNonQuery($\"ALTER TABLE ${tabla"; -mostCurrent._starter._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 = 935;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("348824331",("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 = 937;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("348824333",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - }; - //BA.debugLineNum = 940;BA.debugLine="End Sub"; -return ""; -} -public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 414;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; - //BA.debugLineNum = 415;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 416;BA.debugLine="LogColor(\"Recortamos la tabla de Errores, limite"; -anywheresoftware.b4a.keywords.Common.LogImpl("346727170","Recortamos la tabla de Errores, limite de 100",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 417;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 = 418;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 420;BA.debugLine="End Sub"; -return ""; -} -public static String _borraarribade600renglonesbitacora(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 423;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; - //BA.debugLineNum = 424;BA.debugLine="revisaBD"; -_revisabd(_ba); - //BA.debugLineNum = 425;BA.debugLine="LogColor(\"Recortamos la tabla de la Bitacora, lim"; -anywheresoftware.b4a.keywords.Common.LogImpl("346792706","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 426;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 427;BA.debugLine="c = kmt.ExecQuery(\"select fecha from bitacora\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select fecha from bitacora"))); - //BA.debugLineNum = 428;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 429;BA.debugLine="If c.RowCount > 650 Then"; -if (_c.getRowCount()>650) { - //BA.debugLineNum = 430;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fec"; -_kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"); - //BA.debugLineNum = 431;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - }; - //BA.debugLineNum = 434;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 435;BA.debugLine="End Sub"; -return ""; -} -public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 302;BA.debugLine="Sub borraLogDB 'ignore"; - //BA.debugLineNum = 303;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("346399489","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 304;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; -_kmt.ExecNonQuery("delete from bitacora"); - //BA.debugLineNum = 305;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 306;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 = 186;BA.debugLine="Sub borramosArchivoGPS 'ignore"; - //BA.debugLineNum = 187;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 = 188;BA.debugLine="Dim s As String = \"\""; -_s = ""; - //BA.debugLineNum = 189;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 190;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 191;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 192;BA.debugLine="End Sub"; -return ""; -} -public static String _centraboton(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ButtonWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 592;BA.debugLine="Sub centraBoton(elemento As Button, anchoElementoS"; - //BA.debugLineNum = 593;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 = 594;BA.debugLine="End Sub"; -return ""; -} -public static String _centraetiqueta(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 587;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; - //BA.debugLineNum = 588;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 = 589;BA.debugLine="End Sub"; -return ""; -} -public static String _centralistview(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 577;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem"; - //BA.debugLineNum = 578;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 = 579;BA.debugLine="End Sub"; -return ""; -} -public static String _centrapanel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 582;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; - //BA.debugLineNum = 583;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 = 584;BA.debugLine="End Sub"; -return ""; -} -public static String _compress(anywheresoftware.b4a.BA _ba,String _str) throws Exception{ -byte[] _compressed = null; -String _base64 = ""; - //BA.debugLineNum = 39;BA.debugLine="Sub compress(str As String) As String 'ignore"; - //BA.debugLineNum = 41;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; -_compressed = _gzip.compress(_str); - //BA.debugLineNum = 44;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; -_base64 = _su.EncodeBase64(_compressed); - //BA.debugLineNum = 45;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("345023238",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); - //BA.debugLineNum = 47;BA.debugLine="Return base64"; -if (true) return _base64; - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public static String _copiadb(anywheresoftware.b4a.BA _ba,boolean _result) throws Exception{ -String _p = ""; -String _thedir = ""; - //BA.debugLineNum = 511;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; - //BA.debugLineNum = 512;BA.debugLine="If result Then"; -if (_result) { - //BA.debugLineNum = 513;BA.debugLine="Dim p As String"; -_p = ""; - //BA.debugLineNum = 514;BA.debugLine="If File.ExternalWritable Then"; -if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) { - //BA.debugLineNum = 515;BA.debugLine="p = File.DirInternal"; -_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - }else { - //BA.debugLineNum = 518;BA.debugLine="p = File.DirInternal"; -_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - }; - //BA.debugLineNum = 521;BA.debugLine="Dim theDir As String"; -_thedir = ""; - //BA.debugLineNum = 522;BA.debugLine="Try"; -try { //BA.debugLineNum = 523;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; -anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmts"); - //BA.debugLineNum = 524;BA.debugLine="theDir = \"/kmts\""; -_thedir = "/kmts"; - } - catch (Exception e13) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 526;BA.debugLine="theDir = \"\""; -_thedir = ""; - }; - //BA.debugLineNum = 528;BA.debugLine="Try"; -try { //BA.debugLineNum = 529;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,"guna_rep_kmt.db"); - //BA.debugLineNum = 530;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False); - } - catch (Exception e19) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 532;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 = 534;BA.debugLine="Log(\"rootExternal=\"&p)"; -anywheresoftware.b4a.keywords.Common.LogImpl("347120407","rootExternal="+_p,0); - //BA.debugLineNum = 535;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("347120408","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); - //BA.debugLineNum = 536;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("347120409","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); - }else { - //BA.debugLineNum = 538;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); - }; - //BA.debugLineNum = 540;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 = 448;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; - //BA.debugLineNum = 449;BA.debugLine="Log(\"dameErroresJSON\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("346923777","dameErroresJSON",0); - //BA.debugLineNum = 450;BA.debugLine="Private j As JSONGenerator"; -_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 451;BA.debugLine="Private lim As String"; -_lim = ""; - //BA.debugLineNum = 452;BA.debugLine="Private cur As ResultSet"; -_cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); - //BA.debugLineNum = 453;BA.debugLine="Private l As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 454;BA.debugLine="Private i As Int = 0"; -_i = (int) (0); - //BA.debugLineNum = 455;BA.debugLine="l.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 456;BA.debugLine="Dim m, m2 As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m2 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 457;BA.debugLine="m2.Initialize"; -_m2.Initialize(); - //BA.debugLineNum = 458;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; -if (_maxerrores==0) { -_lim = "";} -else { -_lim = "limit "+BA.NumberToString(_maxerrores);}; - //BA.debugLineNum = 459;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 = 460;BA.debugLine="Do While cur.NextRow"; -while (_cur.NextRow()) { - //BA.debugLineNum = 461;BA.debugLine="m.Initialize"; -_m.Initialize(); - //BA.debugLineNum = 462;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; -_m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha"))); - //BA.debugLineNum = 463;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; -_m.Put((Object)("error"),(Object)(_cur.GetString("error"))); - //BA.debugLineNum = 464;BA.debugLine="m2.Put(i,m)"; -_m2.Put((Object)(_i),(Object)(_m.getObject())); - //BA.debugLineNum = 465;BA.debugLine="i = i + 1"; -_i = (int) (_i+1); - } -; - //BA.debugLineNum = 467;BA.debugLine="cur.Close"; -_cur.Close(); - //BA.debugLineNum = 468;BA.debugLine="j.Initialize(m2)"; -_j.Initialize(_m2); - //BA.debugLineNum = 469;BA.debugLine="Log(j.ToString)"; -anywheresoftware.b4a.keywords.Common.LogImpl("346923797",_j.ToString(),0); - //BA.debugLineNum = 470;BA.debugLine="If comprimido Then"; -if (_comprimido) { - //BA.debugLineNum = 471;BA.debugLine="Return compress(j.ToString)"; -if (true) return _compress(_ba,_j.ToString()); - }else { - //BA.debugLineNum = 473;BA.debugLine="Return j.ToString"; -if (true) return _j.ToString(); - }; - //BA.debugLineNum = 475;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 = 142;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; - //BA.debugLineNum = 144;BA.debugLine="Dim fechaInicio As String"; -_fechainicio = ""; - //BA.debugLineNum = 145;BA.debugLine="Try 'incioRuta es numero"; -try { //BA.debugLineNum = 146;BA.debugLine="inicioRuta = inicioRuta * 1"; -_inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1); - //BA.debugLineNum = 148;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 = 150;BA.debugLine="fechaInicio = fechaInicioHoy"; -_fechainicio = _fechainiciohoy(_ba); - }; - //BA.debugLineNum = 153;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"fechaInicio"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("345547531","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; - //BA.debugLineNum = 154;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 155;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 = 156;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"select FECH"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("345547534","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; - //BA.debugLineNum = 157;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 = 158;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 159;BA.debugLine="Dim ruta2 As String = \"\""; -_ruta2 = ""; - //BA.debugLineNum = 160;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 161;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 = 162;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 163;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 = 164;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; -mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA"); - } -}; - }; - //BA.debugLineNum = 167;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 168;BA.debugLine="Return compress(ruta2)"; -if (true) return _compress(_ba,_ruta2); - //BA.debugLineNum = 169;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 = 556;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; - //BA.debugLineNum = 557;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 558;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 559;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 560;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 = 561;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 562;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; -if (_c.getRowCount()>0) { -_u = _c.GetString("USUARIO");}; - //BA.debugLineNum = 563;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 564;BA.debugLine="Return u"; -if (true) return _u; - //BA.debugLineNum = 565;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 = 51;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; - //BA.debugLineNum = 52;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; -_decompressedbytes = _su.DecodeBase64(_base64); - //BA.debugLineNum = 54;BA.debugLine="Dim bc As ByteConverter"; -_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 55;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; -_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); - //BA.debugLineNum = 56;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("345088773",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); - //BA.debugLineNum = 58;BA.debugLine="Return uncompressed"; -if (true) return _uncompressed; - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return ""; -} -public static String _deleteerrorlog_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 178;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; - //BA.debugLineNum = 179;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 180;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; -_errorlog.ExecNonQuery("delete from errores"); - //BA.debugLineNum = 181;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 182;BA.debugLine="ToastMessageShow(\"Borrada\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borrada"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 183;BA.debugLine="End Sub"; -return ""; -} -public static String _deletegps_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Sub deleteGPS_DB 'ignore"; - //BA.debugLineNum = 173;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; -_kmt.ExecNonQuery("delete from RUTA_GPS"); - //BA.debugLineNum = 174;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 175;BA.debugLine="End Sub"; -return ""; -} -public static String _fechainiciohoy(anywheresoftware.b4a.BA _ba) throws Exception{ -String _origformat = ""; -String _h = ""; - //BA.debugLineNum = 261;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; - //BA.debugLineNum = 262;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 263;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); - //BA.debugLineNum = 264;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 = 265;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 266;BA.debugLine="Log(\"Hoy=\"&h)"; -anywheresoftware.b4a.keywords.Common.LogImpl("346137349","Hoy="+_h,0); - //BA.debugLineNum = 267;BA.debugLine="Return h"; -if (true) return _h; - //BA.debugLineNum = 268;BA.debugLine="End Sub"; -return ""; -} -public static String _fechakmt(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{ -String _origformat = ""; -String _nuevafecha = ""; - //BA.debugLineNum = 62;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; - //BA.debugLineNum = 64;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 65;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 66;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; -_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 67;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 69;BA.debugLine="Return nuevaFecha"; -if (true) return _nuevafecha; - //BA.debugLineNum = 70;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 = 478;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; - //BA.debugLineNum = 479;BA.debugLine="Try"; -try { //BA.debugLineNum = 480;BA.debugLine="If fKMT.Length = 12 Then"; -if (_fkmt.length()==12) { - //BA.debugLineNum = 481;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; -_partefecha = _fkmt.substring((int) (0),(int) (6)); - //BA.debugLineNum = 482;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; -_partehora = _fkmt.substring((int) (6)); - //BA.debugLineNum = 483;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 484;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); - //BA.debugLineNum = 485;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 486;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; -_ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora); - //BA.debugLineNum = 488;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 489;BA.debugLine="Return ticks"; -if (true) return _ticks; - }else { - //BA.debugLineNum = 491;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; -anywheresoftware.b4a.keywords.Common.LogImpl("346989325","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); - //BA.debugLineNum = 492;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - } - catch (Exception e16) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 495;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("346989329",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 496;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; -anywheresoftware.b4a.keywords.Common.LogImpl("346989330",("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 = 497;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - //BA.debugLineNum = 499;BA.debugLine="End Sub"; -return 0L; -} -public static String _getphnid(anywheresoftware.b4a.BA _ba) throws Exception{ -String _t = ""; -String _s = ""; - //BA.debugLineNum = 19;BA.debugLine="Sub getPhnId As String 'ignore"; - //BA.debugLineNum = 21;BA.debugLine="devModel = phn.Model"; -_devmodel = _phn.getModel(); - //BA.debugLineNum = 22;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; -if (_devmodel.length()<=3) { - //BA.debugLineNum = 23;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; -_t = _phn.GetSettings("android_id"); - //BA.debugLineNum = 24;BA.debugLine="devModel = t"; -_devmodel = _t; - }; - //BA.debugLineNum = 26;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; -if (_devmodel.length()>=3) { - //BA.debugLineNum = 27;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 = 30;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 = 31;BA.debugLine="devModel = s"; -_devmodel = _s; - }; - //BA.debugLineNum = 35;BA.debugLine="Return devModel"; -if (true) return _devmodel; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public static String _getssid(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 209;BA.debugLine="Sub getSSID 'ignore"; - //BA.debugLineNum = 214;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaappinfo(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 1018;BA.debugLine="Sub guardaAppInfo 'ignore"; - //BA.debugLineNum = 1019;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_VARIAB"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"); - //BA.debugLineNum = 1020;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CAT_VARIA"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .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 = 1021;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CAT_VARIA"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .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 = 1022;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 = 112;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; - //BA.debugLineNum = 114;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 115;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss"); - //BA.debugLineNum = 116;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 = 117;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 119;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; -_ubic = _coords+","+_lastupdate; - //BA.debugLineNum = 120;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 = 121;BA.debugLine="Dim s As String = ubic & CRLF"; -_s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF; - //BA.debugLineNum = 122;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 123;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 124;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; -return ""; -} -public static String _guardainfoenbd(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ -String[] _latlon = null; - //BA.debugLineNum = 128;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; - //BA.debugLineNum = 129;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Guardamos u"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("345481985","Guardamos ubicacion en BD - "+_coords,0);}; - //BA.debugLineNum = 130;BA.debugLine="Try"; -try { //BA.debugLineNum = 131;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; -_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords); - //BA.debugLineNum = 132;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; -if (_latlon.length<2) { -_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);}; - //BA.debugLineNum = 134;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 135;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 = 137;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("345481993",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - //BA.debugLineNum = 139;BA.debugLine="End Sub"; -return ""; -} -public static String _hmskmt(anywheresoftware.b4a.BA _ba) throws Exception{ -String _origformat = ""; -String _nuevahora = ""; - //BA.debugLineNum = 73;BA.debugLine="Sub hmsKMT As String 'ignore"; - //BA.debugLineNum = 75;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 76;BA.debugLine="DateTime.DateFormat=\"HHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("HHmmss"); - //BA.debugLineNum = 77;BA.debugLine="Private nuevaHora As String=DateTime.Date(DateTim"; -_nuevahora = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 78;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 80;BA.debugLine="Return nuevaHora"; -if (true) return _nuevahora; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public static String _insertaenerrores(anywheresoftware.b4a.BA _ba,String _error) throws Exception{ - //BA.debugLineNum = 550;BA.debugLine="Sub insertaEnErrores(error As String) 'ignore"; - //BA.debugLineNum = 551;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 552;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fecha"; -_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)(_error)})); - //BA.debugLineNum = 553;BA.debugLine="End Sub"; -return ""; -} -public static String _insertarenglonespruebaenerrorlog(anywheresoftware.b4a.BA _ba) throws Exception{ -int _x = 0; - //BA.debugLineNum = 438;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; - //BA.debugLineNum = 439;BA.debugLine="If Not(errorLog.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 440;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("346858242","insertamos 50 renglones a errorLog",0); - //BA.debugLineNum = 441;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 = 442;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 = 443;BA.debugLine="Log(x)"; -anywheresoftware.b4a.keywords.Common.LogImpl("346858245",BA.NumberToString(_x),0); - } -}; - //BA.debugLineNum = 445;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 = 501;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; - //BA.debugLineNum = 502;BA.debugLine="If File.Exists(dir, apk) Then"; -if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) { - //BA.debugLineNum = 503;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 504;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 = 505;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; -_i.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 506;BA.debugLine="StartActivity(i)"; -anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject())); - }; - //BA.debugLineNum = 508;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 = 217;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; - //BA.debugLineNum = 219;BA.debugLine="Try"; -try { //BA.debugLineNum = 220;BA.debugLine="Private json As JSONParser"; -_json = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 221;BA.debugLine="json.Initialize(theJson)"; -_json.Initialize(_thejson); - //BA.debugLineNum = 222;BA.debugLine="Return json.NextObject"; -if (true) return _json.NextObject(); - } - catch (Exception e6) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 224;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("345940743",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 225;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; -_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); - //BA.debugLineNum = 226;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 = 227;BA.debugLine="Return m"; -if (true) return _m; - }; - //BA.debugLineNum = 229;BA.debugLine="End Sub"; -return null; -} -public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ - //BA.debugLineNum = 271;BA.debugLine="Sub log2DB(texto As String) 'ignore"; - //BA.debugLineNum = 272;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; -anywheresoftware.b4a.keywords.Common.LogImpl("346202881",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 273;BA.debugLine="If kmt.IsInitialized Then kmt.ExecNonQuery2(\"INSE"; -if (_kmt.IsInitialized()) { -_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 = 274;BA.debugLine="End Sub"; -return ""; -} -public static String _mandamosloc(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ - //BA.debugLineNum = 242;BA.debugLine="Sub mandamosLoc(coords As String) 'ignore"; - //BA.debugLineNum = 258;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 = 232;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; - //BA.debugLineNum = 235;BA.debugLine="Dim jg As JSONGenerator"; -_jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 236;BA.debugLine="jg.Initialize(m)"; -_jg.Initialize(_m); - //BA.debugLineNum = 237;BA.debugLine="Dim t As String = jg.ToString"; -_t = _jg.ToString(); - //BA.debugLineNum = 238;BA.debugLine="Return t"; -if (true) return _t; - //BA.debugLineNum = 239;BA.debugLine="End Sub"; -return ""; -} -public static boolean _masdexxmins(anywheresoftware.b4a.BA _ba,int _hora,int _mins) throws Exception{ - //BA.debugLineNum = 277;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; - //BA.debugLineNum = 278;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; -if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute) 0 Then"; -if (_chv.getRowCount()>0) { - //BA.debugLineNum = 792;BA.debugLine="chv.Position = 0"; -_chv.setPosition((int) (0)); - //BA.debugLineNum = 794;BA.debugLine="Private precio As String = traePrecio(prodId, t"; -_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); - //BA.debugLineNum = 795;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,1,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString(1),_precio,_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); - //BA.debugLineNum = 796;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into reparto"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into reparto(REP_CLIENTE, REP_PRONOMBRE, REP_CANT, REP_COSTO_TOT, REP_FECHA, REP_RECHAZO, REP_PRODID, REP_PRECIO, REP_CLI_ORIG) VALUES (?,?,?,?,?,0,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_traecliente(_ba),_chv.GetString("HVD_PRONOMBRE"),BA.NumberToString((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1),BA.NumberToString(((double)(Double.parseDouble(_chv.GetString("HVD_CANT")))-1)*(double)(Double.parseDouble(_precio))),_chv.GetString("HVD_FECHA"),_prodid,_precio,_traecliente(_ba)})); - //BA.debugLineNum = 797;BA.debugLine="Starter.skmt.ExecNonQuery($\"update HIST_VENTAS"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and HVD_CLIENTE in (Select CUENTA from cuentaa)")); - }; - }else { - //BA.debugLineNum = 800;BA.debugLine="Log($\"ACTUALIZAMOS REPARTO\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("348431122",("ACTUALIZAMOS REPARTO"),0); - //BA.debugLineNum = 801;BA.debugLine="Private precio As String = traePrecio(prodId, tr"; -_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); - //BA.debugLineNum = 802;BA.debugLine="Starter.skmt.ExecNonQuery2(\"update HIST_VENTAS s"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update HIST_VENTAS set HVD_PARCIAL = 1, HVD_CANT = 0, HVD_COSTO_TOT = '0' WHERE HVD_PROID = ? and HVD_CLIENTE in (Select CUENTA from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_prodid})); - //BA.debugLineNum = 803;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 804;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 807;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set R"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - }; - //BA.debugLineNum = 809;BA.debugLine="End Sub"; -return ""; -} -public static String _prodventa(anywheresoftware.b4a.BA _ba,String _clienteoriginal,String _prodid) throws Exception{ -String _precio = ""; - //BA.debugLineNum = 751;BA.debugLine="Sub prodVenta(clienteOriginal As String, prodId As"; - //BA.debugLineNum = 753;BA.debugLine="Private precio As String = traePrecio(prodId, tra"; -_precio = _traeprecio(_ba,_prodid,_traealmacen(_ba)); - //BA.debugLineNum = 754;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 755;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 756;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT - 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("348365573",("update reparto set REP_CANT = REP_CANT - 1 where REP_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 1 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); - //BA.debugLineNum = 757;BA.debugLine="Log($\"update reparto set REP_CANT = REP_CANT + 1"; -anywheresoftware.b4a.keywords.Common.LogImpl("348365574",("update reparto set REP_CANT = REP_CANT + 1 where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'"),0); - //BA.debugLineNum = 758;BA.debugLine="Starter.skmt.ExecNonQuery($\"update reparto set RE"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update reparto set REP_COSTO_TOT = REP_CANT * "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+", REP_PRECIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_precio))+"' where REP_CLIENTE in (Select CUENTA from cuentaa) and REP_CLI_ORIG = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteoriginal))+"' and REP_RECHAZO = 0 and REP_PRODID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); - //BA.debugLineNum = 779;BA.debugLine="End Sub"; -return ""; -} -public static String _revisabd(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 195;BA.debugLine="Sub revisaBD 'ignore"; - //BA.debugLineNum = 196;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"))) { -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db");}; - //BA.debugLineNum = 197;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 = 198;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 = 200;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); - //BA.debugLineNum = 202;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS REPA"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS REPARTO_GEO (CLIENTE TEXT, USUARIO TEXT, FECHA_PUNTEO TEXT, LATITUD TEXT, LONGITUD TEXT, ALMACEN TEXT, RUTA_REPARTO TEXT, RUTA_PREV TEXT, FECHA_PREVENTA TEXT, MOTIVO TEXT, COMENTARIO TEXT, TIPO TEXT, ENVIO TEXT)"); - //BA.debugLineNum = 204;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 = 205;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; -_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); - //BA.debugLineNum = 206;BA.debugLine="End Sub"; -return ""; -} -public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{ -boolean _todobienflp = false; - //BA.debugLineNum = 345;BA.debugLine="Sub revisaFLP 'ignore"; - //BA.debugLineNum = 346;BA.debugLine="LogColor($\"**** **** Revisamos FLP - ${fechaKMT(D"; -anywheresoftware.b4a.keywords.Common.LogImpl("346596097",("**** **** Revisamos FLP - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))))+"**** ****"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); - //BA.debugLineNum = 347;BA.debugLine="Private todoBienFLP As Boolean = True"; -_todobienflp = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 348;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 = 349;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Rei"; -_log2db(_ba,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); - //BA.debugLineNum = 350;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 = 351;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 353;BA.debugLine="If Tracker.FLP.IsInitialized Then"; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 354;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 = 355;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Recon"; -_log2db(_ba,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); - //BA.debugLineNum = 357;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()),"StartFLP"); - //BA.debugLineNum = 358;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 360;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker.FLP."; -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 = 363;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando, lo"; -_log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); - //BA.debugLineNum = 364;BA.debugLine="StartService(Tracker)"; -anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject())); - //BA.debugLineNum = 365;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - }; - //BA.debugLineNum = 368;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin errore"; -if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("346596119"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; - //BA.debugLineNum = 370;BA.debugLine="End Sub"; -return ""; -} -public static String _revisapushservice(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 373;BA.debugLine="Sub revisaPushService 'ignore"; - //BA.debugLineNum = 411;BA.debugLine="End Sub"; -return ""; -} -public static String _revisauug(anywheresoftware.b4a.BA _ba) throws Exception{ -int _daa = 0; - //BA.debugLineNum = 331;BA.debugLine="Sub revisaUUG 'ignore"; - //BA.debugLineNum = 332;BA.debugLine="revisaFLP"; -_revisaflp(_ba); - //BA.debugLineNum = 333;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 334;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(Tr"; -_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 = 335;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"****"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("346530564",("**** 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 = 336;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocation"; -if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) { - //BA.debugLineNum = 337;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 = 338;BA.debugLine="If B4XPages.MainPage.Logger Then Log(\"++++ Dist"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (_ba)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("346530567","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; - }; - //BA.debugLineNum = 340;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoca"; -mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); - }; - //BA.debugLineNum = 342;BA.debugLine="End Sub"; -return ""; -} -public static String _setdivider(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _lv,int _color,int _height) throws Exception{ -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; -anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; - //BA.debugLineNum = 567;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh"; - //BA.debugLineNum = 568;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 569;BA.debugLine="r.Target = lv"; -_r.Target = (Object)(_lv.getObject()); - //BA.debugLineNum = 570;BA.debugLine="Dim CD As ColorDrawable"; -_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 571;BA.debugLine="CD.Initialize(Color, 0)"; -_cd.Initialize(_color,(int) (0)); - //BA.debugLineNum = 572;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A"; -_r.RunMethod4("setDivider",new Object[]{(Object)(_cd.getObject())},new String[]{"android.graphics.drawable.Drawable"}); - //BA.debugLineNum = 573;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la"; -_r.RunMethod2("setDividerHeight",BA.NumberToString(_height),"java.lang.int"); - //BA.debugLineNum = 574;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 = 957;BA.debugLine="Sub traeAlmacen As String 'ignore"; - //BA.debugLineNum = 958;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 959;BA.debugLine="Private a As String"; -_a = ""; - //BA.debugLineNum = 960;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_ALMACEN fro"; -_c = (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 ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 961;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 962;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; -_a = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 963;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 964;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 965;BA.debugLine="End Sub"; -return ""; -} -public static int _traecantidadrechazada(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ -int _cant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; - //BA.debugLineNum = 715;BA.debugLine="Sub traeCantidadRechazada(cliente As String, prodI"; - //BA.debugLineNum = 716;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 717;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; -_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cr = (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 rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 1")))); - //BA.debugLineNum = 718;BA.debugLine="If cr.RowCount > 0 Then"; -if (_cr.getRowCount()>0) { - //BA.debugLineNum = 719;BA.debugLine="cr.Position = 0"; -_cr.setPosition((int) (0)); - //BA.debugLineNum = 720;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; -_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); - }; - //BA.debugLineNum = 722;BA.debugLine="Log($\"${cliente}, ${prodId}, rowcont:${cr.RowCoun"; -anywheresoftware.b4a.keywords.Common.LogImpl("348168967",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", rowcont:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cr.getRowCount()))+", cant: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+""),0); - //BA.debugLineNum = 723;BA.debugLine="Return cant"; -if (true) return _cant; - //BA.debugLineNum = 724;BA.debugLine="End Sub"; -return 0; -} -public static int _traecantidadvendida(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ -int _cant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; - //BA.debugLineNum = 727;BA.debugLine="Sub traeCantidadVendida(cliente As String, prodId"; - //BA.debugLineNum = 728;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 729;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; -_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cr = (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 rep_cliente, rep_prodid, REP_CANT, REP_RECHAZO from reparto where rep_cli_orig = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and rep_prodid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and REP_RECHAZO = 0 and REP_CANT > 0")))); - //BA.debugLineNum = 731;BA.debugLine="If cr.RowCount > 0 Then"; -if (_cr.getRowCount()>0) { - //BA.debugLineNum = 732;BA.debugLine="cr.Position = 0"; -_cr.setPosition((int) (0)); - //BA.debugLineNum = 733;BA.debugLine="cant = cr.GetString(\"REP_CANT\")"; -_cant = (int)(Double.parseDouble(_cr.GetString("REP_CANT"))); - }; - //BA.debugLineNum = 735;BA.debugLine="Return cant"; -if (true) return _cant; - //BA.debugLineNum = 736;BA.debugLine="End Sub"; -return 0; -} -public static anywheresoftware.b4a.objects.collections.Map _traecantymonto2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ -int _cant = 0; -float _monto = 0f; -anywheresoftware.b4a.sql.SQL.CursorWrapper _ccym = null; -int _i = 0; - //BA.debugLineNum = 839;BA.debugLine="Sub traeCantYMonto2(cliente As String) As Map"; - //BA.debugLineNum = 841;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 842;BA.debugLine="Private monto As Float = 0"; -_monto = (float) (0); - //BA.debugLineNum = 843;BA.debugLine="Private ccym As Cursor = Starter.skmt.ExecQuery($"; -_ccym = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_ccym = (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 hvd_codpromo, hvd_proid, HVD_CANT, (Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = hvd_proid) As precio from HIST_VENTAS where HVD_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); - //BA.debugLineNum = 844;BA.debugLine="If ccym.RowCount > 0 Then"; -if (_ccym.getRowCount()>0) { - //BA.debugLineNum = 845;BA.debugLine="For i=0 To ccym.RowCount -1"; -{ -final int step5 = 1; -final int limit5 = (int) (_ccym.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 846;BA.debugLine="ccym.Position = i"; -_ccym.setPosition(_i); - //BA.debugLineNum = 847;BA.debugLine="If ccym.GetString(\"HVD_CODPROMO\") <> ccym.GetSt"; -if ((_ccym.GetString("HVD_CODPROMO")).equals(_ccym.GetString("HVD_PROID")) == false && _ccym.GetString("precio")!= null) { - //BA.debugLineNum = 848;BA.debugLine="cant = cant + ccym.GetString(\"HVD_CANT\")"; -_cant = (int) (_cant+(double)(Double.parseDouble(_ccym.GetString("HVD_CANT")))); - //BA.debugLineNum = 850;BA.debugLine="monto = monto + (ccym.GetString(\"HVD_CANT\") *"; -_monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("HVD_CANT")))*(double)(Double.parseDouble(_traeprecio(_ba,_ccym.GetString("HVD_PROID"),_ccym.GetString("HVD_CODPROMO")))))); - }; - } -}; - }; - //BA.debugLineNum = 856;BA.debugLine="ccym = Starter.skmt.ExecQuery($\"Select rep_prodid"; -_ccym = (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 rep_prodid, iFNULL(REP_CANT, 0) AS REP_CANT, iFNULL((Select CAT_GP_PRECIO from cat_gunaprod where cat_gp_id = rep_prodid),0) As precio from REPARTO where REP_CLIENTE in (Select cuenta from cuentaa) And REP_RECHAZO = '0' and REP_CANT > 0")))); - //BA.debugLineNum = 857;BA.debugLine="If ccym.RowCount > 0 Then"; -if (_ccym.getRowCount()>0) { - //BA.debugLineNum = 858;BA.debugLine="For i=0 To ccym.RowCount -1"; -{ -final int step15 = 1; -final int limit15 = (int) (_ccym.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 859;BA.debugLine="ccym.Position = i"; -_ccym.setPosition(_i); - //BA.debugLineNum = 860;BA.debugLine="If ccym.GetString(\"REP_CANT\") <> Null Then cant"; -if (_ccym.GetString("REP_CANT")!= null) { -_cant = (int) (_cant+(double)(Double.parseDouble(_ccym.GetString("REP_CANT"))));}; - //BA.debugLineNum = 861;BA.debugLine="monto = monto + (ccym.GetString(\"REP_CANT\") * c"; -_monto = (float) (_monto+((double)(Double.parseDouble(_ccym.GetString("REP_CANT")))*(double)(Double.parseDouble(_ccym.GetString("precio"))))); - } -}; - //BA.debugLineNum = 863;BA.debugLine="Log($\"CANT=${cant}, MONTO=${monto}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("348562200",("CANT="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", MONTO="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0); - }; - //BA.debugLineNum = 866;BA.debugLine="ccym.Close"; -_ccym.Close(); - //BA.debugLineNum = 867;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 868;BA.debugLine="End Sub"; -return null; -} -public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _cli = null; -String _cl = ""; - //BA.debugLineNum = 695;BA.debugLine="Sub traeCliente As String 'ignore"; - //BA.debugLineNum = 696;BA.debugLine="Private cli As Cursor = Starter.skmt.ExecQuery(\"S"; -_cli = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cli = (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 CUENTA from cuentaa"))); - //BA.debugLineNum = 697;BA.debugLine="cli.Position = 0"; -_cli.setPosition((int) (0)); - //BA.debugLineNum = 698;BA.debugLine="Private cl As String = cli.GetString(\"CUENTA\")"; -_cl = _cli.GetString("CUENTA"); - //BA.debugLineNum = 699;BA.debugLine="cli.Close"; -_cli.Close(); - //BA.debugLineNum = 700;BA.debugLine="Return cl"; -if (true) return _cl; - //BA.debugLineNum = 701;BA.debugLine="End Sub"; -return ""; -} -public static String _traeconversion(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -String _pu = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; - //BA.debugLineNum = 679;BA.debugLine="Sub traeConversion(id As String) As String"; - //BA.debugLineNum = 680;BA.debugLine="Private pu As String = \"0\""; -_pu = "0"; - //BA.debugLineNum = 682;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CONVERSION from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 683;BA.debugLine="If idc.RowCount > 0 Then"; -if (_idc.getRowCount()>0) { - //BA.debugLineNum = 684;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 685;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; -if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CONVERSION"))) { -_pu = _idc.GetString("CONVERSION");}; - }; - //BA.debugLineNum = 688;BA.debugLine="idc.Close"; -_idc.Close(); - //BA.debugLineNum = 690;BA.debugLine="Return pu"; -if (true) return _pu; - //BA.debugLineNum = 691;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _traeentregados(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; -int _cant = 0; -String _monto = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; - //BA.debugLineNum = 871;BA.debugLine="Sub traeEntregados As Map"; - //BA.debugLineNum = 872;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 873;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 874;BA.debugLine="Private monto As String = 0"; -_monto = BA.NumberToString(0); - //BA.debugLineNum = 875;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; -_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rc = (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(HVD_CANT) as CUANTOS, sum(HVD_COSTO_TOT) as CUANTO from HIST_VENTAS where HVD_ESTATUS = '1' and HVD_COSTO_TOT <> '0'")))); - //BA.debugLineNum = 876;BA.debugLine="If rc.RowCount > 0 Then"; -if (_rc.getRowCount()>0) { - //BA.debugLineNum = 877;BA.debugLine="rc.Position = 0"; -_rc.setPosition((int) (0)); - //BA.debugLineNum = 878;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; -if (_rc.GetString("CUANTOS")!= null) { - //BA.debugLineNum = 879;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; -_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); - //BA.debugLineNum = 880;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; -_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); - }; - }; - //BA.debugLineNum = 884;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 885;BA.debugLine="End Sub"; -return null; -} -public static String _traefechaprev(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _a = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _clienteasing = null; -String[] _fecha = null; -String[] _fecha2 = null; -String _fecha3 = ""; -String[] _hora = null; - //BA.debugLineNum = 978;BA.debugLine="Sub traefECHAPREV As String 'ignore"; - //BA.debugLineNum = 979;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 980;BA.debugLine="Private a As String"; -_a = ""; - //BA.debugLineNum = 981;BA.debugLine="Private clienteasing As Cursor = Starter.skmt.Exe"; -_clienteasing = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_clienteasing = (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 CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 982;BA.debugLine="clienteasing.Position = 0"; -_clienteasing.setPosition((int) (0)); - //BA.debugLineNum = 983;BA.debugLine="If clienteasing.GetString(\"CUENTA\") <> \"63403\" Th"; -if ((_clienteasing.GetString("CUENTA")).equals("63403") == false) { - //BA.debugLineNum = 984;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; -_c = (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 HVD_FECHA from HIST_VENTAS where HVD_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 985;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 986;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; -_fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_FECHA")); - //BA.debugLineNum = 987;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; -_fecha2 = anywheresoftware.b4a.keywords.Common.Regex.Split("-",_fecha[(int) (0)]); - //BA.debugLineNum = 988;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; -_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; - //BA.debugLineNum = 989;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("349086475",_fecha3,0); - //BA.debugLineNum = 990;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; -_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 991;BA.debugLine="a = fecha3 & \" \" & hora(0)"; -_a = _fecha3+" "+_hora[(int) (0)]; - //BA.debugLineNum = 992;BA.debugLine="c.Close"; -_c.Close(); - }else if((_clienteasing.GetString("CUENTA")).equals("63403")) { - //BA.debugLineNum = 994;BA.debugLine="c = Starter.skmt.ExecQuery(\"select HVD_FECHA fro"; -_c = (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 HVD_FECHA from HIST_VENTAS"))); - //BA.debugLineNum = 995;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 996;BA.debugLine="Dim fecha() As String = Regex.Split(\" \", c.GetSt"; -_fecha = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_c.GetString("HVD_FECHA")); - //BA.debugLineNum = 997;BA.debugLine="Dim fecha2() As String = Regex.Split(\"-\", fecha("; -_fecha2 = anywheresoftware.b4a.keywords.Common.Regex.Split("-",_fecha[(int) (0)]); - //BA.debugLineNum = 998;BA.debugLine="Dim fecha3 As String = fecha2(2)&\"/\"&fecha2(1)&\""; -_fecha3 = _fecha2[(int) (2)]+"/"+_fecha2[(int) (1)]+"/"+_fecha2[(int) (0)]; - //BA.debugLineNum = 999;BA.debugLine="Log(fecha3)"; -anywheresoftware.b4a.keywords.Common.LogImpl("349086485",_fecha3,0); - //BA.debugLineNum = 1000;BA.debugLine="Dim hora() As String = Regex.Split(\"\\.\", fecha(1"; -_hora = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",_fecha[(int) (1)]); - //BA.debugLineNum = 1001;BA.debugLine="a = fecha3 & \" \" & hora(0)"; -_a = _fecha3+" "+_hora[(int) (0)]; - //BA.debugLineNum = 1002;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 1004;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 1005;BA.debugLine="End Sub"; -return ""; -} -public static String _traefechareparto(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _fe = null; -String _f = ""; - //BA.debugLineNum = 703;BA.debugLine="Sub traeFechaReparto As String"; - //BA.debugLineNum = 704;BA.debugLine="Private fe As Cursor = Starter.skmt.ExecQuery(\"se"; -_fe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_fe = (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 HVD_FECHA from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 705;BA.debugLine="Private f As String = \"-\""; -_f = "-"; - //BA.debugLineNum = 706;BA.debugLine="If fe.RowCount > 0 Then"; -if (_fe.getRowCount()>0) { - //BA.debugLineNum = 707;BA.debugLine="fe.Position = 0"; -_fe.setPosition((int) (0)); - //BA.debugLineNum = 708;BA.debugLine="f = fe.GetString(\"HVD_FECHA\")"; -_f = _fe.GetString("HVD_FECHA"); - }; - //BA.debugLineNum = 710;BA.debugLine="fe.Close"; -_fe.Close(); - //BA.debugLineNum = 711;BA.debugLine="Return f"; -if (true) return _f; - //BA.debugLineNum = 712;BA.debugLine="End Sub"; -return ""; -} -public static int _traemaxcantidad(anywheresoftware.b4a.BA _ba,String _cliente,String _prodid) throws Exception{ -int _cant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cr = null; - //BA.debugLineNum = 739;BA.debugLine="Sub traeMaxCantidad(cliente As String, prodId As S"; - //BA.debugLineNum = 740;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 741;BA.debugLine="Private cr As Cursor = Starter.skmt.ExecQuery($\"S"; -_cr = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cr = (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 hvd_cant from hist_ventas2 where hvd_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' and hvd_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")))); - //BA.debugLineNum = 743;BA.debugLine="If cr.RowCount > 0 Then"; -if (_cr.getRowCount()>0) { - //BA.debugLineNum = 744;BA.debugLine="cr.Position = 0"; -_cr.setPosition((int) (0)); - //BA.debugLineNum = 745;BA.debugLine="cant = cr.GetString(\"HVD_CANT\")"; -_cant = (int)(Double.parseDouble(_cr.GetString("HVD_CANT"))); - }; - //BA.debugLineNum = 747;BA.debugLine="Return cant"; -if (true) return _cant; - //BA.debugLineNum = 748;BA.debugLine="End Sub"; -return 0; -} -public static anywheresoftware.b4a.objects.collections.Map _traemoscantymonto(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _clv) throws Exception{ -int _cant = 0; -float _monto = 0f; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _cant2 = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; - //BA.debugLineNum = 811;BA.debugLine="Sub traemosCantYMonto(clv As CustomListView) As Ma"; - //BA.debugLineNum = 813;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 814;BA.debugLine="Private monto As Float = 0"; -_monto = (float) (0); - //BA.debugLineNum = 815;BA.debugLine="For i = 0 To clv.GetSize - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_clv._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 816;BA.debugLine="Private p0 As B4XView = clv.GetPanel(i)"; -_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv._getpanel(_i); - //BA.debugLineNum = 817;BA.debugLine="Private p As B4XView = p0.GetView(0)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _p0.GetView((int) (0)); - //BA.debugLineNum = 818;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; -_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_cant1 = _p.GetView((int) (2)).GetView((int) (3)); - //BA.debugLineNum = 819;BA.debugLine="Private cant2 As B4XView = p.GetView(3).GetView("; -_cant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_cant2 = _p.GetView((int) (3)).GetView((int) (3)); - //BA.debugLineNum = 821;BA.debugLine="If cant1.text <> \"\" Then"; -if ((_cant1.getText()).equals("") == false) { - //BA.debugLineNum = 822;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; -if ((_cant1.getText()).equals("")) { -_cant1.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 823;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); - //BA.debugLineNum = 825;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; -if ((_estetag.Get((int) (2))).equals(_estetag.Get((int) (3))) == false) { -_cant = (int) (_cant+(double)(Double.parseDouble(_cant1.getText())));}; - //BA.debugLineNum = 826;BA.debugLine="monto = monto + (esteTag.Get(0) * cant1.Text)"; -_monto = (float) (_monto+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText())))); - }else { - //BA.debugLineNum = 828;BA.debugLine="If cant2.Text = \"\" Then cant2.Text = 0"; -if ((_cant2.getText()).equals("")) { -_cant2.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 829;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", can"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",BA.ObjectToString(_cant2.getTag()))); - //BA.debugLineNum = 831;BA.debugLine="If esteTag.Get(2) <> esteTag.Get(3) Then cant ="; -if ((_estetag.Get((int) (2))).equals(_estetag.Get((int) (3))) == false) { -_cant = (int) (_cant+(double)(Double.parseDouble(_cant2.getText())));}; - //BA.debugLineNum = 832;BA.debugLine="monto = monto + (esteTag.Get(0) * cant2.Text)"; -_monto = (float) (_monto+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText())))); - }; - } -}; - //BA.debugLineNum = 836;BA.debugLine="Return CreateMap(\"cantidad\":cant, \"monto\":monto)"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 837;BA.debugLine="End Sub"; -return null; -} -public static String _traenombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -String _nombre = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; - //BA.debugLineNum = 597;BA.debugLine="Sub traeNombre(id As String) As String"; - //BA.debugLineNum = 598;BA.debugLine="Private nombre As String"; -_nombre = ""; - //BA.debugLineNum = 599;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select HV"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select HVD_PRONOMBRE from HIST_VENTAS where HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 600;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 601;BA.debugLine="If idc.RowCount > 0 Then nombre = idc.GetString(\""; -if (_idc.getRowCount()>0) { -_nombre = _idc.GetString("HVD_PRONOMBRE");}; - //BA.debugLineNum = 602;BA.debugLine="idc.Close"; -_idc.Close(); - //BA.debugLineNum = 604;BA.debugLine="Return nombre"; -if (true) return _nombre; - //BA.debugLineNum = 605;BA.debugLine="End Sub"; -return ""; -} -public static String _traeprecio(anywheresoftware.b4a.BA _ba,String _id,String _quepromo) throws Exception{ -String _pu = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pc = null; - //BA.debugLineNum = 608;BA.debugLine="Sub traePrecio(id As String, quePromo As String) A"; - //BA.debugLineNum = 609;BA.debugLine="Private pu As String = \"0\""; -_pu = "0"; - //BA.debugLineNum = 611;BA.debugLine="If quePromo = traeAlmacen Then"; -if ((_quepromo).equals(_traealmacen(_ba))) { - //BA.debugLineNum = 612;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 613;BA.debugLine="If idc.RowCount > 0 Then"; -if (_idc.getRowCount()>0) { - //BA.debugLineNum = 614;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 615;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; -if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CAT_GP_PRECIO"))) { -_pu = _idc.GetString("CAT_GP_PRECIO");}; - }; - //BA.debugLineNum = 618;BA.debugLine="idc.Close"; -_idc.Close(); - }else { - //BA.debugLineNum = 620;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; -_pc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pc = (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 HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS2 where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"' and HVD_CODPROMO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_quepromo))+"'")))); - //BA.debugLineNum = 621;BA.debugLine="If pc.RowCount > 0 Then"; -if (_pc.getRowCount()>0) { - //BA.debugLineNum = 622;BA.debugLine="pc.Position = 0"; -_pc.setPosition((int) (0)); - //BA.debugLineNum = 624;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; -if (_pc.GetString("HVD_COSTO_TOT")!= null && _pc.GetString("HVD_CANT")!= null) { - //BA.debugLineNum = 625;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; -_pu = BA.NumberToString((double)(Double.parseDouble(_pc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_pc.GetString("HVD_CANT")))); - }; - }; - //BA.debugLineNum = 629;BA.debugLine="pc.Close"; -_pc.Close(); - }; - //BA.debugLineNum = 632;BA.debugLine="Return pu"; -if (true) return _pu; - //BA.debugLineNum = 634;BA.debugLine="End Sub"; -return ""; -} -public static String _traeprecio2(anywheresoftware.b4a.BA _ba,String _id,String _quepromo,String _consecutivo) throws Exception{ -String _pu = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pc = null; - //BA.debugLineNum = 637;BA.debugLine="Sub traePrecio2(id As String, quePromo As String,"; - //BA.debugLineNum = 638;BA.debugLine="Private pu As String = \"0\""; -_pu = "0"; - //BA.debugLineNum = 640;BA.debugLine="If quePromo = traeAlmacen Then"; -if ((_quepromo).equals(_traealmacen(_ba))) { - //BA.debugLineNum = 641;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select C"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 642;BA.debugLine="If idc.RowCount > 0 Then"; -if (_idc.getRowCount()>0) { - //BA.debugLineNum = 643;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 644;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString("; -if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("CAT_GP_PRECIO"))) { -_pu = _idc.GetString("CAT_GP_PRECIO");}; - }; - //BA.debugLineNum = 647;BA.debugLine="idc.Close"; -_idc.Close(); - }else { - //BA.debugLineNum = 649;BA.debugLine="Private pc As Cursor = Starter.skmt.ExecQuery($\""; -_pc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pc = (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 HVD_CANT, HVD_COSTO_TOT from HIST_VENTAS where HVD_CLIENTE in (select cuenta from cuentaa) and HVD_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"' and HVD_CODPROMO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_quepromo))+"' AND CONSECUTIVO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_consecutivo))+"'")))); - //BA.debugLineNum = 650;BA.debugLine="If pc.RowCount > 0 Then"; -if (_pc.getRowCount()>0) { - //BA.debugLineNum = 651;BA.debugLine="pc.Position = 0"; -_pc.setPosition((int) (0)); - //BA.debugLineNum = 653;BA.debugLine="If pc.GetString(\"HVD_COSTO_TOT\")<> Null And pc."; -if (_pc.GetString("HVD_COSTO_TOT")!= null && _pc.GetString("HVD_CANT")!= null) { - //BA.debugLineNum = 654;BA.debugLine="pu = pc.GetString(\"HVD_COSTO_TOT\") / pc.GetStr"; -_pu = BA.NumberToString((double)(Double.parseDouble(_pc.GetString("HVD_COSTO_TOT")))/(double)(double)(Double.parseDouble(_pc.GetString("HVD_CANT")))); - }; - }; - //BA.debugLineNum = 658;BA.debugLine="pc.Close"; -_pc.Close(); - }; - //BA.debugLineNum = 661;BA.debugLine="Return pu"; -if (true) return _pu; - //BA.debugLineNum = 663;BA.debugLine="End Sub"; -return ""; -} -public static String _traeprecioc(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -String _pu = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _idc = null; - //BA.debugLineNum = 666;BA.debugLine="Sub traePrecioC(id As String) As String"; - //BA.debugLineNum = 667;BA.debugLine="Private pu As String = \"0\""; -_pu = "0"; - //BA.debugLineNum = 668;BA.debugLine="Private idc As Cursor = kmt.ExecQuery($\"select PR"; -_idc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_idc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery(("select PRECIOCONVER from CAT_GUNAPROD where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 669;BA.debugLine="If idc.RowCount > 0 Then"; -if (_idc.getRowCount()>0) { - //BA.debugLineNum = 670;BA.debugLine="idc.Position=0"; -_idc.setPosition((int) (0)); - //BA.debugLineNum = 671;BA.debugLine="If idc.RowCount > 0 And IsNumber(idc.GetString(\""; -if (_idc.getRowCount()>0 && anywheresoftware.b4a.keywords.Common.IsNumber(_idc.GetString("PRECIOCONVER"))) { -_pu = _idc.GetString("PRECIOCONVER");}; - }; - //BA.debugLineNum = 674;BA.debugLine="idc.Close"; -_idc.Close(); - //BA.debugLineNum = 675;BA.debugLine="Return pu"; -if (true) return _pu; - //BA.debugLineNum = 676;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _traerechazados(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; -int _cant = 0; -String _monto = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; - //BA.debugLineNum = 888;BA.debugLine="Sub traeRechazados As Map"; - //BA.debugLineNum = 889;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 890;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 891;BA.debugLine="Private monto As String = 0"; -_monto = BA.NumberToString(0); - //BA.debugLineNum = 892;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; -_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rc = (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(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '1' and REP_CANT <> '0'")))); - //BA.debugLineNum = 893;BA.debugLine="If rc.RowCount > 0 Then"; -if (_rc.getRowCount()>0) { - //BA.debugLineNum = 894;BA.debugLine="rc.Position = 0"; -_rc.setPosition((int) (0)); - //BA.debugLineNum = 895;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; -if (_rc.GetString("CUANTOS")!= null) { - //BA.debugLineNum = 896;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; -_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); - //BA.debugLineNum = 897;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; -_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); - }; - }; - //BA.debugLineNum = 901;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 902;BA.debugLine="End Sub"; -return null; -} -public static String _traerutaprev(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _a = ""; - //BA.debugLineNum = 1007;BA.debugLine="Sub traerUTAPREV As String 'ignore"; - //BA.debugLineNum = 1008;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1009;BA.debugLine="Private a As String"; -_a = ""; - //BA.debugLineNum = 1010;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_RUTA fr"; -_c = (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 CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 1011;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1012;BA.debugLine="a = C.GetString(\"CAT_CL_RUTA\")"; -_a = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 1013;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1014;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 1015;BA.debugLine="End Sub"; -return ""; -} -public static String _traerutareparto(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 943;BA.debugLine="Sub traeRutaReparto As String 'ignore"; - //BA.debugLineNum = 944;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 945;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 946;BA.debugLine="c=Starter.skmt.ExecQuery(\"select RUTAA from RUTAA"; -_c = (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 RUTAA from RUTAA"))); - //BA.debugLineNum = 947;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 948;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 949;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 950;BA.debugLine="r = c.GetString(\"RUTAA\")"; -_r = _c.GetString("RUTAA"); - }; - //BA.debugLineNum = 952;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 953;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 954;BA.debugLine="End Sub"; -return ""; -} -public static String _traeusuario(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _a = ""; - //BA.debugLineNum = 967;BA.debugLine="Sub traeUsuario As String 'ignore"; - //BA.debugLineNum = 968;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 969;BA.debugLine="Private a As String"; -_a = ""; - //BA.debugLineNum = 970;BA.debugLine="c = Starter.skmt.ExecQuery(\"select USUARIO from U"; -_c = (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 USUARIO from USUARIOA"))); - //BA.debugLineNum = 971;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 972;BA.debugLine="a = C.GetString(\"USUARIO\")"; -_a = _c.GetString("USUARIO"); - //BA.debugLineNum = 973;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 974;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 975;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _traevendidos(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; -int _cant = 0; -String _monto = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _rc = null; - //BA.debugLineNum = 905;BA.debugLine="Sub traeVendidos As Map"; - //BA.debugLineNum = 906;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 907;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 908;BA.debugLine="Private monto As String = 0"; -_monto = BA.NumberToString(0); - //BA.debugLineNum = 909;BA.debugLine="Private rc As Cursor = Starter.skmt.ExecQuery($\"s"; -_rc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_rc = (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(REP_CANT) as CUANTOS, sum(REP_CANT * REP_PRECIO) as CUANTO from REPARTO where REP_RECHAZO = '0' and REP_CANT <> '0'")))); - //BA.debugLineNum = 910;BA.debugLine="If rc.RowCount > 0 Then"; -if (_rc.getRowCount()>0) { - //BA.debugLineNum = 911;BA.debugLine="rc.Position = 0"; -_rc.setPosition((int) (0)); - //BA.debugLineNum = 912;BA.debugLine="If rc.GetString(\"CUANTOS\") <> Null Then"; -if (_rc.GetString("CUANTOS")!= null) { - //BA.debugLineNum = 913;BA.debugLine="cant = cant + rc.GetString(\"CUANTOS\")"; -_cant = (int) (_cant+(double)(Double.parseDouble(_rc.GetString("CUANTOS")))); - //BA.debugLineNum = 914;BA.debugLine="monto = monto + rc.GetString(\"CUANTO\")"; -_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_rc.GetString("CUANTO")))); - }; - }; - //BA.debugLineNum = 918;BA.debugLine="Return CreateMap(\"cantidad\": cant, \"monto\": monto"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("cantidad"),(Object)(_cant),(Object)("monto"),(Object)(_monto)}); - //BA.debugLineNum = 919;BA.debugLine="End Sub"; -return null; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/swiftbutton.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/swiftbutton.java deleted file mode 100644 index a90edff..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/swiftbutton.java +++ /dev/null @@ -1,321 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat.swiftbutton"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.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/reparto_mazapa/keymon/lat/tracker.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java deleted file mode 100644 index 0d7c99f..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/tracker.java +++ /dev/null @@ -1,754 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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, "reparto_mazapa.keymon.lat", "reparto_mazapa.keymon.lat.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, "reparto_mazapa.keymon.lat.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 String _locrequest = ""; -public static anywheresoftware.b4a.gps.LocationWrapper _uugcoords = null; -public static String _trackeractividad = ""; -public static String _pushserviceactividad = ""; -public b4a.example.dateutils _dateutils = null; -public reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.httputils2service _httputils2service = null; -public reparto_mazapa.keymon.lat.xuiviewsutils _xuiviewsutils = null; -public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest() throws Exception{ -uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 145;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; - //BA.debugLineNum = 146;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"CreateLocat"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("38978433","CreateLocationRequest",0);}; - //BA.debugLineNum = 147;BA.debugLine="Dim lr As LocationRequest"; -_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 148;BA.debugLine="lr.Initialize"; -_lr.Initialize(); - //BA.debugLineNum = 149;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; -_lr.SetInterval((long) (10000)); - //BA.debugLineNum = 150;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; -_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 151;BA.debugLine="lr.SetSmallestDisplacement(75) 'Solo registra cam"; -_lr.SetSmallestDisplacement((float) (75)); - //BA.debugLineNum = 152;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; -_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 153;BA.debugLine="actualLR=lr"; -_actuallr = _lr; - //BA.debugLineNum = 154;BA.debugLine="Return lr"; -if (true) return _lr; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return null; -} -public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest2times() throws Exception{ -uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 157;BA.debugLine="Private Sub CreateLocationRequest2times As Locatio"; - //BA.debugLineNum = 158;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Iniciamos C"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("39043969","Iniciamos CreateLocationRequest2times",0);}; - //BA.debugLineNum = 159;BA.debugLine="Dim lr As LocationRequest"; -_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 160;BA.debugLine="lr.Initialize"; -_lr.Initialize(); - //BA.debugLineNum = 161;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; -_lr.SetInterval((long) (2000)); - //BA.debugLineNum = 162;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; -_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 163;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; -_lr.SetNumUpdates((int) (2)); - //BA.debugLineNum = 164;BA.debugLine="lr.SetSmallestDisplacement(10) 'Solo registra cam"; -_lr.SetSmallestDisplacement((float) (10)); - //BA.debugLineNum = 165;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; -_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 166;BA.debugLine="actualLR=lr"; -_actuallr = _lr; - //BA.debugLineNum = 167;BA.debugLine="Return lr"; -if (true) return _lr; - //BA.debugLineNum = 168;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 = 54;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; - //BA.debugLineNum = 56;BA.debugLine="Dim lr As LocationRequest"; -_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 57;BA.debugLine="lr.Initialize"; -_lr.Initialize(); - //BA.debugLineNum = 58;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; -_lr.SetInterval((long) (2000)); - //BA.debugLineNum = 59;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; -_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 60;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; -_lr.SetNumUpdates((int) (2)); - //BA.debugLineNum = 61;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; -_lr.SetSmallestDisplacement((float) (1)); - //BA.debugLineNum = 62;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; -_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 63;BA.debugLine="actualLR=lr"; -_actuallr = _lr; - //BA.debugLineNum = 64;BA.debugLine="Return lr"; -if (true) return _lr; - //BA.debugLineNum = 65;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 = 232;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; - //BA.debugLineNum = 233;BA.debugLine="Dim notification As Notification"; -_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 234;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; -_notification.Initialize2(_notification.IMPORTANCE_LOW); - //BA.debugLineNum = 235;BA.debugLine="notification.Icon = \"icon\""; -_notification.setIcon("icon"); - //BA.debugLineNum = 236;BA.debugLine="notification.SetInfo(\"GUNA REPARTO\", Body, Main)"; -_notification.SetInfoNew(processBA,BA.ObjectToCharSequence("GUNA REPARTO"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); - //BA.debugLineNum = 237;BA.debugLine="Return notification"; -if (true) return _notification; - //BA.debugLineNum = 238;BA.debugLine="End Sub"; -return null; -} -public static String _dameultimaubicacionconocida() throws Exception{ -String _coords = ""; - //BA.debugLineNum = 170;BA.debugLine="Sub dameUltimaUbicacionConocida"; - //BA.debugLineNum = 171;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; -if (_flp.GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 173;BA.debugLine="If B4XPages.MainPage.Logger Then LogColor($\"Mand"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("39109507",("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 = 174;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 = 176;BA.debugLine="Subs.mandamosLoc(coords)"; -mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); - }; - //BA.debugLineNum = 178;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionfailed(int _connectionresult1) throws Exception{ - //BA.debugLineNum = 85;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; - //BA.debugLineNum = 86;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Failed to c"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("38585217","Failed to connect to location provider",0);}; - //BA.debugLineNum = 87;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionsuccess() throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Sub flp_ConnectionSuccess"; - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionsuspended(int _connectionresult1) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Sub flp_ConnectionSuspended(ConnectionResult1 As I"; - //BA.debugLineNum = 90;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"FLP conecti"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("38650753","FLP conection suspended",0);}; - //BA.debugLineNum = 91;BA.debugLine="StartFLP"; -_startflp(); - //BA.debugLineNum = 92;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ -String _sdate = ""; -String _stime = ""; -String _coords = ""; -String _origformat = ""; -int _minsdif = 0; - //BA.debugLineNum = 188;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 189;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; -mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); - //BA.debugLineNum = 190;BA.debugLine="UUGCoords = Location1"; -_uugcoords = _location1; - //BA.debugLineNum = 192;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; -anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); - //BA.debugLineNum = 195;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; -mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); - //BA.debugLineNum = 196;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; -mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); - //BA.debugLineNum = 198;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 199;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 200;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 201;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 202;BA.debugLine="Try"; -try { //BA.debugLineNum = 203;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM HIST_GPS\""; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 204;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_GPS"; -mostCurrent._starter._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 /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); - } - catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 206;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Error al b"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("39240594","Error al borrar o insertar nuevas coordendas en HIST_GPS",0);}; - }; - //BA.debugLineNum = 209;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 = 210;BA.debugLine="Log(\"Loc changed : \"&Location1.Latitude&\",\"&Locat"; -anywheresoftware.b4a.keywords.Common.LogImpl("39240598","Loc changed : "+BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude()),0); - //BA.debugLineNum = 211;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Mandamos Ub"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("39240599","Mandamos Ubicacion",0);}; - //BA.debugLineNum = 212;BA.debugLine="If B4XPages.MainPage.logger Then Log(locRequest)"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("39240600",_locrequest,0);}; - //BA.debugLineNum = 214;BA.debugLine="If Location1.Accuracy < 100 Then"; -if (_location1.getAccuracy()<100) { - //BA.debugLineNum = 215;BA.debugLine="Subs.guardaInfoEnBD(coords)'Escribimos coordenad"; -mostCurrent._subs._guardainfoenbd /*String*/ (processBA,_coords); - //BA.debugLineNum = 217;BA.debugLine="Subs.mandamosLoc(coords)"; -mostCurrent._subs._mandamosloc /*String*/ (processBA,_coords); - }; - //BA.debugLineNum = 219;BA.debugLine="Dim origFormat As String = DateTime.TimeFormat 'G"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getTimeFormat(); - //BA.debugLineNum = 220;BA.debugLine="DateTime.TimeFormat = \"HHmmss\" ' Modificamos form"; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 221;BA.debugLine="Dim minsDif As Int = DateTime.Time(DateTime.Now)"; -_minsdif = (int) ((double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow())))-(double)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._ultimaactualizaciongps /*String*/ ))); - //BA.debugLineNum = 223;BA.debugLine="If Location1.Accuracy < 100 And minsDif > 240 The"; -if (_location1.getAccuracy()<100 && _minsdif>240) { - //BA.debugLineNum = 224;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"actualizam"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("39240612","actualizamos Ubicacion Web",0);}; - //BA.debugLineNum = 225;BA.debugLine="CallSubDelayed(Starter, \"ENVIA_ULTIMA_GPS\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._starter.getObject()),"ENVIA_ULTIMA_GPS"); - }; - //BA.debugLineNum = 227;BA.debugLine="DateTime.TimeFormat = origFormat 'Regresamos form"; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat(_origformat); - //BA.debugLineNum = 229;BA.debugLine="Subs.monitor"; -mostCurrent._subs._monitor /*String*/ (processBA); - //BA.debugLineNum = 230;BA.debugLine="End Sub"; -return ""; -} -public static String _formatofecha(String _fecha) throws Exception{ -String _origformat = ""; -String _lastupdate = ""; - //BA.debugLineNum = 248;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; - //BA.debugLineNum = 250;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 251;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 252;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; -_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 253;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 255;BA.debugLine="Return lastUpdate"; -if (true) return _lastupdate; - //BA.debugLineNum = 256;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 29;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 30;BA.debugLine="Private nid As Int = 1"; -_nid = (int) (1); - //BA.debugLineNum = 31;BA.debugLine="Dim Tracking As Boolean"; -_tracking = false; - //BA.debugLineNum = 32;BA.debugLine="Private lock As PhoneWakeState"; -_lock = new anywheresoftware.b4a.phone.Phone.PhoneWakeState(); - //BA.debugLineNum = 34;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim actualLR As LocationRequest"; -_actuallr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 36;BA.debugLine="Private flpStarted As Boolean"; -_flpstarted = false; - //BA.debugLineNum = 37;BA.debugLine="Dim locRequest As String"; -_locrequest = ""; - //BA.debugLineNum = 38;BA.debugLine="Dim UUGCoords As Location 'Ultima Ubicacion Guard"; -_uugcoords = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim trackerActividad, pushServiceActividad As Str"; -_trackeractividad = ""; -_pushserviceactividad = ""; - //BA.debugLineNum = 40;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 69;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; -mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 70;BA.debugLine="UUGCoords.Initialize"; -_uugcoords.Initialize(); - //BA.debugLineNum = 71;BA.debugLine="UUGCoords.Latitude = 0"; -_uugcoords.setLatitude(0); - //BA.debugLineNum = 72;BA.debugLine="UUGCoords.Longitude = 0"; -_uugcoords.setLongitude(0); - //BA.debugLineNum = 74;BA.debugLine="FLP.Initialize(\"flp\")"; -_flp.Initialize(processBA,"flp"); - //BA.debugLineNum = 75;BA.debugLine="FLP.Connect"; -_flp.Connect(); - //BA.debugLineNum = 76;BA.debugLine="lock.PartialLock"; -_lock.PartialLock(processBA); - //BA.debugLineNum = 77;BA.debugLine="StartFLP"; -_startflp(); - //BA.debugLineNum = 78;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 240;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 241;BA.debugLine="If Tracking Then"; -if (_tracking) { - //BA.debugLineNum = 242;BA.debugLine="StopFLP"; -_stopflp(); - }; - //BA.debugLineNum = 244;BA.debugLine="Tracking = False"; -_tracking = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 245;BA.debugLine="lock.ReleasePartialLock"; -_lock.ReleasePartialLock(); - //BA.debugLineNum = 246;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 94;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 95;BA.debugLine="LogColor(\"Iniciando Tracker ...\", Colors.Green)"; -anywheresoftware.b4a.keywords.Common.LogImpl("38716289","Iniciando Tracker ...",anywheresoftware.b4a.keywords.Common.Colors.Green); - //BA.debugLineNum = 96;BA.debugLine="Service.StopAutomaticForeground"; -mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 98;BA.debugLine="StartServiceAt(Me, DateTime.Now + 10 * DateTime.T"; -anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+10*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 99;BA.debugLine="Track"; -_track(); - //BA.debugLineNum = 100;BA.debugLine="Starter.trackerActividad = Subs.fechaKMT(DateTime"; -mostCurrent._starter._trackeractividad /*String*/ = mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow())); - //BA.debugLineNum = 102;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(reparto_mazapa.keymon.lat.tracker parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 120;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 = 121;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 = 126;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; -parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest().getObject())); - //BA.debugLineNum = 129;BA.debugLine="flpStarted = True"; -parent._flpstarted = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 131;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static void _startflp2reqs() throws Exception{ -ResumableSub_StartFLP2Reqs rsub = new ResumableSub_StartFLP2Reqs(null); -rsub.resume(processBA, null); -} -public static class ResumableSub_StartFLP2Reqs extends BA.ResumableSub { -public ResumableSub_StartFLP2Reqs(reparto_mazapa.keymon.lat.tracker parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 134;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"StartFLP -"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -anywheresoftware.b4a.keywords.Common.LogImpl("38912897","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0); -if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 135;BA.debugLine="Do While FLP.IsConnected = False"; -if (true) break; - -case 7: -//do while -this.state = 16; -while (parent._flp.IsConnected()==anywheresoftware.b4a.keywords.Common.False) { -this.state = 9; -if (true) break; -} -if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 136;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); -this.state = 29; -return; -case 29: -//C -this.state = 10; -; - //BA.debugLineNum = 137;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"sleeping G"; -if (true) break; - -case 10: -//if -this.state = 15; -if (parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -anywheresoftware.b4a.keywords.Common.LogImpl("38912900","sleeping GR",0); -if (true) break; - -case 15: -//C -this.state = 7; -; - if (true) break; - -case 16: -//C -this.state = 17; -; - //BA.debugLineNum = 139;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; -_dameultimaubicacionconocida(); - //BA.debugLineNum = 140;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest2"; -parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest2times().getObject())); - //BA.debugLineNum = 141;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Buscamos ub"; -if (true) break; - -case 17: -//if -this.state = 22; -if (parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -this.state = 19; -;}if (true) break; - -case 19: -//C -this.state = 22; -anywheresoftware.b4a.keywords.Common.LogImpl("38912904","Buscamos ubicacion 2 peticiones",0); -if (true) break; - -case 22: -//C -this.state = 23; -; - //BA.debugLineNum = 142;BA.debugLine="If B4XPages.MainPage.logger Then Log(actualLR.Get"; -if (true) break; - -case 23: -//if -this.state = 28; -if (parent.mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -this.state = 25; -;}if (true) break; - -case 25: -//C -this.state = 28; -anywheresoftware.b4a.keywords.Common.LogImpl("38912905",BA.NumberToString(parent._actuallr.GetSmallestDisplacement()),0); -if (true) break; - -case 28: -//C -this.state = -1; -; - //BA.debugLineNum = 143;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(reparto_mazapa.keymon.lat.tracker parent) { -this.parent = parent; -} -reparto_mazapa.keymon.lat.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 = 44;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 = 45;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 = 46;BA.debugLine="Log(\"sleeping\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("38323076","sleeping",0); - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 48;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; -_dameultimaubicacionconocida(); - //BA.debugLineNum = 49;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; -parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequestsmalld().getObject())); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static String _stopflp() throws Exception{ - //BA.debugLineNum = 180;BA.debugLine="Public Sub StopFLP"; - //BA.debugLineNum = 182;BA.debugLine="If flpStarted Then"; -if (_flpstarted) { - //BA.debugLineNum = 183;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; -_flp.RemoveLocationUpdates(); - //BA.debugLineNum = 184;BA.debugLine="flpStarted = False"; -_flpstarted = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 186;BA.debugLine="End Sub"; -return ""; -} -public static String _track() throws Exception{ - //BA.debugLineNum = 104;BA.debugLine="Public Sub Track"; - //BA.debugLineNum = 105;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"Inicia Trac"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("38781825","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);}; - //BA.debugLineNum = 106;BA.debugLine="If Tracking Then"; -if (_tracking) { - //BA.debugLineNum = 108;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; -if (true) return ""; - }; - //BA.debugLineNum = 110;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 = 111;BA.debugLine="If B4XPages.MainPage.logger Then Log(\"No permiss"; -if (mostCurrent._b4xpages._mainpage /*reparto_mazapa.keymon.lat.b4xmainpage*/ (processBA)._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("38781831","No permission",0);}; - //BA.debugLineNum = 112;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 114;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; -_startflp(); - //BA.debugLineNum = 115;BA.debugLine="Tracking = True"; -_tracking = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/reparto_mazapa/keymon/lat/xuiviewsutils.java b/B4A/Objects/src/reparto_mazapa/keymon/lat/xuiviewsutils.java deleted file mode 100644 index 6e2993e..0000000 --- a/B4A/Objects/src/reparto_mazapa/keymon/lat/xuiviewsutils.java +++ /dev/null @@ -1,160 +0,0 @@ -package reparto_mazapa.keymon.lat; - - -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 reparto_mazapa.keymon.lat.main _main = null; -public reparto_mazapa.keymon.lat.starter _starter = null; -public reparto_mazapa.keymon.lat.tracker _tracker = null; -public reparto_mazapa.keymon.lat.subs _subs = null; -public reparto_mazapa.keymon.lat.appupdater _appupdater = null; -public reparto_mazapa.keymon.lat.firebasemessaging _firebasemessaging = null; -public reparto_mazapa.keymon.lat.foto _foto = null; -public reparto_mazapa.keymon.lat.mapa_cliente _mapa_cliente = null; -public reparto_mazapa.keymon.lat.mapa_rutas _mapa_rutas = null; -public reparto_mazapa.keymon.lat.newinst2 _newinst2 = null; -public reparto_mazapa.keymon.lat.b4xpages _b4xpages = null; -public reparto_mazapa.keymon.lat.b4xcollections _b4xcollections = null; -public reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ -reparto_mazapa.keymon.lat.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 reparto_mazapa.keymon.lat.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 ""; -} -}