diff --git a/AcercaDe.bas b/AcercaDe.bas
index 0bc89bd..6066b2c 100644
--- a/AcercaDe.bas
+++ b/AcercaDe.bas
@@ -28,6 +28,8 @@ Sub Globals
Private TextoAutor As WebView
Private ParaTeo As Label
Private Versión As Label
+ Private ReinciarConfiguracion As Button
+ Private VerVideo As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
@@ -37,7 +39,6 @@ Sub Activity_Create(FirstTime As Boolean)
TextoAutor.LoadHtml("
"& _
"Aplicación: Javier Prieto Martínez (www.ganso.org)
"& _
"Licencia: CC (BY-NC-SA)
"& _
- "Pulsar icono para web
"& _
"")
TextoArasaac.LoadHtml(""& _
@@ -45,7 +46,6 @@ Sub Activity_Create(FirstTime As Boolean)
"Procedencia: ARASAAC (www.arasaac.org)
"& _
"Licencia: CC (BY-NC-SA)
"& _
"Propiedad: Gobierno de Aragón
"& _
- "Pulsar icono para web
"& _
"")
ParaTeo.Typeface=Typeface.LoadFromAssets("GreatVibes-Regular.ttf")
@@ -64,7 +64,6 @@ End Sub
Sub Volver_Click
- 'Activity.LoadLayout("Portada")
Activity.Finish
End Sub
@@ -81,4 +80,25 @@ End Sub
Sub Logotipo_Click
Dim p As PhoneIntents
StartActivity(p.OpenBrowser("http://blog.ganso.org/proyectos/pictorario"))
+End Sub
+
+Sub VerVideo_Click
+ Dim p As PhoneIntents
+ StartActivity(p.OpenBrowser("https://www.youtube.com/watch?v=tgmtNNFmMcs"))
+End Sub
+
+Sub ReinciarConfiguracion_Click
+ If Msgbox2("Se borrarán todas las secuencias creadas y se dejará solo la de ejemplo."&CRLF&CRLF& _
+ "¿Está seguro de que desea hacer esto?","Borrar todas las secuencias","Sí","","No",Null)==DialogResponse.POSITIVE Then
+ CallSub(Starter,"Inicializar_Con_Ejemplo")
+ CallSub(Starter,"BorrarPictogramas")
+ CallSub(Starter,"Guardar_Configuracion")
+ Activity.Finish
+ End If
+End Sub
+
+Sub Activity_KeyPress (KeyCode As Int)
+ If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsar atrás...
+ Sleep(0) 'No hace nada
+ End If
End Sub
\ No newline at end of file
diff --git a/ConfigurarSecuencia.bas b/ConfigurarSecuencia.bas
index 3a6758a..4f66dd6 100644
--- a/ConfigurarSecuencia.bas
+++ b/ConfigurarSecuencia.bas
@@ -10,15 +10,9 @@ Version=8
#End Region
Sub Process_Globals
- 'These global variables will be declared once when the application starts.
- 'These variables can be accessed from all modules.
-
End Sub
Sub Globals
- 'These global variables will be redeclared each time the activity is created.
- 'These variables can only be accessed from this module.
-
Dim SeparacionHorizontal=25%X As Int 'Separación horizontal entre casillas
Dim TamCasilla=60dip As Int 'Tamaño vertical de las casillas de configuración
Dim SeparacionCasillas=5dip As Int 'Separación vertical entre casillas
@@ -53,8 +47,8 @@ Sub Globals
''' LISTA DE PICTOGRAMAS
- Dim ListaPictogramas As ListView
- Dim ListaPictogramasVisible As Boolean
+' Dim ListaPictogramas As ListView
+' Dim ListaPictogramasVisible As Boolean
Dim PictogramaEditado As Int
'-1 si editando el de la secuencia
@@ -75,7 +69,7 @@ Sub Activity_Create(FirstTime As Boolean)
If (Starter.SecuenciaActiva==Starter.MaxSecuencias) Then 'Si es nueva, inicializamos
Starter.Secuencia(Starter.MaxSecuencias).num_actividades=0
Starter.Secuencia(Starter.MaxSecuencias).descripcion=DescripcionSecuenciaPorDefecto
- Starter.Secuencia(Starter.MaxSecuencias).pictograma="reloj_6"
+ Starter.Secuencia(Starter.MaxSecuencias).pictograma=7229
Starter.Secuencia(Starter.MaxSecuencias).tablero.tipo=3
Starter.Secuencia(Starter.MaxSecuencias).tablero.tam_icono=20
Starter.Secuencia(Starter.MaxSecuencias).tablero.indicar_hora=1
@@ -84,7 +78,7 @@ Sub Activity_Create(FirstTime As Boolean)
End If
DibujarConfigurarSecuencia
- Inicializar_Lista_Pictogramas
+ 'Inicializar_Lista_Pictogramas
End Sub
@@ -115,7 +109,7 @@ Sub DibujarConfigurarSecuencia
ParametrosSecuencia.Panel.AddView(EtiquetaInicial,0,0,100%X,80dip)
ConfigPictograma.Initialize("ConfigPictograma")
- ConfigPictograma.SetBackgroundImage(LoadBitmap(File.DirAssets,Starter.Secuencia(Starter.MaxSecuencias).pictograma&".png"))
+ ConfigPictograma.SetBackgroundImage(LoadBitmap(Starter.DirPictogramas,Starter.Secuencia(Starter.MaxSecuencias).pictograma&".png"))
ParametrosSecuencia.Panel.AddView(ConfigPictograma,100%X-TamCasilla-SeparacionCasillas,EtiquetaInicial.Top+EtiquetaInicial.Height+SeparacionCasillas,TamCasilla,TamCasilla)
ConfigDescripcion.Initialize("ConfigDescripcion")
@@ -192,7 +186,7 @@ Sub DibujarConfigurarSecuencia
ConfigPictogramaAct(Act).Initialize("ConfigPictogramaAct")
ConfigPictogramaAct(Act).Tag=Act
- ConfigPictogramaAct(Act).SetBackgroundImage(LoadBitmap(File.DirAssets,Starter.ActividadSecuencia(Starter.MaxSecuencias,Act).Pictograma&".png"))
+ ConfigPictogramaAct(Act).SetBackgroundImage(LoadBitmap(Starter.DirPictogramas,Starter.ActividadSecuencia(Starter.MaxSecuencias,Act).Pictograma&".png"))
ParametrosSecuencia.Panel.AddView(ConfigPictogramaAct(Act),100%X-TamCasilla-SeparacionCasillas,InicioVertical,TamCasilla,TamCasilla)
ConfigDescripcionAct(Act).Initialize("ConfigDescripcionAct")
@@ -309,6 +303,7 @@ End Sub
Sub SalidaConfigurarSecuencia
If Msgbox2("Se perderán todos los cambios realizados."&CRLF&CRLF&"¿Está seguro de que desea salir sin guardarlos?","Cancelar cambios","Sí","","No",Null)==DialogResponse.POSITIVE Then
+ StartActivity(Main)
Activity.Finish
End If
End Sub
@@ -321,6 +316,7 @@ Sub BotonAceptar_Click
CallSub3(Starter,"CopiarSecuencias",Starter.MaxSecuencias,Starter.SecuenciaActiva) 'Si no, volvemos a copiar
End If
CallSub(Starter,"Guardar_Configuracion")
+ StartActivity(Main)
Activity.Finish
End Sub
@@ -337,8 +333,7 @@ Sub ConfigPictograma_Click
im.Initialize("")
im.HideKeyboard
PictogramaEditado=-1
- Activity.AddView(ListaPictogramas, 5dip, 5dip, 100%X-10dip, 100%Y-10dip)
- ListaPictogramasVisible=True
+ StartActivity(SeleccionPictogramas)
End Sub
Sub ConfigPictogramaAct_Click
@@ -348,8 +343,7 @@ Sub ConfigPictogramaAct_Click
im.HideKeyboard
BotonPulsado=Sender
PictogramaEditado=BotonPulsado.Tag
- Activity.AddView(ListaPictogramas, 5dip, 5dip, 100%X-10dip, 100%Y-10dip)
- ListaPictogramasVisible=True
+ StartActivity(SeleccionPictogramas)
End Sub
Sub ConfigOpcionesAct_Click
@@ -481,70 +475,66 @@ Sub ConfigHoraFinalAct_Click
End If
End Sub
-Sub ListaPictogramas_ItemClick (Position As Int, Value As Object)
- ListaPictogramas.RemoveView
- ListaPictogramasVisible=False
- If PictogramaEditado==-1 Then
- Starter.Secuencia(Starter.MaxSecuencias).pictograma=Value
- Else
- Starter.ActividadSecuencia(Starter.MaxSecuencias,PictogramaEditado).Pictograma=Value
- End If
- DibujarConfigurarSecuencia
-End Sub
-
-Sub Inicializar_Lista_Pictogramas
- Dim fileList As List
- Dim file1 As String
- Dim file2 As String
- Dim n As Int
-
- If ListaPictogramas.IsInitialized=False Then
-
- ProgressDialogShow("Inicializando lista de pictogramas")
-
- ListaPictogramas.Initialize("ListaPictogramas")
- ListaPictogramas.Color=Colors.LightGray
- ListaPictogramas.TwoLinesAndBitmap.Label.TextColor=Colors.Black
- ListaPictogramas.TwoLinesAndBitmap.SecondLabel.Visible=False
- ListaPictogramas.TwoLinesAndBitmap.ImageView.Width=50dip
- ListaPictogramas.TwoLinesAndBitmap.ImageView.Height=50dip
- ListaPictogramas.Padding=Array As Int(5dip,5dip,5dip,5dip)
- ListaPictogramas.FastScrollEnabled = True
-
- fileList = File.ListFiles(File.DirAssets)
- fileList.Sort(True)
-
- For n = 0 To fileList.Size-1
- Sleep(0)
- file1 = fileList.Get(n)
- If file1.Contains(".png") Then
- file2=file1.Replace(".png","")
- Dim Bitmap1 As Bitmap
- Bitmap1.InitializeSample(File.DirAssets, file1, 50dip, 50dip)
- ListaPictogramas.AddTwoLinesAndBitmap(file2,"",Bitmap1)
- End If
- Next
- ListaPictogramasVisible=False
-
- ProgressDialogHide
-
- End If
-
-
-End Sub
+'Sub Inicializar_Lista_Pictogramas
+' Dim fileList As List
+' Dim file1 As String
+' Dim file2 As String
+' Dim n As Int
+'
+' If ListaPictogramas.IsInitialized=False Then
+'
+' ProgressDialogShow("Inicializando lista de pictogramas")
+'
+' ListaPictogramas.Initialize("ListaPictogramas")
+' ListaPictogramas.Color=Colors.LightGray
+' ListaPictogramas.TwoLinesAndBitmap.Label.TextColor=Colors.Black
+' ListaPictogramas.TwoLinesAndBitmap.SecondLabel.Visible=False
+' ListaPictogramas.TwoLinesAndBitmap.ImageView.Width=50dip
+' ListaPictogramas.TwoLinesAndBitmap.ImageView.Height=50dip
+' ListaPictogramas.Padding=Array As Int(5dip,5dip,5dip,5dip)
+' ListaPictogramas.FastScrollEnabled = True
+'
+' fileList = File.ListFiles(File.DirAssets)
+' fileList.Sort(True)
+'
+' For n = 0 To fileList.Size-1
+' Sleep(0)
+' file1 = fileList.Get(n)
+' If file1.Contains(".png") Then
+' file2=file1.Replace(".png","")
+' Dim Bitmap1 As Bitmap
+' Bitmap1.InitializeSample(File.DirAssets, file1, 50dip, 50dip)
+' ListaPictogramas.AddTwoLinesAndBitmap(file2,"",Bitmap1)
+' End If
+' Next
+' ListaPictogramasVisible=False
+'
+' ProgressDialogHide
+'
+' End If
+'
+'
+'End Sub
Sub ConfigDescripcionAct_FocusChanged (TieneFoco As Boolean)
Dim BotonPulsado As EditText
Dim Act As Int
+ BotonPulsado=Sender
+ Act=BotonPulsado.Tag
+
If TieneFoco==True Then
- BotonPulsado=Sender
- Act=BotonPulsado.Tag
If ConfigDescripcionAct(Act).Text==DescripcionActividadPorDefecto Then
ConfigDescripcionAct(Act).Text=""
Starter.ActividadSecuencia(Starter.MaxSecuencias,Act).Descripcion=""
Activity.Invalidate
End If
+ Else
+ If ConfigDescripcionAct(Act).Text=="" Then
+ ConfigDescripcionAct(Act).Text=DescripcionActividadPorDefecto
+ Starter.ActividadSecuencia(Starter.MaxSecuencias,Act).Descripcion=DescripcionActividadPorDefecto
+ Activity.Invalidate
+ End If
End If
End Sub
@@ -570,6 +560,11 @@ Sub ConfigDescripcion_FocusChanged (TieneFoco As Boolean)
Starter.Secuencia(Starter.MaxSecuencias).descripcion=""
Activity.Invalidate
End If
+ If TieneFoco==False And ConfigDescripcion.Text=="" Then
+ ConfigDescripcion.Text=DescripcionSecuenciaPorDefecto
+ Starter.Secuencia(Starter.MaxSecuencias).descripcion=DescripcionSecuenciaPorDefecto
+ Activity.Invalidate
+ End If
End Sub
Sub BotonAnadirActividad_Click
@@ -595,19 +590,24 @@ Sub BotonAnadirActividad_Click
Starter.ActividadSecuencia(Starter.MaxSecuencias,Starter.Secuencia(Starter.MaxSecuencias).num_actividades).minuto_fin=59
End If
- Starter.ActividadSecuencia(Starter.MaxSecuencias,Starter.Secuencia(Starter.MaxSecuencias).num_actividades).Pictograma="jugar"
+ Starter.ActividadSecuencia(Starter.MaxSecuencias,Starter.Secuencia(Starter.MaxSecuencias).num_actividades).Pictograma=9813
Starter.Secuencia(Starter.MaxSecuencias).num_actividades=Starter.Secuencia(Starter.MaxSecuencias).num_actividades+1
DibujarConfigurarSecuencia
End Sub
-Sub Activity_KeyPress (KeyCode As Int) As Boolean
- If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsar atrás...
- If ListaPictogramasVisible==True Then 'Si está abierta la lista de pictogramas, la cierra
- ListaPictogramas.RemoveView
- ListaPictogramasVisible=False
- Else 'Si esá cerrada, llama a la rutina de salida
- SalidaConfigurarSecuencia
+Sub PictogramaElegido(Id As Int)
+ If Id<>-1 Then 'Si no se ha pulsado en "Cancelar"
+ If PictogramaEditado==-1 Then 'Pictograma de la secuencia
+ Starter.Secuencia(Starter.MaxSecuencias).pictograma=Id
+ Else 'Pictograma de una actividad
+ Starter.ActividadSecuencia(Starter.MaxSecuencias,PictogramaEditado).Pictograma=Id
End If
+ DibujarConfigurarSecuencia
+ End If
+End Sub
+
+Sub Activity_KeyPress (KeyCode As Int)
+ If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsar atrás...
+ Sleep(0) 'No hace nada
End If
- Return True
End Sub
\ No newline at end of file
diff --git a/Files/2271.png b/Files/2271.png
new file mode 100644
index 0000000..9adbb4e
Binary files /dev/null and b/Files/2271.png differ
diff --git a/Files/2369.png b/Files/2369.png
new file mode 100644
index 0000000..1364869
Binary files /dev/null and b/Files/2369.png differ
diff --git a/Files/26799.png b/Files/26799.png
new file mode 100644
index 0000000..5e492a3
Binary files /dev/null and b/Files/26799.png differ
diff --git a/Files/2781.png b/Files/2781.png
new file mode 100644
index 0000000..1e1ecec
Binary files /dev/null and b/Files/2781.png differ
diff --git a/Files/28206.png b/Files/28206.png
new file mode 100644
index 0000000..0762c82
Binary files /dev/null and b/Files/28206.png differ
diff --git a/Files/28667.png b/Files/28667.png
new file mode 100644
index 0000000..0dca00f
Binary files /dev/null and b/Files/28667.png differ
diff --git a/Files/28675.png b/Files/28675.png
new file mode 100644
index 0000000..f89a883
Binary files /dev/null and b/Files/28675.png differ
diff --git a/Files/3082.png b/Files/3082.png
new file mode 100644
index 0000000..92a6b92
Binary files /dev/null and b/Files/3082.png differ
diff --git a/Files/31857.png b/Files/31857.png
new file mode 100644
index 0000000..9390c1e
Binary files /dev/null and b/Files/31857.png differ
diff --git a/Files/32556.png b/Files/32556.png
new file mode 100644
index 0000000..96db329
Binary files /dev/null and b/Files/32556.png differ
diff --git a/Files/7229.png b/Files/7229.png
new file mode 100644
index 0000000..f9d6701
Binary files /dev/null and b/Files/7229.png differ
diff --git a/Files/9813.png b/Files/9813.png
new file mode 100644
index 0000000..e4b55d9
Binary files /dev/null and b/Files/9813.png differ
diff --git a/Files/acercade.bal b/Files/acercade.bal
index d33a2de..2253658 100644
Binary files a/Files/acercade.bal and b/Files/acercade.bal differ
diff --git a/Files/buscar.png b/Files/buscar.png
new file mode 100644
index 0000000..4d97821
Binary files /dev/null and b/Files/buscar.png differ
diff --git a/Files/dia.png b/Files/dia.png
new file mode 100644
index 0000000..867a4de
Binary files /dev/null and b/Files/dia.png differ
diff --git a/Files/fila.png b/Files/fila.png
new file mode 100644
index 0000000..a656957
Binary files /dev/null and b/Files/fila.png differ
diff --git a/Files/manana.png b/Files/manana.png
new file mode 100644
index 0000000..f3846d0
Binary files /dev/null and b/Files/manana.png differ
diff --git a/Files/portada.bal b/Files/portada.bal
index d00e634..f860d70 100644
Binary files a/Files/portada.bal and b/Files/portada.bal differ
diff --git a/Files/seleccionarpictograma.bal b/Files/seleccionarpictograma.bal
new file mode 100644
index 0000000..5e18fd4
Binary files /dev/null and b/Files/seleccionarpictograma.bal differ
diff --git a/Files/tarde.png b/Files/tarde.png
new file mode 100644
index 0000000..05bc54b
Binary files /dev/null and b/Files/tarde.png differ
diff --git a/Files/visualizarsecuencia.bal b/Files/visualizarsecuencia.bal
index 6f7954b..4640812 100644
Binary files a/Files/visualizarsecuencia.bal and b/Files/visualizarsecuencia.bal differ
diff --git a/Objects/AndroidManifest.xml b/Objects/AndroidManifest.xml
index a7e84a3..8f33c3e 100644
--- a/Objects/AndroidManifest.xml
+++ b/Objects/AndroidManifest.xml
@@ -2,8 +2,8 @@
@@ -12,6 +12,8 @@
android:smallScreens="true"
android:anyDensity="true"/>
+
+
+
+
+
+
+
+
-
-
-
-
@@ -53,5 +62,9 @@
android:label="Pictorario"
android:screenOrientation="portrait">
+
+
+
+
\ No newline at end of file
diff --git a/Objects/ObfuscatorMap.txt b/Objects/ObfuscatorMap.txt
index 273b8f0..8b5b78d 100644
--- a/Objects/ObfuscatorMap.txt
+++ b/Objects/ObfuscatorMap.txt
@@ -12,66 +12,81 @@ vv6=secuenciaactiva
vv7=secuencia
vv0=actividadsecuencia
vvv1=versioninstalada
-vvv2=temporizador
-vvv3=dibujarportada
-vvv4=starter
-vvv5=acercade
-vvv6=configurarsecuencia
-vvv7=visualizacion
-vvv0=pictogramasecuencia
-vvvv1=etiquetasecuencia
-vvvv2=editarsecuencia
-vvvv3=botoncrear
-vvvv4=botonacercade
-vvvv5=botonsalir
-vvvv6=descripcionsecuenciapordefecto
-vvvv7=dibujarconfigurarsecuencia
-vvvv0=listapictogramasvisible
-vvvvv1=listapictogramas
-vvvvv2=salidaconfigurarsecuencia
-vvvvv3=descripcionactividadpordefecto
-vvvvv4=configdescripcion
-vvvvv5=configdescripcionact
-vvvvv6=inicializando
-vvvvv7=quitarsolapes
-vvvvv0=ordenaractividades
-vvvvvv1=pictogramaeditado
-vvvvvv2=etiquetainicial
-vvvvvv3=configpictograma
-vvvvvv4=tamcasilla
-vvvvvv5=separacioncasillas
-vvvvvv6=etiqtipotablero
-vvvvvv7=separacionhorizontal
-vvvvvv0=configtipotablero
-vvvvvvv1=colordefondo
-vvvvvvv2=etiqindicarhora
-vvvvvvv3=configindicarhora
-vvvvvvv4=etiqtamicono
-vvvvvvv5=configtamicono
-vvvvvvv6=etiqactividades
-vvvvvvv7=confighorainicioact
-vvvvvvv0=configpictogramaact
-vvvvvvvv1=confighorafinalact
-vvvvvvvv2=configopcionesact
-vvvvvvvv3=botonanadiractividad
-vvvvvvvv4=botonaceptar
-vvvvvvvv5=botoncancelar
-vvvvvvvv6=main
-vvvvvvvv7=activarboton
-vvvvvvvv0=hora24a12
-vvvvvvvvv1=minutolegible
-vvvvvvvvv2=boton
-vvvvvvvvv3=dibujartablero
-vvvvvvvvv4=dibujaractividad
-vvvvvvvvv5=centrox
-vvvvvvvvv6=centroy
-vvvvvvvvv7=anguloinicio
-vvvvvvvvv0=normalizarangulo
-vvvvvvvvvv1=angulofin
-vvvvvvvvvv2=pantalla
-vvvvvvvvvv3=radio
-vvvvvvvvvv4=dibujarboton
-vvvvvvvvvv5=pantallaagujas
-vvvvvvvvvv6=minhora
-vvvvvvvvvv7=maxhora
-vvvvvvvvvv0=dibujasagujas
+vvv2=detectadaversionantigua
+vvv3=idpictogramapordefecto
+vvv4=dirpictogramas
+vvv5=temporizador
+vvv6=dibujarportada
+vvv7=starter
+vvv0=acercade
+vvvv1=configurarsecuencia
+vvvv2=visualizacion
+vvvv3=pictogramasecuencia
+vvvv4=etiquetasecuencia
+vvvv5=editarsecuencia
+vvvv6=botoncrear
+vvvv7=botonacercade
+vvvv0=botonsalir
+vvvvv1=httputils2service
+vvvvv2=seleccionpictogramas
+vvvvv3=copiarpictogramasiniciales
+vvvvv4=main
+vvvvv5=activarboton
+vvvvv6=hora24a12
+vvvvv7=minutolegible
+vvvvv0=boton
+vvvvvv1=dibujartablero
+vvvvvv2=dibujaractividad
+vvvvvv3=centrox
+vvvvvv4=centroy
+vvvvvv5=anguloinicio
+vvvvvv6=normalizarangulo
+vvvvvv7=angulofin
+vvvvvv0=pantalla
+vvvvvvv1=radio
+vvvvvvv2=dibujarboton
+vvvvvvv3=horaactual
+vvvvvvv4=minutoactual
+vvvvvvv5=pantallaagujas
+vvvvvvv6=minhora
+vvvvvvv7=maxhora
+vvvvvvv0=dibujasagujas
+vvvvvvvv1=descripcionsecuenciapordefecto
+vvvvvvvv2=dibujarconfigurarsecuencia
+vvvvvvvv3=descripcionactividadpordefecto
+vvvvvvvv4=salidaconfigurarsecuencia
+vvvvvvvv5=configdescripcion
+vvvvvvvv6=configdescripcionact
+vvvvvvvv7=inicializando
+vvvvvvvv0=quitarsolapes
+vvvvvvvvv1=ordenaractividades
+vvvvvvvvv2=pictogramaeditado
+vvvvvvvvv3=etiquetainicial
+vvvvvvvvv4=configpictograma
+vvvvvvvvv5=tamcasilla
+vvvvvvvvv6=separacioncasillas
+vvvvvvvvv7=etiqtipotablero
+vvvvvvvvv0=separacionhorizontal
+vvvvvvvvvv1=configtipotablero
+vvvvvvvvvv2=colordefondo
+vvvvvvvvvv3=etiqindicarhora
+vvvvvvvvvv4=configindicarhora
+vvvvvvvvvv5=etiqtamicono
+vvvvvvvvvv6=configtamicono
+vvvvvvvvvv7=etiqactividades
+vvvvvvvvvv0=confighorainicioact
+vvvvvvvvvvv1=configpictogramaact
+vvvvvvvvvvv2=confighorafinalact
+vvvvvvvvvvv3=configopcionesact
+vvvvvvvvvvv4=botonanadiractividad
+vvvvvvvvvvv5=botonaceptar
+vvvvvvvvvvv6=textobuscarpordefecto
+vvvvvvvvvvv7=tamicono
+vvvvvvvvvvv0=dibujaiconos
+vvvvvvvvvvvv1=buscartexto
+vvvvvvvvvvvv2=encontrarurlporid
+vvvvvvvvvvvv3=descargarpictograma
+vvvvvvvvvvvv4=numcolumnas
+vvvvvvvvvvvv5=numlineas
+vvvvvvvvvvvv6=botonicono
+vvvvvvvvvvvv7=rellenariconos
diff --git a/Objects/bin/classes/javi/prieto/pictorario/acercade$ResumableSub_Activity_KeyPress.class b/Objects/bin/classes/javi/prieto/pictorario/acercade$ResumableSub_Activity_KeyPress.class
new file mode 100644
index 0000000..3d51ca6
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/acercade$ResumableSub_Activity_KeyPress.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/acercade$ResumeMessage.class b/Objects/bin/classes/javi/prieto/pictorario/acercade$ResumeMessage.class
index af02018..248f9e5 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/acercade$ResumeMessage.class and b/Objects/bin/classes/javi/prieto/pictorario/acercade$ResumeMessage.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/acercade.class b/Objects/bin/classes/javi/prieto/pictorario/acercade.class
index 3ed03f8..98a8e32 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/acercade.class and b/Objects/bin/classes/javi/prieto/pictorario/acercade.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumableSub_Activity_KeyPress.class b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumableSub_Activity_KeyPress.class
new file mode 100644
index 0000000..bbb7f20
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumableSub_Activity_KeyPress.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumableSub_DibujarConfigurarSecuencia.class b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumableSub_DibujarConfigurarSecuencia.class
index 8ab3bf9..b00b641 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumableSub_DibujarConfigurarSecuencia.class and b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumableSub_DibujarConfigurarSecuencia.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumeMessage.class b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumeMessage.class
index db4d98d..bf60573 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumeMessage.class and b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia$ResumeMessage.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia.class b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia.class
index 08ca6ff..63b2fcd 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia.class and b/Objects/bin/classes/javi/prieto/pictorario/configurarsecuencia.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_acercade.class b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_acercade.class
index b7684a1..c4736c5 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_acercade.class and b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_acercade.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_portada.class b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_portada.class
index 2b65097..67ca81a 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_portada.class and b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_portada.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_seleccionarpictograma.class b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_seleccionarpictograma.class
new file mode 100644
index 0000000..2728bb7
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_seleccionarpictograma.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.class b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.class
index 141331c..32afb22 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.class and b/Objects/bin/classes/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/main$ResumableSub_Activity_KeyPress.class b/Objects/bin/classes/javi/prieto/pictorario/main$ResumableSub_Activity_KeyPress.class
new file mode 100644
index 0000000..d7423b5
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/main$ResumableSub_Activity_KeyPress.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/main$ResumeMessage.class b/Objects/bin/classes/javi/prieto/pictorario/main$ResumeMessage.class
index 6d5eadd..5c29349 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/main$ResumeMessage.class and b/Objects/bin/classes/javi/prieto/pictorario/main$ResumeMessage.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/main.class b/Objects/bin/classes/javi/prieto/pictorario/main.class
index aab29db..247182d 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/main.class and b/Objects/bin/classes/javi/prieto/pictorario/main.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$1.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$1.class
new file mode 100644
index 0000000..cf4a589
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$1.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$B4AMenuItemsClickListener.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$B4AMenuItemsClickListener.class
new file mode 100644
index 0000000..6dff808
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$B4AMenuItemsClickListener.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$HandleKeyDelayed.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$HandleKeyDelayed.class
new file mode 100644
index 0000000..121fe5e
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$HandleKeyDelayed.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_Activity_KeyPress.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_Activity_KeyPress.class
new file mode 100644
index 0000000..55190cf
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_Activity_KeyPress.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_BuscarTexto.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_BuscarTexto.class
new file mode 100644
index 0000000..3179c78
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_BuscarTexto.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_DescargarPictograma.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_DescargarPictograma.class
new file mode 100644
index 0000000..610a77b
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_DescargarPictograma.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_EncontrarURLporId.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_EncontrarURLporId.class
new file mode 100644
index 0000000..92fe32c
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumableSub_EncontrarURLporId.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumeMessage.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumeMessage.class
new file mode 100644
index 0000000..1e7176b
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$ResumeMessage.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$WaitForLayout.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$WaitForLayout.class
new file mode 100644
index 0000000..f049f42
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas$WaitForLayout.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas.class b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas.class
new file mode 100644
index 0000000..439e8c3
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/seleccionpictogramas.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/starter$_actividad.class b/Objects/bin/classes/javi/prieto/pictorario/starter$_actividad.class
index 4013266..5ad7ff1 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/starter$_actividad.class and b/Objects/bin/classes/javi/prieto/pictorario/starter$_actividad.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/starter$_secuencia.class b/Objects/bin/classes/javi/prieto/pictorario/starter$_secuencia.class
index d0a733c..3edd9d6 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/starter$_secuencia.class and b/Objects/bin/classes/javi/prieto/pictorario/starter$_secuencia.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/starter$_tablero.class b/Objects/bin/classes/javi/prieto/pictorario/starter$_tablero.class
index 8b0576a..06833e9 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/starter$_tablero.class and b/Objects/bin/classes/javi/prieto/pictorario/starter$_tablero.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/starter.class b/Objects/bin/classes/javi/prieto/pictorario/starter.class
index fe61717..eb6a3c2 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/starter.class and b/Objects/bin/classes/javi/prieto/pictorario/starter.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/visualizacion$ResumableSub_Activity_KeyPress.class b/Objects/bin/classes/javi/prieto/pictorario/visualizacion$ResumableSub_Activity_KeyPress.class
new file mode 100644
index 0000000..e6bc53a
Binary files /dev/null and b/Objects/bin/classes/javi/prieto/pictorario/visualizacion$ResumableSub_Activity_KeyPress.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/visualizacion$ResumeMessage.class b/Objects/bin/classes/javi/prieto/pictorario/visualizacion$ResumeMessage.class
index 90e0570..81b919c 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/visualizacion$ResumeMessage.class and b/Objects/bin/classes/javi/prieto/pictorario/visualizacion$ResumeMessage.class differ
diff --git a/Objects/bin/classes/javi/prieto/pictorario/visualizacion.class b/Objects/bin/classes/javi/prieto/pictorario/visualizacion.class
index f039cde..b5dbcb8 100644
Binary files a/Objects/bin/classes/javi/prieto/pictorario/visualizacion.class and b/Objects/bin/classes/javi/prieto/pictorario/visualizacion.class differ
diff --git a/Objects/bin/temp.ap_ b/Objects/bin/temp.ap_
index 11b0ad6..07cc9fc 100644
Binary files a/Objects/bin/temp.ap_ and b/Objects/bin/temp.ap_ differ
diff --git a/Objects/classes.dex b/Objects/classes.dex
index 7ca5767..7065060 100644
Binary files a/Objects/classes.dex and b/Objects/classes.dex differ
diff --git a/Objects/pictorario.apk b/Objects/pictorario.apk
index 784600d..6e9f5b2 100644
Binary files a/Objects/pictorario.apk and b/Objects/pictorario.apk differ
diff --git a/Objects/src/javi/prieto/pictorario/acercade.java b/Objects/src/javi/prieto/pictorario/acercade.java
index e1b183c..5c6fc62 100644
--- a/Objects/src/javi/prieto/pictorario/acercade.java
+++ b/Objects/src/javi/prieto/pictorario/acercade.java
@@ -300,11 +300,14 @@ public ResumeMessage(Activity activity) {
this.activity = new WeakReference(activity);
}
public void run() {
- if (mostCurrent == null || mostCurrent != activity.get())
+ acercade mc = mostCurrent;
+ if (mc == null || mc != activity.get())
return;
processBA.setActivityPaused(false);
BA.LogInfo("** Activity (acercade) Resume **");
- processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null);
+ if (mc != mostCurrent)
+ return;
+ processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null);
}
}
@Override
@@ -335,10 +338,14 @@ public void onRequestPermissionsResult(int requestCode,
public anywheresoftware.b4a.objects.WebViewWrapper _textoautor = null;
public anywheresoftware.b4a.objects.LabelWrapper _parateo = null;
public anywheresoftware.b4a.objects.LabelWrapper _versión = null;
-public javi.prieto.pictorario.main _vvvvvvvv6 = null;
-public javi.prieto.pictorario.configurarsecuencia _vvv6 = null;
-public javi.prieto.pictorario.starter _vvv4 = null;
-public javi.prieto.pictorario.visualizacion _vvv7 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _reinciarconfiguracion = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _vervideo = null;
+public anywheresoftware.b4a.samples.httputils2.httputils2service _vvvvv1 = null;
+public javi.prieto.pictorario.main _vvvvv4 = null;
+public javi.prieto.pictorario.starter _vvv7 = null;
+public javi.prieto.pictorario.visualizacion _vvvv2 = null;
+public javi.prieto.pictorario.configurarsecuencia _vvvv1 = null;
+public javi.prieto.pictorario.seleccionpictogramas _vvvvv2 = null;
public static void initializeProcessGlobals() {
try {
@@ -348,13 +355,13 @@ public static void initializeProcessGlobals() {
}
}
public static String _activity_create(boolean _firsttime) throws Exception{
- //BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
- //BA.debugLineNum = 29;BA.debugLine="Activity.LoadLayout(\"AcercaDe\")";
+ //BA.debugLineNum = 29;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
+ //BA.debugLineNum = 31;BA.debugLine="Activity.LoadLayout(\"AcercaDe\")";
mostCurrent._activity.LoadLayout("AcercaDe",mostCurrent.activityBA);
- //BA.debugLineNum = 31;BA.debugLine="TextoAutor.LoadHtml(\"\"& _ \"<";
-mostCurrent._textoautor.LoadHtml(""+"Aplicación: Javier Prieto Martínez (www.ganso.org)
"+"Licencia: CC (BY-NC-SA)
"+"Pulsar icono para web
"+"");
- //BA.debugLineNum = 37;BA.debugLine="TextoArasaac.LoadHtml(\"\"& _";
-mostCurrent._textoarasaac.LoadHtml(""+"Pictogramas: Sergio Palao
"+"Procedencia: ARASAAC (www.arasaac.org)
"+"Licencia: CC (BY-NC-SA)
"+"Propiedad: Gobierno de Aragón
"+"Pulsar icono para web
"+"");
+ //BA.debugLineNum = 33;BA.debugLine="TextoAutor.LoadHtml(\"\"& _ \"<";
+mostCurrent._textoautor.LoadHtml(""+"Aplicación: Javier Prieto Martínez (www.ganso.org)
"+"Licencia: CC (BY-NC-SA)
"+"");
+ //BA.debugLineNum = 38;BA.debugLine="TextoArasaac.LoadHtml(\"\"& _";
+mostCurrent._textoarasaac.LoadHtml(""+"Pictogramas: Sergio Palao
"+"Procedencia: ARASAAC (www.arasaac.org)
"+"Licencia: CC (BY-NC-SA)
"+"Propiedad: Gobierno de Aragón
"+"");
//BA.debugLineNum = 45;BA.debugLine="ParaTeo.Typeface=Typeface.LoadFromAssets(\"GreatVi";
mostCurrent._parateo.setTypeface(anywheresoftware.b4a.keywords.Common.Typeface.LoadFromAssets("GreatVibes-Regular.ttf"));
//BA.debugLineNum = 47;BA.debugLine="Versión.Text=Application.VersionName";
@@ -362,6 +369,63 @@ public static String _activity_create(boolean _firsttime) throws Exception{
//BA.debugLineNum = 49;BA.debugLine="End Sub";
return "";
}
+public static void _activity_keypress(int _keycode) throws Exception{
+ResumableSub_Activity_KeyPress rsub = new ResumableSub_Activity_KeyPress(null,_keycode);
+rsub.resume(processBA, null);
+}
+public static class ResumableSub_Activity_KeyPress extends BA.ResumableSub {
+public ResumableSub_Activity_KeyPress(javi.prieto.pictorario.acercade parent,int _keycode) {
+this.parent = parent;
+this._keycode = _keycode;
+}
+javi.prieto.pictorario.acercade parent;
+int _keycode;
+
+@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 = 95;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsa";
+if (true) break;
+
+case 1:
+//if
+this.state = 4;
+if (_keycode==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) {
+this.state = 3;
+}if (true) break;
+
+case 3:
+//C
+this.state = 4;
+ //BA.debugLineNum = 96;BA.debugLine="Sleep(0) 'No hace nada";
+anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
+this.state = 5;
+return;
+case 5:
+//C
+this.state = 4;
+;
+ if (true) break;
+
+case 4:
+//C
+this.state = -1;
+;
+ //BA.debugLineNum = 98;BA.debugLine="End Sub";
+if (true) break;
+
+ }
+ }
+ }
+}
public static String _activity_pause(boolean _userclosed) throws Exception{
//BA.debugLineNum = 55;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
//BA.debugLineNum = 57;BA.debugLine="End Sub";
@@ -392,27 +456,31 @@ public static String _globals() throws Exception{
mostCurrent._parateo = new anywheresoftware.b4a.objects.LabelWrapper();
//BA.debugLineNum = 24;BA.debugLine="Private Versión As Label";
mostCurrent._versión = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 25;BA.debugLine="End Sub";
+ //BA.debugLineNum = 25;BA.debugLine="Private ReinciarConfiguracion As Button";
+mostCurrent._reinciarconfiguracion = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 26;BA.debugLine="Private VerVideo As Button";
+mostCurrent._vervideo = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 27;BA.debugLine="End Sub";
return "";
}
public static String _logotipo_click() throws Exception{
anywheresoftware.b4a.phone.Phone.PhoneIntents _p = null;
- //BA.debugLineNum = 75;BA.debugLine="Sub Logotipo_Click";
- //BA.debugLineNum = 76;BA.debugLine="Dim p As PhoneIntents";
+ //BA.debugLineNum = 74;BA.debugLine="Sub Logotipo_Click";
+ //BA.debugLineNum = 75;BA.debugLine="Dim p As PhoneIntents";
_p = new anywheresoftware.b4a.phone.Phone.PhoneIntents();
- //BA.debugLineNum = 77;BA.debugLine="StartActivity(p.OpenBrowser(\"http://blog.ganso.or";
+ //BA.debugLineNum = 76;BA.debugLine="StartActivity(p.OpenBrowser(\"http://blog.ganso.or";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_p.OpenBrowser("http://blog.ganso.org/proyectos/pictorario")));
- //BA.debugLineNum = 78;BA.debugLine="End Sub";
+ //BA.debugLineNum = 77;BA.debugLine="End Sub";
return "";
}
public static String _pictogramas_click() throws Exception{
anywheresoftware.b4a.phone.Phone.PhoneIntents _p = null;
- //BA.debugLineNum = 70;BA.debugLine="Sub Pictogramas_Click";
- //BA.debugLineNum = 71;BA.debugLine="Dim p As PhoneIntents";
+ //BA.debugLineNum = 69;BA.debugLine="Sub Pictogramas_Click";
+ //BA.debugLineNum = 70;BA.debugLine="Dim p As PhoneIntents";
_p = new anywheresoftware.b4a.phone.Phone.PhoneIntents();
- //BA.debugLineNum = 72;BA.debugLine="StartActivity(p.OpenBrowser(\"http://www.arasaac.o";
+ //BA.debugLineNum = 71;BA.debugLine="StartActivity(p.OpenBrowser(\"http://www.arasaac.o";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_p.OpenBrowser("http://www.arasaac.org")));
- //BA.debugLineNum = 73;BA.debugLine="End Sub";
+ //BA.debugLineNum = 72;BA.debugLine="End Sub";
return "";
}
public static String _process_globals() throws Exception{
@@ -422,19 +490,45 @@ public static String _process_globals() throws Exception{
}
public static String _programador_click() throws Exception{
anywheresoftware.b4a.phone.Phone.PhoneIntents _p = null;
- //BA.debugLineNum = 65;BA.debugLine="Sub Programador_Click";
- //BA.debugLineNum = 66;BA.debugLine="Dim p As PhoneIntents";
+ //BA.debugLineNum = 64;BA.debugLine="Sub Programador_Click";
+ //BA.debugLineNum = 65;BA.debugLine="Dim p As PhoneIntents";
_p = new anywheresoftware.b4a.phone.Phone.PhoneIntents();
- //BA.debugLineNum = 67;BA.debugLine="StartActivity(p.OpenBrowser(\"http://www.ganso.org";
+ //BA.debugLineNum = 66;BA.debugLine="StartActivity(p.OpenBrowser(\"http://www.ganso.org";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_p.OpenBrowser("http://www.ganso.org")));
- //BA.debugLineNum = 68;BA.debugLine="End Sub";
+ //BA.debugLineNum = 67;BA.debugLine="End Sub";
+return "";
+}
+public static String _reinciarconfiguracion_click() throws Exception{
+ //BA.debugLineNum = 84;BA.debugLine="Sub ReinciarConfiguracion_Click";
+ //BA.debugLineNum = 85;BA.debugLine="If Msgbox2(\"Se borrarán todas las secuencias crea";
+if (anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("Se borrarán todas las secuencias creadas y se dejará solo la de ejemplo."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"¿Está seguro de que desea hacer esto?"),BA.ObjectToCharSequence("Borrar todas las secuencias"),"Sí","","No",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.DialogResponse.POSITIVE) {
+ //BA.debugLineNum = 87;BA.debugLine="CallSub(Starter,\"Inicializar_Con_Ejemplo\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Inicializar_Con_Ejemplo");
+ //BA.debugLineNum = 88;BA.debugLine="CallSub(Starter,\"BorrarPictogramas\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"BorrarPictogramas");
+ //BA.debugLineNum = 89;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Guardar_Configuracion");
+ //BA.debugLineNum = 90;BA.debugLine="Activity.Finish";
+mostCurrent._activity.Finish();
+ };
+ //BA.debugLineNum = 92;BA.debugLine="End Sub";
+return "";
+}
+public static String _vervideo_click() throws Exception{
+anywheresoftware.b4a.phone.Phone.PhoneIntents _p = null;
+ //BA.debugLineNum = 79;BA.debugLine="Sub VerVideo_Click";
+ //BA.debugLineNum = 80;BA.debugLine="Dim p As PhoneIntents";
+_p = new anywheresoftware.b4a.phone.Phone.PhoneIntents();
+ //BA.debugLineNum = 81;BA.debugLine="StartActivity(p.OpenBrowser(\"https://www.youtube.";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_p.OpenBrowser("https://www.youtube.com/watch?v=tgmtNNFmMcs")));
+ //BA.debugLineNum = 82;BA.debugLine="End Sub";
return "";
}
public static String _volver_click() throws Exception{
//BA.debugLineNum = 60;BA.debugLine="Sub Volver_Click";
- //BA.debugLineNum = 62;BA.debugLine="Activity.Finish";
+ //BA.debugLineNum = 61;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
- //BA.debugLineNum = 63;BA.debugLine="End Sub";
+ //BA.debugLineNum = 62;BA.debugLine="End Sub";
return "";
}
}
diff --git a/Objects/src/javi/prieto/pictorario/configurarsecuencia.java b/Objects/src/javi/prieto/pictorario/configurarsecuencia.java
index c4f4818..ba8404b 100644
--- a/Objects/src/javi/prieto/pictorario/configurarsecuencia.java
+++ b/Objects/src/javi/prieto/pictorario/configurarsecuencia.java
@@ -300,11 +300,14 @@ public ResumeMessage(Activity activity) {
this.activity = new WeakReference(activity);
}
public void run() {
- if (mostCurrent == null || mostCurrent != activity.get())
+ configurarsecuencia mc = mostCurrent;
+ if (mc == null || mc != activity.get())
return;
processBA.setActivityPaused(false);
BA.LogInfo("** Activity (configurarsecuencia) Resume **");
- processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null);
+ if (mc != mostCurrent)
+ return;
+ processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null);
}
}
@Override
@@ -326,39 +329,39 @@ public void onRequestPermissionsResult(int requestCode,
}
public anywheresoftware.b4a.keywords.Common __c = null;
-public static int _vvvvvv7 = 0;
-public static int _vvvvvv4 = 0;
-public static int _vvvvvv5 = 0;
-public static int _vvvvvvv1 = 0;
+public static int _vvvvvvvvv0 = 0;
+public static int _vvvvvvvvv5 = 0;
+public static int _vvvvvvvvv6 = 0;
+public static int _vvvvvvvvvv2 = 0;
public anywheresoftware.b4a.objects.ScrollViewWrapper _parametrossecuencia = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvv2 = null;
-public anywheresoftware.b4a.objects.EditTextWrapper _vvvvv4 = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvv3 = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvv6 = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvv0 = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvv2 = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvv3 = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvv4 = null;
-public anywheresoftware.b4a.objects.SeekBarWrapper _vvvvvvv5 = null;
-public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvv6 = null;
-public anywheresoftware.b4a.objects.EditTextWrapper[] _vvvvv5 = null;
-public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvv7 = null;
-public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvvv1 = null;
-public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvv0 = null;
-public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvvv2 = null;
-public anywheresoftware.b4a.objects.ButtonWrapper _vvvvvvvv3 = null;
-public anywheresoftware.b4a.objects.ButtonWrapper _vvvvvvvv4 = null;
-public anywheresoftware.b4a.objects.ButtonWrapper _vvvvvvvv5 = null;
-public static boolean _vvvvv6 = false;
-public anywheresoftware.b4a.objects.ListViewWrapper _vvvvv1 = null;
-public static boolean _vvvv0 = false;
-public static int _vvvvvv1 = 0;
-public static String _vvvv6 = "";
-public static String _vvvvv3 = "";
-public javi.prieto.pictorario.main _vvvvvvvv6 = null;
-public javi.prieto.pictorario.starter _vvv4 = null;
-public javi.prieto.pictorario.visualizacion _vvv7 = null;
-public javi.prieto.pictorario.acercade _vvv5 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvv3 = null;
+public anywheresoftware.b4a.objects.EditTextWrapper _vvvvvvvv5 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvv4 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvv7 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvvv1 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvvv3 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvvv4 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvvv5 = null;
+public anywheresoftware.b4a.objects.SeekBarWrapper _vvvvvvvvvv6 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _vvvvvvvvvv7 = null;
+public anywheresoftware.b4a.objects.EditTextWrapper[] _vvvvvvvv6 = null;
+public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvvvvv0 = null;
+public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvvvvvv2 = null;
+public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvvvvvv1 = null;
+public anywheresoftware.b4a.objects.LabelWrapper[] _vvvvvvvvvvv3 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _vvvvvvvvvvv4 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _vvvvvvvvvvv5 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _botoncancelar = null;
+public static boolean _vvvvvvvv7 = false;
+public static int _vvvvvvvvv2 = 0;
+public static String _vvvvvvvv1 = "";
+public static String _vvvvvvvv3 = "";
+public anywheresoftware.b4a.samples.httputils2.httputils2service _vvvvv1 = null;
+public javi.prieto.pictorario.main _vvvvv4 = null;
+public javi.prieto.pictorario.starter _vvv7 = null;
+public javi.prieto.pictorario.visualizacion _vvvv2 = null;
+public javi.prieto.pictorario.seleccionpictogramas _vvvvv2 = null;
+public javi.prieto.pictorario.acercade _vvv0 = null;
public static void initializeProcessGlobals() {
try {
@@ -368,201 +371,257 @@ public static void initializeProcessGlobals() {
}
}
public static String _activity_create(boolean _firsttime) throws Exception{
- //BA.debugLineNum = 62;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
- //BA.debugLineNum = 66;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).Initiali";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].Initialize();
- //BA.debugLineNum = 67;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero.";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.Initialize();
- //BA.debugLineNum = 69;BA.debugLine="If (Starter.SecuenciaActiva==Starter.MaxSecuencia";
-if ((mostCurrent._vvv4._vv6==mostCurrent._vvv4._v7)) {
- //BA.debugLineNum = 70;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).num_act";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades = (int) (0);
- //BA.debugLineNum = 71;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).descrip";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].Descripcion = mostCurrent._vvvv6;
- //BA.debugLineNum = 72;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).pictogr";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].pictograma = "reloj_6";
- //BA.debugLineNum = 73;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.tipo = (int) (3);
- //BA.debugLineNum = 74;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.tam_icono = (int) (20);
- //BA.debugLineNum = 75;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.indicar_hora = (int) (1);
+ //BA.debugLineNum = 56;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
+ //BA.debugLineNum = 60;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).Initiali";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].Initialize();
+ //BA.debugLineNum = 61;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero.";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.Initialize();
+ //BA.debugLineNum = 63;BA.debugLine="If (Starter.SecuenciaActiva==Starter.MaxSecuencia";
+if ((mostCurrent._vvv7._vv6==mostCurrent._vvv7._v7)) {
+ //BA.debugLineNum = 64;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).num_act";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades = (int) (0);
+ //BA.debugLineNum = 65;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).descrip";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].Descripcion = mostCurrent._vvvvvvvv1;
+ //BA.debugLineNum = 66;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).pictogr";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].pictograma = BA.NumberToString(7229);
+ //BA.debugLineNum = 67;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.tipo = (int) (3);
+ //BA.debugLineNum = 68;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.tam_icono = (int) (20);
+ //BA.debugLineNum = 69;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.indicar_hora = (int) (1);
}else {
- //BA.debugLineNum = 77;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Starter.Secu";
-anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv4.getObject()),"CopiarSecuencias",(Object)(mostCurrent._vvv4._vv6),(Object)(mostCurrent._vvv4._v7));
+ //BA.debugLineNum = 71;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Starter.Secu";
+anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv7.getObject()),"CopiarSecuencias",(Object)(mostCurrent._vvv7._vv6),(Object)(mostCurrent._vvv7._v7));
};
- //BA.debugLineNum = 80;BA.debugLine="DibujarConfigurarSecuencia";
-_vvvv7();
- //BA.debugLineNum = 81;BA.debugLine="Inicializar_Lista_Pictogramas";
-_inicializar_lista_pictogramas();
- //BA.debugLineNum = 83;BA.debugLine="End Sub";
+ //BA.debugLineNum = 74;BA.debugLine="DibujarConfigurarSecuencia";
+_vvvvvvvv2();
+ //BA.debugLineNum = 77;BA.debugLine="End Sub";
return "";
}
-public static boolean _activity_keypress(int _keycode) throws Exception{
- //BA.debugLineNum = 597;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean";
- //BA.debugLineNum = 598;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsa";
+public static void _activity_keypress(int _keycode) throws Exception{
+ResumableSub_Activity_KeyPress rsub = new ResumableSub_Activity_KeyPress(null,_keycode);
+rsub.resume(processBA, null);
+}
+public static class ResumableSub_Activity_KeyPress extends BA.ResumableSub {
+public ResumableSub_Activity_KeyPress(javi.prieto.pictorario.configurarsecuencia parent,int _keycode) {
+this.parent = parent;
+this._keycode = _keycode;
+}
+javi.prieto.pictorario.configurarsecuencia parent;
+int _keycode;
+
+@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 = 604;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsa";
+if (true) break;
+
+case 1:
+//if
+this.state = 4;
if (_keycode==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) {
- //BA.debugLineNum = 599;BA.debugLine="If ListaPictogramasVisible==True Then 'Si está a";
-if (_vvvv0==anywheresoftware.b4a.keywords.Common.True) {
- //BA.debugLineNum = 600;BA.debugLine="ListaPictogramas.RemoveView";
-mostCurrent._vvvvv1.RemoveView();
- //BA.debugLineNum = 601;BA.debugLine="ListaPictogramasVisible=False";
-_vvvv0 = anywheresoftware.b4a.keywords.Common.False;
- }else {
- //BA.debugLineNum = 603;BA.debugLine="SalidaConfigurarSecuencia";
-_vvvvv2();
- };
- };
- //BA.debugLineNum = 606;BA.debugLine="Return True";
-if (true) return anywheresoftware.b4a.keywords.Common.True;
+this.state = 3;
+}if (true) break;
+
+case 3:
+//C
+this.state = 4;
+ //BA.debugLineNum = 605;BA.debugLine="Sleep(0) 'No hace nada";
+anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
+this.state = 5;
+return;
+case 5:
+//C
+this.state = 4;
+;
+ if (true) break;
+
+case 4:
+//C
+this.state = -1;
+;
//BA.debugLineNum = 607;BA.debugLine="End Sub";
-return false;
+if (true) break;
+
+ }
+ }
+ }
}
public static String _activity_pause(boolean _userclosed) throws Exception{
- //BA.debugLineNum = 325;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
- //BA.debugLineNum = 327;BA.debugLine="End Sub";
+ //BA.debugLineNum = 321;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
+ //BA.debugLineNum = 323;BA.debugLine="End Sub";
return "";
}
public static String _activity_resume() throws Exception{
- //BA.debugLineNum = 321;BA.debugLine="Sub Activity_Resume";
- //BA.debugLineNum = 323;BA.debugLine="End Sub";
+ //BA.debugLineNum = 317;BA.debugLine="Sub Activity_Resume";
+ //BA.debugLineNum = 319;BA.debugLine="End Sub";
return "";
}
public static String _botonaceptar_click() throws Exception{
- //BA.debugLineNum = 310;BA.debugLine="Sub BotonAceptar_Click";
- //BA.debugLineNum = 311;BA.debugLine="If (Starter.SecuenciaActiva==Starter.MaxSecuencia";
-if ((mostCurrent._vvv4._vv6==mostCurrent._vvv4._v7)) {
- //BA.debugLineNum = 312;BA.debugLine="Starter.NumSecuencias=Starter.NumSecuencias+1";
-mostCurrent._vvv4._vv5 = (int) (mostCurrent._vvv4._vv5+1);
- //BA.debugLineNum = 313;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Starter.MaxS";
-anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv4.getObject()),"CopiarSecuencias",(Object)(mostCurrent._vvv4._v7),(Object)(mostCurrent._vvv4._vv5-1));
+ //BA.debugLineNum = 305;BA.debugLine="Sub BotonAceptar_Click";
+ //BA.debugLineNum = 306;BA.debugLine="If (Starter.SecuenciaActiva==Starter.MaxSecuencia";
+if ((mostCurrent._vvv7._vv6==mostCurrent._vvv7._v7)) {
+ //BA.debugLineNum = 307;BA.debugLine="Starter.NumSecuencias=Starter.NumSecuencias+1";
+mostCurrent._vvv7._vv5 = (int) (mostCurrent._vvv7._vv5+1);
+ //BA.debugLineNum = 308;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Starter.MaxS";
+anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv7.getObject()),"CopiarSecuencias",(Object)(mostCurrent._vvv7._v7),(Object)(mostCurrent._vvv7._vv5-1));
}else {
- //BA.debugLineNum = 315;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Starter.MaxS";
-anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv4.getObject()),"CopiarSecuencias",(Object)(mostCurrent._vvv4._v7),(Object)(mostCurrent._vvv4._vv6));
+ //BA.debugLineNum = 310;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Starter.MaxS";
+anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv7.getObject()),"CopiarSecuencias",(Object)(mostCurrent._vvv7._v7),(Object)(mostCurrent._vvv7._vv6));
};
- //BA.debugLineNum = 317;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
-anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv4.getObject()),"Guardar_Configuracion");
- //BA.debugLineNum = 318;BA.debugLine="Activity.Finish";
+ //BA.debugLineNum = 312;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Guardar_Configuracion");
+ //BA.debugLineNum = 313;BA.debugLine="StartActivity(Main)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvvv4.getObject()));
+ //BA.debugLineNum = 314;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
- //BA.debugLineNum = 319;BA.debugLine="End Sub";
+ //BA.debugLineNum = 315;BA.debugLine="End Sub";
return "";
}
public static String _botonanadiractividad_click() throws Exception{
- //BA.debugLineNum = 569;BA.debugLine="Sub BotonAnadirActividad_Click";
- //BA.debugLineNum = 570;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].Descripcion = mostCurrent._vvvvv3;
- //BA.debugLineNum = 572;BA.debugLine="If (Starter.Secuencia(Starter.MaxSecuencias).num_";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades>0)) {
- //BA.debugLineNum = 573;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_inicio = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades-1)].hora_fin;
- //BA.debugLineNum = 574;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_inicio = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades-1)].minuto_fin;
+ //BA.debugLineNum = 564;BA.debugLine="Sub BotonAnadirActividad_Click";
+ //BA.debugLineNum = 565;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].Descripcion = mostCurrent._vvvvvvvv3;
+ //BA.debugLineNum = 567;BA.debugLine="If (Starter.Secuencia(Starter.MaxSecuencias).num_";
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades>0)) {
+ //BA.debugLineNum = 568;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_inicio = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades-1)].hora_fin;
+ //BA.debugLineNum = 569;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_inicio = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades-1)].minuto_fin;
}else {
- //BA.debugLineNum = 576;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_inicio = (int) (8);
- //BA.debugLineNum = 577;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_inicio = (int) (0);
+ //BA.debugLineNum = 571;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_inicio = (int) (8);
+ //BA.debugLineNum = 572;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_inicio = (int) (0);
+ };
+ //BA.debugLineNum = 575;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_fin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_inicio;
+ //BA.debugLineNum = 576;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_fin = (int) (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_inicio+30);
+ //BA.debugLineNum = 577;BA.debugLine="If Starter.ActividadSecuencia(Starter.MaxSecuenci";
+if (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_fin>59) {
+ //BA.debugLineNum = 578;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_fin = (int) (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_fin-60);
+ //BA.debugLineNum = 579;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_fin = (int) (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_fin+1);
};
- //BA.debugLineNum = 580;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_fin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_inicio;
- //BA.debugLineNum = 581;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_fin = (int) (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_inicio+30);
//BA.debugLineNum = 582;BA.debugLine="If Starter.ActividadSecuencia(Starter.MaxSecuenci";
-if (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_fin>59) {
+if (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_fin*60+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_fin>(23*60+59)) {
//BA.debugLineNum = 583;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_fin = (int) (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_fin-60);
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].hora_fin = (int) (23);
//BA.debugLineNum = 584;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_fin = (int) (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_fin+1);
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].minuto_fin = (int) (59);
};
- //BA.debugLineNum = 587;BA.debugLine="If Starter.ActividadSecuencia(Starter.MaxSecuenci";
-if (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_fin*60+mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_fin>(23*60+59)) {
- //BA.debugLineNum = 588;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].hora_fin = (int) (23);
- //BA.debugLineNum = 589;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].minuto_fin = (int) (59);
- };
- //BA.debugLineNum = 592;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades].Pictograma = "jugar";
- //BA.debugLineNum = 593;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).num_acti";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades+1);
- //BA.debugLineNum = 594;BA.debugLine="DibujarConfigurarSecuencia";
-_vvvv7();
- //BA.debugLineNum = 595;BA.debugLine="End Sub";
+ //BA.debugLineNum = 587;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias,";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades].Pictograma = BA.NumberToString(9813);
+ //BA.debugLineNum = 588;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).num_acti";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades+1);
+ //BA.debugLineNum = 589;BA.debugLine="DibujarConfigurarSecuencia";
+_vvvvvvvv2();
+ //BA.debugLineNum = 590;BA.debugLine="End Sub";
return "";
}
public static String _botoncancelar_click() throws Exception{
- //BA.debugLineNum = 300;BA.debugLine="Sub BotonCancelar_Click";
- //BA.debugLineNum = 301;BA.debugLine="SalidaConfigurarSecuencia";
-_vvvvv2();
- //BA.debugLineNum = 302;BA.debugLine="End Sub";
+ //BA.debugLineNum = 294;BA.debugLine="Sub BotonCancelar_Click";
+ //BA.debugLineNum = 295;BA.debugLine="SalidaConfigurarSecuencia";
+_vvvvvvvv4();
+ //BA.debugLineNum = 296;BA.debugLine="End Sub";
return "";
}
public static String _configdescripcion_focuschanged(boolean _tienefoco) throws Exception{
- //BA.debugLineNum = 561;BA.debugLine="Sub ConfigDescripcion_FocusChanged (TieneFoco As B";
- //BA.debugLineNum = 562;BA.debugLine="If TieneFoco==True And ConfigDescripcion.Text==De";
-if (_tienefoco==anywheresoftware.b4a.keywords.Common.True && (mostCurrent._vvvvv4.getText()).equals(mostCurrent._vvvv6)) {
- //BA.debugLineNum = 563;BA.debugLine="ConfigDescripcion.Text=\"\"";
-mostCurrent._vvvvv4.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 564;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).descrip";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].Descripcion = "";
- //BA.debugLineNum = 565;BA.debugLine="Activity.Invalidate";
+ //BA.debugLineNum = 551;BA.debugLine="Sub ConfigDescripcion_FocusChanged (TieneFoco As B";
+ //BA.debugLineNum = 552;BA.debugLine="If TieneFoco==True And ConfigDescripcion.Text==De";
+if (_tienefoco==anywheresoftware.b4a.keywords.Common.True && (mostCurrent._vvvvvvvv5.getText()).equals(mostCurrent._vvvvvvvv1)) {
+ //BA.debugLineNum = 553;BA.debugLine="ConfigDescripcion.Text=\"\"";
+mostCurrent._vvvvvvvv5.setText(BA.ObjectToCharSequence(""));
+ //BA.debugLineNum = 554;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).descrip";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].Descripcion = "";
+ //BA.debugLineNum = 555;BA.debugLine="Activity.Invalidate";
+mostCurrent._activity.Invalidate();
+ };
+ //BA.debugLineNum = 557;BA.debugLine="If TieneFoco==False And ConfigDescripcion.Text==\"";
+if (_tienefoco==anywheresoftware.b4a.keywords.Common.False && (mostCurrent._vvvvvvvv5.getText()).equals("")) {
+ //BA.debugLineNum = 558;BA.debugLine="ConfigDescripcion.Text=DescripcionSecuenciaPorDe";
+mostCurrent._vvvvvvvv5.setText(BA.ObjectToCharSequence(mostCurrent._vvvvvvvv1));
+ //BA.debugLineNum = 559;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).descrip";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].Descripcion = mostCurrent._vvvvvvvv1;
+ //BA.debugLineNum = 560;BA.debugLine="Activity.Invalidate";
mostCurrent._activity.Invalidate();
};
- //BA.debugLineNum = 567;BA.debugLine="End Sub";
+ //BA.debugLineNum = 562;BA.debugLine="End Sub";
return "";
}
public static String _configdescripcion_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 557;BA.debugLine="Sub ConfigDescripcion_TextChanged (Old As String,";
- //BA.debugLineNum = 558;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).descripc";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].Descripcion = _new;
- //BA.debugLineNum = 559;BA.debugLine="End Sub";
+ //BA.debugLineNum = 547;BA.debugLine="Sub ConfigDescripcion_TextChanged (Old As String,";
+ //BA.debugLineNum = 548;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).descripc";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].Descripcion = _new;
+ //BA.debugLineNum = 549;BA.debugLine="End Sub";
return "";
}
public static String _configdescripcionact_focuschanged(boolean _tienefoco) throws Exception{
anywheresoftware.b4a.objects.EditTextWrapper _botonpulsado = null;
int _act = 0;
- //BA.debugLineNum = 530;BA.debugLine="Sub ConfigDescripcionAct_FocusChanged (TieneFoco A";
- //BA.debugLineNum = 531;BA.debugLine="Dim BotonPulsado As EditText";
+ //BA.debugLineNum = 513;BA.debugLine="Sub ConfigDescripcionAct_FocusChanged (TieneFoco A";
+ //BA.debugLineNum = 514;BA.debugLine="Dim BotonPulsado As EditText";
_botonpulsado = new anywheresoftware.b4a.objects.EditTextWrapper();
- //BA.debugLineNum = 532;BA.debugLine="Dim Act As Int";
+ //BA.debugLineNum = 515;BA.debugLine="Dim Act As Int";
_act = 0;
- //BA.debugLineNum = 534;BA.debugLine="If TieneFoco==True Then";
-if (_tienefoco==anywheresoftware.b4a.keywords.Common.True) {
- //BA.debugLineNum = 535;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 517;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.EditText)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 536;BA.debugLine="Act=BotonPulsado.Tag";
+ //BA.debugLineNum = 518;BA.debugLine="Act=BotonPulsado.Tag";
_act = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
- //BA.debugLineNum = 537;BA.debugLine="If ConfigDescripcionAct(Act).Text==DescripcionAc";
-if ((mostCurrent._vvvvv5[_act].getText()).equals(mostCurrent._vvvvv3)) {
- //BA.debugLineNum = 538;BA.debugLine="ConfigDescripcionAct(Act).Text=\"\"";
-mostCurrent._vvvvv5[_act].setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 539;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].Descripcion = "";
- //BA.debugLineNum = 540;BA.debugLine="Activity.Invalidate";
+ //BA.debugLineNum = 520;BA.debugLine="If TieneFoco==True Then";
+if (_tienefoco==anywheresoftware.b4a.keywords.Common.True) {
+ //BA.debugLineNum = 521;BA.debugLine="If ConfigDescripcionAct(Act).Text==DescripcionAc";
+if ((mostCurrent._vvvvvvvv6[_act].getText()).equals(mostCurrent._vvvvvvvv3)) {
+ //BA.debugLineNum = 522;BA.debugLine="ConfigDescripcionAct(Act).Text=\"\"";
+mostCurrent._vvvvvvvv6[_act].setText(BA.ObjectToCharSequence(""));
+ //BA.debugLineNum = 523;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].Descripcion = "";
+ //BA.debugLineNum = 524;BA.debugLine="Activity.Invalidate";
mostCurrent._activity.Invalidate();
};
+ }else {
+ //BA.debugLineNum = 527;BA.debugLine="If ConfigDescripcionAct(Act).Text==\"\" Then";
+if ((mostCurrent._vvvvvvvv6[_act].getText()).equals("")) {
+ //BA.debugLineNum = 528;BA.debugLine="ConfigDescripcionAct(Act).Text=DescripcionActiv";
+mostCurrent._vvvvvvvv6[_act].setText(BA.ObjectToCharSequence(mostCurrent._vvvvvvvv3));
+ //BA.debugLineNum = 529;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].Descripcion = mostCurrent._vvvvvvvv3;
+ //BA.debugLineNum = 530;BA.debugLine="Activity.Invalidate";
+mostCurrent._activity.Invalidate();
};
- //BA.debugLineNum = 543;BA.debugLine="End Sub";
+ };
+ //BA.debugLineNum = 533;BA.debugLine="End Sub";
return "";
}
public static String _configdescripcionact_textchanged(String _old,String _new) throws Exception{
anywheresoftware.b4a.objects.EditTextWrapper _botonpulsado = null;
int _act = 0;
- //BA.debugLineNum = 546;BA.debugLine="Sub ConfigDescripcionAct_TextChanged (Old As Strin";
- //BA.debugLineNum = 547;BA.debugLine="Dim BotonPulsado As EditText";
+ //BA.debugLineNum = 536;BA.debugLine="Sub ConfigDescripcionAct_TextChanged (Old As Strin";
+ //BA.debugLineNum = 537;BA.debugLine="Dim BotonPulsado As EditText";
_botonpulsado = new anywheresoftware.b4a.objects.EditTextWrapper();
- //BA.debugLineNum = 548;BA.debugLine="Dim Act As Int";
+ //BA.debugLineNum = 538;BA.debugLine="Dim Act As Int";
_act = 0;
- //BA.debugLineNum = 550;BA.debugLine="If Inicializando==False Then";
-if (_vvvvv6==anywheresoftware.b4a.keywords.Common.False) {
- //BA.debugLineNum = 551;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 540;BA.debugLine="If Inicializando==False Then";
+if (_vvvvvvvv7==anywheresoftware.b4a.keywords.Common.False) {
+ //BA.debugLineNum = 541;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.EditText)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 552;BA.debugLine="Act=BotonPulsado.Tag";
+ //BA.debugLineNum = 542;BA.debugLine="Act=BotonPulsado.Tag";
_act = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
- //BA.debugLineNum = 553;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].Descripcion = _new;
+ //BA.debugLineNum = 543;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].Descripcion = _new;
};
- //BA.debugLineNum = 555;BA.debugLine="End Sub";
+ //BA.debugLineNum = 545;BA.debugLine="End Sub";
return "";
}
public static String _confighorafinalact_click() throws Exception{
@@ -570,48 +629,48 @@ public static String _confighorafinalact_click() throws Exception{
anywheresoftware.b4a.objects.LabelWrapper _botonpulsado = null;
int _resultado = 0;
int _act = 0;
- //BA.debugLineNum = 449;BA.debugLine="Sub ConfigHoraFinalAct_Click";
- //BA.debugLineNum = 450;BA.debugLine="Dim DialogoTiempo As TimeDialog";
+ //BA.debugLineNum = 443;BA.debugLine="Sub ConfigHoraFinalAct_Click";
+ //BA.debugLineNum = 444;BA.debugLine="Dim DialogoTiempo As TimeDialog";
_dialogotiempo = new anywheresoftware.b4a.agraham.dialogs.InputDialog.TimeDialog();
- //BA.debugLineNum = 451;BA.debugLine="Dim BotonPulsado As Label";
+ //BA.debugLineNum = 445;BA.debugLine="Dim BotonPulsado As Label";
_botonpulsado = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 452;BA.debugLine="Dim Resultado As Int";
+ //BA.debugLineNum = 446;BA.debugLine="Dim Resultado As Int";
_resultado = 0;
- //BA.debugLineNum = 453;BA.debugLine="Dim Act As Int";
+ //BA.debugLineNum = 447;BA.debugLine="Dim Act As Int";
_act = 0;
- //BA.debugLineNum = 455;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 449;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 456;BA.debugLine="Act=BotonPulsado.Tag";
+ //BA.debugLineNum = 450;BA.debugLine="Act=BotonPulsado.Tag";
_act = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
- //BA.debugLineNum = 458;BA.debugLine="DialogoTiempo.Hour=Starter.ActividadSecuencia(Sta";
-_dialogotiempo.setHour(mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].hora_fin);
- //BA.debugLineNum = 459;BA.debugLine="DialogoTiempo.Minute=Starter.ActividadSecuencia(S";
-_dialogotiempo.setMinute(mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].minuto_fin);
- //BA.debugLineNum = 460;BA.debugLine="DialogoTiempo.Is24Hours=False";
+ //BA.debugLineNum = 452;BA.debugLine="DialogoTiempo.Hour=Starter.ActividadSecuencia(Sta";
+_dialogotiempo.setHour(mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].hora_fin);
+ //BA.debugLineNum = 453;BA.debugLine="DialogoTiempo.Minute=Starter.ActividadSecuencia(S";
+_dialogotiempo.setMinute(mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].minuto_fin);
+ //BA.debugLineNum = 454;BA.debugLine="DialogoTiempo.Is24Hours=False";
_dialogotiempo.setIs24Hours(anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 461;BA.debugLine="Resultado=DialogoTiempo.Show(\"Indica la hora fina";
+ //BA.debugLineNum = 455;BA.debugLine="Resultado=DialogoTiempo.Show(\"Indica la hora fina";
_resultado = _dialogotiempo.Show("Indica la hora final de la actividad","Hora final","Aceptar","Cancelar","",mostCurrent.activityBA,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null));
- //BA.debugLineNum = 463;BA.debugLine="If Resultado=DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 457;BA.debugLine="If Resultado=DialogResponse.POSITIVE Then";
if (_resultado==anywheresoftware.b4a.keywords.Common.DialogResponse.POSITIVE) {
- //BA.debugLineNum = 464;BA.debugLine="If DialogoTiempo.Hour*60+DialogoTiempo.MinuteSt";
-if (_dialogotiempo.getHour()*60+_dialogotiempo.getMinute()>mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].hora_fin*60+mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].minuto_fin) {
- //BA.debugLineNum = 391;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].hora_fin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].hora_inicio;
- //BA.debugLineNum = 392;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].minuto_fin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_act].minuto_inicio;
+ //BA.debugLineNum = 380;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].hora_inicio = _dialogotiempo.getHour();
+ //BA.debugLineNum = 381;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].minuto_inicio = _dialogotiempo.getMinute();
+ //BA.debugLineNum = 382;BA.debugLine="If DialogoTiempo.Hour*60+DialogoTiempo.Minute>St";
+if (_dialogotiempo.getHour()*60+_dialogotiempo.getMinute()>mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].hora_fin*60+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].minuto_fin) {
+ //BA.debugLineNum = 385;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].hora_fin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].hora_inicio;
+ //BA.debugLineNum = 386;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].minuto_fin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_act].minuto_inicio;
};
- //BA.debugLineNum = 394;BA.debugLine="If OrdenarActividades==True Then";
-if (_vvvvv0()==anywheresoftware.b4a.keywords.Common.True) {
- //BA.debugLineNum = 395;BA.debugLine="Msgbox(\"Se ha colocado la actividad en su posic";
+ //BA.debugLineNum = 388;BA.debugLine="If OrdenarActividades==True Then";
+if (_vvvvvvvvv1()==anywheresoftware.b4a.keywords.Common.True) {
+ //BA.debugLineNum = 389;BA.debugLine="Msgbox(\"Se ha colocado la actividad en su posic";
anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence("Se ha colocado la actividad en su posición correcta."),BA.ObjectToCharSequence("Actividades reorganizadas"),mostCurrent.activityBA);
};
- //BA.debugLineNum = 397;BA.debugLine="DibujarConfigurarSecuencia";
-_vvvv7();
+ //BA.debugLineNum = 391;BA.debugLine="DibujarConfigurarSecuencia";
+_vvvvvvvv2();
};
- //BA.debugLineNum = 399;BA.debugLine="End Sub";
+ //BA.debugLineNum = 393;BA.debugLine="End Sub";
return "";
}
public static String _configindicarhora_click() throws Exception{
anywheresoftware.b4a.objects.collections.List _tiposindicador = null;
int _resultado = 0;
- //BA.debugLineNum = 280;BA.debugLine="Sub ConfigIndicarHora_Click";
- //BA.debugLineNum = 281;BA.debugLine="Dim TiposIndicador As List";
+ //BA.debugLineNum = 274;BA.debugLine="Sub ConfigIndicarHora_Click";
+ //BA.debugLineNum = 275;BA.debugLine="Dim TiposIndicador As List";
_tiposindicador = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 282;BA.debugLine="Dim resultado As Int";
+ //BA.debugLineNum = 276;BA.debugLine="Dim resultado As Int";
_resultado = 0;
- //BA.debugLineNum = 284;BA.debugLine="TiposIndicador.Initialize";
+ //BA.debugLineNum = 278;BA.debugLine="TiposIndicador.Initialize";
_tiposindicador.Initialize();
- //BA.debugLineNum = 285;BA.debugLine="TiposIndicador.AddAll(Starter.DescripcionMinutero";
-_tiposindicador.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(mostCurrent._vvv4._vv2));
- //BA.debugLineNum = 287;BA.debugLine="resultado=InputList(TiposIndicador,\"Indicar hora";
-_resultado = anywheresoftware.b4a.keywords.Common.InputList(_tiposindicador,BA.ObjectToCharSequence("Indicar hora actual"),mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.indicar_hora,mostCurrent.activityBA);
- //BA.debugLineNum = 288;BA.debugLine="If (resultado>=0) Then";
+ //BA.debugLineNum = 279;BA.debugLine="TiposIndicador.AddAll(Starter.DescripcionMinutero";
+_tiposindicador.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(mostCurrent._vvv7._vv2));
+ //BA.debugLineNum = 281;BA.debugLine="resultado=InputList(TiposIndicador,\"Indicar hora";
+_resultado = anywheresoftware.b4a.keywords.Common.InputList(_tiposindicador,BA.ObjectToCharSequence("Indicar hora actual"),mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.indicar_hora,mostCurrent.activityBA);
+ //BA.debugLineNum = 282;BA.debugLine="If (resultado>=0) Then";
if ((_resultado>=0)) {
- //BA.debugLineNum = 289;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.indicar_hora = _resultado;
- //BA.debugLineNum = 290;BA.debugLine="DibujarConfigurarSecuencia";
-_vvvv7();
+ //BA.debugLineNum = 283;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.indicar_hora = _resultado;
+ //BA.debugLineNum = 284;BA.debugLine="DibujarConfigurarSecuencia";
+_vvvvvvvv2();
};
- //BA.debugLineNum = 292;BA.debugLine="End Sub";
+ //BA.debugLineNum = 286;BA.debugLine="End Sub";
return "";
}
public static String _configopcionesact_click() throws Exception{
@@ -694,119 +753,115 @@ public static String _configopcionesact_click() throws Exception{
anywheresoftware.b4a.objects.collections.List _opciones = null;
int _resultado = 0;
int _nact = 0;
- //BA.debugLineNum = 349;BA.debugLine="Sub ConfigOpcionesAct_Click";
- //BA.debugLineNum = 350;BA.debugLine="Dim BotonPulsado As Label";
+ //BA.debugLineNum = 343;BA.debugLine="Sub ConfigOpcionesAct_Click";
+ //BA.debugLineNum = 344;BA.debugLine="Dim BotonPulsado As Label";
_botonpulsado = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 351;BA.debugLine="Dim Act As Int";
+ //BA.debugLineNum = 345;BA.debugLine="Dim Act As Int";
_act = 0;
- //BA.debugLineNum = 352;BA.debugLine="Dim Opciones As List";
+ //BA.debugLineNum = 346;BA.debugLine="Dim Opciones As List";
_opciones = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 353;BA.debugLine="Dim resultado As Int";
+ //BA.debugLineNum = 347;BA.debugLine="Dim resultado As Int";
_resultado = 0;
- //BA.debugLineNum = 355;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 349;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 356;BA.debugLine="Act=BotonPulsado.Tag";
+ //BA.debugLineNum = 350;BA.debugLine="Act=BotonPulsado.Tag";
_act = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
- //BA.debugLineNum = 358;BA.debugLine="Opciones.Initialize2(Array As String(\"Borrar acti";
+ //BA.debugLineNum = 352;BA.debugLine="Opciones.Initialize2(Array As String(\"Borrar acti";
_opciones.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Borrar actividad","CANCELAR"}));
- //BA.debugLineNum = 359;BA.debugLine="resultado=InputList(Opciones,\"Acción\",-1)";
+ //BA.debugLineNum = 353;BA.debugLine="resultado=InputList(Opciones,\"Acción\",-1)";
_resultado = anywheresoftware.b4a.keywords.Common.InputList(_opciones,BA.ObjectToCharSequence("Acción"),(int) (-1),mostCurrent.activityBA);
- //BA.debugLineNum = 361;BA.debugLine="If resultado=0 Then";
+ //BA.debugLineNum = 355;BA.debugLine="If resultado=0 Then";
if (_resultado==0) {
- //BA.debugLineNum = 362;BA.debugLine="For nAct=Act To Starter.Secuencia(Starter.MaxSec";
+ //BA.debugLineNum = 356;BA.debugLine="For nAct=Act To Starter.Secuencia(Starter.MaxSec";
{
final int step10 = 1;
-final int limit10 = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades-2);
+final int limit10 = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades-2);
_nact = _act ;
-for (;(step10 > 0 && _nact <= limit10) || (step10 < 0 && _nact >= limit10) ;_nact = ((int)(0 + _nact + step10)) ) {
- //BA.debugLineNum = 364;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_nact] = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_nact+1)];
+for (;_nact <= limit10 ;_nact = _nact + step10 ) {
+ //BA.debugLineNum = 358;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_nact] = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_nact+1)];
}
};
- //BA.debugLineNum = 366;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).num_act";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades-1);
+ //BA.debugLineNum = 360;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).num_act";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades-1);
};
- //BA.debugLineNum = 368;BA.debugLine="DibujarConfigurarSecuencia";
-_vvvv7();
- //BA.debugLineNum = 369;BA.debugLine="End Sub";
+ //BA.debugLineNum = 362;BA.debugLine="DibujarConfigurarSecuencia";
+_vvvvvvvv2();
+ //BA.debugLineNum = 363;BA.debugLine="End Sub";
return "";
}
public static String _configpictograma_click() throws Exception{
anywheresoftware.b4a.objects.IME _im = null;
- //BA.debugLineNum = 329;BA.debugLine="Sub ConfigPictograma_Click";
- //BA.debugLineNum = 330;BA.debugLine="Dim im As IME";
+ //BA.debugLineNum = 325;BA.debugLine="Sub ConfigPictograma_Click";
+ //BA.debugLineNum = 326;BA.debugLine="Dim im As IME";
_im = new anywheresoftware.b4a.objects.IME();
- //BA.debugLineNum = 331;BA.debugLine="im.Initialize(\"\")";
+ //BA.debugLineNum = 327;BA.debugLine="im.Initialize(\"\")";
_im.Initialize("");
- //BA.debugLineNum = 332;BA.debugLine="im.HideKeyboard";
+ //BA.debugLineNum = 328;BA.debugLine="im.HideKeyboard";
_im.HideKeyboard(mostCurrent.activityBA);
- //BA.debugLineNum = 333;BA.debugLine="PictogramaEditado=-1";
-_vvvvvv1 = (int) (-1);
- //BA.debugLineNum = 334;BA.debugLine="Activity.AddView(ListaPictogramas, 5dip, 5dip, 10";
-mostCurrent._activity.AddView((android.view.View)(mostCurrent._vvvvv1.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),(int) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))));
- //BA.debugLineNum = 335;BA.debugLine="ListaPictogramasVisible=True";
-_vvvv0 = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 336;BA.debugLine="End Sub";
+ //BA.debugLineNum = 329;BA.debugLine="PictogramaEditado=-1";
+_vvvvvvvvv2 = (int) (-1);
+ //BA.debugLineNum = 330;BA.debugLine="StartActivity(SeleccionPictogramas)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvvv2.getObject()));
+ //BA.debugLineNum = 331;BA.debugLine="End Sub";
return "";
}
public static String _configpictogramaact_click() throws Exception{
anywheresoftware.b4a.objects.LabelWrapper _botonpulsado = null;
anywheresoftware.b4a.objects.IME _im = null;
- //BA.debugLineNum = 338;BA.debugLine="Sub ConfigPictogramaAct_Click";
- //BA.debugLineNum = 339;BA.debugLine="Dim BotonPulsado As Label";
+ //BA.debugLineNum = 333;BA.debugLine="Sub ConfigPictogramaAct_Click";
+ //BA.debugLineNum = 334;BA.debugLine="Dim BotonPulsado As Label";
_botonpulsado = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 340;BA.debugLine="Dim im As IME";
+ //BA.debugLineNum = 335;BA.debugLine="Dim im As IME";
_im = new anywheresoftware.b4a.objects.IME();
- //BA.debugLineNum = 341;BA.debugLine="im.Initialize(\"\")";
+ //BA.debugLineNum = 336;BA.debugLine="im.Initialize(\"\")";
_im.Initialize("");
- //BA.debugLineNum = 342;BA.debugLine="im.HideKeyboard";
+ //BA.debugLineNum = 337;BA.debugLine="im.HideKeyboard";
_im.HideKeyboard(mostCurrent.activityBA);
- //BA.debugLineNum = 343;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 338;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 344;BA.debugLine="PictogramaEditado=BotonPulsado.Tag";
-_vvvvvv1 = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
- //BA.debugLineNum = 345;BA.debugLine="Activity.AddView(ListaPictogramas, 5dip, 5dip, 10";
-mostCurrent._activity.AddView((android.view.View)(mostCurrent._vvvvv1.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),(int) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))));
- //BA.debugLineNum = 346;BA.debugLine="ListaPictogramasVisible=True";
-_vvvv0 = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 347;BA.debugLine="End Sub";
+ //BA.debugLineNum = 339;BA.debugLine="PictogramaEditado=BotonPulsado.Tag";
+_vvvvvvvvv2 = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
+ //BA.debugLineNum = 340;BA.debugLine="StartActivity(SeleccionPictogramas)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvvv2.getObject()));
+ //BA.debugLineNum = 341;BA.debugLine="End Sub";
return "";
}
public static String _configtamicono_valuechanged(int _valor,boolean _cambio) throws Exception{
- //BA.debugLineNum = 294;BA.debugLine="Sub ConfigTamIcono_ValueChanged (Valor As Int, Cam";
- //BA.debugLineNum = 295;BA.debugLine="If (Cambio==True) Then";
+ //BA.debugLineNum = 288;BA.debugLine="Sub ConfigTamIcono_ValueChanged (Valor As Int, Cam";
+ //BA.debugLineNum = 289;BA.debugLine="If (Cambio==True) Then";
if ((_cambio==anywheresoftware.b4a.keywords.Common.True)) {
- //BA.debugLineNum = 296;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.tam_icono = _valor;
+ //BA.debugLineNum = 290;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.tam_icono = _valor;
};
- //BA.debugLineNum = 298;BA.debugLine="End Sub";
+ //BA.debugLineNum = 292;BA.debugLine="End Sub";
return "";
}
public static String _configtipotablero_click() throws Exception{
anywheresoftware.b4a.objects.collections.List _tipostablero = null;
int _resultado = 0;
- //BA.debugLineNum = 266;BA.debugLine="Sub ConfigTipoTablero_Click";
- //BA.debugLineNum = 267;BA.debugLine="Dim TiposTablero As List";
+ //BA.debugLineNum = 260;BA.debugLine="Sub ConfigTipoTablero_Click";
+ //BA.debugLineNum = 261;BA.debugLine="Dim TiposTablero As List";
_tipostablero = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 268;BA.debugLine="Dim resultado As Int";
+ //BA.debugLineNum = 262;BA.debugLine="Dim resultado As Int";
_resultado = 0;
- //BA.debugLineNum = 270;BA.debugLine="TiposTablero.Initialize";
+ //BA.debugLineNum = 264;BA.debugLine="TiposTablero.Initialize";
_tipostablero.Initialize();
- //BA.debugLineNum = 271;BA.debugLine="TiposTablero.AddAll(Starter.DescripcionTablero)";
-_tipostablero.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(mostCurrent._vvv4._vv1));
- //BA.debugLineNum = 273;BA.debugLine="resultado=InputList(TiposTablero,\"Tipo de tablero";
-_resultado = anywheresoftware.b4a.keywords.Common.InputList(_tipostablero,BA.ObjectToCharSequence("Tipo de tablero"),mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.tipo,mostCurrent.activityBA);
- //BA.debugLineNum = 274;BA.debugLine="If (resultado>=0) Then";
+ //BA.debugLineNum = 265;BA.debugLine="TiposTablero.AddAll(Starter.DescripcionTablero)";
+_tipostablero.AddAll(anywheresoftware.b4a.keywords.Common.ArrayToList(mostCurrent._vvv7._vv1));
+ //BA.debugLineNum = 267;BA.debugLine="resultado=InputList(TiposTablero,\"Tipo de tablero";
+_resultado = anywheresoftware.b4a.keywords.Common.InputList(_tipostablero,BA.ObjectToCharSequence("Tipo de tablero"),mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.tipo,mostCurrent.activityBA);
+ //BA.debugLineNum = 268;BA.debugLine="If (resultado>=0) Then";
if ((_resultado>=0)) {
- //BA.debugLineNum = 275;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].tablero.tipo = _resultado;
- //BA.debugLineNum = 276;BA.debugLine="DibujarConfigurarSecuencia";
-_vvvv7();
+ //BA.debugLineNum = 269;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).tablero";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].tablero.tipo = _resultado;
+ //BA.debugLineNum = 270;BA.debugLine="DibujarConfigurarSecuencia";
+_vvvvvvvv2();
};
- //BA.debugLineNum = 278;BA.debugLine="End Sub";
+ //BA.debugLineNum = 272;BA.debugLine="End Sub";
return "";
}
-public static void _vvvv7() throws Exception{
+public static void _vvvvvvvv2() throws Exception{
ResumableSub_DibujarConfigurarSecuencia rsub = new ResumableSub_DibujarConfigurarSecuencia(null);
rsub.resume(processBA, null);
}
@@ -833,9 +888,9 @@ public void resume(BA ba, Object[] result) throws Exception{
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 87;BA.debugLine="Dim Posicion As Int";
+ //BA.debugLineNum = 81;BA.debugLine="Dim Posicion As Int";
_posicion = 0;
- //BA.debugLineNum = 89;BA.debugLine="If ParametrosSecuencia.IsInitialized==True Then";
+ //BA.debugLineNum = 83;BA.debugLine="If ParametrosSecuencia.IsInitialized==True Then";
if (true) break;
case 1:
@@ -850,14 +905,14 @@ public void resume(BA ba, Object[] result) throws Exception{
case 3:
//C
this.state = 6;
- //BA.debugLineNum = 90;BA.debugLine="Posicion=ParametrosSecuencia.ScrollPosition";
+ //BA.debugLineNum = 84;BA.debugLine="Posicion=ParametrosSecuencia.ScrollPosition";
_posicion = parent.mostCurrent._parametrossecuencia.getScrollPosition();
if (true) break;
case 5:
//C
this.state = 6;
- //BA.debugLineNum = 92;BA.debugLine="Posicion=0";
+ //BA.debugLineNum = 86;BA.debugLine="Posicion=0";
_posicion = (int) (0);
if (true) break;
@@ -865,173 +920,173 @@ public void resume(BA ba, Object[] result) throws Exception{
//C
this.state = 7;
;
- //BA.debugLineNum = 95;BA.debugLine="Activity.RemoveAllViews";
+ //BA.debugLineNum = 89;BA.debugLine="Activity.RemoveAllViews";
parent.mostCurrent._activity.RemoveAllViews();
- //BA.debugLineNum = 96;BA.debugLine="Activity.LoadLayout(\"ConfigurarSecuencia\")";
+ //BA.debugLineNum = 90;BA.debugLine="Activity.LoadLayout(\"ConfigurarSecuencia\")";
parent.mostCurrent._activity.LoadLayout("ConfigurarSecuencia",mostCurrent.activityBA);
- //BA.debugLineNum = 98;BA.debugLine="Inicializando=True 'Para evitar que se lancen pro";
-parent._vvvvv6 = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 100;BA.debugLine="EtiquetaInicial.Initialize(\"EtiquetaInicial\")";
-parent.mostCurrent._vvvvvv2.Initialize(mostCurrent.activityBA,"EtiquetaInicial");
- //BA.debugLineNum = 101;BA.debugLine="EtiquetaInicial.Text=\"Crear nueva secuencia\"";
-parent.mostCurrent._vvvvvv2.setText(BA.ObjectToCharSequence("Crear nueva secuencia"));
- //BA.debugLineNum = 102;BA.debugLine="If (Starter.SecuenciaActiva0) Then";
+ //BA.debugLineNum = 177;BA.debugLine="If (Act>0) Then";
if (true) break;
case 14:
@@ -1064,80 +1119,80 @@ public void resume(BA ba, Object[] result) throws Exception{
case 16:
//C
this.state = 17;
- //BA.debugLineNum = 184;BA.debugLine="InicioVertical=ConfigHoraInicioAct(Act-1).Top+C";
-_iniciovertical = (int) (parent.mostCurrent._vvvvvvv7[(int) (_act-1)].getTop()+parent.mostCurrent._vvvvvvv7[(int) (_act-1)].getHeight()+4*parent._vvvvvv5);
+ //BA.debugLineNum = 178;BA.debugLine="InicioVertical=ConfigHoraInicioAct(Act-1).Top+C";
+_iniciovertical = (int) (parent.mostCurrent._vvvvvvvvvv0[(int) (_act-1)].getTop()+parent.mostCurrent._vvvvvvvvvv0[(int) (_act-1)].getHeight()+4*parent._vvvvvvvvv6);
if (true) break;
case 17:
//C
this.state = 28;
;
- //BA.debugLineNum = 187;BA.debugLine="ConfigPictogramaAct(Act).Initialize(\"ConfigPicto";
-parent.mostCurrent._vvvvvvv0[_act].Initialize(mostCurrent.activityBA,"ConfigPictogramaAct");
- //BA.debugLineNum = 188;BA.debugLine="ConfigPictogramaAct(Act).Tag=Act";
-parent.mostCurrent._vvvvvvv0[_act].setTag((Object)(_act));
- //BA.debugLineNum = 189;BA.debugLine="ConfigPictogramaAct(Act).SetBackgroundImage(Load";
-parent.mostCurrent._vvvvvvv0[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),parent.mostCurrent._vvv4._vv0[parent.mostCurrent._vvv4._v7][_act].Pictograma+".png").getObject()));
- //BA.debugLineNum = 190;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigPictogra";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvv0[_act].getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-parent._vvvvvv4-parent._vvvvvv5),_iniciovertical,parent._vvvvvv4,parent._vvvvvv4);
- //BA.debugLineNum = 192;BA.debugLine="ConfigDescripcionAct(Act).Initialize(\"ConfigDesc";
-parent.mostCurrent._vvvvv5[_act].Initialize(mostCurrent.activityBA,"ConfigDescripcionAct");
- //BA.debugLineNum = 193;BA.debugLine="ConfigDescripcionAct(Act).Tag=Act";
-parent.mostCurrent._vvvvv5[_act].setTag((Object)(_act));
- //BA.debugLineNum = 194;BA.debugLine="ConfigDescripcionAct(Act).Text=Starter.Actividad";
-parent.mostCurrent._vvvvv5[_act].setText(BA.ObjectToCharSequence(parent.mostCurrent._vvv4._vv0[parent.mostCurrent._vvv4._v7][_act].Descripcion));
- //BA.debugLineNum = 195;BA.debugLine="ConfigDescripcionAct(Act).TextColor=Colors.Black";
-parent.mostCurrent._vvvvv5[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 196;BA.debugLine="ConfigDescripcionAct(Act).TextSize=16";
-parent.mostCurrent._vvvvv5[_act].setTextSize((float) (16));
- //BA.debugLineNum = 197;BA.debugLine="ConfigDescripcionAct(Act).Gravity=Bit.Or(Gravity";
-parent.mostCurrent._vvvvv5[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 198;BA.debugLine="ConfigDescripcionAct(Act).Color=Starter.Colores(";
-parent.mostCurrent._vvvvv5[_act].setColor(parent.mostCurrent._vvv4._vv4[_act]);
- //BA.debugLineNum = 199;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigDescripc";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvv5[_act].getObject()),parent._vvvvvv5,_iniciovertical,(int) (parent.mostCurrent._vvvvvvv0[_act].getLeft()-2*parent._vvvvvv5),parent._vvvvvv4);
- //BA.debugLineNum = 201;BA.debugLine="ConfigHoraInicioAct(Act).Initialize(\"ConfigHoraI";
-parent.mostCurrent._vvvvvvv7[_act].Initialize(mostCurrent.activityBA,"ConfigHoraInicioAct");
- //BA.debugLineNum = 202;BA.debugLine="ConfigHoraInicioAct(Act).Tag=Act";
-parent.mostCurrent._vvvvvvv7[_act].setTag((Object)(_act));
- //BA.debugLineNum = 203;BA.debugLine="ConfigHoraInicioAct(Act).Text=\"Desde\"&CRLF&Numbe";
-parent.mostCurrent._vvvvvvv7[_act].setText(BA.ObjectToCharSequence("Desde"+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv4._vv0[parent.mostCurrent._vvv4._v7][_act].hora_inicio,(int) (2),(int) (0))+":"+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv4._vv0[parent.mostCurrent._vvv4._v7][_act].minuto_inicio,(int) (2),(int) (0))));
- //BA.debugLineNum = 204;BA.debugLine="ConfigHoraInicioAct(Act).TextColor=Colors.Black";
-parent.mostCurrent._vvvvvvv7[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 205;BA.debugLine="ConfigHoraInicioAct(Act).TextSize=16";
-parent.mostCurrent._vvvvvvv7[_act].setTextSize((float) (16));
- //BA.debugLineNum = 206;BA.debugLine="ConfigHoraInicioAct(Act).Gravity=Bit.Or(Gravity.";
-parent.mostCurrent._vvvvvvv7[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 207;BA.debugLine="ConfigHoraInicioAct(Act).Color=ColorDeFondo";
-parent.mostCurrent._vvvvvvv7[_act].setColor(parent._vvvvvvv1);
- //BA.debugLineNum = 208;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigHoraInic";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvv7[_act].getObject()),(int) (3*parent._vvvvvv5),(int) (parent.mostCurrent._vvvvv5[_act].getTop()+parent.mostCurrent._vvvvv5[_act].getHeight()+parent._vvvvvv5),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-3*parent._vvvvvv5-parent._vvvvvv4/(double)2),parent._vvvvvv4);
- //BA.debugLineNum = 210;BA.debugLine="ConfigHoraFinalAct(Act).Initialize(\"ConfigHoraFi";
-parent.mostCurrent._vvvvvvvv1[_act].Initialize(mostCurrent.activityBA,"ConfigHoraFinalAct");
- //BA.debugLineNum = 211;BA.debugLine="ConfigHoraFinalAct(Act).Tag=Act";
-parent.mostCurrent._vvvvvvvv1[_act].setTag((Object)(_act));
- //BA.debugLineNum = 212;BA.debugLine="ConfigHoraFinalAct(Act).Text=\"Hasta\"&CRLF&Number";
-parent.mostCurrent._vvvvvvvv1[_act].setText(BA.ObjectToCharSequence("Hasta"+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv4._vv0[parent.mostCurrent._vvv4._v7][_act].hora_fin,(int) (2),(int) (0))+":"+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv4._vv0[parent.mostCurrent._vvv4._v7][_act].minuto_fin,(int) (2),(int) (0))));
- //BA.debugLineNum = 213;BA.debugLine="ConfigHoraFinalAct(Act).TextColor=Colors.Black";
-parent.mostCurrent._vvvvvvvv1[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 214;BA.debugLine="ConfigHoraFinalAct(Act).TextSize=16";
-parent.mostCurrent._vvvvvvvv1[_act].setTextSize((float) (16));
- //BA.debugLineNum = 215;BA.debugLine="ConfigHoraFinalAct(Act).Gravity=Bit.Or(Gravity.C";
-parent.mostCurrent._vvvvvvvv1[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 216;BA.debugLine="ConfigHoraFinalAct(Act).Color=ColorDeFondo";
-parent.mostCurrent._vvvvvvvv1[_act].setColor(parent._vvvvvvv1);
- //BA.debugLineNum = 217;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigHoraFina";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvv1[_act].getObject()),(int) (parent.mostCurrent._vvvvvvv7[_act].getLeft()+parent.mostCurrent._vvvvvvv7[_act].getWidth()+parent._vvvvvv5),(int) (parent.mostCurrent._vvvvv5[_act].getTop()+parent.mostCurrent._vvvvv5[_act].getHeight()+parent._vvvvvv5),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-3*parent._vvvvvv5-parent._vvvvvv4/(double)2),parent._vvvvvv4);
- //BA.debugLineNum = 219;BA.debugLine="ConfigOpcionesAct(Act).Initialize(\"ConfigOpcione";
-parent.mostCurrent._vvvvvvvv2[_act].Initialize(mostCurrent.activityBA,"ConfigOpcionesAct");
- //BA.debugLineNum = 220;BA.debugLine="ConfigOpcionesAct(Act).Tag=Act";
-parent.mostCurrent._vvvvvvvv2[_act].setTag((Object)(_act));
- //BA.debugLineNum = 221;BA.debugLine="ConfigOpcionesAct(Act).SetBackgroundImage(LoadBi";
-parent.mostCurrent._vvvvvvvv2[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"engranaje.png").getObject()));
- //BA.debugLineNum = 222;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigOpciones";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvv2[_act].getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-parent._vvvvvv4-parent._vvvvvv5),parent.mostCurrent._vvvvvvvv1[_act].getTop(),parent._vvvvvv4,parent._vvvvvv4);
- //BA.debugLineNum = 224;BA.debugLine="FinVertical=ConfigHoraFinalAct(Act).Top+ConfigHo";
-_finvertical = (int) (parent.mostCurrent._vvvvvvvv1[_act].getTop()+parent.mostCurrent._vvvvvvvv1[_act].getHeight());
+ //BA.debugLineNum = 181;BA.debugLine="ConfigPictogramaAct(Act).Initialize(\"ConfigPicto";
+parent.mostCurrent._vvvvvvvvvvv1[_act].Initialize(mostCurrent.activityBA,"ConfigPictogramaAct");
+ //BA.debugLineNum = 182;BA.debugLine="ConfigPictogramaAct(Act).Tag=Act";
+parent.mostCurrent._vvvvvvvvvvv1[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 183;BA.debugLine="ConfigPictogramaAct(Act).SetBackgroundImage(Load";
+parent.mostCurrent._vvvvvvvvvvv1[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(parent.mostCurrent._vvv7._vvv4,parent.mostCurrent._vvv7._vv0[parent.mostCurrent._vvv7._v7][_act].Pictograma+".png").getObject()));
+ //BA.debugLineNum = 184;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigPictogra";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvvvvv1[_act].getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-parent._vvvvvvvvv5-parent._vvvvvvvvv6),_iniciovertical,parent._vvvvvvvvv5,parent._vvvvvvvvv5);
+ //BA.debugLineNum = 186;BA.debugLine="ConfigDescripcionAct(Act).Initialize(\"ConfigDesc";
+parent.mostCurrent._vvvvvvvv6[_act].Initialize(mostCurrent.activityBA,"ConfigDescripcionAct");
+ //BA.debugLineNum = 187;BA.debugLine="ConfigDescripcionAct(Act).Tag=Act";
+parent.mostCurrent._vvvvvvvv6[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 188;BA.debugLine="ConfigDescripcionAct(Act).Text=Starter.Actividad";
+parent.mostCurrent._vvvvvvvv6[_act].setText(BA.ObjectToCharSequence(parent.mostCurrent._vvv7._vv0[parent.mostCurrent._vvv7._v7][_act].Descripcion));
+ //BA.debugLineNum = 189;BA.debugLine="ConfigDescripcionAct(Act).TextColor=Colors.Black";
+parent.mostCurrent._vvvvvvvv6[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 190;BA.debugLine="ConfigDescripcionAct(Act).TextSize=16";
+parent.mostCurrent._vvvvvvvv6[_act].setTextSize((float) (16));
+ //BA.debugLineNum = 191;BA.debugLine="ConfigDescripcionAct(Act).Gravity=Bit.Or(Gravity";
+parent.mostCurrent._vvvvvvvv6[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 192;BA.debugLine="ConfigDescripcionAct(Act).Color=Starter.Colores(";
+parent.mostCurrent._vvvvvvvv6[_act].setColor(parent.mostCurrent._vvv7._vv4[_act]);
+ //BA.debugLineNum = 193;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigDescripc";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvv6[_act].getObject()),parent._vvvvvvvvv6,_iniciovertical,(int) (parent.mostCurrent._vvvvvvvvvvv1[_act].getLeft()-2*parent._vvvvvvvvv6),parent._vvvvvvvvv5);
+ //BA.debugLineNum = 195;BA.debugLine="ConfigHoraInicioAct(Act).Initialize(\"ConfigHoraI";
+parent.mostCurrent._vvvvvvvvvv0[_act].Initialize(mostCurrent.activityBA,"ConfigHoraInicioAct");
+ //BA.debugLineNum = 196;BA.debugLine="ConfigHoraInicioAct(Act).Tag=Act";
+parent.mostCurrent._vvvvvvvvvv0[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 197;BA.debugLine="ConfigHoraInicioAct(Act).Text=\"Desde\"&CRLF&Numbe";
+parent.mostCurrent._vvvvvvvvvv0[_act].setText(BA.ObjectToCharSequence("Desde"+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv7._vv0[parent.mostCurrent._vvv7._v7][_act].hora_inicio,(int) (2),(int) (0))+":"+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv7._vv0[parent.mostCurrent._vvv7._v7][_act].minuto_inicio,(int) (2),(int) (0))));
+ //BA.debugLineNum = 198;BA.debugLine="ConfigHoraInicioAct(Act).TextColor=Colors.Black";
+parent.mostCurrent._vvvvvvvvvv0[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 199;BA.debugLine="ConfigHoraInicioAct(Act).TextSize=16";
+parent.mostCurrent._vvvvvvvvvv0[_act].setTextSize((float) (16));
+ //BA.debugLineNum = 200;BA.debugLine="ConfigHoraInicioAct(Act).Gravity=Bit.Or(Gravity.";
+parent.mostCurrent._vvvvvvvvvv0[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 201;BA.debugLine="ConfigHoraInicioAct(Act).Color=ColorDeFondo";
+parent.mostCurrent._vvvvvvvvvv0[_act].setColor(parent._vvvvvvvvvv2);
+ //BA.debugLineNum = 202;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigHoraInic";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvvvv0[_act].getObject()),(int) (3*parent._vvvvvvvvv6),(int) (parent.mostCurrent._vvvvvvvv6[_act].getTop()+parent.mostCurrent._vvvvvvvv6[_act].getHeight()+parent._vvvvvvvvv6),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-3*parent._vvvvvvvvv6-parent._vvvvvvvvv5/(double)2),parent._vvvvvvvvv5);
+ //BA.debugLineNum = 204;BA.debugLine="ConfigHoraFinalAct(Act).Initialize(\"ConfigHoraFi";
+parent.mostCurrent._vvvvvvvvvvv2[_act].Initialize(mostCurrent.activityBA,"ConfigHoraFinalAct");
+ //BA.debugLineNum = 205;BA.debugLine="ConfigHoraFinalAct(Act).Tag=Act";
+parent.mostCurrent._vvvvvvvvvvv2[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 206;BA.debugLine="ConfigHoraFinalAct(Act).Text=\"Hasta\"&CRLF&Number";
+parent.mostCurrent._vvvvvvvvvvv2[_act].setText(BA.ObjectToCharSequence("Hasta"+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv7._vv0[parent.mostCurrent._vvv7._v7][_act].hora_fin,(int) (2),(int) (0))+":"+anywheresoftware.b4a.keywords.Common.NumberFormat(parent.mostCurrent._vvv7._vv0[parent.mostCurrent._vvv7._v7][_act].minuto_fin,(int) (2),(int) (0))));
+ //BA.debugLineNum = 207;BA.debugLine="ConfigHoraFinalAct(Act).TextColor=Colors.Black";
+parent.mostCurrent._vvvvvvvvvvv2[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 208;BA.debugLine="ConfigHoraFinalAct(Act).TextSize=16";
+parent.mostCurrent._vvvvvvvvvvv2[_act].setTextSize((float) (16));
+ //BA.debugLineNum = 209;BA.debugLine="ConfigHoraFinalAct(Act).Gravity=Bit.Or(Gravity.C";
+parent.mostCurrent._vvvvvvvvvvv2[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 210;BA.debugLine="ConfigHoraFinalAct(Act).Color=ColorDeFondo";
+parent.mostCurrent._vvvvvvvvvvv2[_act].setColor(parent._vvvvvvvvvv2);
+ //BA.debugLineNum = 211;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigHoraFina";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvvvvv2[_act].getObject()),(int) (parent.mostCurrent._vvvvvvvvvv0[_act].getLeft()+parent.mostCurrent._vvvvvvvvvv0[_act].getWidth()+parent._vvvvvvvvv6),(int) (parent.mostCurrent._vvvvvvvv6[_act].getTop()+parent.mostCurrent._vvvvvvvv6[_act].getHeight()+parent._vvvvvvvvv6),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-3*parent._vvvvvvvvv6-parent._vvvvvvvvv5/(double)2),parent._vvvvvvvvv5);
+ //BA.debugLineNum = 213;BA.debugLine="ConfigOpcionesAct(Act).Initialize(\"ConfigOpcione";
+parent.mostCurrent._vvvvvvvvvvv3[_act].Initialize(mostCurrent.activityBA,"ConfigOpcionesAct");
+ //BA.debugLineNum = 214;BA.debugLine="ConfigOpcionesAct(Act).Tag=Act";
+parent.mostCurrent._vvvvvvvvvvv3[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 215;BA.debugLine="ConfigOpcionesAct(Act).SetBackgroundImage(LoadBi";
+parent.mostCurrent._vvvvvvvvvvv3[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"engranaje.png").getObject()));
+ //BA.debugLineNum = 216;BA.debugLine="ParametrosSecuencia.Panel.AddView(ConfigOpciones";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvvvvv3[_act].getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-parent._vvvvvvvvv5-parent._vvvvvvvvv6),parent.mostCurrent._vvvvvvvvvvv2[_act].getTop(),parent._vvvvvvvvv5,parent._vvvvvvvvv5);
+ //BA.debugLineNum = 218;BA.debugLine="FinVertical=ConfigHoraFinalAct(Act).Top+ConfigHo";
+_finvertical = (int) (parent.mostCurrent._vvvvvvvvvvv2[_act].getTop()+parent.mostCurrent._vvvvvvvvvvv2[_act].getHeight());
if (true) break;
if (true) break;
@@ -1145,89 +1200,89 @@ public void resume(BA ba, Object[] result) throws Exception{
//C
this.state = 19;
;
- //BA.debugLineNum = 228;BA.debugLine="BotonAnadirActividad.Initialize(\"BotonAnadirActiv";
-parent.mostCurrent._vvvvvvvv3.Initialize(mostCurrent.activityBA,"BotonAnadirActividad");
- //BA.debugLineNum = 229;BA.debugLine="BotonAnadirActividad.Text=\"Añadir Actividad\"";
-parent.mostCurrent._vvvvvvvv3.setText(BA.ObjectToCharSequence("Añadir Actividad"));
- //BA.debugLineNum = 230;BA.debugLine="BotonAnadirActividad.TextSize=16";
-parent.mostCurrent._vvvvvvvv3.setTextSize((float) (16));
- //BA.debugLineNum = 231;BA.debugLine="BotonAnadirActividad.Gravity=Bit.Or(Gravity.CENTE";
-parent.mostCurrent._vvvvvvvv3.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 232;BA.debugLine="BotonAnadirActividad.TextColor=Colors.Black";
-parent.mostCurrent._vvvvvvvv3.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 233;BA.debugLine="If Starter.Secuencia(Starter.MaxSecuencias).num_a";
+ //BA.debugLineNum = 222;BA.debugLine="BotonAnadirActividad.Initialize(\"BotonAnadirActiv";
+parent.mostCurrent._vvvvvvvvvvv4.Initialize(mostCurrent.activityBA,"BotonAnadirActividad");
+ //BA.debugLineNum = 223;BA.debugLine="BotonAnadirActividad.Text=\"Añadir Actividad\"";
+parent.mostCurrent._vvvvvvvvvvv4.setText(BA.ObjectToCharSequence("Añadir Actividad"));
+ //BA.debugLineNum = 224;BA.debugLine="BotonAnadirActividad.TextSize=16";
+parent.mostCurrent._vvvvvvvvvvv4.setTextSize((float) (16));
+ //BA.debugLineNum = 225;BA.debugLine="BotonAnadirActividad.Gravity=Bit.Or(Gravity.CENTE";
+parent.mostCurrent._vvvvvvvvvvv4.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 226;BA.debugLine="BotonAnadirActividad.TextColor=Colors.Black";
+parent.mostCurrent._vvvvvvvvvvv4.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 227;BA.debugLine="If Starter.Secuencia(Starter.MaxSecuencias).num_a";
if (true) break;
case 19:
//if
this.state = 22;
-if (parent.mostCurrent._vvv4._vv7[parent.mostCurrent._vvv4._v7].num_actividades==parent.mostCurrent._vvv4._v0) {
+if (parent.mostCurrent._vvv7._vv7[parent.mostCurrent._vvv7._v7].num_actividades==parent.mostCurrent._vvv7._v0) {
this.state = 21;
}if (true) break;
case 21:
//C
this.state = 22;
- //BA.debugLineNum = 234;BA.debugLine="BotonAnadirActividad.Enabled=False";
-parent.mostCurrent._vvvvvvvv3.setEnabled(anywheresoftware.b4a.keywords.Common.False);
+ //BA.debugLineNum = 228;BA.debugLine="BotonAnadirActividad.Enabled=False";
+parent.mostCurrent._vvvvvvvvvvv4.setEnabled(anywheresoftware.b4a.keywords.Common.False);
if (true) break;
case 22:
//C
this.state = 23;
;
- //BA.debugLineNum = 236;BA.debugLine="ParametrosSecuencia.Panel.AddView(BotonAnadirActi";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvv3.getObject()),parent._vvvvvv5,(int) (_finvertical+parent._vvvvvv5),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-2*parent._vvvvvv5),parent._vvvvvv4);
- //BA.debugLineNum = 238;BA.debugLine="BotonAceptar.Initialize(\"BotonAceptar\")";
-parent.mostCurrent._vvvvvvvv4.Initialize(mostCurrent.activityBA,"BotonAceptar");
- //BA.debugLineNum = 239;BA.debugLine="BotonAceptar.Text=\"Aceptar\"";
-parent.mostCurrent._vvvvvvvv4.setText(BA.ObjectToCharSequence("Aceptar"));
- //BA.debugLineNum = 240;BA.debugLine="BotonAceptar.TextSize=16";
-parent.mostCurrent._vvvvvvvv4.setTextSize((float) (16));
- //BA.debugLineNum = 241;BA.debugLine="BotonAceptar.Gravity=Bit.Or(Gravity.CENTER_VERTIC";
-parent.mostCurrent._vvvvvvvv4.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 242;BA.debugLine="BotonAceptar.TextColor=Colors.Black";
-parent.mostCurrent._vvvvvvvv4.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 243;BA.debugLine="ParametrosSecuencia.Panel.AddView(BotonAceptar,Se";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvv4.getObject()),parent._vvvvvv5,(int) (parent.mostCurrent._vvvvvvvv3.getTop()+parent.mostCurrent._vvvvvvvv3.getHeight()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-2*parent._vvvvvv5),parent._vvvvvv4);
- //BA.debugLineNum = 245;BA.debugLine="If Starter.Secuencia(Starter.MaxSecuencias).num_a";
+ //BA.debugLineNum = 230;BA.debugLine="ParametrosSecuencia.Panel.AddView(BotonAnadirActi";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvvvvv4.getObject()),parent._vvvvvvvvv6,(int) (_finvertical+parent._vvvvvvvvv6),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-2*parent._vvvvvvvvv6),parent._vvvvvvvvv5);
+ //BA.debugLineNum = 232;BA.debugLine="BotonAceptar.Initialize(\"BotonAceptar\")";
+parent.mostCurrent._vvvvvvvvvvv5.Initialize(mostCurrent.activityBA,"BotonAceptar");
+ //BA.debugLineNum = 233;BA.debugLine="BotonAceptar.Text=\"Aceptar\"";
+parent.mostCurrent._vvvvvvvvvvv5.setText(BA.ObjectToCharSequence("Aceptar"));
+ //BA.debugLineNum = 234;BA.debugLine="BotonAceptar.TextSize=16";
+parent.mostCurrent._vvvvvvvvvvv5.setTextSize((float) (16));
+ //BA.debugLineNum = 235;BA.debugLine="BotonAceptar.Gravity=Bit.Or(Gravity.CENTER_VERTIC";
+parent.mostCurrent._vvvvvvvvvvv5.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 236;BA.debugLine="BotonAceptar.TextColor=Colors.Black";
+parent.mostCurrent._vvvvvvvvvvv5.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 237;BA.debugLine="ParametrosSecuencia.Panel.AddView(BotonAceptar,Se";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvvvvv5.getObject()),parent._vvvvvvvvv6,(int) (parent.mostCurrent._vvvvvvvvvvv4.getTop()+parent.mostCurrent._vvvvvvvvvvv4.getHeight()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-2*parent._vvvvvvvvv6),parent._vvvvvvvvv5);
+ //BA.debugLineNum = 239;BA.debugLine="If Starter.Secuencia(Starter.MaxSecuencias).num_a";
if (true) break;
case 23:
//if
this.state = 26;
-if (parent.mostCurrent._vvv4._vv7[parent.mostCurrent._vvv4._v7].num_actividades==0) {
+if (parent.mostCurrent._vvv7._vv7[parent.mostCurrent._vvv7._v7].num_actividades==0) {
this.state = 25;
}if (true) break;
case 25:
//C
this.state = 26;
- //BA.debugLineNum = 246;BA.debugLine="BotonAceptar.Enabled=False";
-parent.mostCurrent._vvvvvvvv4.setEnabled(anywheresoftware.b4a.keywords.Common.False);
+ //BA.debugLineNum = 240;BA.debugLine="BotonAceptar.Enabled=False";
+parent.mostCurrent._vvvvvvvvvvv5.setEnabled(anywheresoftware.b4a.keywords.Common.False);
if (true) break;
case 26:
//C
this.state = -1;
;
- //BA.debugLineNum = 249;BA.debugLine="BotonCancelar.Initialize(\"BotonCancelar\")";
-parent.mostCurrent._vvvvvvvv5.Initialize(mostCurrent.activityBA,"BotonCancelar");
- //BA.debugLineNum = 250;BA.debugLine="BotonCancelar.Text=\"Cancelar\"";
-parent.mostCurrent._vvvvvvvv5.setText(BA.ObjectToCharSequence("Cancelar"));
- //BA.debugLineNum = 251;BA.debugLine="BotonCancelar.TextSize=16";
-parent.mostCurrent._vvvvvvvv5.setTextSize((float) (16));
- //BA.debugLineNum = 252;BA.debugLine="BotonCancelar.Gravity=Bit.Or(Gravity.CENTER_VERTI";
-parent.mostCurrent._vvvvvvvv5.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 253;BA.debugLine="BotonCancelar.TextColor=Colors.Black";
-parent.mostCurrent._vvvvvvvv5.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 254;BA.debugLine="ParametrosSecuencia.Panel.AddView(BotonCancelar,5";
-parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._vvvvvvvv5.getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)+parent._vvvvvv5),parent.mostCurrent._vvvvvvvv4.getTop(),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-2*parent._vvvvvv5),parent._vvvvvv4);
- //BA.debugLineNum = 256;BA.debugLine="ParametrosSecuencia.Panel.Height=BotonCancelar.To";
-parent.mostCurrent._parametrossecuencia.getPanel().setHeight((int) (parent.mostCurrent._vvvvvvvv5.getTop()+parent.mostCurrent._vvvvvvvv5.getHeight()+parent._vvvvvv5));
- //BA.debugLineNum = 258;BA.debugLine="ParametrosSecuencia.ScrollPosition=Posicion";
+ //BA.debugLineNum = 243;BA.debugLine="BotonCancelar.Initialize(\"BotonCancelar\")";
+parent.mostCurrent._botoncancelar.Initialize(mostCurrent.activityBA,"BotonCancelar");
+ //BA.debugLineNum = 244;BA.debugLine="BotonCancelar.Text=\"Cancelar\"";
+parent.mostCurrent._botoncancelar.setText(BA.ObjectToCharSequence("Cancelar"));
+ //BA.debugLineNum = 245;BA.debugLine="BotonCancelar.TextSize=16";
+parent.mostCurrent._botoncancelar.setTextSize((float) (16));
+ //BA.debugLineNum = 246;BA.debugLine="BotonCancelar.Gravity=Bit.Or(Gravity.CENTER_VERTI";
+parent.mostCurrent._botoncancelar.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 247;BA.debugLine="BotonCancelar.TextColor=Colors.Black";
+parent.mostCurrent._botoncancelar.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 248;BA.debugLine="ParametrosSecuencia.Panel.AddView(BotonCancelar,5";
+parent.mostCurrent._parametrossecuencia.getPanel().AddView((android.view.View)(parent.mostCurrent._botoncancelar.getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)+parent._vvvvvvvvv6),parent.mostCurrent._vvvvvvvvvvv5.getTop(),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA)-2*parent._vvvvvvvvv6),parent._vvvvvvvvv5);
+ //BA.debugLineNum = 250;BA.debugLine="ParametrosSecuencia.Panel.Height=BotonCancelar.To";
+parent.mostCurrent._parametrossecuencia.getPanel().setHeight((int) (parent.mostCurrent._botoncancelar.getTop()+parent.mostCurrent._botoncancelar.getHeight()+parent._vvvvvvvvv6));
+ //BA.debugLineNum = 252;BA.debugLine="ParametrosSecuencia.ScrollPosition=Posicion";
parent.mostCurrent._parametrossecuencia.setScrollPosition(_posicion);
- //BA.debugLineNum = 259;BA.debugLine="Sleep(0)";
+ //BA.debugLineNum = 253;BA.debugLine="Sleep(0)";
anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
this.state = 29;
return;
@@ -1235,11 +1290,11 @@ public void resume(BA ba, Object[] result) throws Exception{
//C
this.state = -1;
;
- //BA.debugLineNum = 260;BA.debugLine="ParametrosSecuencia.ScrollPosition=Posicion";
+ //BA.debugLineNum = 254;BA.debugLine="ParametrosSecuencia.ScrollPosition=Posicion";
parent.mostCurrent._parametrossecuencia.setScrollPosition(_posicion);
- //BA.debugLineNum = 262;BA.debugLine="Inicializando=False";
-parent._vvvvv6 = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 264;BA.debugLine="End Sub";
+ //BA.debugLineNum = 256;BA.debugLine="Inicializando=False";
+parent._vvvvvvvv7 = anywheresoftware.b4a.keywords.Common.False;
+ //BA.debugLineNum = 258;BA.debugLine="End Sub";
if (true) break;
}
@@ -1247,393 +1302,231 @@ public void resume(BA ba, Object[] result) throws Exception{
}
}
public static String _globals() throws Exception{
- //BA.debugLineNum = 12;BA.debugLine="Sub Globals";
- //BA.debugLineNum = 16;BA.debugLine="Dim SeparacionHorizontal=25%X As Int 'Separación";
-_vvvvvv7 = anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (25),mostCurrent.activityBA);
- //BA.debugLineNum = 17;BA.debugLine="Dim TamCasilla=60dip As Int 'Tamaño vertical de l";
-_vvvvvv4 = anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60));
- //BA.debugLineNum = 18;BA.debugLine="Dim SeparacionCasillas=5dip As Int 'Separación ve";
-_vvvvvv5 = anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5));
- //BA.debugLineNum = 20;BA.debugLine="Dim ColorDeFondo=0xFFF0FFFF As Int";
-_vvvvvvv1 = (int) (0xfff0ffff);
- //BA.debugLineNum = 22;BA.debugLine="Private ParametrosSecuencia As ScrollView";
+ //BA.debugLineNum = 9;BA.debugLine="Sub Globals";
+ //BA.debugLineNum = 10;BA.debugLine="Dim SeparacionHorizontal=25%X As Int 'Separación";
+_vvvvvvvvv0 = anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (25),mostCurrent.activityBA);
+ //BA.debugLineNum = 11;BA.debugLine="Dim TamCasilla=60dip As Int 'Tamaño vertical de l";
+_vvvvvvvvv5 = anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60));
+ //BA.debugLineNum = 12;BA.debugLine="Dim SeparacionCasillas=5dip As Int 'Separación ve";
+_vvvvvvvvv6 = anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5));
+ //BA.debugLineNum = 14;BA.debugLine="Dim ColorDeFondo=0xFFF0FFFF As Int";
+_vvvvvvvvvv2 = (int) (0xfff0ffff);
+ //BA.debugLineNum = 16;BA.debugLine="Private ParametrosSecuencia As ScrollView";
mostCurrent._parametrossecuencia = new anywheresoftware.b4a.objects.ScrollViewWrapper();
- //BA.debugLineNum = 24;BA.debugLine="Dim EtiquetaInicial As Label";
-mostCurrent._vvvvvv2 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 25;BA.debugLine="Dim ConfigDescripcion As EditText";
-mostCurrent._vvvvv4 = new anywheresoftware.b4a.objects.EditTextWrapper();
- //BA.debugLineNum = 26;BA.debugLine="Dim ConfigPictograma As Label";
-mostCurrent._vvvvvv3 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 27;BA.debugLine="Dim EtiqTipoTablero As Label";
-mostCurrent._vvvvvv6 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 28;BA.debugLine="Dim ConfigTipoTablero As Label";
-mostCurrent._vvvvvv0 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 29;BA.debugLine="Dim EtiqIndicarHora As Label";
-mostCurrent._vvvvvvv2 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 30;BA.debugLine="Dim ConfigIndicarHora As Label";
-mostCurrent._vvvvvvv3 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 31;BA.debugLine="Dim EtiqTamIcono As Label";
-mostCurrent._vvvvvvv4 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 32;BA.debugLine="Dim ConfigTamIcono As SeekBar";
-mostCurrent._vvvvvvv5 = new anywheresoftware.b4a.objects.SeekBarWrapper();
- //BA.debugLineNum = 34;BA.debugLine="Dim EtiqActividades As Label";
-mostCurrent._vvvvvvv6 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 36;BA.debugLine="Dim ConfigDescripcionAct(Starter.MaxActividades)";
-mostCurrent._vvvvv5 = new anywheresoftware.b4a.objects.EditTextWrapper[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 18;BA.debugLine="Dim EtiquetaInicial As Label";
+mostCurrent._vvvvvvvvv3 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 19;BA.debugLine="Dim ConfigDescripcion As EditText";
+mostCurrent._vvvvvvvv5 = new anywheresoftware.b4a.objects.EditTextWrapper();
+ //BA.debugLineNum = 20;BA.debugLine="Dim ConfigPictograma As Label";
+mostCurrent._vvvvvvvvv4 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 21;BA.debugLine="Dim EtiqTipoTablero As Label";
+mostCurrent._vvvvvvvvv7 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 22;BA.debugLine="Dim ConfigTipoTablero As Label";
+mostCurrent._vvvvvvvvvv1 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 23;BA.debugLine="Dim EtiqIndicarHora As Label";
+mostCurrent._vvvvvvvvvv3 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 24;BA.debugLine="Dim ConfigIndicarHora As Label";
+mostCurrent._vvvvvvvvvv4 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 25;BA.debugLine="Dim EtiqTamIcono As Label";
+mostCurrent._vvvvvvvvvv5 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 26;BA.debugLine="Dim ConfigTamIcono As SeekBar";
+mostCurrent._vvvvvvvvvv6 = new anywheresoftware.b4a.objects.SeekBarWrapper();
+ //BA.debugLineNum = 28;BA.debugLine="Dim EtiqActividades As Label";
+mostCurrent._vvvvvvvvvv7 = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 30;BA.debugLine="Dim ConfigDescripcionAct(Starter.MaxActividades)";
+mostCurrent._vvvvvvvv6 = new anywheresoftware.b4a.objects.EditTextWrapper[mostCurrent._vvv7._v0];
{
-int d0 = mostCurrent._vvvvv5.length;
+int d0 = mostCurrent._vvvvvvvv6.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvvv5[i0] = new anywheresoftware.b4a.objects.EditTextWrapper();
+mostCurrent._vvvvvvvv6[i0] = new anywheresoftware.b4a.objects.EditTextWrapper();
}
}
;
- //BA.debugLineNum = 37;BA.debugLine="Dim ConfigHoraInicioAct(Starter.MaxActividades) A";
-mostCurrent._vvvvvvv7 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 31;BA.debugLine="Dim ConfigHoraInicioAct(Starter.MaxActividades) A";
+mostCurrent._vvvvvvvvvv0 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv7._v0];
{
-int d0 = mostCurrent._vvvvvvv7.length;
+int d0 = mostCurrent._vvvvvvvvvv0.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvvvvv7[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
+mostCurrent._vvvvvvvvvv0[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
}
}
;
- //BA.debugLineNum = 38;BA.debugLine="Dim ConfigHoraFinalAct(Starter.MaxActividades) As";
-mostCurrent._vvvvvvvv1 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 32;BA.debugLine="Dim ConfigHoraFinalAct(Starter.MaxActividades) As";
+mostCurrent._vvvvvvvvvvv2 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv7._v0];
{
-int d0 = mostCurrent._vvvvvvvv1.length;
+int d0 = mostCurrent._vvvvvvvvvvv2.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvvvvvv1[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
+mostCurrent._vvvvvvvvvvv2[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
}
}
;
- //BA.debugLineNum = 39;BA.debugLine="Dim ConfigPictogramaAct(Starter.MaxActividades) A";
-mostCurrent._vvvvvvv0 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 33;BA.debugLine="Dim ConfigPictogramaAct(Starter.MaxActividades) A";
+mostCurrent._vvvvvvvvvvv1 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv7._v0];
{
-int d0 = mostCurrent._vvvvvvv0.length;
+int d0 = mostCurrent._vvvvvvvvvvv1.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvvvvv0[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
+mostCurrent._vvvvvvvvvvv1[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
}
}
;
- //BA.debugLineNum = 40;BA.debugLine="Dim ConfigOpcionesAct(Starter.MaxActividades) As";
-mostCurrent._vvvvvvvv2 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 34;BA.debugLine="Dim ConfigOpcionesAct(Starter.MaxActividades) As";
+mostCurrent._vvvvvvvvvvv3 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv7._v0];
{
-int d0 = mostCurrent._vvvvvvvv2.length;
+int d0 = mostCurrent._vvvvvvvvvvv3.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvvvvvv2[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
+mostCurrent._vvvvvvvvvvv3[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
}
}
;
- //BA.debugLineNum = 42;BA.debugLine="Dim BotonAnadirActividad As Button";
-mostCurrent._vvvvvvvv3 = new anywheresoftware.b4a.objects.ButtonWrapper();
- //BA.debugLineNum = 43;BA.debugLine="Dim BotonAceptar As Button";
-mostCurrent._vvvvvvvv4 = new anywheresoftware.b4a.objects.ButtonWrapper();
- //BA.debugLineNum = 44;BA.debugLine="Dim BotonCancelar As Button";
-mostCurrent._vvvvvvvv5 = new anywheresoftware.b4a.objects.ButtonWrapper();
- //BA.debugLineNum = 46;BA.debugLine="Dim Inicializando As Boolean";
-_vvvvv6 = false;
- //BA.debugLineNum = 50;BA.debugLine="Dim ListaPictogramas As ListView";
-mostCurrent._vvvvv1 = new anywheresoftware.b4a.objects.ListViewWrapper();
- //BA.debugLineNum = 51;BA.debugLine="Dim ListaPictogramasVisible As Boolean";
-_vvvv0 = false;
- //BA.debugLineNum = 53;BA.debugLine="Dim PictogramaEditado As Int";
-_vvvvvv1 = 0;
- //BA.debugLineNum = 57;BA.debugLine="Dim DescripcionSecuenciaPorDefecto=\"Pulsa aquí pa";
-mostCurrent._vvvv6 = "Pulsa aquí para poner un nombre de secuencia";
- //BA.debugLineNum = 58;BA.debugLine="Dim DescripcionActividadPorDefecto=\"Nombre de la";
-mostCurrent._vvvvv3 = "Nombre de la nueva actividad";
- //BA.debugLineNum = 60;BA.debugLine="End Sub";
+ //BA.debugLineNum = 36;BA.debugLine="Dim BotonAnadirActividad As Button";
+mostCurrent._vvvvvvvvvvv4 = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 37;BA.debugLine="Dim BotonAceptar As Button";
+mostCurrent._vvvvvvvvvvv5 = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 38;BA.debugLine="Dim BotonCancelar As Button";
+mostCurrent._botoncancelar = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 40;BA.debugLine="Dim Inicializando As Boolean";
+_vvvvvvvv7 = false;
+ //BA.debugLineNum = 47;BA.debugLine="Dim PictogramaEditado As Int";
+_vvvvvvvvv2 = 0;
+ //BA.debugLineNum = 51;BA.debugLine="Dim DescripcionSecuenciaPorDefecto=\"Pulsa aquí pa";
+mostCurrent._vvvvvvvv1 = "Pulsa aquí para poner un nombre de secuencia";
+ //BA.debugLineNum = 52;BA.debugLine="Dim DescripcionActividadPorDefecto=\"Nombre de la";
+mostCurrent._vvvvvvvv3 = "Nombre de la nueva actividad";
+ //BA.debugLineNum = 54;BA.debugLine="End Sub";
return "";
}
-public static void _inicializar_lista_pictogramas() throws Exception{
-ResumableSub_Inicializar_Lista_Pictogramas rsub = new ResumableSub_Inicializar_Lista_Pictogramas(null);
-rsub.resume(processBA, null);
-}
-public static class ResumableSub_Inicializar_Lista_Pictogramas extends BA.ResumableSub {
-public ResumableSub_Inicializar_Lista_Pictogramas(javi.prieto.pictorario.configurarsecuencia parent) {
-this.parent = parent;
-}
-javi.prieto.pictorario.configurarsecuencia parent;
-anywheresoftware.b4a.objects.collections.List _filelist = null;
-String _file1 = "";
-String _file2 = "";
-int _n = 0;
-anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null;
-int step17;
-int limit17;
-
-@Override
-public void resume(BA ba, Object[] result) throws Exception{
-
- while (true) {
- switch (state) {
- case -1:
-return;
-
-case 0:
-//C
-this.state = 1;
- //BA.debugLineNum = 490;BA.debugLine="Dim fileList As List";
-_filelist = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 491;BA.debugLine="Dim file1 As String";
-_file1 = "";
- //BA.debugLineNum = 492;BA.debugLine="Dim file2 As String";
-_file2 = "";
- //BA.debugLineNum = 493;BA.debugLine="Dim n As Int";
-_n = 0;
- //BA.debugLineNum = 495;BA.debugLine="If ListaPictogramas.IsInitialized=False Then";
-if (true) break;
-
-case 1:
-//if
-this.state = 12;
-if (parent.mostCurrent._vvvvv1.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) {
-this.state = 3;
-}if (true) break;
-
-case 3:
-//C
-this.state = 4;
- //BA.debugLineNum = 497;BA.debugLine="ProgressDialogShow(\"Inicializando lista de picto";
-anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence("Inicializando lista de pictogramas"));
- //BA.debugLineNum = 499;BA.debugLine="ListaPictogramas.Initialize(\"ListaPictogramas\")";
-parent.mostCurrent._vvvvv1.Initialize(mostCurrent.activityBA,"ListaPictogramas");
- //BA.debugLineNum = 500;BA.debugLine="ListaPictogramas.Color=Colors.LightGray";
-parent.mostCurrent._vvvvv1.setColor(anywheresoftware.b4a.keywords.Common.Colors.LightGray);
- //BA.debugLineNum = 501;BA.debugLine="ListaPictogramas.TwoLinesAndBitmap.Label.TextCol";
-parent.mostCurrent._vvvvv1.getTwoLinesAndBitmap().Label.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 502;BA.debugLine="ListaPictogramas.TwoLinesAndBitmap.SecondLabel.V";
-parent.mostCurrent._vvvvv1.getTwoLinesAndBitmap().SecondLabel.setVisible(anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 503;BA.debugLine="ListaPictogramas.TwoLinesAndBitmap.ImageView.Wid";
-parent.mostCurrent._vvvvv1.getTwoLinesAndBitmap().ImageView.setWidth(anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50)));
- //BA.debugLineNum = 504;BA.debugLine="ListaPictogramas.TwoLinesAndBitmap.ImageView.Hei";
-parent.mostCurrent._vvvvv1.getTwoLinesAndBitmap().ImageView.setHeight(anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50)));
- //BA.debugLineNum = 505;BA.debugLine="ListaPictogramas.Padding=Array As Int(5dip,5dip,";
-parent.mostCurrent._vvvvv1.setPadding(new int[]{anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5))});
- //BA.debugLineNum = 506;BA.debugLine="ListaPictogramas.FastScrollEnabled = True";
-parent.mostCurrent._vvvvv1.setFastScrollEnabled(anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 508;BA.debugLine="fileList = File.ListFiles(File.DirAssets)";
-_filelist = anywheresoftware.b4a.keywords.Common.File.ListFiles(anywheresoftware.b4a.keywords.Common.File.getDirAssets());
- //BA.debugLineNum = 509;BA.debugLine="fileList.Sort(True)";
-_filelist.Sort(anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 511;BA.debugLine="For n = 0 To fileList.Size-1";
-if (true) break;
-
-case 4:
-//for
-this.state = 11;
-step17 = 1;
-limit17 = (int) (_filelist.getSize()-1);
-_n = (int) (0) ;
-this.state = 13;
-if (true) break;
-
-case 13:
-//C
-this.state = 11;
-if ((step17 > 0 && _n <= limit17) || (step17 < 0 && _n >= limit17)) this.state = 6;
-if (true) break;
-
-case 14:
-//C
-this.state = 13;
-_n = ((int)(0 + _n + step17)) ;
-if (true) break;
-
-case 6:
-//C
-this.state = 7;
- //BA.debugLineNum = 512;BA.debugLine="Sleep(0)";
-anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
-this.state = 15;
-return;
-case 15:
-//C
-this.state = 7;
-;
- //BA.debugLineNum = 513;BA.debugLine="file1 = fileList.Get(n)";
-_file1 = BA.ObjectToString(_filelist.Get(_n));
- //BA.debugLineNum = 514;BA.debugLine="If file1.Contains(\".png\") Then";
-if (true) break;
-
-case 7:
-//if
-this.state = 10;
-if (_file1.contains(".png")) {
-this.state = 9;
-}if (true) break;
-
-case 9:
-//C
-this.state = 10;
- //BA.debugLineNum = 515;BA.debugLine="file2=file1.Replace(\".png\",\"\")";
-_file2 = _file1.replace(".png","");
- //BA.debugLineNum = 516;BA.debugLine="Dim Bitmap1 As Bitmap";
-_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
- //BA.debugLineNum = 517;BA.debugLine="Bitmap1.InitializeSample(File.DirAssets, file1";
-_bitmap1.InitializeSample(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),_file1,anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50)));
- //BA.debugLineNum = 518;BA.debugLine="ListaPictogramas.AddTwoLinesAndBitmap(file2,\"\"";
-parent.mostCurrent._vvvvv1.AddTwoLinesAndBitmap(BA.ObjectToCharSequence(_file2),BA.ObjectToCharSequence(""),(android.graphics.Bitmap)(_bitmap1.getObject()));
- if (true) break;
-
-case 10:
-//C
-this.state = 14;
-;
- if (true) break;
-if (true) break;
-
-case 11:
-//C
-this.state = 12;
-;
- //BA.debugLineNum = 521;BA.debugLine="ListaPictogramasVisible=False";
-parent._vvvv0 = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 523;BA.debugLine="ProgressDialogHide";
-anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
- if (true) break;
-
-case 12:
-//C
-this.state = -1;
-;
- //BA.debugLineNum = 528;BA.debugLine="End Sub";
-if (true) break;
-
- }
- }
- }
-}
-public static String _listapictogramas_itemclick(int _position,Object _value) throws Exception{
- //BA.debugLineNum = 478;BA.debugLine="Sub ListaPictogramas_ItemClick (Position As Int, V";
- //BA.debugLineNum = 479;BA.debugLine="ListaPictogramas.RemoveView";
-mostCurrent._vvvvv1.RemoveView();
- //BA.debugLineNum = 480;BA.debugLine="ListaPictogramasVisible=False";
-_vvvv0 = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 481;BA.debugLine="If PictogramaEditado==-1 Then";
-if (_vvvvvv1==-1) {
- //BA.debugLineNum = 482;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).pictogr";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].pictograma = BA.ObjectToString(_value);
- }else {
- //BA.debugLineNum = 484;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencias";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_vvvvvv1].Pictograma = BA.ObjectToString(_value);
- };
- //BA.debugLineNum = 486;BA.debugLine="DibujarConfigurarSecuencia";
-_vvvv7();
- //BA.debugLineNum = 487;BA.debugLine="End Sub";
-return "";
-}
-public static boolean _vvvvv0() throws Exception{
+public static boolean _vvvvvvvvv1() throws Exception{
int _i = 0;
int _j = 0;
int _hm_1 = 0;
int _hm_2 = 0;
javi.prieto.pictorario.starter._actividad _actint = null;
boolean _intercambiorealizado = false;
- //BA.debugLineNum = 401;BA.debugLine="Sub OrdenarActividades As Boolean";
- //BA.debugLineNum = 402;BA.debugLine="Dim i,j As Int";
+ //BA.debugLineNum = 395;BA.debugLine="Sub OrdenarActividades As Boolean";
+ //BA.debugLineNum = 396;BA.debugLine="Dim i,j As Int";
_i = 0;
_j = 0;
- //BA.debugLineNum = 403;BA.debugLine="Dim hm_1,hm_2 As Int";
+ //BA.debugLineNum = 397;BA.debugLine="Dim hm_1,hm_2 As Int";
_hm_1 = 0;
_hm_2 = 0;
- //BA.debugLineNum = 404;BA.debugLine="Dim ActInt As Actividad";
+ //BA.debugLineNum = 398;BA.debugLine="Dim ActInt As Actividad";
_actint = new javi.prieto.pictorario.starter._actividad();
- //BA.debugLineNum = 405;BA.debugLine="Dim IntercambioRealizado As Boolean";
+ //BA.debugLineNum = 399;BA.debugLine="Dim IntercambioRealizado As Boolean";
_intercambiorealizado = false;
- //BA.debugLineNum = 407;BA.debugLine="IntercambioRealizado=False";
+ //BA.debugLineNum = 401;BA.debugLine="IntercambioRealizado=False";
_intercambiorealizado = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 410;BA.debugLine="For i=1 To Starter.Secuencia(Starter.MaxSecuencia";
+ //BA.debugLineNum = 404;BA.debugLine="For i=1 To Starter.Secuencia(Starter.MaxSecuencia";
{
final int step6 = 1;
-final int limit6 = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades-1);
+final int limit6 = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades-1);
_i = (int) (1) ;
-for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) {
- //BA.debugLineNum = 411;BA.debugLine="For j=0 To Starter.Secuencia(Starter.MaxSecuenci";
+for (;_i <= limit6 ;_i = _i + step6 ) {
+ //BA.debugLineNum = 405;BA.debugLine="For j=0 To Starter.Secuencia(Starter.MaxSecuenci";
{
final int step7 = 1;
-final int limit7 = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades-2);
+final int limit7 = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades-2);
_j = (int) (0) ;
-for (;(step7 > 0 && _j <= limit7) || (step7 < 0 && _j >= limit7) ;_j = ((int)(0 + _j + step7)) ) {
- //BA.debugLineNum = 412;BA.debugLine="hm_1=Starter.ActividadSecuencia(Starter.MaxSecu";
-_hm_1 = (int) (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j].hora_inicio*60+mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j].minuto_inicio);
- //BA.debugLineNum = 413;BA.debugLine="hm_2=Starter.ActividadSecuencia(Starter.MaxSecu";
-_hm_2 = (int) (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)].hora_inicio*60+mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)].minuto_inicio);
- //BA.debugLineNum = 414;BA.debugLine="If hm_1>hm_2 Then";
+for (;_j <= limit7 ;_j = _j + step7 ) {
+ //BA.debugLineNum = 406;BA.debugLine="hm_1=Starter.ActividadSecuencia(Starter.MaxSecu";
+_hm_1 = (int) (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j].hora_inicio*60+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j].minuto_inicio);
+ //BA.debugLineNum = 407;BA.debugLine="hm_2=Starter.ActividadSecuencia(Starter.MaxSecu";
+_hm_2 = (int) (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)].hora_inicio*60+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)].minuto_inicio);
+ //BA.debugLineNum = 408;BA.debugLine="If hm_1>hm_2 Then";
if (_hm_1>_hm_2) {
- //BA.debugLineNum = 415;BA.debugLine="ActInt=Starter.ActividadSecuencia(Starter.MaxS";
-_actint = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j];
- //BA.debugLineNum = 416;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuenci";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j] = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)];
- //BA.debugLineNum = 417;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuenci";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)] = _actint;
- //BA.debugLineNum = 418;BA.debugLine="IntercambioRealizado=True";
+ //BA.debugLineNum = 409;BA.debugLine="ActInt=Starter.ActividadSecuencia(Starter.MaxS";
+_actint = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j];
+ //BA.debugLineNum = 410;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuenci";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j] = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)];
+ //BA.debugLineNum = 411;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuenci";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)] = _actint;
+ //BA.debugLineNum = 412;BA.debugLine="IntercambioRealizado=True";
_intercambiorealizado = anywheresoftware.b4a.keywords.Common.True;
};
}
};
}
};
- //BA.debugLineNum = 424;BA.debugLine="QuitarSolapes";
-_vvvvv7();
- //BA.debugLineNum = 426;BA.debugLine="Return IntercambioRealizado";
+ //BA.debugLineNum = 418;BA.debugLine="QuitarSolapes";
+_vvvvvvvv0();
+ //BA.debugLineNum = 420;BA.debugLine="Return IntercambioRealizado";
if (true) return _intercambiorealizado;
- //BA.debugLineNum = 427;BA.debugLine="End Sub";
+ //BA.debugLineNum = 421;BA.debugLine="End Sub";
return false;
}
+public static String _pictogramaelegido(int _id) throws Exception{
+ //BA.debugLineNum = 592;BA.debugLine="Sub PictogramaElegido(Id As Int)";
+ //BA.debugLineNum = 593;BA.debugLine="If Id<>-1 Then 'Si no se ha pulsado en \"Cancelar\"";
+if (_id!=-1) {
+ //BA.debugLineNum = 594;BA.debugLine="If PictogramaEditado==-1 Then 'Pictograma de la";
+if (_vvvvvvvvv2==-1) {
+ //BA.debugLineNum = 595;BA.debugLine="Starter.Secuencia(Starter.MaxSecuencias).pictog";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].pictograma = BA.NumberToString(_id);
+ }else {
+ //BA.debugLineNum = 597;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_vvvvvvvvv2].Pictograma = BA.NumberToString(_id);
+ };
+ //BA.debugLineNum = 599;BA.debugLine="DibujarConfigurarSecuencia";
+_vvvvvvvv2();
+ };
+ //BA.debugLineNum = 601;BA.debugLine="End Sub";
+return "";
+}
public static String _process_globals() throws Exception{
//BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals";
- //BA.debugLineNum = 10;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7;BA.debugLine="End Sub";
return "";
}
-public static boolean _vvvvv7() throws Exception{
+public static boolean _vvvvvvvv0() throws Exception{
int _hm_1 = 0;
int _hm_2 = 0;
int _j = 0;
boolean _resultado = false;
- //BA.debugLineNum = 429;BA.debugLine="Sub QuitarSolapes As Boolean";
- //BA.debugLineNum = 430;BA.debugLine="Dim hm_1,hm_2 As Int";
+ //BA.debugLineNum = 423;BA.debugLine="Sub QuitarSolapes As Boolean";
+ //BA.debugLineNum = 424;BA.debugLine="Dim hm_1,hm_2 As Int";
_hm_1 = 0;
_hm_2 = 0;
- //BA.debugLineNum = 431;BA.debugLine="Dim j As Int";
+ //BA.debugLineNum = 425;BA.debugLine="Dim j As Int";
_j = 0;
- //BA.debugLineNum = 432;BA.debugLine="Dim resultado As Boolean";
+ //BA.debugLineNum = 426;BA.debugLine="Dim resultado As Boolean";
_resultado = false;
- //BA.debugLineNum = 434;BA.debugLine="resultado=False";
+ //BA.debugLineNum = 428;BA.debugLine="resultado=False";
_resultado = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 436;BA.debugLine="For j=0 To Starter.Secuencia(Starter.MaxSecuencia";
+ //BA.debugLineNum = 430;BA.debugLine="For j=0 To Starter.Secuencia(Starter.MaxSecuencia";
{
final int step5 = 1;
-final int limit5 = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._v7].num_actividades-2);
+final int limit5 = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._v7].num_actividades-2);
_j = (int) (0) ;
-for (;(step5 > 0 && _j <= limit5) || (step5 < 0 && _j >= limit5) ;_j = ((int)(0 + _j + step5)) ) {
- //BA.debugLineNum = 437;BA.debugLine="hm_1=Starter.ActividadSecuencia(Starter.MaxSecue";
-_hm_1 = (int) (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j].hora_fin*60+mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j].minuto_fin);
- //BA.debugLineNum = 438;BA.debugLine="hm_2=Starter.ActividadSecuencia(Starter.MaxSecue";
-_hm_2 = (int) (mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)].hora_inicio*60+mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)].minuto_inicio);
- //BA.debugLineNum = 439;BA.debugLine="If hm_1>hm_2 Then 'Si es así, las iguala";
+for (;_j <= limit5 ;_j = _j + step5 ) {
+ //BA.debugLineNum = 431;BA.debugLine="hm_1=Starter.ActividadSecuencia(Starter.MaxSecue";
+_hm_1 = (int) (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j].hora_fin*60+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j].minuto_fin);
+ //BA.debugLineNum = 432;BA.debugLine="hm_2=Starter.ActividadSecuencia(Starter.MaxSecue";
+_hm_2 = (int) (mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)].hora_inicio*60+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)].minuto_inicio);
+ //BA.debugLineNum = 433;BA.debugLine="If hm_1>hm_2 Then 'Si es así, las iguala";
if (_hm_1>_hm_2) {
- //BA.debugLineNum = 440;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j].hora_fin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)].hora_inicio;
- //BA.debugLineNum = 441;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
-mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][_j].minuto_fin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._v7][(int) (_j+1)].minuto_inicio;
- //BA.debugLineNum = 442;BA.debugLine="resultado=True";
+ //BA.debugLineNum = 434;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j].hora_fin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)].hora_inicio;
+ //BA.debugLineNum = 435;BA.debugLine="Starter.ActividadSecuencia(Starter.MaxSecuencia";
+mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][_j].minuto_fin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._v7][(int) (_j+1)].minuto_inicio;
+ //BA.debugLineNum = 436;BA.debugLine="resultado=True";
_resultado = anywheresoftware.b4a.keywords.Common.True;
};
}
};
- //BA.debugLineNum = 446;BA.debugLine="Return resultado";
+ //BA.debugLineNum = 440;BA.debugLine="Return resultado";
if (true) return _resultado;
- //BA.debugLineNum = 447;BA.debugLine="End Sub";
+ //BA.debugLineNum = 441;BA.debugLine="End Sub";
return false;
}
-public static String _vvvvv2() throws Exception{
- //BA.debugLineNum = 304;BA.debugLine="Sub SalidaConfigurarSecuencia";
- //BA.debugLineNum = 305;BA.debugLine="If Msgbox2(\"Se perderán todos los cambios realiza";
+public static String _vvvvvvvv4() throws Exception{
+ //BA.debugLineNum = 298;BA.debugLine="Sub SalidaConfigurarSecuencia";
+ //BA.debugLineNum = 299;BA.debugLine="If Msgbox2(\"Se perderán todos los cambios realiza";
if (anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("Se perderán todos los cambios realizados."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"¿Está seguro de que desea salir sin guardarlos?"),BA.ObjectToCharSequence("Cancelar cambios"),"Sí","","No",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.DialogResponse.POSITIVE) {
- //BA.debugLineNum = 306;BA.debugLine="Activity.Finish";
+ //BA.debugLineNum = 300;BA.debugLine="StartActivity(Main)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvvv4.getObject()));
+ //BA.debugLineNum = 301;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
};
- //BA.debugLineNum = 308;BA.debugLine="End Sub";
+ //BA.debugLineNum = 303;BA.debugLine="End Sub";
return "";
}
}
diff --git a/Objects/src/javi/prieto/pictorario/designerscripts/LS_acercade.java b/Objects/src/javi/prieto/pictorario/designerscripts/LS_acercade.java
index 8ad4602..5faf7b8 100644
--- a/Objects/src/javi/prieto/pictorario/designerscripts/LS_acercade.java
+++ b/Objects/src/javi/prieto/pictorario/designerscripts/LS_acercade.java
@@ -10,77 +10,101 @@ public static void LS_general(java.util.LinkedHashMap views, int width, int height, float scale) {
anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3);
anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views);
-views.get("logotipo").vw.setWidth((int)((33d / 100 * width)));
+views.get("logotipo").vw.setWidth((int)((80d * scale)));
views.get("logotipo").vw.setLeft((int)((50d / 100 * width)-(views.get("logotipo").vw.getWidth())/2d));
views.get("logotipo").vw.setHeight((int)((views.get("logotipo").vw.getWidth())));
views.get("pictorario").vw.setTop((int)((views.get("logotipo").vw.getTop() + views.get("logotipo").vw.getHeight())));
diff --git a/Objects/src/javi/prieto/pictorario/designerscripts/LS_seleccionarpictograma.java b/Objects/src/javi/prieto/pictorario/designerscripts/LS_seleccionarpictograma.java
new file mode 100644
index 0000000..be98288
--- /dev/null
+++ b/Objects/src/javi/prieto/pictorario/designerscripts/LS_seleccionarpictograma.java
@@ -0,0 +1,42 @@
+package javi.prieto.pictorario.designerscripts;
+import anywheresoftware.b4a.objects.TextViewWrapper;
+import anywheresoftware.b4a.objects.ImageViewWrapper;
+import anywheresoftware.b4a.BA;
+
+
+public class LS_seleccionarpictograma{
+
+public static void LS_general(java.util.LinkedHashMap views, int width, int height, float scale) {
+anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3);
+String _separador="";
+String _tamvertical="";
+anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views);
+_separador = BA.NumberToString((10d * scale));
+_tamvertical = BA.NumberToString((60d * scale));
+views.get("titulo").vw.setTop((int)(Double.parseDouble(_separador)));
+views.get("titulo").vw.setLeft((int)(Double.parseDouble(_separador)));
+views.get("titulo").vw.setWidth((int)((100d / 100 * width)-2d*Double.parseDouble(_separador)));
+views.get("titulo").vw.setHeight((int)(Double.parseDouble(_tamvertical)));
+views.get("buscar").vw.setLeft((int)(Double.parseDouble(_separador)));
+views.get("buscar").vw.setTop((int)((100d / 100 * height)-Double.parseDouble(_separador)-2d*Double.parseDouble(_tamvertical)));
+views.get("buscar").vw.setWidth((int)((100d / 100 * width)-2d*Double.parseDouble(_separador)));
+views.get("buscar").vw.setHeight((int)(2d*Double.parseDouble(_tamvertical)));
+views.get("listadopictogramas").vw.setLeft((int)(Double.parseDouble(_separador)));
+views.get("listadopictogramas").vw.setTop((int)((views.get("titulo").vw.getTop())+(views.get("titulo").vw.getHeight())));
+views.get("listadopictogramas").vw.setWidth((int)((100d / 100 * width)-2d*Double.parseDouble(_separador)));
+views.get("listadopictogramas").vw.setHeight((int)((views.get("buscar").vw.getTop())-(views.get("titulo").vw.getTop())-(views.get("titulo").vw.getHeight())));
+views.get("barrabusqueda").vw.setTop((int)(0d));
+views.get("barrabusqueda").vw.setLeft((int)(0d));
+views.get("barrabusqueda").vw.setWidth((int)((views.get("buscar").vw.getWidth())-Double.parseDouble(_tamvertical)));
+views.get("barrabusqueda").vw.setHeight((int)(Double.parseDouble(_tamvertical)));
+views.get("botonbuscar").vw.setTop((int)(0d));
+views.get("botonbuscar").vw.setLeft((int)((views.get("barrabusqueda").vw.getWidth())));
+views.get("botonbuscar").vw.setWidth((int)(Double.parseDouble(_tamvertical)));
+views.get("botonbuscar").vw.setHeight((int)(Double.parseDouble(_tamvertical)));
+views.get("botoncancelar").vw.setTop((int)(Double.parseDouble(_tamvertical)));
+views.get("botoncancelar").vw.setLeft((int)(0d));
+views.get("botoncancelar").vw.setWidth((int)((views.get("buscar").vw.getWidth())));
+views.get("botoncancelar").vw.setHeight((int)(Double.parseDouble(_tamvertical)));
+
+}
+}
\ No newline at end of file
diff --git a/Objects/src/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.java b/Objects/src/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.java
index 3a48f5d..030296d 100644
--- a/Objects/src/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.java
+++ b/Objects/src/javi/prieto/pictorario/designerscripts/LS_visualizarsecuencia.java
@@ -15,8 +15,10 @@ public static void LS_general(java.util.LinkedHashMap(activity);
}
public void run() {
- if (mostCurrent == null || mostCurrent != activity.get())
+ main mc = mostCurrent;
+ if (mc == null || mc != activity.get())
return;
processBA.setActivityPaused(false);
BA.LogInfo("** Activity (main) Resume **");
- processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null);
+ if (mc != mostCurrent)
+ return;
+ processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null);
}
}
@Override
@@ -326,85 +329,145 @@ public void onRequestPermissionsResult(int requestCode,
}
public anywheresoftware.b4a.keywords.Common __c = null;
-public anywheresoftware.b4a.objects.LabelWrapper[] _vvv0 = null;
-public anywheresoftware.b4a.objects.LabelWrapper[] _vvvv2 = null;
-public anywheresoftware.b4a.objects.LabelWrapper[] _vvvv1 = null;
-public anywheresoftware.b4a.objects.ButtonWrapper _vvvv4 = null;
-public anywheresoftware.b4a.objects.ButtonWrapper _vvvv3 = null;
-public anywheresoftware.b4a.objects.ButtonWrapper _vvvv5 = null;
+public anywheresoftware.b4a.objects.LabelWrapper[] _vvvv3 = null;
+public anywheresoftware.b4a.objects.LabelWrapper[] _vvvv5 = null;
+public anywheresoftware.b4a.objects.LabelWrapper[] _vvvv4 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _vvvv7 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _vvvv6 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _vvvv0 = null;
public anywheresoftware.b4a.objects.ScrollViewWrapper _panelscroll = null;
public anywheresoftware.b4a.objects.LabelWrapper _pictorario = null;
-public javi.prieto.pictorario.configurarsecuencia _vvv6 = null;
-public javi.prieto.pictorario.starter _vvv4 = null;
-public javi.prieto.pictorario.visualizacion _vvv7 = null;
-public javi.prieto.pictorario.acercade _vvv5 = null;
+public anywheresoftware.b4a.samples.httputils2.httputils2service _vvvvv1 = null;
+public javi.prieto.pictorario.starter _vvv7 = null;
+public javi.prieto.pictorario.visualizacion _vvvv2 = null;
+public javi.prieto.pictorario.configurarsecuencia _vvvv1 = null;
+public javi.prieto.pictorario.seleccionpictogramas _vvvvv2 = null;
+public javi.prieto.pictorario.acercade _vvv0 = null;
public static boolean isAnyActivityVisible() {
boolean vis = false;
vis = vis | (main.mostCurrent != null);
-vis = vis | (configurarsecuencia.mostCurrent != null);
vis = vis | (visualizacion.mostCurrent != null);
+vis = vis | (configurarsecuencia.mostCurrent != null);
+vis = vis | (seleccionpictogramas.mostCurrent != null);
vis = vis | (acercade.mostCurrent != null);
return vis;}
public static String _activity_create(boolean _firsttime) throws Exception{
int _resultado = 0;
-anywheresoftware.b4a.phone.Phone.PhoneIntents _p = null;
- //BA.debugLineNum = 39;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
- //BA.debugLineNum = 40;BA.debugLine="Dim resultado As Int";
+ //BA.debugLineNum = 38;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
+ //BA.debugLineNum = 39;BA.debugLine="Dim resultado As Int";
_resultado = 0;
- //BA.debugLineNum = 41;BA.debugLine="Dim p As PhoneIntents";
-_p = new anywheresoftware.b4a.phone.Phone.PhoneIntents();
- //BA.debugLineNum = 43;BA.debugLine="DibujarPortada";
-_vvv3();
- //BA.debugLineNum = 46;BA.debugLine="If (Starter.VersionInstalada<>-1 And Starter.Vers";
-if ((mostCurrent._vvv4._vvv1!=-1 && mostCurrent._vvv4._vvv1!=anywheresoftware.b4a.keywords.Common.Application.getVersionCode())) {
- //BA.debugLineNum = 47;BA.debugLine="Msgbox2(\"Novedades de la versión \"&Application.V";
-anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("Novedades de la versión "+anywheresoftware.b4a.keywords.Common.Application.getVersionName()+":"+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+mostCurrent._vvv4._v5),BA.ObjectToCharSequence("APLICACIÓN ACTUALIZADA"),"Continuar","","",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA);
- //BA.debugLineNum = 48;BA.debugLine="Starter.VersionInstalada=Application.VersionCode";
-mostCurrent._vvv4._vvv1 = anywheresoftware.b4a.keywords.Common.Application.getVersionCode();
- //BA.debugLineNum = 49;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
-anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv4.getObject()),"Guardar_Configuracion");
- }else {
- //BA.debugLineNum = 51;BA.debugLine="If FirstTime==True Then";
-if (_firsttime==anywheresoftware.b4a.keywords.Common.True) {
- //BA.debugLineNum = 52;BA.debugLine="resultado=Msgbox2(\"Pictorario es una aplicación";
-_resultado = anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("Pictorario es una aplicación en fase de pruebas, y por tanto puede haber errores y funciones sin desarrollar."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"Visita la web del proyecto para ver un vídeo de introducción y para saber cómo ponerte en contacto con el autor."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"Se agradece cualquier aportación."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"¡Gracias!"),BA.ObjectToCharSequence("Beta pública de Pictorario"),"Web del proyecto","","Continuar",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA);
- //BA.debugLineNum = 53;BA.debugLine="If resultado==DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 42;BA.debugLine="DibujarPortada";
+_vvv6();
+ //BA.debugLineNum = 45;BA.debugLine="If (Starter.DetectadaVersionAntigua==True) Then";
+if ((mostCurrent._vvv7._vvv2==anywheresoftware.b4a.keywords.Common.True)) {
+ //BA.debugLineNum = 46;BA.debugLine="resultado=Msgbox2( _ \"Se han hecho cambios en";
+_resultado = anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("Se han hecho cambios en la aplicación que han podido afectar a las secuencias ya creadas."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"Se recomienda comenzar con una configuración limpia."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"Disculpe las molestias."),BA.ObjectToCharSequence("Actualización de datos"),"Reestablecer configuración (RECOMENDADO)","","Importar datos anteriores",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA);
+ //BA.debugLineNum = 51;BA.debugLine="If resultado==DialogResponse.POSITIVE Then";
if (_resultado==anywheresoftware.b4a.keywords.Common.DialogResponse.POSITIVE) {
- //BA.debugLineNum = 54;BA.debugLine="StartActivity(p.OpenBrowser(\"http://blog.ganso";
-anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_p.OpenBrowser("http://blog.ganso.org/proyectos/pictorario")));
+ //BA.debugLineNum = 52;BA.debugLine="CallSub(Starter,\"Inicializar_Con_Ejemplo\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Inicializar_Con_Ejemplo");
+ //BA.debugLineNum = 53;BA.debugLine="CallSub(Starter,\"BorrarPictogramas\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"BorrarPictogramas");
+ //BA.debugLineNum = 54;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Guardar_Configuracion");
};
};
+ //BA.debugLineNum = 59;BA.debugLine="If (Starter.VersionInstalada<>-1 And Starter.Vers";
+if ((mostCurrent._vvv7._vvv1!=-1 && mostCurrent._vvv7._vvv1!=anywheresoftware.b4a.keywords.Common.Application.getVersionCode())) {
+ //BA.debugLineNum = 60;BA.debugLine="Msgbox2(\"Novedades de la versión \"&Application.V";
+anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("Novedades de la versión "+anywheresoftware.b4a.keywords.Common.Application.getVersionName()+":"+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+mostCurrent._vvv7._v5),BA.ObjectToCharSequence("APLICACIÓN ACTUALIZADA"),"Continuar","","",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA);
+ //BA.debugLineNum = 61;BA.debugLine="Starter.VersionInstalada=Application.VersionCode";
+mostCurrent._vvv7._vvv1 = anywheresoftware.b4a.keywords.Common.Application.getVersionCode();
+ //BA.debugLineNum = 62;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Guardar_Configuracion");
};
- //BA.debugLineNum = 58;BA.debugLine="End Sub";
+ //BA.debugLineNum = 71;BA.debugLine="End Sub";
return "";
}
+public static void _activity_keypress(int _keycode) throws Exception{
+ResumableSub_Activity_KeyPress rsub = new ResumableSub_Activity_KeyPress(null,_keycode);
+rsub.resume(processBA, null);
+}
+public static class ResumableSub_Activity_KeyPress extends BA.ResumableSub {
+public ResumableSub_Activity_KeyPress(javi.prieto.pictorario.main parent,int _keycode) {
+this.parent = parent;
+this._keycode = _keycode;
+}
+javi.prieto.pictorario.main parent;
+int _keycode;
+
+@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="If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsa";
+if (true) break;
+
+case 1:
+//if
+this.state = 4;
+if (_keycode==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) {
+this.state = 3;
+}if (true) break;
+
+case 3:
+//C
+this.state = 4;
+ //BA.debugLineNum = 212;BA.debugLine="Sleep(0) 'No hace nada";
+anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
+this.state = 5;
+return;
+case 5:
+//C
+this.state = 4;
+;
+ if (true) break;
+
+case 4:
+//C
+this.state = -1;
+;
+ //BA.debugLineNum = 214;BA.debugLine="End Sub";
+if (true) break;
+
+ }
+ }
+ }
+}
public static String _activity_pause(boolean _userclosed) throws Exception{
- //BA.debugLineNum = 162;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
- //BA.debugLineNum = 164;BA.debugLine="End Sub";
+ //BA.debugLineNum = 187;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
+ //BA.debugLineNum = 189;BA.debugLine="End Sub";
return "";
}
public static String _activity_resume() throws Exception{
- //BA.debugLineNum = 158;BA.debugLine="Sub Activity_Resume";
- //BA.debugLineNum = 159;BA.debugLine="DibujarPortada";
-_vvv3();
- //BA.debugLineNum = 160;BA.debugLine="End Sub";
+ //BA.debugLineNum = 183;BA.debugLine="Sub Activity_Resume";
+ //BA.debugLineNum = 184;BA.debugLine="DibujarPortada";
+_vvv6();
+ //BA.debugLineNum = 185;BA.debugLine="End Sub";
return "";
}
public static String _botonacercade_click() throws Exception{
- //BA.debugLineNum = 172;BA.debugLine="Sub BotonAcercaDe_Click";
- //BA.debugLineNum = 173;BA.debugLine="StartActivity(AcercaDe)";
-anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvv5.getObject()));
- //BA.debugLineNum = 174;BA.debugLine="End Sub";
+ //BA.debugLineNum = 196;BA.debugLine="Sub BotonAcercaDe_Click";
+ //BA.debugLineNum = 197;BA.debugLine="StartActivity(AcercaDe)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvv0.getObject()));
+ //BA.debugLineNum = 198;BA.debugLine="End Sub";
return "";
}
public static String _botoncrear_click() throws Exception{
- //BA.debugLineNum = 176;BA.debugLine="Sub BotonCrear_Click";
- //BA.debugLineNum = 177;BA.debugLine="Starter.SecuenciaActiva=Starter.MaxSecuencias";
-mostCurrent._vvv4._vv6 = mostCurrent._vvv4._v7;
- //BA.debugLineNum = 178;BA.debugLine="StartActivity(ConfigurarSecuencia)";
-anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvv6.getObject()));
- //BA.debugLineNum = 179;BA.debugLine="End Sub";
+ //BA.debugLineNum = 200;BA.debugLine="Sub BotonCrear_Click";
+ //BA.debugLineNum = 201;BA.debugLine="Starter.SecuenciaActiva=Starter.MaxSecuencias";
+mostCurrent._vvv7._vv6 = mostCurrent._vvv7._v7;
+ //BA.debugLineNum = 202;BA.debugLine="StartActivity(ConfigurarSecuencia)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvv1.getObject()));
+ //BA.debugLineNum = 203;BA.debugLine="End Sub";
return "";
}
public static String _botoneditar_click() throws Exception{
@@ -412,209 +475,227 @@ public static String _botoneditar_click() throws Exception{
anywheresoftware.b4a.objects.collections.List _opciones = null;
int _resultado = 0;
int _sec = 0;
- //BA.debugLineNum = 118;BA.debugLine="Sub BotonEditar_click";
- //BA.debugLineNum = 119;BA.debugLine="Dim BotonPulsado As Label";
+ //BA.debugLineNum = 131;BA.debugLine="Sub BotonEditar_click";
+ //BA.debugLineNum = 132;BA.debugLine="Dim BotonPulsado As Label";
_botonpulsado = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 120;BA.debugLine="Dim Opciones As List";
+ //BA.debugLineNum = 133;BA.debugLine="Dim Opciones As List";
_opciones = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 121;BA.debugLine="Dim resultado As Int";
+ //BA.debugLineNum = 134;BA.debugLine="Dim resultado As Int";
_resultado = 0;
- //BA.debugLineNum = 123;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 136;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 124;BA.debugLine="Starter.SecuenciaActiva=BotonPulsado.Tag";
-mostCurrent._vvv4._vv6 = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
- //BA.debugLineNum = 125;BA.debugLine="Opciones.Initialize2(Array As String(\"Editar secu";
-_opciones.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Editar secuencia","Borrar secuencia","CANCELAR"}));
- //BA.debugLineNum = 126;BA.debugLine="resultado=InputList(Opciones,\"Acción\",-1)";
+ //BA.debugLineNum = 137;BA.debugLine="Starter.SecuenciaActiva=BotonPulsado.Tag";
+mostCurrent._vvv7._vv6 = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
+ //BA.debugLineNum = 138;BA.debugLine="Opciones.Initialize2(Array As String(\"Editar secu";
+_opciones.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Editar secuencia","Borrar secuencia","Duplicar secuencia","CANCELAR"}));
+ //BA.debugLineNum = 139;BA.debugLine="resultado=InputList(Opciones,\"Acción\",-1)";
_resultado = anywheresoftware.b4a.keywords.Common.InputList(_opciones,BA.ObjectToCharSequence("Acción"),(int) (-1),mostCurrent.activityBA);
- //BA.debugLineNum = 127;BA.debugLine="Select resultado";
+ //BA.debugLineNum = 140;BA.debugLine="Select resultado";
switch (_resultado) {
case 0: {
- //BA.debugLineNum = 129;BA.debugLine="StartActivity(ConfigurarSecuencia)";
-anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvv6.getObject()));
+ //BA.debugLineNum = 142;BA.debugLine="StartActivity(ConfigurarSecuencia)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvv1.getObject()));
break; }
case 1: {
- //BA.debugLineNum = 131;BA.debugLine="If Msgbox2(\"¿Está seguro de que quiere borrar l";
-if (anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("¿Está seguro de que quiere borrar la secuencia \""+mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].Descripcion+"\"?"),BA.ObjectToCharSequence("Borrar secuencia"),"Sí","","No",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.DialogResponse.POSITIVE) {
- //BA.debugLineNum = 132;BA.debugLine="For Sec=Starter.SecuenciaActiva To Starter.Num";
+ //BA.debugLineNum = 144;BA.debugLine="If Msgbox2(\"¿Está seguro de que quiere borrar l";
+if (anywheresoftware.b4a.keywords.Common.Msgbox2(BA.ObjectToCharSequence("¿Está seguro de que quiere borrar la secuencia \""+mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].Descripcion+"\"?"),BA.ObjectToCharSequence("Borrar secuencia"),"Sí","","No",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null),mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.DialogResponse.POSITIVE) {
+ //BA.debugLineNum = 145;BA.debugLine="For Sec=Starter.SecuenciaActiva To Starter.Num";
{
final int step13 = 1;
-final int limit13 = (int) (mostCurrent._vvv4._vv5-2);
-_sec = mostCurrent._vvv4._vv6 ;
-for (;(step13 > 0 && _sec <= limit13) || (step13 < 0 && _sec >= limit13) ;_sec = ((int)(0 + _sec + step13)) ) {
- //BA.debugLineNum = 134;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Sec+1,Sec";
-anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv4.getObject()),"CopiarSecuencias",(Object)(_sec+1),(Object)(_sec));
+final int limit13 = (int) (mostCurrent._vvv7._vv5-2);
+_sec = mostCurrent._vvv7._vv6 ;
+for (;_sec <= limit13 ;_sec = _sec + step13 ) {
+ //BA.debugLineNum = 147;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Sec+1,Sec";
+anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv7.getObject()),"CopiarSecuencias",(Object)(_sec+1),(Object)(_sec));
}
};
- //BA.debugLineNum = 137;BA.debugLine="Starter.NumSecuencias=Starter.NumSecuencias-1";
-mostCurrent._vvv4._vv5 = (int) (mostCurrent._vvv4._vv5-1);
- //BA.debugLineNum = 138;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
-anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv4.getObject()),"Guardar_Configuracion");
- //BA.debugLineNum = 139;BA.debugLine="DibujarPortada";
-_vvv3();
+ //BA.debugLineNum = 150;BA.debugLine="Starter.NumSecuencias=Starter.NumSecuencias-1";
+mostCurrent._vvv7._vv5 = (int) (mostCurrent._vvv7._vv5-1);
+ //BA.debugLineNum = 151;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Guardar_Configuracion");
+ //BA.debugLineNum = 152;BA.debugLine="DibujarPortada";
+_vvv6();
+ };
+ break; }
+case 2: {
+ //BA.debugLineNum = 155;BA.debugLine="If Starter.NumSecuencias==Starter.MaxSecuencias";
+if (mostCurrent._vvv7._vv5==mostCurrent._vvv7._v7) {
+ //BA.debugLineNum = 156;BA.debugLine="Msgbox(\"No es posible: Se ha alcanzado el máxi";
+anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence("No es posible: Se ha alcanzado el máximo de secuencias soportadas por la aplicación."),BA.ObjectToCharSequence("Error al duplicar secuencia"),mostCurrent.activityBA);
+ }else {
+ //BA.debugLineNum = 159;BA.debugLine="CallSub3(Starter,\"CopiarSecuencias\",Starter.Se";
+anywheresoftware.b4a.keywords.Common.CallSubNew3(processBA,(Object)(mostCurrent._vvv7.getObject()),"CopiarSecuencias",(Object)(mostCurrent._vvv7._vv6),(Object)(mostCurrent._vvv7._vv5));
+ //BA.debugLineNum = 160;BA.debugLine="Starter.Secuencia(Starter.NumSecuencias).Descr";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv5].Descripcion = mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv5].Descripcion+" (copia)";
+ //BA.debugLineNum = 162;BA.debugLine="Starter.NumSecuencias=Starter.NumSecuencias+1";
+mostCurrent._vvv7._vv5 = (int) (mostCurrent._vvv7._vv5+1);
+ //BA.debugLineNum = 163;BA.debugLine="CallSub(Starter,\"Guardar_Configuracion\")";
+anywheresoftware.b4a.keywords.Common.CallSubNew(processBA,(Object)(mostCurrent._vvv7.getObject()),"Guardar_Configuracion");
+ //BA.debugLineNum = 164;BA.debugLine="DibujarPortada";
+_vvv6();
};
break; }
}
;
- //BA.debugLineNum = 142;BA.debugLine="End Sub";
+ //BA.debugLineNum = 167;BA.debugLine="End Sub";
return "";
}
public static String _botonpictograma_click() throws Exception{
anywheresoftware.b4a.objects.LabelWrapper _botonpulsado = null;
- //BA.debugLineNum = 144;BA.debugLine="Sub BotonPictograma_click";
- //BA.debugLineNum = 145;BA.debugLine="Dim BotonPulsado As Label";
+ //BA.debugLineNum = 169;BA.debugLine="Sub BotonPictograma_click";
+ //BA.debugLineNum = 170;BA.debugLine="Dim BotonPulsado As Label";
_botonpulsado = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 146;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 171;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 147;BA.debugLine="Starter.SecuenciaActiva=BotonPulsado.Tag";
-mostCurrent._vvv4._vv6 = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
- //BA.debugLineNum = 148;BA.debugLine="StartActivity(Visualizacion)";
-anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvv7.getObject()));
- //BA.debugLineNum = 149;BA.debugLine="End Sub";
+ //BA.debugLineNum = 172;BA.debugLine="Starter.SecuenciaActiva=BotonPulsado.Tag";
+mostCurrent._vvv7._vv6 = (int)(BA.ObjectToNumber(_botonpulsado.getTag()));
+ //BA.debugLineNum = 173;BA.debugLine="StartActivity(Visualizacion)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvv2.getObject()));
+ //BA.debugLineNum = 174;BA.debugLine="End Sub";
return "";
}
public static String _botonsalir_click() throws Exception{
- //BA.debugLineNum = 181;BA.debugLine="Sub BotonSalir_Click";
- //BA.debugLineNum = 182;BA.debugLine="Activity.Finish";
+ //BA.debugLineNum = 205;BA.debugLine="Sub BotonSalir_Click";
+ //BA.debugLineNum = 206;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
- //BA.debugLineNum = 183;BA.debugLine="End Sub";
+ //BA.debugLineNum = 207;BA.debugLine="End Sub";
return "";
}
-public static String _vvv3() throws Exception{
+public static String _vvv6() throws Exception{
int _act = 0;
- //BA.debugLineNum = 60;BA.debugLine="Sub DibujarPortada";
- //BA.debugLineNum = 62;BA.debugLine="Activity.RemoveAllViews";
+ //BA.debugLineNum = 73;BA.debugLine="Sub DibujarPortada";
+ //BA.debugLineNum = 75;BA.debugLine="Activity.RemoveAllViews";
mostCurrent._activity.RemoveAllViews();
- //BA.debugLineNum = 63;BA.debugLine="Activity.LoadLayout(\"Portada\")";
+ //BA.debugLineNum = 76;BA.debugLine="Activity.LoadLayout(\"Portada\")";
mostCurrent._activity.LoadLayout("Portada",mostCurrent.activityBA);
- //BA.debugLineNum = 65;BA.debugLine="Dim Act As Int";
+ //BA.debugLineNum = 78;BA.debugLine="Dim Act As Int";
_act = 0;
- //BA.debugLineNum = 66;BA.debugLine="For Act=0 To Starter.NumSecuencias-1";
+ //BA.debugLineNum = 79;BA.debugLine="For Act=0 To Starter.NumSecuencias-1";
{
final int step4 = 1;
-final int limit4 = (int) (mostCurrent._vvv4._vv5-1);
+final int limit4 = (int) (mostCurrent._vvv7._vv5-1);
_act = (int) (0) ;
-for (;(step4 > 0 && _act <= limit4) || (step4 < 0 && _act >= limit4) ;_act = ((int)(0 + _act + step4)) ) {
- //BA.debugLineNum = 68;BA.debugLine="PictogramaSecuencia(Act).Initialize(\"BotonPictog";
-mostCurrent._vvv0[_act].Initialize(mostCurrent.activityBA,"BotonPictograma");
- //BA.debugLineNum = 69;BA.debugLine="PictogramaSecuencia(Act).Tag=Act";
-mostCurrent._vvv0[_act].setTag((Object)(_act));
- //BA.debugLineNum = 70;BA.debugLine="PictogramaSecuencia(Act).Color=Colors.Transparen";
-mostCurrent._vvv0[_act].setColor(anywheresoftware.b4a.keywords.Common.Colors.Transparent);
- //BA.debugLineNum = 71;BA.debugLine="PictogramaSecuencia(Act).SetBackgroundImage(Load";
-mostCurrent._vvv0[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),mostCurrent._vvv4._vv7[_act].pictograma+".png").getObject()));
- //BA.debugLineNum = 72;BA.debugLine="PanelScroll.Panel.AddView(PictogramaSecuencia(Ac";
-mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvv0[_act].getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10)),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*_act),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (80)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (80)));
- //BA.debugLineNum = 74;BA.debugLine="EtiquetaSecuencia(Act).Initialize(\"TextoSecuenci";
-mostCurrent._vvvv1[_act].Initialize(mostCurrent.activityBA,"TextoSecuencia");
- //BA.debugLineNum = 75;BA.debugLine="EtiquetaSecuencia(Act).Tag=Act";
-mostCurrent._vvvv1[_act].setTag((Object)(_act));
- //BA.debugLineNum = 76;BA.debugLine="EtiquetaSecuencia(Act).Text=Starter.Secuencia(Ac";
-mostCurrent._vvvv1[_act].setText(BA.ObjectToCharSequence(mostCurrent._vvv4._vv7[_act].Descripcion));
- //BA.debugLineNum = 77;BA.debugLine="EtiquetaSecuencia(Act).TextColor=Colors.Black";
-mostCurrent._vvvv1[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 78;BA.debugLine="EtiquetaSecuencia(Act).TextSize=16";
-mostCurrent._vvvv1[_act].setTextSize((float) (16));
- //BA.debugLineNum = 79;BA.debugLine="EtiquetaSecuencia(Act).Gravity=Bit.Or(Gravity.CE";
-mostCurrent._vvvv1[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.LEFT));
- //BA.debugLineNum = 80;BA.debugLine="PanelScroll.Panel.AddView(EtiquetaSecuencia(Act)";
-mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv1[_act].getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (110)),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*_act),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (170))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (80)));
- //BA.debugLineNum = 82;BA.debugLine="EditarSecuencia(Act).Initialize(\"BotonEditar\")";
-mostCurrent._vvvv2[_act].Initialize(mostCurrent.activityBA,"BotonEditar");
- //BA.debugLineNum = 83;BA.debugLine="EditarSecuencia(Act).Tag=Act";
-mostCurrent._vvvv2[_act].setTag((Object)(_act));
- //BA.debugLineNum = 84;BA.debugLine="EditarSecuencia(Act).SetBackgroundImage(LoadBitm";
-mostCurrent._vvvv2[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"engranaje.png").getObject()));
- //BA.debugLineNum = 85;BA.debugLine="PanelScroll.Panel.AddView(EditarSecuencia(Act),1";
-mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv2[_act].getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60))),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (30))+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*_act),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (40)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (40)));
+for (;_act <= limit4 ;_act = _act + step4 ) {
+ //BA.debugLineNum = 81;BA.debugLine="PictogramaSecuencia(Act).Initialize(\"BotonPictog";
+mostCurrent._vvvv3[_act].Initialize(mostCurrent.activityBA,"BotonPictograma");
+ //BA.debugLineNum = 82;BA.debugLine="PictogramaSecuencia(Act).Tag=Act";
+mostCurrent._vvvv3[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 83;BA.debugLine="PictogramaSecuencia(Act).Color=Colors.Transparen";
+mostCurrent._vvvv3[_act].setColor(anywheresoftware.b4a.keywords.Common.Colors.Transparent);
+ //BA.debugLineNum = 84;BA.debugLine="PictogramaSecuencia(Act).SetBackgroundImage(Load";
+mostCurrent._vvvv3[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(mostCurrent._vvv7._vvv4,mostCurrent._vvv7._vv7[_act].pictograma+".png").getObject()));
+ //BA.debugLineNum = 85;BA.debugLine="PanelScroll.Panel.AddView(PictogramaSecuencia(Ac";
+mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv3[_act].getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10)),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*_act),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (80)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (80)));
+ //BA.debugLineNum = 87;BA.debugLine="EtiquetaSecuencia(Act).Initialize(\"TextoSecuenci";
+mostCurrent._vvvv4[_act].Initialize(mostCurrent.activityBA,"TextoSecuencia");
+ //BA.debugLineNum = 88;BA.debugLine="EtiquetaSecuencia(Act).Tag=Act";
+mostCurrent._vvvv4[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 89;BA.debugLine="EtiquetaSecuencia(Act).Text=Starter.Secuencia(Ac";
+mostCurrent._vvvv4[_act].setText(BA.ObjectToCharSequence(mostCurrent._vvv7._vv7[_act].Descripcion));
+ //BA.debugLineNum = 90;BA.debugLine="EtiquetaSecuencia(Act).TextColor=Colors.Black";
+mostCurrent._vvvv4[_act].setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 91;BA.debugLine="EtiquetaSecuencia(Act).TextSize=16";
+mostCurrent._vvvv4[_act].setTextSize((float) (16));
+ //BA.debugLineNum = 92;BA.debugLine="EtiquetaSecuencia(Act).Gravity=Bit.Or(Gravity.CE";
+mostCurrent._vvvv4[_act].setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.LEFT));
+ //BA.debugLineNum = 93;BA.debugLine="PanelScroll.Panel.AddView(EtiquetaSecuencia(Act)";
+mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv4[_act].getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (110)),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*_act),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (170))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (80)));
+ //BA.debugLineNum = 95;BA.debugLine="EditarSecuencia(Act).Initialize(\"BotonEditar\")";
+mostCurrent._vvvv5[_act].Initialize(mostCurrent.activityBA,"BotonEditar");
+ //BA.debugLineNum = 96;BA.debugLine="EditarSecuencia(Act).Tag=Act";
+mostCurrent._vvvv5[_act].setTag((Object)(_act));
+ //BA.debugLineNum = 97;BA.debugLine="EditarSecuencia(Act).SetBackgroundImage(LoadBitm";
+mostCurrent._vvvv5[_act].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"engranaje.png").getObject()));
+ //BA.debugLineNum = 98;BA.debugLine="PanelScroll.Panel.AddView(EditarSecuencia(Act),1";
+mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv5[_act].getObject()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60))),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (30))+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*_act),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (40)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (40)));
}
};
- //BA.debugLineNum = 89;BA.debugLine="BotonCrear.Initialize(\"BotonCrear\")";
-mostCurrent._vvvv3.Initialize(mostCurrent.activityBA,"BotonCrear");
- //BA.debugLineNum = 90;BA.debugLine="BotonCrear.Text=\"Crear Secuencia\"";
-mostCurrent._vvvv3.setText(BA.ObjectToCharSequence("Crear Secuencia"));
- //BA.debugLineNum = 91;BA.debugLine="BotonCrear.TextSize=20";
-mostCurrent._vvvv3.setTextSize((float) (20));
- //BA.debugLineNum = 92;BA.debugLine="BotonCrear.Gravity=Bit.Or(Gravity.CENTER_VERTICAL";
-mostCurrent._vvvv3.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 93;BA.debugLine="BotonCrear.TextColor=Colors.Black";
-mostCurrent._vvvv3.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 94;BA.debugLine="PanelScroll.Panel.AddView(BotonCrear,5dip,90dip*S";
-mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv3.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*mostCurrent._vvv4._vv5),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60)));
- //BA.debugLineNum = 96;BA.debugLine="If Starter.NumSecuencias==Starter.MaxSecuencias T";
-if (mostCurrent._vvv4._vv5==mostCurrent._vvv4._v7) {
- //BA.debugLineNum = 97;BA.debugLine="BotonCrear.Enabled=False 'Si llegamos al máximo";
-mostCurrent._vvvv3.setEnabled(anywheresoftware.b4a.keywords.Common.False);
+ //BA.debugLineNum = 102;BA.debugLine="BotonCrear.Initialize(\"BotonCrear\")";
+mostCurrent._vvvv6.Initialize(mostCurrent.activityBA,"BotonCrear");
+ //BA.debugLineNum = 103;BA.debugLine="BotonCrear.Text=\"Crear Secuencia\"";
+mostCurrent._vvvv6.setText(BA.ObjectToCharSequence("Crear Secuencia"));
+ //BA.debugLineNum = 104;BA.debugLine="BotonCrear.TextSize=20";
+mostCurrent._vvvv6.setTextSize((float) (20));
+ //BA.debugLineNum = 105;BA.debugLine="BotonCrear.Gravity=Bit.Or(Gravity.CENTER_VERTICAL";
+mostCurrent._vvvv6.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 106;BA.debugLine="BotonCrear.TextColor=Colors.Black";
+mostCurrent._vvvv6.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 107;BA.debugLine="PanelScroll.Panel.AddView(BotonCrear,5dip,90dip*S";
+mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv6.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (90))*mostCurrent._vvv7._vv5),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60)));
+ //BA.debugLineNum = 109;BA.debugLine="If Starter.NumSecuencias==Starter.MaxSecuencias T";
+if (mostCurrent._vvv7._vv5==mostCurrent._vvv7._v7) {
+ //BA.debugLineNum = 110;BA.debugLine="BotonCrear.Enabled=False 'Si llegamos al máximo";
+mostCurrent._vvvv6.setEnabled(anywheresoftware.b4a.keywords.Common.False);
};
- //BA.debugLineNum = 100;BA.debugLine="BotonAcercaDe.Initialize(\"BotonAcercaDe\")";
-mostCurrent._vvvv4.Initialize(mostCurrent.activityBA,"BotonAcercaDe");
- //BA.debugLineNum = 101;BA.debugLine="BotonAcercaDe.Text=\"Acerca de Pictorario\"";
-mostCurrent._vvvv4.setText(BA.ObjectToCharSequence("Acerca de Pictorario"));
- //BA.debugLineNum = 102;BA.debugLine="BotonAcercaDe.TextSize=20";
-mostCurrent._vvvv4.setTextSize((float) (20));
- //BA.debugLineNum = 103;BA.debugLine="BotonAcercaDe.Gravity=Bit.Or(Gravity.CENTER_VERTI";
-mostCurrent._vvvv4.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 104;BA.debugLine="BotonAcercaDe.TextColor=Colors.Black";
-mostCurrent._vvvv4.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 105;BA.debugLine="PanelScroll.Panel.AddView(BotonAcercaDe,5dip,Boto";
-mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv4.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (mostCurrent._vvvv3.getTop()+mostCurrent._vvvv3.getHeight()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60)));
- //BA.debugLineNum = 107;BA.debugLine="BotonSalir.Initialize(\"BotonSalir\")";
-mostCurrent._vvvv5.Initialize(mostCurrent.activityBA,"BotonSalir");
- //BA.debugLineNum = 108;BA.debugLine="BotonSalir.Text=\"Salir\"";
-mostCurrent._vvvv5.setText(BA.ObjectToCharSequence("Salir"));
- //BA.debugLineNum = 109;BA.debugLine="BotonSalir.TextSize=20";
-mostCurrent._vvvv5.setTextSize((float) (20));
- //BA.debugLineNum = 110;BA.debugLine="BotonSalir.Gravity=Bit.Or(Gravity.CENTER_VERTICAL";
-mostCurrent._vvvv5.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
- //BA.debugLineNum = 111;BA.debugLine="BotonSalir.TextColor=Colors.Black";
-mostCurrent._vvvv5.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
- //BA.debugLineNum = 112;BA.debugLine="PanelScroll.Panel.AddView(BotonSalir,5dip,BotonAc";
-mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv5.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (mostCurrent._vvvv4.getTop()+mostCurrent._vvvv4.getHeight()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60)));
- //BA.debugLineNum = 114;BA.debugLine="PanelScroll.Panel.Height=BotonSalir.Top+BotonSali";
-mostCurrent._panelscroll.getPanel().setHeight((int) (mostCurrent._vvvv5.getTop()+mostCurrent._vvvv5.getHeight()+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5))));
- //BA.debugLineNum = 116;BA.debugLine="End Sub";
+ //BA.debugLineNum = 113;BA.debugLine="BotonAcercaDe.Initialize(\"BotonAcercaDe\")";
+mostCurrent._vvvv7.Initialize(mostCurrent.activityBA,"BotonAcercaDe");
+ //BA.debugLineNum = 114;BA.debugLine="BotonAcercaDe.Text=\"Acerca de Pictorario\"";
+mostCurrent._vvvv7.setText(BA.ObjectToCharSequence("Acerca de Pictorario"));
+ //BA.debugLineNum = 115;BA.debugLine="BotonAcercaDe.TextSize=20";
+mostCurrent._vvvv7.setTextSize((float) (20));
+ //BA.debugLineNum = 116;BA.debugLine="BotonAcercaDe.Gravity=Bit.Or(Gravity.CENTER_VERTI";
+mostCurrent._vvvv7.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 117;BA.debugLine="BotonAcercaDe.TextColor=Colors.Black";
+mostCurrent._vvvv7.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 118;BA.debugLine="PanelScroll.Panel.AddView(BotonAcercaDe,5dip,Boto";
+mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv7.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (mostCurrent._vvvv6.getTop()+mostCurrent._vvvv6.getHeight()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60)));
+ //BA.debugLineNum = 120;BA.debugLine="BotonSalir.Initialize(\"BotonSalir\")";
+mostCurrent._vvvv0.Initialize(mostCurrent.activityBA,"BotonSalir");
+ //BA.debugLineNum = 121;BA.debugLine="BotonSalir.Text=\"Salir\"";
+mostCurrent._vvvv0.setText(BA.ObjectToCharSequence("Salir"));
+ //BA.debugLineNum = 122;BA.debugLine="BotonSalir.TextSize=20";
+mostCurrent._vvvv0.setTextSize((float) (20));
+ //BA.debugLineNum = 123;BA.debugLine="BotonSalir.Gravity=Bit.Or(Gravity.CENTER_VERTICAL";
+mostCurrent._vvvv0.setGravity(anywheresoftware.b4a.keywords.Common.Bit.Or(anywheresoftware.b4a.keywords.Common.Gravity.CENTER_VERTICAL,anywheresoftware.b4a.keywords.Common.Gravity.CENTER_HORIZONTAL));
+ //BA.debugLineNum = 124;BA.debugLine="BotonSalir.TextColor=Colors.Black";
+mostCurrent._vvvv0.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.Black);
+ //BA.debugLineNum = 125;BA.debugLine="PanelScroll.Panel.AddView(BotonSalir,5dip,BotonAc";
+mostCurrent._panelscroll.getPanel().AddView((android.view.View)(mostCurrent._vvvv0.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5)),(int) (mostCurrent._vvvv7.getTop()+mostCurrent._vvvv7.getHeight()),(int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (10))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (60)));
+ //BA.debugLineNum = 127;BA.debugLine="PanelScroll.Panel.Height=BotonSalir.Top+BotonSali";
+mostCurrent._panelscroll.getPanel().setHeight((int) (mostCurrent._vvvv0.getTop()+mostCurrent._vvvv0.getHeight()+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (5))));
+ //BA.debugLineNum = 129;BA.debugLine="End Sub";
return "";
}
public static String _globals() throws Exception{
//BA.debugLineNum = 21;BA.debugLine="Sub Globals";
//BA.debugLineNum = 25;BA.debugLine="Dim PictogramaSecuencia(Starter.MaxSecuencias) As";
-mostCurrent._vvv0 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv4._v7];
+mostCurrent._vvvv3 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv7._v7];
{
-int d0 = mostCurrent._vvv0.length;
+int d0 = mostCurrent._vvvv3.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvv0[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
+mostCurrent._vvvv3[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
}
}
;
//BA.debugLineNum = 26;BA.debugLine="Dim EditarSecuencia(Starter.MaxSecuencias) As Lab";
-mostCurrent._vvvv2 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv4._v7];
+mostCurrent._vvvv5 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv7._v7];
{
-int d0 = mostCurrent._vvvv2.length;
+int d0 = mostCurrent._vvvv5.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvv2[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
+mostCurrent._vvvv5[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
}
}
;
//BA.debugLineNum = 27;BA.debugLine="Dim EtiquetaSecuencia(Starter.MaxActividades) As";
-mostCurrent._vvvv1 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv4._v0];
+mostCurrent._vvvv4 = new anywheresoftware.b4a.objects.LabelWrapper[mostCurrent._vvv7._v0];
{
-int d0 = mostCurrent._vvvv1.length;
+int d0 = mostCurrent._vvvv4.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvv1[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
+mostCurrent._vvvv4[i0] = new anywheresoftware.b4a.objects.LabelWrapper();
}
}
;
//BA.debugLineNum = 29;BA.debugLine="Dim BotonAcercaDe As Button";
-mostCurrent._vvvv4 = new anywheresoftware.b4a.objects.ButtonWrapper();
+mostCurrent._vvvv7 = new anywheresoftware.b4a.objects.ButtonWrapper();
//BA.debugLineNum = 30;BA.debugLine="Dim BotonCrear As Button";
-mostCurrent._vvvv3 = new anywheresoftware.b4a.objects.ButtonWrapper();
+mostCurrent._vvvv6 = new anywheresoftware.b4a.objects.ButtonWrapper();
//BA.debugLineNum = 31;BA.debugLine="Dim BotonSalir As Button";
-mostCurrent._vvvv5 = new anywheresoftware.b4a.objects.ButtonWrapper();
+mostCurrent._vvvv0 = new anywheresoftware.b4a.objects.ButtonWrapper();
//BA.debugLineNum = 33;BA.debugLine="Private PanelScroll As ScrollView";
mostCurrent._panelscroll = new anywheresoftware.b4a.objects.ScrollViewWrapper();
//BA.debugLineNum = 34;BA.debugLine="Private Pictorario As Label";
mostCurrent._pictorario = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 37;BA.debugLine="End Sub";
+ //BA.debugLineNum = 36;BA.debugLine="End Sub";
return "";
}
@@ -623,10 +704,12 @@ public static void initializeProcessGlobals() {
if (main.processGlobalsRun == false) {
main.processGlobalsRun = true;
try {
- main._process_globals();
-configurarsecuencia._process_globals();
+ anywheresoftware.b4a.samples.httputils2.httputils2service._process_globals();
+main._process_globals();
starter._process_globals();
visualizacion._process_globals();
+configurarsecuencia._process_globals();
+seleccionpictogramas._process_globals();
acercade._process_globals();
} catch (Exception e) {
@@ -640,25 +723,25 @@ public static void initializeProcessGlobals() {
}
public static String _textosecuencia_click() throws Exception{
anywheresoftware.b4a.objects.LabelWrapper _etiquetapulsada = null;
- //BA.debugLineNum = 151;BA.debugLine="Sub TextoSecuencia_click";
- //BA.debugLineNum = 152;BA.debugLine="Dim EtiquetaPulsada As Label";
+ //BA.debugLineNum = 176;BA.debugLine="Sub TextoSecuencia_click";
+ //BA.debugLineNum = 177;BA.debugLine="Dim EtiquetaPulsada As Label";
_etiquetapulsada = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 153;BA.debugLine="EtiquetaPulsada=Sender";
+ //BA.debugLineNum = 178;BA.debugLine="EtiquetaPulsada=Sender";
_etiquetapulsada.setObject((android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 154;BA.debugLine="Starter.SecuenciaActiva=EtiquetaPulsada.Tag";
-mostCurrent._vvv4._vv6 = (int)(BA.ObjectToNumber(_etiquetapulsada.getTag()));
- //BA.debugLineNum = 155;BA.debugLine="StartActivity(Visualizacion)";
-anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvv7.getObject()));
- //BA.debugLineNum = 156;BA.debugLine="End Sub";
+ //BA.debugLineNum = 179;BA.debugLine="Starter.SecuenciaActiva=EtiquetaPulsada.Tag";
+mostCurrent._vvv7._vv6 = (int)(BA.ObjectToNumber(_etiquetapulsada.getTag()));
+ //BA.debugLineNum = 180;BA.debugLine="StartActivity(Visualizacion)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvv2.getObject()));
+ //BA.debugLineNum = 181;BA.debugLine="End Sub";
return "";
}
public static String _versecuencias_click() throws Exception{
- //BA.debugLineNum = 167;BA.debugLine="Sub VerSecuencias_Click";
- //BA.debugLineNum = 168;BA.debugLine="Starter.SecuenciaActiva=1";
-mostCurrent._vvv4._vv6 = (int) (1);
- //BA.debugLineNum = 169;BA.debugLine="StartActivity(Visualizacion)";
-anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvv7.getObject()));
- //BA.debugLineNum = 170;BA.debugLine="End Sub";
+ //BA.debugLineNum = 191;BA.debugLine="Sub VerSecuencias_Click";
+ //BA.debugLineNum = 192;BA.debugLine="Starter.SecuenciaActiva=1";
+mostCurrent._vvv7._vv6 = (int) (1);
+ //BA.debugLineNum = 193;BA.debugLine="StartActivity(Visualizacion)";
+anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._vvvv2.getObject()));
+ //BA.debugLineNum = 194;BA.debugLine="End Sub";
return "";
}
}
diff --git a/Objects/src/javi/prieto/pictorario/seleccionpictogramas.java b/Objects/src/javi/prieto/pictorario/seleccionpictogramas.java
new file mode 100644
index 0000000..3827fa1
--- /dev/null
+++ b/Objects/src/javi/prieto/pictorario/seleccionpictogramas.java
@@ -0,0 +1,1295 @@
+package javi.prieto.pictorario;
+
+
+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 seleccionpictogramas extends Activity implements B4AActivity{
+ public static seleccionpictogramas 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 = true;
+ public static final boolean includeTitle = false;
+ public static WeakReference previousOne;
+
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ mostCurrent = this;
+ if (processBA == null) {
+ processBA = new BA(this.getApplicationContext(), null, null, "javi.prieto.pictorario", "javi.prieto.pictorario.seleccionpictogramas");
+ 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 (seleccionpictogramas).");
+ 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(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, "javi.prieto.pictorario", "javi.prieto.pictorario.seleccionpictogramas");
+
+ 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, "javi.prieto.pictorario.seleccionpictogramas", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent);
+ _activity.reinitializeForShell(activityBA, "activity");
+ }
+ initializeProcessGlobals();
+ initializeGlobals();
+
+ BA.LogInfo("** Activity (seleccionpictogramas) Create, isFirst = " + isFirst + " **");
+ processBA.raiseEvent2(null, true, "activity_create", false, isFirst);
+ isFirst = false;
+ if (this != mostCurrent)
+ return;
+ processBA.setActivityPaused(false);
+ BA.LogInfo("** Activity (seleccionpictogramas) 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 seleccionpictogramas.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);
+ BA.LogInfo("** Activity (seleccionpictogramas) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **");
+ if (mostCurrent != null)
+ processBA.raiseEvent2(_activity, true, "activity_pause", false, activityBA.activity.isFinishing());
+ 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() {
+ seleccionpictogramas mc = mostCurrent;
+ if (mc == null || mc != activity.get())
+ return;
+ processBA.setActivityPaused(false);
+ BA.LogInfo("** Activity (seleccionpictogramas) 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 anywheresoftware.b4a.objects.EditTextWrapper _barrabusqueda = null;
+public anywheresoftware.b4a.objects.LabelWrapper _botonbuscar = null;
+public anywheresoftware.b4a.objects.PanelWrapper _buscar = null;
+public anywheresoftware.b4a.objects.ScrollViewWrapper _listadopictogramas = null;
+public anywheresoftware.b4a.objects.LabelWrapper _titulo = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _botoncancelar = null;
+public static String _vvvvvvvvvvv6 = "";
+public static int _vvvvvvvvvvvv4 = 0;
+public static int _vvvvvvvvvvvv5 = 0;
+public anywheresoftware.b4a.objects.ButtonWrapper[][] _vvvvvvvvvvvv6 = null;
+public static int _vvvvvvvvvvv7 = 0;
+public anywheresoftware.b4a.samples.httputils2.httputils2service _vvvvv1 = null;
+public javi.prieto.pictorario.main _vvvvv4 = null;
+public javi.prieto.pictorario.starter _vvv7 = null;
+public javi.prieto.pictorario.visualizacion _vvvv2 = null;
+public javi.prieto.pictorario.configurarsecuencia _vvvv1 = null;
+public javi.prieto.pictorario.acercade _vvv0 = 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 = 32;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
+ //BA.debugLineNum = 33;BA.debugLine="Activity.LoadLayout(\"SeleccionarPictograma\")";
+mostCurrent._activity.LoadLayout("SeleccionarPictograma",mostCurrent.activityBA);
+ //BA.debugLineNum = 34;BA.debugLine="BotonBuscar.SetBackgroundImage(LoadBitmap(File.Di";
+mostCurrent._botonbuscar.SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"buscar.png").getObject()));
+ //BA.debugLineNum = 35;BA.debugLine="BarraBusqueda.Text=TextoBuscarPorDefecto";
+mostCurrent._barrabusqueda.setText(BA.ObjectToCharSequence(mostCurrent._vvvvvvvvvvv6));
+ //BA.debugLineNum = 36;BA.debugLine="TamIcono=ListadoPictogramas.Width/3";
+_vvvvvvvvvvv7 = (int) (mostCurrent._listadopictogramas.getWidth()/(double)3);
+ //BA.debugLineNum = 37;BA.debugLine="DibujaIconos";
+_vvvvvvvvvvv0();
+ //BA.debugLineNum = 38;BA.debugLine="End Sub";
+return "";
+}
+public static void _activity_keypress(int _keycode) throws Exception{
+ResumableSub_Activity_KeyPress rsub = new ResumableSub_Activity_KeyPress(null,_keycode);
+rsub.resume(processBA, null);
+}
+public static class ResumableSub_Activity_KeyPress extends BA.ResumableSub {
+public ResumableSub_Activity_KeyPress(javi.prieto.pictorario.seleccionpictogramas parent,int _keycode) {
+this.parent = parent;
+this._keycode = _keycode;
+}
+javi.prieto.pictorario.seleccionpictogramas parent;
+int _keycode;
+
+@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 = 246;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsa";
+if (true) break;
+
+case 1:
+//if
+this.state = 4;
+if (_keycode==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) {
+this.state = 3;
+}if (true) break;
+
+case 3:
+//C
+this.state = 4;
+ //BA.debugLineNum = 247;BA.debugLine="Sleep(0) 'No hace nada";
+anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
+this.state = 5;
+return;
+case 5:
+//C
+this.state = 4;
+;
+ if (true) break;
+
+case 4:
+//C
+this.state = -1;
+;
+ //BA.debugLineNum = 249;BA.debugLine="End Sub";
+if (true) break;
+
+ }
+ }
+ }
+}
+public static String _activity_pause(boolean _userclosed) throws Exception{
+ //BA.debugLineNum = 44;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
+ //BA.debugLineNum = 46;BA.debugLine="End Sub";
+return "";
+}
+public static String _activity_resume() throws Exception{
+ //BA.debugLineNum = 40;BA.debugLine="Sub Activity_Resume";
+ //BA.debugLineNum = 42;BA.debugLine="End Sub";
+return "";
+}
+public static String _barrabusqueda_enterpressed() throws Exception{
+ //BA.debugLineNum = 67;BA.debugLine="Sub BarraBusqueda_EnterPressed";
+ //BA.debugLineNum = 68;BA.debugLine="BuscarTexto";
+_vvvvvvvvvvvv1();
+ //BA.debugLineNum = 69;BA.debugLine="End Sub";
+return "";
+}
+public static String _barrabusqueda_focuschanged(boolean _tienefoco) throws Exception{
+ //BA.debugLineNum = 59;BA.debugLine="Sub BarraBusqueda_FocusChanged (TieneFoco As Boole";
+ //BA.debugLineNum = 61;BA.debugLine="If TieneFoco==True And BarraBusqueda.Text==TextoB";
+if (_tienefoco==anywheresoftware.b4a.keywords.Common.True && (mostCurrent._barrabusqueda.getText()).equals(mostCurrent._vvvvvvvvvvv6)) {
+ //BA.debugLineNum = 62;BA.debugLine="BarraBusqueda.Text=\"\"";
+mostCurrent._barrabusqueda.setText(BA.ObjectToCharSequence(""));
+ //BA.debugLineNum = 63;BA.debugLine="Activity.Invalidate";
+mostCurrent._activity.Invalidate();
+ };
+ //BA.debugLineNum = 65;BA.debugLine="End Sub";
+return "";
+}
+public static String _botonbuscar_click() throws Exception{
+ //BA.debugLineNum = 55;BA.debugLine="Sub BotonBuscar_Click";
+ //BA.debugLineNum = 56;BA.debugLine="BuscarTexto";
+_vvvvvvvvvvvv1();
+ //BA.debugLineNum = 57;BA.debugLine="End Sub";
+return "";
+}
+public static String _botoncancelar_click() throws Exception{
+ //BA.debugLineNum = 192;BA.debugLine="Sub BotonCancelar_Click";
+ //BA.debugLineNum = 193;BA.debugLine="CallSubDelayed2(ConfigurarSecuencia,\"PictogramaEl";
+anywheresoftware.b4a.keywords.Common.CallSubDelayed2(processBA,(Object)(mostCurrent._vvvv1.getObject()),"PictogramaElegido",(Object)(-1));
+ //BA.debugLineNum = 194;BA.debugLine="Activity.Finish";
+mostCurrent._activity.Finish();
+ //BA.debugLineNum = 195;BA.debugLine="End Sub";
+return "";
+}
+public static String _botonicono_click() throws Exception{
+anywheresoftware.b4a.objects.ButtonWrapper _botonpulsado = null;
+ //BA.debugLineNum = 48;BA.debugLine="Sub BotonIcono_Click";
+ //BA.debugLineNum = 49;BA.debugLine="Dim BotonPulsado As Button";
+_botonpulsado = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 50;BA.debugLine="BotonPulsado=Sender";
+_botonpulsado.setObject((android.widget.Button)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
+ //BA.debugLineNum = 51;BA.debugLine="CallSubDelayed2(ConfigurarSecuencia,\"PictogramaEl";
+anywheresoftware.b4a.keywords.Common.CallSubDelayed2(processBA,(Object)(mostCurrent._vvvv1.getObject()),"PictogramaElegido",_botonpulsado.getTag());
+ //BA.debugLineNum = 52;BA.debugLine="Activity.Finish";
+mostCurrent._activity.Finish();
+ //BA.debugLineNum = 53;BA.debugLine="End Sub";
+return "";
+}
+public static void _vvvvvvvvvvvv1() throws Exception{
+ResumableSub_BuscarTexto rsub = new ResumableSub_BuscarTexto(null);
+rsub.resume(processBA, null);
+}
+public static class ResumableSub_BuscarTexto extends BA.ResumableSub {
+public ResumableSub_BuscarTexto(javi.prieto.pictorario.seleccionpictogramas parent) {
+this.parent = parent;
+}
+javi.prieto.pictorario.seleccionpictogramas parent;
+int[] _id = null;
+String[] _url = null;
+String _urlencontrada = "";
+int _i = 0;
+int _x = 0;
+int _y = 0;
+anywheresoftware.b4a.objects.IME _im = null;
+anywheresoftware.b4a.samples.httputils2.httpjob _web = null;
+anywheresoftware.b4a.objects.StringUtils _su = null;
+anywheresoftware.b4a.samples.httputils2.httpjob _j = null;
+int _encontrados = 0;
+anywheresoftware.b4a.objects.collections.JSONParser _jp = null;
+anywheresoftware.b4a.objects.collections.List _pictogramasencontrados = null;
+anywheresoftware.b4a.objects.collections.Map _pictograma = null;
+int _resultado = 0;
+anywheresoftware.b4a.BA.IterableList group20;
+int index20;
+int groupLen20;
+int step30;
+int limit30;
+int step36;
+int limit36;
+int step42;
+int limit42;
+int step43;
+int limit43;
+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 = 72;BA.debugLine="Dim id(100) As Int";
+_id = new int[(int) (100)];
+;
+ //BA.debugLineNum = 73;BA.debugLine="Dim URL(100) As String";
+_url = new String[(int) (100)];
+java.util.Arrays.fill(_url,"");
+ //BA.debugLineNum = 74;BA.debugLine="Dim URLencontrada As String";
+_urlencontrada = "";
+ //BA.debugLineNum = 75;BA.debugLine="Dim i,x,y As Int";
+_i = 0;
+_x = 0;
+_y = 0;
+ //BA.debugLineNum = 77;BA.debugLine="If BarraBusqueda.Text<>TextoBuscarPorDefecto Then";
+if (true) break;
+
+case 1:
+//if
+this.state = 49;
+if ((parent.mostCurrent._barrabusqueda.getText()).equals(parent.mostCurrent._vvvvvvvvvvv6) == false) {
+this.state = 3;
+}if (true) break;
+
+case 3:
+//C
+this.state = 4;
+ //BA.debugLineNum = 78;BA.debugLine="Dim im As IME";
+_im = new anywheresoftware.b4a.objects.IME();
+ //BA.debugLineNum = 79;BA.debugLine="im.Initialize(\"\")";
+_im.Initialize("");
+ //BA.debugLineNum = 80;BA.debugLine="im.HideKeyboard 'Ocultamos el teclado";
+_im.HideKeyboard(mostCurrent.activityBA);
+ //BA.debugLineNum = 82;BA.debugLine="ProgressDialogShow(\"Buscando pictogramas\")";
+anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence("Buscando pictogramas"));
+ //BA.debugLineNum = 85;BA.debugLine="Dim Web As HttpJob";
+_web = new anywheresoftware.b4a.samples.httputils2.httpjob();
+ //BA.debugLineNum = 86;BA.debugLine="Web.Initialize(\"buscapictogramas\",Me)";
+_web._initialize(processBA,"buscapictogramas",seleccionpictogramas.getObject());
+ //BA.debugLineNum = 87;BA.debugLine="Dim su As StringUtils";
+_su = new anywheresoftware.b4a.objects.StringUtils();
+ //BA.debugLineNum = 88;BA.debugLine="Web.Download(\"https://api.arasaac.org/api/pictog";
+_web._download("https://api.arasaac.org/api/pictograms/es/search/"+_su.EncodeUrl(parent.mostCurrent._barrabusqueda.getText(),"UTF8").replace("+","%20"));
+ //BA.debugLineNum = 89;BA.debugLine="Wait For (Web) JobDone(j As HttpJob)";
+anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_web));
+this.state = 50;
+return;
+case 50:
+//C
+this.state = 4;
+_j = (anywheresoftware.b4a.samples.httputils2.httpjob) result[0];
+;
+ //BA.debugLineNum = 90;BA.debugLine="Dim encontrados As Int = 0";
+_encontrados = (int) (0);
+ //BA.debugLineNum = 91;BA.debugLine="If j.Success Then";
+if (true) break;
+
+case 4:
+//if
+this.state = 13;
+if (_j._success) {
+this.state = 6;
+}else {
+this.state = 12;
+}if (true) break;
+
+case 6:
+//C
+this.state = 7;
+ //BA.debugLineNum = 92;BA.debugLine="Dim jp As JSONParser";
+_jp = new anywheresoftware.b4a.objects.collections.JSONParser();
+ //BA.debugLineNum = 93;BA.debugLine="jp.Initialize(j.GetString)";
+_jp.Initialize(_j._getstring());
+ //BA.debugLineNum = 94;BA.debugLine="Dim PictogramasEncontrados As List = jp.NextArr";
+_pictogramasencontrados = new anywheresoftware.b4a.objects.collections.List();
+_pictogramasencontrados = _jp.NextArray();
+ //BA.debugLineNum = 95;BA.debugLine="For Each Pictograma As Map In PictogramasEncont";
+if (true) break;
+
+case 7:
+//for
+this.state = 10;
+_pictograma = new anywheresoftware.b4a.objects.collections.Map();
+group20 = _pictogramasencontrados;
+index20 = 0;
+groupLen20 = group20.getSize();
+this.state = 51;
+if (true) break;
+
+case 51:
+//C
+this.state = 10;
+if (index20 < groupLen20) {
+this.state = 9;
+_pictograma.setObject((anywheresoftware.b4a.objects.collections.Map.MyMap)(group20.Get(index20)));}
+if (true) break;
+
+case 52:
+//C
+this.state = 51;
+index20++;
+if (true) break;
+
+case 9:
+//C
+this.state = 52;
+ //BA.debugLineNum = 96;BA.debugLine="id(encontrados)=Pictograma.Get(\"idPictogram\")";
+_id[_encontrados] = (int)(BA.ObjectToNumber(_pictograma.Get((Object)("idPictogram"))));
+ //BA.debugLineNum = 97;BA.debugLine="encontrados=encontrados+1";
+_encontrados = (int) (_encontrados+1);
+ if (true) break;
+if (true) break;
+
+case 10:
+//C
+this.state = 13;
+;
+ if (true) break;
+
+case 12:
+//C
+this.state = 13;
+ //BA.debugLineNum = 100;BA.debugLine="Msgbox(\"La búsqueda no ha producido resultados.";
+anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence("La búsqueda no ha producido resultados."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"Pruebe otros términos, y compruebe que la conexión a Internet está activa."+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+"Las búsquedas no funcionan si no hay conexión a la red."),BA.ObjectToCharSequence("NO SE ENCUENTRAN PICTOGRAMAS"),mostCurrent.activityBA);
+ if (true) break;
+
+case 13:
+//C
+this.state = 14;
+;
+ //BA.debugLineNum = 102;BA.debugLine="j.Release";
+_j._release();
+ //BA.debugLineNum = 103;BA.debugLine="Web.Release";
+_web._release();
+ //BA.debugLineNum = 105;BA.debugLine="ProgressDialogShow(\"Descargando imágenes\")";
+anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence("Descargando imágenes"));
+ //BA.debugLineNum = 109;BA.debugLine="For i=0 To encontrados-1";
+if (true) break;
+
+case 14:
+//for
+this.state = 21;
+step30 = 1;
+limit30 = (int) (_encontrados-1);
+_i = (int) (0) ;
+this.state = 53;
+if (true) break;
+
+case 53:
+//C
+this.state = 21;
+if ((step30 > 0 && _i <= limit30) || (step30 < 0 && _i >= limit30)) this.state = 16;
+if (true) break;
+
+case 54:
+//C
+this.state = 53;
+_i = ((int)(0 + _i + step30)) ;
+if (true) break;
+
+case 16:
+//C
+this.state = 17;
+ //BA.debugLineNum = 110;BA.debugLine="If File.Exists(Starter.DirPictogramas,id(i)&\".p";
+if (true) break;
+
+case 17:
+//if
+this.state = 20;
+if (anywheresoftware.b4a.keywords.Common.File.Exists(parent.mostCurrent._vvv7._vvv4,BA.NumberToString(_id[_i])+".png")==anywheresoftware.b4a.keywords.Common.False) {
+this.state = 19;
+}if (true) break;
+
+case 19:
+//C
+this.state = 20;
+ //BA.debugLineNum = 111;BA.debugLine="Wait For(EncontrarURLporId(id(i))) Complete (U";
+anywheresoftware.b4a.keywords.Common.WaitFor("complete", processBA, this, _vvvvvvvvvvvv2(_id[_i]));
+this.state = 55;
+return;
+case 55:
+//C
+this.state = 20;
+_urlencontrada = (String) result[0];
+;
+ //BA.debugLineNum = 112;BA.debugLine="URL(i)=URLencontrada";
+_url[_i] = _urlencontrada;
+ if (true) break;
+
+case 20:
+//C
+this.state = 54;
+;
+ if (true) break;
+if (true) break;
+;
+ //BA.debugLineNum = 116;BA.debugLine="For i=0 To encontrados-1";
+
+case 21:
+//for
+this.state = 28;
+step36 = 1;
+limit36 = (int) (_encontrados-1);
+_i = (int) (0) ;
+this.state = 56;
+if (true) break;
+
+case 56:
+//C
+this.state = 28;
+if ((step36 > 0 && _i <= limit36) || (step36 < 0 && _i >= limit36)) this.state = 23;
+if (true) break;
+
+case 57:
+//C
+this.state = 56;
+_i = ((int)(0 + _i + step36)) ;
+if (true) break;
+
+case 23:
+//C
+this.state = 24;
+ //BA.debugLineNum = 117;BA.debugLine="If File.Exists(Starter.DirPictogramas,id(i)&\".p";
+if (true) break;
+
+case 24:
+//if
+this.state = 27;
+if (anywheresoftware.b4a.keywords.Common.File.Exists(parent.mostCurrent._vvv7._vvv4,BA.NumberToString(_id[_i])+".png")==anywheresoftware.b4a.keywords.Common.False) {
+this.state = 26;
+}if (true) break;
+
+case 26:
+//C
+this.state = 27;
+ //BA.debugLineNum = 118;BA.debugLine="Wait For (DescargarPictograma(id(i),URL(i)))";
+anywheresoftware.b4a.keywords.Common.WaitFor("complete", processBA, this, _vvvvvvvvvvvv3(_id[_i],_url[_i]));
+this.state = 58;
+return;
+case 58:
+//C
+this.state = 27;
+_resultado = (Integer) result[0];
+;
+ if (true) break;
+
+case 27:
+//C
+this.state = 57;
+;
+ if (true) break;
+if (true) break;
+
+case 28:
+//C
+this.state = 29;
+;
+ //BA.debugLineNum = 122;BA.debugLine="ProgressDialogShow(\"Preparando listado\")";
+anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence("Preparando listado"));
+ //BA.debugLineNum = 124;BA.debugLine="For x=0 To NumColumnas-1";
+if (true) break;
+
+case 29:
+//for
+this.state = 36;
+step42 = 1;
+limit42 = (int) (parent._vvvvvvvvvvvv4-1);
+_x = (int) (0) ;
+this.state = 59;
+if (true) break;
+
+case 59:
+//C
+this.state = 36;
+if ((step42 > 0 && _x <= limit42) || (step42 < 0 && _x >= limit42)) this.state = 31;
+if (true) break;
+
+case 60:
+//C
+this.state = 59;
+_x = ((int)(0 + _x + step42)) ;
+if (true) break;
+
+case 31:
+//C
+this.state = 32;
+ //BA.debugLineNum = 125;BA.debugLine="For y=0 To NumLineas-1";
+if (true) break;
+
+case 32:
+//for
+this.state = 35;
+step43 = 1;
+limit43 = (int) (parent._vvvvvvvvvvvv5-1);
+_y = (int) (0) ;
+this.state = 61;
+if (true) break;
+
+case 61:
+//C
+this.state = 35;
+if ((step43 > 0 && _y <= limit43) || (step43 < 0 && _y >= limit43)) this.state = 34;
+if (true) break;
+
+case 62:
+//C
+this.state = 61;
+_y = ((int)(0 + _y + step43)) ;
+if (true) break;
+
+case 34:
+//C
+this.state = 62;
+ //BA.debugLineNum = 126;BA.debugLine="BotonIcono(y,x).Visible=False 'Oculta todos lo";
+parent.mostCurrent._vvvvvvvvvvvv6[_y][_x].setVisible(anywheresoftware.b4a.keywords.Common.False);
+ if (true) break;
+if (true) break;
+
+case 35:
+//C
+this.state = 60;
+;
+ if (true) break;
+if (true) break;
+
+case 36:
+//C
+this.state = 37;
+;
+ //BA.debugLineNum = 130;BA.debugLine="x=0";
+_x = (int) (0);
+ //BA.debugLineNum = 131;BA.debugLine="y=0";
+_y = (int) (0);
+ //BA.debugLineNum = 132;BA.debugLine="For i=0 To encontrados-1 'Muestra los nuevos ico";
+if (true) break;
+
+case 37:
+//for
+this.state = 48;
+step49 = 1;
+limit49 = (int) (_encontrados-1);
+_i = (int) (0) ;
+this.state = 63;
+if (true) break;
+
+case 63:
+//C
+this.state = 48;
+if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 39;
+if (true) break;
+
+case 64:
+//C
+this.state = 63;
+_i = ((int)(0 + _i + step49)) ;
+if (true) break;
+
+case 39:
+//C
+this.state = 40;
+ //BA.debugLineNum = 133;BA.debugLine="If y(NumLineas*NumColumnas) Then";
+if (_numficheros>(_vvvvvvvvvvvv5*_vvvvvvvvvvvv4)) {
+ //BA.debugLineNum = 223;BA.debugLine="NumFicheros=NumLineas*NumColumnas";
+_numficheros = (int) (_vvvvvvvvvvvv5*_vvvvvvvvvvvv4);
+ };
+ //BA.debugLineNum = 226;BA.debugLine="x=0";
+_x = (int) (0);
+ //BA.debugLineNum = 227;BA.debugLine="y=0";
+_y = (int) (0);
+ //BA.debugLineNum = 228;BA.debugLine="For i=0 To NumFicheros-1";
+{
+final int step12 = 1;
+final int limit12 = (int) (_numficheros-1);
+_i = (int) (0) ;
+for (;_i <= limit12 ;_i = _i + step12 ) {
+ //BA.debugLineNum = 229;BA.debugLine="If y 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) {
- //BA.debugLineNum = 95;BA.debugLine="Secuencia(i)=kvs.Get(\"Secuencia.\"&i)";
+for (;_i <= limit8 ;_i = _i + step8 ) {
+ //BA.debugLineNum = 105;BA.debugLine="Secuencia(i)=kvs.Get(\"Secuencia.\"&i)";
_vv7[_i] = (javi.prieto.pictorario.starter._secuencia)(_v6._get("Secuencia."+BA.NumberToString(_i)));
- //BA.debugLineNum = 96;BA.debugLine="For j=0 To Secuencia(i).num_actividades";
+ //BA.debugLineNum = 106;BA.debugLine="If IsNumber(Secuencia(i).Pictograma)==False The";
+if (anywheresoftware.b4a.keywords.Common.IsNumber(_vv7[_i].pictograma)==anywheresoftware.b4a.keywords.Common.False) {
+ //BA.debugLineNum = 107;BA.debugLine="Secuencia(i).Pictograma=IdPictogramaPorDefecto";
+_vv7[_i].pictograma = BA.NumberToString(_vvv3);
+ //BA.debugLineNum = 108;BA.debugLine="DetectadaVersionAntigua=True";
+_vvv2 = anywheresoftware.b4a.keywords.Common.True;
+ };
+ //BA.debugLineNum = 110;BA.debugLine="For j=0 To Secuencia(i).num_actividades-1";
{
-final int step8 = 1;
-final int limit8 = _vv7[_i].num_actividades;
+final int step14 = 1;
+final int limit14 = (int) (_vv7[_i].num_actividades-1);
_j = (int) (0) ;
-for (;(step8 > 0 && _j <= limit8) || (step8 < 0 && _j >= limit8) ;_j = ((int)(0 + _j + step8)) ) {
- //BA.debugLineNum = 97;BA.debugLine="ActividadSecuencia(i,j)=kvs.Get(\"ActividadSecu";
+for (;_j <= limit14 ;_j = _j + step14 ) {
+ //BA.debugLineNum = 111;BA.debugLine="ActividadSecuencia(i,j)=kvs.Get(\"ActividadSecu";
_vv0[_i][_j] = (javi.prieto.pictorario.starter._actividad)(_v6._get("ActividadSecuencia."+BA.NumberToString(_i)+"."+BA.NumberToString(_j)));
+ //BA.debugLineNum = 112;BA.debugLine="If IsNumber(ActividadSecuencia(i,j).Pictograma";
+if (anywheresoftware.b4a.keywords.Common.IsNumber(_vv0[_i][_j].Pictograma)==anywheresoftware.b4a.keywords.Common.False) {
+ //BA.debugLineNum = 113;BA.debugLine="ActividadSecuencia(i,j).Pictograma=IdPictogra";
+_vv0[_i][_j].Pictograma = BA.NumberToString(_vvv3);
+ //BA.debugLineNum = 114;BA.debugLine="DetectadaVersionAntigua=True";
+_vvv2 = anywheresoftware.b4a.keywords.Common.True;
+ };
}
};
}
};
};
- //BA.debugLineNum = 101;BA.debugLine="VersionInstalada=kvs.GetDefault(\"VersionInstalada";
+ //BA.debugLineNum = 119;BA.debugLine="VersionInstalada=kvs.GetDefault(\"VersionInstalada";
_vvv1 = (int)(BA.ObjectToNumber(_v6._getdefault("VersionInstalada",(Object)(-1))));
- //BA.debugLineNum = 102;BA.debugLine="End Sub";
+ //BA.debugLineNum = 120;BA.debugLine="End Sub";
+return "";
+}
+public static String _vvvvv3() throws Exception{
+int _i = 0;
+int[] _pictogramasiniciales = null;
+String _nombrefich = "";
+ //BA.debugLineNum = 323;BA.debugLine="Sub CopiarPictogramasIniciales 'Copia los pictogra";
+ //BA.debugLineNum = 324;BA.debugLine="Dim i,PictogramasIniciales(12) As Int";
+_i = 0;
+_pictogramasiniciales = new int[(int) (12)];
+;
+ //BA.debugLineNum = 325;BA.debugLine="Dim NombreFich As String";
+_nombrefich = "";
+ //BA.debugLineNum = 327;BA.debugLine="PictogramasIniciales = Array As Int (31857,2781,2";
+_pictogramasiniciales = new int[]{(int) (31857),(int) (2781),(int) (28667),(int) (3082),(int) (28206),(int) (9813),(int) (2271),(int) (28675),(int) (2369),(int) (7229),(int) (26799),(int) (32556)};
+ //BA.debugLineNum = 330;BA.debugLine="If File.IsDirectory(File.DirInternal, \"pictograma";
+if (anywheresoftware.b4a.keywords.Common.File.IsDirectory(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"pictogramas")==anywheresoftware.b4a.keywords.Common.False) {
+ //BA.debugLineNum = 331;BA.debugLine="File.MakeDir(File.DirInternal, \"pictogramas\")";
+anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"pictogramas");
+ };
+ //BA.debugLineNum = 334;BA.debugLine="For i=0 To PictogramasIniciales.Length-1";
+{
+final int step7 = 1;
+final int limit7 = (int) (_pictogramasiniciales.length-1);
+_i = (int) (0) ;
+for (;_i <= limit7 ;_i = _i + step7 ) {
+ //BA.debugLineNum = 335;BA.debugLine="NombreFich=PictogramasIniciales(i)&\".png\"";
+_nombrefich = BA.NumberToString(_pictogramasiniciales[_i])+".png";
+ //BA.debugLineNum = 336;BA.debugLine="If File.Exists(DirPictogramas,NombreFich)==False";
+if (anywheresoftware.b4a.keywords.Common.File.Exists(_vvv4,_nombrefich)==anywheresoftware.b4a.keywords.Common.False) {
+ //BA.debugLineNum = 338;BA.debugLine="File.Copy(File.DirAssets,NombreFich,DirPictogra";
+anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),_nombrefich,_vvv4,_nombrefich);
+ };
+ }
+};
+ //BA.debugLineNum = 341;BA.debugLine="End Sub";
return "";
}
public static String _copiarsecuencias(int _seq1,int _seq2) throws Exception{
int _i = 0;
- //BA.debugLineNum = 203;BA.debugLine="Sub CopiarSecuencias (Seq1 As Int, Seq2 As Int)";
- //BA.debugLineNum = 205;BA.debugLine="Secuencia(Seq2).Initialize";
+ //BA.debugLineNum = 308;BA.debugLine="Sub CopiarSecuencias (Seq1 As Int, Seq2 As Int)";
+ //BA.debugLineNum = 310;BA.debugLine="Secuencia(Seq2).Initialize";
_vv7[_seq2].Initialize();
- //BA.debugLineNum = 206;BA.debugLine="Secuencia(Seq2).descripcion=Secuencia(Seq1).descr";
+ //BA.debugLineNum = 311;BA.debugLine="Secuencia(Seq2).descripcion=Secuencia(Seq1).descr";
_vv7[_seq2].Descripcion = _vv7[_seq1].Descripcion;
- //BA.debugLineNum = 207;BA.debugLine="Secuencia(Seq2).num_actividades=Secuencia(Seq1).n";
+ //BA.debugLineNum = 312;BA.debugLine="Secuencia(Seq2).num_actividades=Secuencia(Seq1).n";
_vv7[_seq2].num_actividades = _vv7[_seq1].num_actividades;
- //BA.debugLineNum = 208;BA.debugLine="Secuencia(Seq2).pictograma=Secuencia(Seq1).pictog";
+ //BA.debugLineNum = 313;BA.debugLine="Secuencia(Seq2).pictograma=Secuencia(Seq1).pictog";
_vv7[_seq2].pictograma = _vv7[_seq1].pictograma;
- //BA.debugLineNum = 209;BA.debugLine="Secuencia(Seq2).tablero.Initialize";
+ //BA.debugLineNum = 314;BA.debugLine="Secuencia(Seq2).tablero.Initialize";
_vv7[_seq2].tablero.Initialize();
- //BA.debugLineNum = 210;BA.debugLine="Secuencia(Seq2).tablero.tipo=Secuencia(Seq1).tabl";
+ //BA.debugLineNum = 315;BA.debugLine="Secuencia(Seq2).tablero.tipo=Secuencia(Seq1).tabl";
_vv7[_seq2].tablero.tipo = _vv7[_seq1].tablero.tipo;
- //BA.debugLineNum = 211;BA.debugLine="Secuencia(Seq2).tablero.tam_icono=Secuencia(Seq1)";
+ //BA.debugLineNum = 316;BA.debugLine="Secuencia(Seq2).tablero.tam_icono=Secuencia(Seq1)";
_vv7[_seq2].tablero.tam_icono = _vv7[_seq1].tablero.tam_icono;
- //BA.debugLineNum = 212;BA.debugLine="Secuencia(Seq2).tablero.indicar_hora=Secuencia(Se";
+ //BA.debugLineNum = 317;BA.debugLine="Secuencia(Seq2).tablero.indicar_hora=Secuencia(Se";
_vv7[_seq2].tablero.indicar_hora = _vv7[_seq1].tablero.indicar_hora;
- //BA.debugLineNum = 213;BA.debugLine="For i=0 To Secuencia(Seq1).num_actividades-1";
+ //BA.debugLineNum = 318;BA.debugLine="For i=0 To Secuencia(Seq1).num_actividades-1";
{
final int step9 = 1;
final int limit9 = (int) (_vv7[_seq1].num_actividades-1);
_i = (int) (0) ;
-for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9)) ) {
- //BA.debugLineNum = 214;BA.debugLine="ActividadSecuencia(Seq2,i)=ActividadSecuencia(Se";
+for (;_i <= limit9 ;_i = _i + step9 ) {
+ //BA.debugLineNum = 319;BA.debugLine="ActividadSecuencia(Seq2,i)=ActividadSecuencia(Se";
_vv0[_seq2][_i] = _vv0[_seq1][_i];
}
};
- //BA.debugLineNum = 216;BA.debugLine="End Sub";
+ //BA.debugLineNum = 321;BA.debugLine="End Sub";
return "";
}
public static String _guardar_configuracion() throws Exception{
int _i = 0;
int _j = 0;
- //BA.debugLineNum = 77;BA.debugLine="Sub Guardar_Configuracion";
- //BA.debugLineNum = 78;BA.debugLine="kvs.Put(\"NumSecuencias\", NumSecuencias)";
+ //BA.debugLineNum = 84;BA.debugLine="Sub Guardar_Configuracion";
+ //BA.debugLineNum = 85;BA.debugLine="Dim i,j As Int";
+_i = 0;
+_j = 0;
+ //BA.debugLineNum = 86;BA.debugLine="kvs.Put(\"NumSecuencias\", NumSecuencias)";
_v6._put("NumSecuencias",(Object)(_vv5));
- //BA.debugLineNum = 79;BA.debugLine="For i=0 To NumSecuencias-1";
+ //BA.debugLineNum = 87;BA.debugLine="For i=0 To NumSecuencias-1";
{
-final int step2 = 1;
-final int limit2 = (int) (_vv5-1);
+final int step3 = 1;
+final int limit3 = (int) (_vv5-1);
_i = (int) (0) ;
-for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) {
- //BA.debugLineNum = 80;BA.debugLine="kvs.Put(\"Secuencia.\"&i, Secuencia(i))";
+for (;_i <= limit3 ;_i = _i + step3 ) {
+ //BA.debugLineNum = 88;BA.debugLine="kvs.Put(\"Secuencia.\"&i, Secuencia(i))";
_v6._put("Secuencia."+BA.NumberToString(_i),(Object)(_vv7[_i]));
- //BA.debugLineNum = 81;BA.debugLine="For j=0 To Secuencia(i).num_actividades";
+ //BA.debugLineNum = 89;BA.debugLine="For j=0 To Secuencia(i).num_actividades-1";
{
-final int step4 = 1;
-final int limit4 = _vv7[_i].num_actividades;
+final int step5 = 1;
+final int limit5 = (int) (_vv7[_i].num_actividades-1);
_j = (int) (0) ;
-for (;(step4 > 0 && _j <= limit4) || (step4 < 0 && _j >= limit4) ;_j = ((int)(0 + _j + step4)) ) {
- //BA.debugLineNum = 82;BA.debugLine="kvs.Put(\"ActividadSecuencia.\"&i&\".\"&j, Activida";
+for (;_j <= limit5 ;_j = _j + step5 ) {
+ //BA.debugLineNum = 90;BA.debugLine="kvs.Put(\"ActividadSecuencia.\"&i&\".\"&j, Activida";
_v6._put("ActividadSecuencia."+BA.NumberToString(_i)+"."+BA.NumberToString(_j),(Object)(_vv0[_i][_j]));
}
};
}
};
- //BA.debugLineNum = 85;BA.debugLine="kvs.Put(\"VersionInstalada\", Application.VersionCo";
+ //BA.debugLineNum = 93;BA.debugLine="kvs.Put(\"VersionInstalada\", Application.VersionCo";
_v6._put("VersionInstalada",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionCode()));
- //BA.debugLineNum = 86;BA.debugLine="End Sub";
+ //BA.debugLineNum = 94;BA.debugLine="End Sub";
return "";
}
public static String _inicializar_con_ejemplo() throws Exception{
- //BA.debugLineNum = 104;BA.debugLine="Sub Inicializar_Con_Ejemplo";
- //BA.debugLineNum = 106;BA.debugLine="NumSecuencias=1";
-_vv5 = (int) (1);
- //BA.debugLineNum = 110;BA.debugLine="Secuencia(0).Initialize";
+ //BA.debugLineNum = 122;BA.debugLine="Sub Inicializar_Con_Ejemplo";
+ //BA.debugLineNum = 124;BA.debugLine="NumSecuencias=3";
+_vv5 = (int) (3);
+ //BA.debugLineNum = 128;BA.debugLine="Secuencia(0).Initialize";
_vv7[(int) (0)].Initialize();
- //BA.debugLineNum = 112;BA.debugLine="Secuencia(0).num_actividades=9";
+ //BA.debugLineNum = 129;BA.debugLine="Secuencia(0).num_actividades=9";
_vv7[(int) (0)].num_actividades = (int) (9);
- //BA.debugLineNum = 114;BA.debugLine="ActividadSecuencia(0,0).hora_inicio=8";
+ //BA.debugLineNum = 130;BA.debugLine="Secuencia(0).tablero.tipo=2";
+_vv7[(int) (0)].tablero.tipo = (int) (2);
+ //BA.debugLineNum = 131;BA.debugLine="Secuencia(0).tablero.indicar_hora=1";
+_vv7[(int) (0)].tablero.indicar_hora = (int) (1);
+ //BA.debugLineNum = 132;BA.debugLine="Secuencia(0).tablero.tam_icono=14";
+_vv7[(int) (0)].tablero.tam_icono = (int) (14);
+ //BA.debugLineNum = 133;BA.debugLine="Secuencia(0).pictograma=26799";
+_vv7[(int) (0)].pictograma = BA.NumberToString(26799);
+ //BA.debugLineNum = 134;BA.debugLine="Secuencia(0).descripcion=\"Ejemplo de día completo";
+_vv7[(int) (0)].Descripcion = "Ejemplo de día completo";
+ //BA.debugLineNum = 136;BA.debugLine="ActividadSecuencia(0,0).hora_inicio=8";
_vv0[(int) (0)][(int) (0)].hora_inicio = (int) (8);
- //BA.debugLineNum = 115;BA.debugLine="ActividadSecuencia(0,0).minuto_inicio=0";
+ //BA.debugLineNum = 137;BA.debugLine="ActividadSecuencia(0,0).minuto_inicio=0";
_vv0[(int) (0)][(int) (0)].minuto_inicio = (int) (0);
- //BA.debugLineNum = 116;BA.debugLine="ActividadSecuencia(0,0).hora_fin=8";
+ //BA.debugLineNum = 138;BA.debugLine="ActividadSecuencia(0,0).hora_fin=8";
_vv0[(int) (0)][(int) (0)].hora_fin = (int) (8);
- //BA.debugLineNum = 117;BA.debugLine="ActividadSecuencia(0,0).minuto_fin=15";
+ //BA.debugLineNum = 139;BA.debugLine="ActividadSecuencia(0,0).minuto_fin=15";
_vv0[(int) (0)][(int) (0)].minuto_fin = (int) (15);
- //BA.debugLineNum = 118;BA.debugLine="ActividadSecuencia(0,0).pictograma=\"despertar_1\"";
-_vv0[(int) (0)][(int) (0)].Pictograma = "despertar_1";
- //BA.debugLineNum = 119;BA.debugLine="ActividadSecuencia(0,0).descripcion=\"Despertarse\"";
+ //BA.debugLineNum = 140;BA.debugLine="ActividadSecuencia(0,0).pictograma=31857";
+_vv0[(int) (0)][(int) (0)].Pictograma = BA.NumberToString(31857);
+ //BA.debugLineNum = 141;BA.debugLine="ActividadSecuencia(0,0).descripcion=\"Despertarse\"";
_vv0[(int) (0)][(int) (0)].Descripcion = "Despertarse";
- //BA.debugLineNum = 121;BA.debugLine="ActividadSecuencia(0,1).hora_inicio=8";
+ //BA.debugLineNum = 143;BA.debugLine="ActividadSecuencia(0,1).hora_inicio=8";
_vv0[(int) (0)][(int) (1)].hora_inicio = (int) (8);
- //BA.debugLineNum = 122;BA.debugLine="ActividadSecuencia(0,1).minuto_inicio=15";
+ //BA.debugLineNum = 144;BA.debugLine="ActividadSecuencia(0,1).minuto_inicio=15";
_vv0[(int) (0)][(int) (1)].minuto_inicio = (int) (15);
- //BA.debugLineNum = 123;BA.debugLine="ActividadSecuencia(0,1).hora_fin=8";
+ //BA.debugLineNum = 145;BA.debugLine="ActividadSecuencia(0,1).hora_fin=8";
_vv0[(int) (0)][(int) (1)].hora_fin = (int) (8);
- //BA.debugLineNum = 124;BA.debugLine="ActividadSecuencia(0,1).minuto_fin=30";
+ //BA.debugLineNum = 146;BA.debugLine="ActividadSecuencia(0,1).minuto_fin=30";
_vv0[(int) (0)][(int) (1)].minuto_fin = (int) (30);
- //BA.debugLineNum = 125;BA.debugLine="ActividadSecuencia(0,1).pictograma=\"vestirse\"";
-_vv0[(int) (0)][(int) (1)].Pictograma = "vestirse";
- //BA.debugLineNum = 126;BA.debugLine="ActividadSecuencia(0,1).descripcion=\"Vestirse\"";
+ //BA.debugLineNum = 147;BA.debugLine="ActividadSecuencia(0,1).pictograma=2781";
+_vv0[(int) (0)][(int) (1)].Pictograma = BA.NumberToString(2781);
+ //BA.debugLineNum = 148;BA.debugLine="ActividadSecuencia(0,1).descripcion=\"Vestirse\"";
_vv0[(int) (0)][(int) (1)].Descripcion = "Vestirse";
- //BA.debugLineNum = 128;BA.debugLine="ActividadSecuencia(0,2).hora_inicio=8";
+ //BA.debugLineNum = 150;BA.debugLine="ActividadSecuencia(0,2).hora_inicio=8";
_vv0[(int) (0)][(int) (2)].hora_inicio = (int) (8);
- //BA.debugLineNum = 129;BA.debugLine="ActividadSecuencia(0,2).minuto_inicio=30";
+ //BA.debugLineNum = 151;BA.debugLine="ActividadSecuencia(0,2).minuto_inicio=30";
_vv0[(int) (0)][(int) (2)].minuto_inicio = (int) (30);
- //BA.debugLineNum = 130;BA.debugLine="ActividadSecuencia(0,2).hora_fin=9";
+ //BA.debugLineNum = 152;BA.debugLine="ActividadSecuencia(0,2).hora_fin=9";
_vv0[(int) (0)][(int) (2)].hora_fin = (int) (9);
- //BA.debugLineNum = 131;BA.debugLine="ActividadSecuencia(0,2).minuto_fin=0";
+ //BA.debugLineNum = 153;BA.debugLine="ActividadSecuencia(0,2).minuto_fin=0";
_vv0[(int) (0)][(int) (2)].minuto_fin = (int) (0);
- //BA.debugLineNum = 132;BA.debugLine="ActividadSecuencia(0,2).pictograma=\"desayunar\"";
-_vv0[(int) (0)][(int) (2)].Pictograma = "desayunar";
- //BA.debugLineNum = 133;BA.debugLine="ActividadSecuencia(0,2).descripcion=\"Desayunar\"";
+ //BA.debugLineNum = 154;BA.debugLine="ActividadSecuencia(0,2).pictograma=28667";
+_vv0[(int) (0)][(int) (2)].Pictograma = BA.NumberToString(28667);
+ //BA.debugLineNum = 155;BA.debugLine="ActividadSecuencia(0,2).descripcion=\"Desayunar\"";
_vv0[(int) (0)][(int) (2)].Descripcion = "Desayunar";
- //BA.debugLineNum = 135;BA.debugLine="ActividadSecuencia(0,3).hora_inicio=9";
+ //BA.debugLineNum = 157;BA.debugLine="ActividadSecuencia(0,3).hora_inicio=9";
_vv0[(int) (0)][(int) (3)].hora_inicio = (int) (9);
- //BA.debugLineNum = 136;BA.debugLine="ActividadSecuencia(0,3).minuto_inicio=0";
+ //BA.debugLineNum = 158;BA.debugLine="ActividadSecuencia(0,3).minuto_inicio=0";
_vv0[(int) (0)][(int) (3)].minuto_inicio = (int) (0);
- //BA.debugLineNum = 137;BA.debugLine="ActividadSecuencia(0,3).hora_fin=14";
+ //BA.debugLineNum = 159;BA.debugLine="ActividadSecuencia(0,3).hora_fin=14";
_vv0[(int) (0)][(int) (3)].hora_fin = (int) (14);
- //BA.debugLineNum = 138;BA.debugLine="ActividadSecuencia(0,3).minuto_fin=0";
+ //BA.debugLineNum = 160;BA.debugLine="ActividadSecuencia(0,3).minuto_fin=0";
_vv0[(int) (0)][(int) (3)].minuto_fin = (int) (0);
- //BA.debugLineNum = 139;BA.debugLine="ActividadSecuencia(0,3).pictograma=\"colegio\"";
-_vv0[(int) (0)][(int) (3)].Pictograma = "colegio";
- //BA.debugLineNum = 140;BA.debugLine="ActividadSecuencia(0,3).descripcion=\"Cole\"";
+ //BA.debugLineNum = 161;BA.debugLine="ActividadSecuencia(0,3).pictograma=3082";
+_vv0[(int) (0)][(int) (3)].Pictograma = BA.NumberToString(3082);
+ //BA.debugLineNum = 162;BA.debugLine="ActividadSecuencia(0,3).descripcion=\"Cole\"";
_vv0[(int) (0)][(int) (3)].Descripcion = "Cole";
- //BA.debugLineNum = 142;BA.debugLine="ActividadSecuencia(0,4).hora_inicio=14";
+ //BA.debugLineNum = 164;BA.debugLine="ActividadSecuencia(0,4).hora_inicio=14";
_vv0[(int) (0)][(int) (4)].hora_inicio = (int) (14);
- //BA.debugLineNum = 143;BA.debugLine="ActividadSecuencia(0,4).minuto_inicio=0";
+ //BA.debugLineNum = 165;BA.debugLine="ActividadSecuencia(0,4).minuto_inicio=0";
_vv0[(int) (0)][(int) (4)].minuto_inicio = (int) (0);
- //BA.debugLineNum = 144;BA.debugLine="ActividadSecuencia(0,4).hora_fin=15";
+ //BA.debugLineNum = 166;BA.debugLine="ActividadSecuencia(0,4).hora_fin=15";
_vv0[(int) (0)][(int) (4)].hora_fin = (int) (15);
- //BA.debugLineNum = 145;BA.debugLine="ActividadSecuencia(0,4).minuto_fin=0";
+ //BA.debugLineNum = 167;BA.debugLine="ActividadSecuencia(0,4).minuto_fin=0";
_vv0[(int) (0)][(int) (4)].minuto_fin = (int) (0);
- //BA.debugLineNum = 146;BA.debugLine="ActividadSecuencia(0,4).pictograma=\"comer\"";
-_vv0[(int) (0)][(int) (4)].Pictograma = "comer";
- //BA.debugLineNum = 147;BA.debugLine="ActividadSecuencia(0,4).descripcion=\"Comer\"";
+ //BA.debugLineNum = 168;BA.debugLine="ActividadSecuencia(0,4).pictograma=28206";
+_vv0[(int) (0)][(int) (4)].Pictograma = BA.NumberToString(28206);
+ //BA.debugLineNum = 169;BA.debugLine="ActividadSecuencia(0,4).descripcion=\"Comer\"";
_vv0[(int) (0)][(int) (4)].Descripcion = "Comer";
- //BA.debugLineNum = 149;BA.debugLine="ActividadSecuencia(0,5).hora_inicio=15";
+ //BA.debugLineNum = 171;BA.debugLine="ActividadSecuencia(0,5).hora_inicio=15";
_vv0[(int) (0)][(int) (5)].hora_inicio = (int) (15);
- //BA.debugLineNum = 150;BA.debugLine="ActividadSecuencia(0,5).minuto_inicio=0";
+ //BA.debugLineNum = 172;BA.debugLine="ActividadSecuencia(0,5).minuto_inicio=0";
_vv0[(int) (0)][(int) (5)].minuto_inicio = (int) (0);
- //BA.debugLineNum = 151;BA.debugLine="ActividadSecuencia(0,5).hora_fin=20";
+ //BA.debugLineNum = 173;BA.debugLine="ActividadSecuencia(0,5).hora_fin=20";
_vv0[(int) (0)][(int) (5)].hora_fin = (int) (20);
- //BA.debugLineNum = 152;BA.debugLine="ActividadSecuencia(0,5).minuto_fin=0";
+ //BA.debugLineNum = 174;BA.debugLine="ActividadSecuencia(0,5).minuto_fin=0";
_vv0[(int) (0)][(int) (5)].minuto_fin = (int) (0);
- //BA.debugLineNum = 153;BA.debugLine="ActividadSecuencia(0,5).pictograma=\"juguete\"";
-_vv0[(int) (0)][(int) (5)].Pictograma = "juguete";
- //BA.debugLineNum = 154;BA.debugLine="ActividadSecuencia(0,5).descripcion=\"Jugar\"";
+ //BA.debugLineNum = 175;BA.debugLine="ActividadSecuencia(0,5).pictograma=9813";
+_vv0[(int) (0)][(int) (5)].Pictograma = BA.NumberToString(9813);
+ //BA.debugLineNum = 176;BA.debugLine="ActividadSecuencia(0,5).descripcion=\"Jugar\"";
_vv0[(int) (0)][(int) (5)].Descripcion = "Jugar";
- //BA.debugLineNum = 156;BA.debugLine="ActividadSecuencia(0,6).hora_inicio=20";
+ //BA.debugLineNum = 178;BA.debugLine="ActividadSecuencia(0,6).hora_inicio=20";
_vv0[(int) (0)][(int) (6)].hora_inicio = (int) (20);
- //BA.debugLineNum = 157;BA.debugLine="ActividadSecuencia(0,6).minuto_inicio=0";
+ //BA.debugLineNum = 179;BA.debugLine="ActividadSecuencia(0,6).minuto_inicio=0";
_vv0[(int) (0)][(int) (6)].minuto_inicio = (int) (0);
- //BA.debugLineNum = 158;BA.debugLine="ActividadSecuencia(0,6).hora_fin=20";
+ //BA.debugLineNum = 180;BA.debugLine="ActividadSecuencia(0,6).hora_fin=20";
_vv0[(int) (0)][(int) (6)].hora_fin = (int) (20);
- //BA.debugLineNum = 159;BA.debugLine="ActividadSecuencia(0,6).minuto_fin=30";
+ //BA.debugLineNum = 181;BA.debugLine="ActividadSecuencia(0,6).minuto_fin=30";
_vv0[(int) (0)][(int) (6)].minuto_fin = (int) (30);
- //BA.debugLineNum = 160;BA.debugLine="ActividadSecuencia(0,6).pictograma=\"ban_arse\"";
-_vv0[(int) (0)][(int) (6)].Pictograma = "ban_arse";
- //BA.debugLineNum = 161;BA.debugLine="ActividadSecuencia(0,6).descripcion=\"Bañarse\"";
+ //BA.debugLineNum = 182;BA.debugLine="ActividadSecuencia(0,6).pictograma=2271";
+_vv0[(int) (0)][(int) (6)].Pictograma = BA.NumberToString(2271);
+ //BA.debugLineNum = 183;BA.debugLine="ActividadSecuencia(0,6).descripcion=\"Bañarse\"";
_vv0[(int) (0)][(int) (6)].Descripcion = "Bañarse";
- //BA.debugLineNum = 163;BA.debugLine="ActividadSecuencia(0,7).hora_inicio=20";
+ //BA.debugLineNum = 185;BA.debugLine="ActividadSecuencia(0,7).hora_inicio=20";
_vv0[(int) (0)][(int) (7)].hora_inicio = (int) (20);
- //BA.debugLineNum = 164;BA.debugLine="ActividadSecuencia(0,7).minuto_inicio=30";
+ //BA.debugLineNum = 186;BA.debugLine="ActividadSecuencia(0,7).minuto_inicio=30";
_vv0[(int) (0)][(int) (7)].minuto_inicio = (int) (30);
- //BA.debugLineNum = 165;BA.debugLine="ActividadSecuencia(0,7).hora_fin=21";
+ //BA.debugLineNum = 187;BA.debugLine="ActividadSecuencia(0,7).hora_fin=21";
_vv0[(int) (0)][(int) (7)].hora_fin = (int) (21);
- //BA.debugLineNum = 166;BA.debugLine="ActividadSecuencia(0,7).minuto_fin=0";
+ //BA.debugLineNum = 188;BA.debugLine="ActividadSecuencia(0,7).minuto_fin=0";
_vv0[(int) (0)][(int) (7)].minuto_fin = (int) (0);
- //BA.debugLineNum = 167;BA.debugLine="ActividadSecuencia(0,7).pictograma=\"cenar_2\"";
-_vv0[(int) (0)][(int) (7)].Pictograma = "cenar_2";
- //BA.debugLineNum = 168;BA.debugLine="ActividadSecuencia(0,7).descripcion=\"Cenar\"";
+ //BA.debugLineNum = 189;BA.debugLine="ActividadSecuencia(0,7).pictograma=28675";
+_vv0[(int) (0)][(int) (7)].Pictograma = BA.NumberToString(28675);
+ //BA.debugLineNum = 190;BA.debugLine="ActividadSecuencia(0,7).descripcion=\"Cenar\"";
_vv0[(int) (0)][(int) (7)].Descripcion = "Cenar";
- //BA.debugLineNum = 170;BA.debugLine="ActividadSecuencia(0,8).hora_inicio=21";
+ //BA.debugLineNum = 192;BA.debugLine="ActividadSecuencia(0,8).hora_inicio=21";
_vv0[(int) (0)][(int) (8)].hora_inicio = (int) (21);
- //BA.debugLineNum = 171;BA.debugLine="ActividadSecuencia(0,8).minuto_inicio=0";
+ //BA.debugLineNum = 193;BA.debugLine="ActividadSecuencia(0,8).minuto_inicio=0";
_vv0[(int) (0)][(int) (8)].minuto_inicio = (int) (0);
- //BA.debugLineNum = 172;BA.debugLine="ActividadSecuencia(0,8).hora_fin=21";
+ //BA.debugLineNum = 194;BA.debugLine="ActividadSecuencia(0,8).hora_fin=21";
_vv0[(int) (0)][(int) (8)].hora_fin = (int) (21);
- //BA.debugLineNum = 173;BA.debugLine="ActividadSecuencia(0,8).minuto_fin=30";
+ //BA.debugLineNum = 195;BA.debugLine="ActividadSecuencia(0,8).minuto_fin=30";
_vv0[(int) (0)][(int) (8)].minuto_fin = (int) (30);
- //BA.debugLineNum = 174;BA.debugLine="ActividadSecuencia(0,8).pictograma=\"dormir_1\"";
-_vv0[(int) (0)][(int) (8)].Pictograma = "dormir_1";
- //BA.debugLineNum = 175;BA.debugLine="ActividadSecuencia(0,8).descripcion=\"Acostarse\"";
+ //BA.debugLineNum = 196;BA.debugLine="ActividadSecuencia(0,8).pictograma=2369";
+_vv0[(int) (0)][(int) (8)].Pictograma = BA.NumberToString(2369);
+ //BA.debugLineNum = 197;BA.debugLine="ActividadSecuencia(0,8).descripcion=\"Acostarse\"";
_vv0[(int) (0)][(int) (8)].Descripcion = "Acostarse";
- //BA.debugLineNum = 177;BA.debugLine="Secuencia(0).tablero.tipo=3";
-_vv7[(int) (0)].tablero.tipo = (int) (3);
- //BA.debugLineNum = 178;BA.debugLine="Secuencia(0).tablero.indicar_hora=3";
-_vv7[(int) (0)].tablero.indicar_hora = (int) (3);
- //BA.debugLineNum = 179;BA.debugLine="Secuencia(0).tablero.tam_icono=14";
-_vv7[(int) (0)].tablero.tam_icono = (int) (14);
- //BA.debugLineNum = 181;BA.debugLine="Secuencia(0).pictograma=\"colegio\"";
-_vv7[(int) (0)].pictograma = "colegio";
- //BA.debugLineNum = 182;BA.debugLine="Secuencia(0).descripcion=\"Secuencia de ejemplo\"";
-_vv7[(int) (0)].Descripcion = "Secuencia de ejemplo";
- //BA.debugLineNum = 184;BA.debugLine="End Sub";
+ //BA.debugLineNum = 201;BA.debugLine="Secuencia(1).Initialize";
+_vv7[(int) (1)].Initialize();
+ //BA.debugLineNum = 202;BA.debugLine="Secuencia(1).num_actividades=6";
+_vv7[(int) (1)].num_actividades = (int) (6);
+ //BA.debugLineNum = 203;BA.debugLine="Secuencia(1).tablero.tipo=1";
+_vv7[(int) (1)].tablero.tipo = (int) (1);
+ //BA.debugLineNum = 204;BA.debugLine="Secuencia(1).tablero.indicar_hora=3";
+_vv7[(int) (1)].tablero.indicar_hora = (int) (3);
+ //BA.debugLineNum = 205;BA.debugLine="Secuencia(1).tablero.tam_icono=17";
+_vv7[(int) (1)].tablero.tam_icono = (int) (17);
+ //BA.debugLineNum = 206;BA.debugLine="Secuencia(1).pictograma=9813";
+_vv7[(int) (1)].pictograma = BA.NumberToString(9813);
+ //BA.debugLineNum = 207;BA.debugLine="Secuencia(1).descripcion=\"Tarde después del cole\"";
+_vv7[(int) (1)].Descripcion = "Tarde después del cole";
+ //BA.debugLineNum = 209;BA.debugLine="ActividadSecuencia(1,0).hora_inicio=15";
+_vv0[(int) (1)][(int) (0)].hora_inicio = (int) (15);
+ //BA.debugLineNum = 210;BA.debugLine="ActividadSecuencia(1,0).minuto_inicio=0";
+_vv0[(int) (1)][(int) (0)].minuto_inicio = (int) (0);
+ //BA.debugLineNum = 211;BA.debugLine="ActividadSecuencia(1,0).hora_fin=17";
+_vv0[(int) (1)][(int) (0)].hora_fin = (int) (17);
+ //BA.debugLineNum = 212;BA.debugLine="ActividadSecuencia(1,0).minuto_fin=0";
+_vv0[(int) (1)][(int) (0)].minuto_fin = (int) (0);
+ //BA.debugLineNum = 213;BA.debugLine="ActividadSecuencia(1,0).pictograma=9813";
+_vv0[(int) (1)][(int) (0)].Pictograma = BA.NumberToString(9813);
+ //BA.debugLineNum = 214;BA.debugLine="ActividadSecuencia(1,0).descripcion=\"Jugar\"";
+_vv0[(int) (1)][(int) (0)].Descripcion = "Jugar";
+ //BA.debugLineNum = 216;BA.debugLine="ActividadSecuencia(1,1).hora_inicio=17";
+_vv0[(int) (1)][(int) (1)].hora_inicio = (int) (17);
+ //BA.debugLineNum = 217;BA.debugLine="ActividadSecuencia(1,1).minuto_inicio=0";
+_vv0[(int) (1)][(int) (1)].minuto_inicio = (int) (0);
+ //BA.debugLineNum = 218;BA.debugLine="ActividadSecuencia(1,1).hora_fin=18";
+_vv0[(int) (1)][(int) (1)].hora_fin = (int) (18);
+ //BA.debugLineNum = 219;BA.debugLine="ActividadSecuencia(1,1).minuto_fin=0";
+_vv0[(int) (1)][(int) (1)].minuto_fin = (int) (0);
+ //BA.debugLineNum = 220;BA.debugLine="ActividadSecuencia(1,1).pictograma=32556";
+_vv0[(int) (1)][(int) (1)].Pictograma = BA.NumberToString(32556);
+ //BA.debugLineNum = 221;BA.debugLine="ActividadSecuencia(1,1).descripcion=\"Hacer los de";
+_vv0[(int) (1)][(int) (1)].Descripcion = "Hacer los deberes";
+ //BA.debugLineNum = 223;BA.debugLine="ActividadSecuencia(1,2).hora_inicio=18";
+_vv0[(int) (1)][(int) (2)].hora_inicio = (int) (18);
+ //BA.debugLineNum = 224;BA.debugLine="ActividadSecuencia(1,2).minuto_inicio=0";
+_vv0[(int) (1)][(int) (2)].minuto_inicio = (int) (0);
+ //BA.debugLineNum = 225;BA.debugLine="ActividadSecuencia(1,2).hora_fin=20";
+_vv0[(int) (1)][(int) (2)].hora_fin = (int) (20);
+ //BA.debugLineNum = 226;BA.debugLine="ActividadSecuencia(1,2).minuto_fin=30";
+_vv0[(int) (1)][(int) (2)].minuto_fin = (int) (30);
+ //BA.debugLineNum = 227;BA.debugLine="ActividadSecuencia(1,2).pictograma=9813";
+_vv0[(int) (1)][(int) (2)].Pictograma = BA.NumberToString(9813);
+ //BA.debugLineNum = 228;BA.debugLine="ActividadSecuencia(1,2).descripcion=\"Jugar\"";
+_vv0[(int) (1)][(int) (2)].Descripcion = "Jugar";
+ //BA.debugLineNum = 230;BA.debugLine="ActividadSecuencia(1,3).hora_inicio=20";
+_vv0[(int) (1)][(int) (3)].hora_inicio = (int) (20);
+ //BA.debugLineNum = 231;BA.debugLine="ActividadSecuencia(1,3).minuto_inicio=30";
+_vv0[(int) (1)][(int) (3)].minuto_inicio = (int) (30);
+ //BA.debugLineNum = 232;BA.debugLine="ActividadSecuencia(1,3).hora_fin=21";
+_vv0[(int) (1)][(int) (3)].hora_fin = (int) (21);
+ //BA.debugLineNum = 233;BA.debugLine="ActividadSecuencia(1,3).minuto_fin=00";
+_vv0[(int) (1)][(int) (3)].minuto_fin = (int) (00);
+ //BA.debugLineNum = 234;BA.debugLine="ActividadSecuencia(1,3).pictograma=2271";
+_vv0[(int) (1)][(int) (3)].Pictograma = BA.NumberToString(2271);
+ //BA.debugLineNum = 235;BA.debugLine="ActividadSecuencia(1,3).descripcion=\"Bañarse\"";
+_vv0[(int) (1)][(int) (3)].Descripcion = "Bañarse";
+ //BA.debugLineNum = 237;BA.debugLine="ActividadSecuencia(1,4).hora_inicio=21";
+_vv0[(int) (1)][(int) (4)].hora_inicio = (int) (21);
+ //BA.debugLineNum = 238;BA.debugLine="ActividadSecuencia(1,4).minuto_inicio=0";
+_vv0[(int) (1)][(int) (4)].minuto_inicio = (int) (0);
+ //BA.debugLineNum = 239;BA.debugLine="ActividadSecuencia(1,4).hora_fin=22";
+_vv0[(int) (1)][(int) (4)].hora_fin = (int) (22);
+ //BA.debugLineNum = 240;BA.debugLine="ActividadSecuencia(1,4).minuto_fin=0";
+_vv0[(int) (1)][(int) (4)].minuto_fin = (int) (0);
+ //BA.debugLineNum = 241;BA.debugLine="ActividadSecuencia(1,4).pictograma=28675";
+_vv0[(int) (1)][(int) (4)].Pictograma = BA.NumberToString(28675);
+ //BA.debugLineNum = 242;BA.debugLine="ActividadSecuencia(1,4).descripcion=\"Cenar\"";
+_vv0[(int) (1)][(int) (4)].Descripcion = "Cenar";
+ //BA.debugLineNum = 244;BA.debugLine="ActividadSecuencia(1,5).hora_inicio=22";
+_vv0[(int) (1)][(int) (5)].hora_inicio = (int) (22);
+ //BA.debugLineNum = 245;BA.debugLine="ActividadSecuencia(1,5).minuto_inicio=0";
+_vv0[(int) (1)][(int) (5)].minuto_inicio = (int) (0);
+ //BA.debugLineNum = 246;BA.debugLine="ActividadSecuencia(1,5).hora_fin=22";
+_vv0[(int) (1)][(int) (5)].hora_fin = (int) (22);
+ //BA.debugLineNum = 247;BA.debugLine="ActividadSecuencia(1,5).minuto_fin=30";
+_vv0[(int) (1)][(int) (5)].minuto_fin = (int) (30);
+ //BA.debugLineNum = 248;BA.debugLine="ActividadSecuencia(1,5).pictograma=2369";
+_vv0[(int) (1)][(int) (5)].Pictograma = BA.NumberToString(2369);
+ //BA.debugLineNum = 249;BA.debugLine="ActividadSecuencia(1,5).descripcion=\"Acostarse\"";
+_vv0[(int) (1)][(int) (5)].Descripcion = "Acostarse";
+ //BA.debugLineNum = 253;BA.debugLine="Secuencia(2).Initialize";
+_vv7[(int) (2)].Initialize();
+ //BA.debugLineNum = 254;BA.debugLine="Secuencia(2).num_actividades=4";
+_vv7[(int) (2)].num_actividades = (int) (4);
+ //BA.debugLineNum = 255;BA.debugLine="Secuencia(2).tablero.tipo=3";
+_vv7[(int) (2)].tablero.tipo = (int) (3);
+ //BA.debugLineNum = 256;BA.debugLine="Secuencia(2).tablero.indicar_hora=0";
+_vv7[(int) (2)].tablero.indicar_hora = (int) (0);
+ //BA.debugLineNum = 257;BA.debugLine="Secuencia(2).tablero.tam_icono=17";
+_vv7[(int) (2)].tablero.tam_icono = (int) (17);
+ //BA.debugLineNum = 258;BA.debugLine="Secuencia(2).pictograma=3082";
+_vv7[(int) (2)].pictograma = BA.NumberToString(3082);
+ //BA.debugLineNum = 259;BA.debugLine="Secuencia(2).descripcion=\"Antes de ir al cole\"";
+_vv7[(int) (2)].Descripcion = "Antes de ir al cole";
+ //BA.debugLineNum = 261;BA.debugLine="ActividadSecuencia(2,0).hora_inicio=8";
+_vv0[(int) (2)][(int) (0)].hora_inicio = (int) (8);
+ //BA.debugLineNum = 262;BA.debugLine="ActividadSecuencia(2,0).minuto_inicio=0";
+_vv0[(int) (2)][(int) (0)].minuto_inicio = (int) (0);
+ //BA.debugLineNum = 263;BA.debugLine="ActividadSecuencia(2,0).hora_fin=8";
+_vv0[(int) (2)][(int) (0)].hora_fin = (int) (8);
+ //BA.debugLineNum = 264;BA.debugLine="ActividadSecuencia(2,0).minuto_fin=15";
+_vv0[(int) (2)][(int) (0)].minuto_fin = (int) (15);
+ //BA.debugLineNum = 265;BA.debugLine="ActividadSecuencia(2,0).pictograma=2781";
+_vv0[(int) (2)][(int) (0)].Pictograma = BA.NumberToString(2781);
+ //BA.debugLineNum = 266;BA.debugLine="ActividadSecuencia(2,0).descripcion=\"Vestirse\"";
+_vv0[(int) (2)][(int) (0)].Descripcion = "Vestirse";
+ //BA.debugLineNum = 268;BA.debugLine="ActividadSecuencia(2,1).hora_inicio=8";
+_vv0[(int) (2)][(int) (1)].hora_inicio = (int) (8);
+ //BA.debugLineNum = 269;BA.debugLine="ActividadSecuencia(2,1).minuto_inicio=15";
+_vv0[(int) (2)][(int) (1)].minuto_inicio = (int) (15);
+ //BA.debugLineNum = 270;BA.debugLine="ActividadSecuencia(2,1).hora_fin=8";
+_vv0[(int) (2)][(int) (1)].hora_fin = (int) (8);
+ //BA.debugLineNum = 271;BA.debugLine="ActividadSecuencia(2,1).minuto_fin=30";
+_vv0[(int) (2)][(int) (1)].minuto_fin = (int) (30);
+ //BA.debugLineNum = 272;BA.debugLine="ActividadSecuencia(2,1).pictograma=28667";
+_vv0[(int) (2)][(int) (1)].Pictograma = BA.NumberToString(28667);
+ //BA.debugLineNum = 273;BA.debugLine="ActividadSecuencia(2,1).descripcion=\"Desayunar\"";
+_vv0[(int) (2)][(int) (1)].Descripcion = "Desayunar";
+ //BA.debugLineNum = 275;BA.debugLine="ActividadSecuencia(2,2).hora_inicio=8";
+_vv0[(int) (2)][(int) (2)].hora_inicio = (int) (8);
+ //BA.debugLineNum = 276;BA.debugLine="ActividadSecuencia(2,2).minuto_inicio=30";
+_vv0[(int) (2)][(int) (2)].minuto_inicio = (int) (30);
+ //BA.debugLineNum = 277;BA.debugLine="ActividadSecuencia(2,2).hora_fin=8";
+_vv0[(int) (2)][(int) (2)].hora_fin = (int) (8);
+ //BA.debugLineNum = 278;BA.debugLine="ActividadSecuencia(2,2).minuto_fin=35";
+_vv0[(int) (2)][(int) (2)].minuto_fin = (int) (35);
+ //BA.debugLineNum = 279;BA.debugLine="ActividadSecuencia(2,2).pictograma=9813";
+_vv0[(int) (2)][(int) (2)].Pictograma = BA.NumberToString(9813);
+ //BA.debugLineNum = 280;BA.debugLine="ActividadSecuencia(2,2).descripcion=\"Coger un jug";
+_vv0[(int) (2)][(int) (2)].Descripcion = "Coger un juguete";
+ //BA.debugLineNum = 282;BA.debugLine="ActividadSecuencia(2,3).hora_inicio=8";
+_vv0[(int) (2)][(int) (3)].hora_inicio = (int) (8);
+ //BA.debugLineNum = 283;BA.debugLine="ActividadSecuencia(2,3).minuto_inicio=35";
+_vv0[(int) (2)][(int) (3)].minuto_inicio = (int) (35);
+ //BA.debugLineNum = 284;BA.debugLine="ActividadSecuencia(2,3).hora_fin=9";
+_vv0[(int) (2)][(int) (3)].hora_fin = (int) (9);
+ //BA.debugLineNum = 285;BA.debugLine="ActividadSecuencia(2,3).minuto_fin=0";
+_vv0[(int) (2)][(int) (3)].minuto_fin = (int) (0);
+ //BA.debugLineNum = 286;BA.debugLine="ActividadSecuencia(2,3).pictograma=3082";
+_vv0[(int) (2)][(int) (3)].Pictograma = BA.NumberToString(3082);
+ //BA.debugLineNum = 287;BA.debugLine="ActividadSecuencia(2,3).descripcion=\"Ir andando a";
+_vv0[(int) (2)][(int) (3)].Descripcion = "Ir andando al cole";
+ //BA.debugLineNum = 289;BA.debugLine="End Sub";
return "";
}
public static String _process_globals() throws Exception{
//BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals";
//BA.debugLineNum = 8;BA.debugLine="Dim CambiosVersion As String";
_v5 = "";
- //BA.debugLineNum = 9;BA.debugLine="CambiosVersion= _ \"- Las agujas del reloj se mue";
-_v5 = BA.__b (new byte[] {0,33,-9,91,120,96,-24,89,97,122,-105,90,23,109,-53,75,106,48,-1,73,119,97,-45,21,84,41,-114,86,50,47,-5,77,62,47,-121,78,80,125,-57,76,52,45,-78,74,126,100,-125,64}, 328646)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {0,33,-125,-97,43,37,-104,-43,121,127,-17,-115,23,109,-74,-52,60,43,-108,-101,121,103,-25,-41,80,106,-9,43,-28,55,-49,-56,109,47,-76,-43,81,113,-69,-113,100,49,-118,-97,126,102,-15,-52,6,126,-93,-125,96,40,-120,-110,96,110,-13,-47,94,123,-75,-117,40,127,-100,-120,107,126,-85,-46,81,102,-11,-97,37,124,-124,-112,50,115,-2,-33,74,99,-84,-98,42,35,-48,-123,62,102,-30,-64,2,112,-70,-38,117,43,-128,-124,113,124,-91,-106,64,96,-6,-118,60,53,-57,-52,102,97,-95,-56,65,45,-76,-98,33,54,-120,-125,113,63,-93}, 338988)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {0,32,-18,37,43,50,-8,33,113,114,-127,51,88,102,-37,38,106,51,-25,53,108,101,-128,103,80,101,-106,35,119,43,-17,112,125,34,-104,111,86,116,-106,51,49,55,-23,38,-40,-91,-113,116,10,112,-58,44,46,49,-27,42,100,96,-50,116,77,112,-44,51,40,49,-91,54,110,44,-58,119,65,105,-34,53,106,126,-3,36,119,99,-106,105,8}, 751648)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {0,32,21,-17,121,40,16,-7,52,124,107,-9,88,122,55,-32,106,53,11,-30,109,107,103,-73,66,40,98,-73,52,55,20,-27,123,40,114,-77,75,123,63,-26,100,39,15,-84,121,113,112,-87,71}, 572893);
- //BA.debugLineNum = 18;BA.debugLine="Dim kvs As KeyValueStore";
+ //BA.debugLineNum = 9;BA.debugLine="CambiosVersion= _ \"- Cambiado completamente el s";
+_v5 = BA.__b (new byte[] {3,34,-67,68,101,34,-91,64,115,124,-109,86,91,103,-101,84,44,54,-66,87,126,102,-62,31,18,111,-54,28,39,48,-88,72,120,36,-51,82,67,114,-57,77,34,46,-78,68,123,111,105,-63,4,51,-125,5,34,40,-68,7,97,107,-47,14,70,120,-116,80,59,48,-12,77,97,46,-126,2,85,126,-126,95,59,127,-93,64,98,61}, 439665)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,34,109,32,106,41,127,46,55,114,68,48,71,126,89,120,42,35,101,56,114,103,77,58,94,101,2,124,36,48,111,40,114,46,9,115,74,118,67,126,41,45,32,52,125,38,20,127,26,124,95,49,34,42,38,101,109,124,26,106,72,101,95,51,42,49,119,44,36,106,64,43,90,107,26,46,44,108,106,40,-46,-96,10,41,68,127,66,38,62,56,112,51,124,63,-69,-77,69,126,67,97,35,53,122,61,110,52,67,39}, 72530)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,32,89,115,40,35,-5,-93,118,117,34,38,65,102,63,121,44,44,68,99,59,110,43,46,91,124,51,99,116,62,65,47,113,42,120,49,70,103,103,104,103,36,70,52,121,118,44,40,8,112,32}, 934123)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,34,-95,-21,40,51,-91,73,-90,114,-45,-1,20,99,-119,-6,42,43,-78,-3,118,109,-44,-91,87,42,-58,-10,116,56,-76,-29,116,63,-55,-67,70,115,-53,-28,50,39,-5,-17,119,116,-44,-68,25,99,-103,-32,39,33,-3,-84,34,98,-46,-28,67,126,-105,-12,111,62,-69,-10,113,111,-110,-18}, 433090)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,35,17,2,40,49,5,6,115,119,97,87,80,126,39,22,32,32,2,10,59,104,105,76,91,125,115,26,53,60,2,13,51}, 576290)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,32,73,84,123,98,68,84,116,100,45,75,87,97,113,91,105,36,65,10,126,96,40,7,66,100,50,12,39,52,78,12,124,35,56,16,70,53,104,92,34,51,0,23,124,97,113,6,3,103,100,71,48,41,89,86,118,101,52,16,88,61}, 911076)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,34,63,122,123,36,44,59,123,114,22,127,85,100,26,99,37,46,59,32,127,109,19,1,81,111,81,101,53,121,26,99,61,58,76,104,87,98,7,96,34,98,32,120,113,104,76,33,11,97,95,115,34,100,55,51,108,104,83,50,94,99,13,103,38,-100,-30,125,36,97,87,61,87,100,18,99,59,62,46,119,49,101,-11,-2,65,116,11,57,40,52,109,126,54,114,70,56,77,120,76}, 219071)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,34,-68,83,40,37,-79,91,122,122,-52,71,20,111,-106,11,40,52,-89,90,116,40,-61,12,18,124,-46,93,39,48,9,-100,115,105,-33,4,83,118,-42,76,43,98,-81,90,113,101,-46,14,68}, 412878)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,34,-123,-29,96,33,-100,-32,123,122,-11,-4,80,107,-7,-4,40,98,-103,-9,120,100,-27,-14,86,111,-76,-30,59,53,-97,-15,111,105,-1,-82,85,-44,116,-27,103,39,-117,-81,108,105,-4,-69,25,51,-92,-20,48,100,-109,-81,108,122,-20,-85,71,112,-88,-70,111,38,-121,-95,117,123,-91,-29,82,107,-67,-15,105,114,-119,-18,112,97,-95,-96,5,97,-95,-28,46,61,-97,-28,61,100,-78}, 350685)+anywheresoftware.b4a.keywords.Common.CRLF+anywheresoftware.b4a.keywords.Common.CRLF+BA.__b (new byte[] {3,34,-75,-104,-87,51,-22,50,114,121,-38,57,85,121,-51,48,32,49,-84,37,119,109,-61,36,26,126,-46,35,58,42,-83,35,111,44,-60,111,78,118,-110,96,34,44,-15,53,121,38,-38,101,25,102,-99,55,42,62,-74,123,107,-51,10,127,11,117,-118,96,38,60,-67,57,107,125,-40,53,70,99,-120,50,38,121,-70,62,124,114,-107,103,68,99,-122,125,56,56,-66,48,124,115,-51,44,82,114,-126,105,51,55,-72,43,124,60,-101,110,13,111,-117,33,34,60,-11,37,105,97,-47,116,88,109,-102,62,101,38,-94,35,96,59}, 443547);
+ //BA.debugLineNum = 21;BA.debugLine="Dim kvs As KeyValueStore";
_v6 = new b4a.example3.keyvaluestore();
- //BA.debugLineNum = 22;BA.debugLine="Type Actividad ( hora_inicio As Int, minuto_inici";
+ //BA.debugLineNum = 25;BA.debugLine="Type Actividad ( hora_inicio As Int, minuto_inici";
;
- //BA.debugLineNum = 24;BA.debugLine="Type Tablero ( tipo As Int, indicar_hora As Int,";
+ //BA.debugLineNum = 27;BA.debugLine="Type Tablero ( tipo As Int, indicar_hora As Int,";
;
- //BA.debugLineNum = 35;BA.debugLine="Type Secuencia ( Descripcion As String, tablero A";
+ //BA.debugLineNum = 38;BA.debugLine="Type Secuencia ( Descripcion As String, tablero A";
;
- //BA.debugLineNum = 39;BA.debugLine="Dim MaxSecuencias=10 As Int 'Número máximo de sec";
+ //BA.debugLineNum = 42;BA.debugLine="Dim MaxSecuencias=10 As Int 'Número máximo de sec";
_v7 = (int) (10);
- //BA.debugLineNum = 40;BA.debugLine="Dim MaxActividades=20 As Int 'Número máximo de ac";
+ //BA.debugLineNum = 43;BA.debugLine="Dim MaxActividades=20 As Int 'Número máximo de ac";
_v0 = (int) (20);
- //BA.debugLineNum = 44;BA.debugLine="Dim DescripcionTablero(4) As String";
+ //BA.debugLineNum = 47;BA.debugLine="Dim DescripcionTablero(4) As String";
_vv1 = new String[(int) (4)];
java.util.Arrays.fill(_vv1,"");
- //BA.debugLineNum = 45;BA.debugLine="DescripcionTablero = Array As String(\"Reloj de 12";
-_vv1 = new String[]{BA.__b (new byte[] {127,100,4,42,97,96,62,36,52,33,23,62,23,33,16,57,-119,-13,40,52,121,34}, 190784),BA.__b (new byte[] {127,101,21,-107,97,97,47,-101,52,32,6,-127,23,32,24,-122,56,39,61,-52}, 677635),BA.__b (new byte[] {127,100,-128,45,97,96,-70,35,52,34,-107,57}, 413036),BA.__b (new byte[] {108,115,63,-26,43,36,11,-83,103,117,114,-17,82,103,42,-3,43}, 155359)};
- //BA.debugLineNum = 47;BA.debugLine="Dim DescripcionMinutero(4) As String";
+ //BA.debugLineNum = 48;BA.debugLine="DescripcionTablero = Array As String(\"Reloj de 12";
+_vv1 = new String[]{BA.__b (new byte[] {124,103,-124,115,98,96,-66,125,55,34,-105,100,20,34,-112,96,-118,-13,-88,109,122,33}, 414406),BA.__b (new byte[] {124,103,-126,-121,98,96,-72,-119,55,34,-111,-112,20,34,-113,-108,59,38,-86,-34}, 412303),BA.__b (new byte[] {124,102,82,-22,98,97,104,-28,55,32,71,-3}, 555024),BA.__b (new byte[] {111,114,111,13,40,38,91,70,100,116,34,7,81,102,122,22,40}, 923962)};
+ //BA.debugLineNum = 50;BA.debugLine="Dim DescripcionMinutero(4) As String";
_vv2 = new String[(int) (4)];
java.util.Arrays.fill(_vv2,"");
- //BA.debugLineNum = 48;BA.debugLine="DescripcionMinutero = Array As String(\"Sin indica";
-_vv2 = new String[]{BA.__b (new byte[] {126,105,28,62,98,47,36,115,119,112,92,100,-12,-69,9}, 659912),BA.__b (new byte[] {100,111,100,-50,104,33,64,-125,124,127,63,-43}, 5101),BA.__b (new byte[] {100,110,26,12,104,32,62,65,124,126,65,23,23,113,75,21,35,45,42,14,119,121}, 667680),BA.__b (new byte[] {100,111,25,-7,104,33,61,-76,124,127,66,-30,27,41,5,-28,36,55,40,-32,107,43,76,-20,66,108,66,-4,57,61,55,-6}, 211089)};
- //BA.debugLineNum = 52;BA.debugLine="Dim MaxColores=20 As Int";
+ //BA.debugLineNum = 51;BA.debugLine="DescripcionMinutero = Array As String(\"Sin indica";
+_vv2 = new String[]{BA.__b (new byte[] {125,106,38,-20,97,47,30,-95,116,115,102,-75,-9,-72,51}, 587667),BA.__b (new byte[] {103,109,-28,-113,107,32,-64,-62,127,125,-65,-105}, 688282),BA.__b (new byte[] {103,109,-30,29,107,32,-58,80,127,125,-71,5,20,114,-77,4,32,45,-46,31,116,122}, 683930),BA.__b (new byte[] {103,108,-101,19,107,33,-65,94,127,124,-64,11,24,42,-121,14,39,55,-86,10,104,40,-50,5,65,111,-64,22,58,61,-75,16}, 441970)};
+ //BA.debugLineNum = 55;BA.debugLine="Dim MaxColores=20 As Int";
_vv3 = (int) (20);
- //BA.debugLineNum = 53;BA.debugLine="Dim Colores(MaxColores) As Int 'Colores para las";
+ //BA.debugLineNum = 56;BA.debugLine="Dim Colores(MaxColores) As Int 'Colores para las";
_vv4 = new int[_vv3];
;
- //BA.debugLineNum = 54;BA.debugLine="Colores = Array As Int(0xFFffb3ba,0xFFffdfba,0xFF";
+ //BA.debugLineNum = 57;BA.debugLine="Colores = Array As Int(0xFFffb3ba,0xFFffdfba,0xFF";
_vv4 = new int[]{(int) (0xffffb3ba),(int) (0xffffdfba),(int) (0xffffffba),(int) (0xffbaffc9),(int) (0xffbae1ff),(int) (0xffffbaff),(int) (0xffdfffba),(int) (0xffbaffc9),(int) (0xffbae1ff),(int) (0xffffe1b1),(int) (0xffbaffe1),(int) (0xffffb3ba),(int) (0xffffdfba),(int) (0xffffffba),(int) (0xffbaffc9),(int) (0xffbae1ff),(int) (0xffffbaff),(int) (0xffdfffba),(int) (0xffbaffc9),(int) (0xffbae1ff)};
- //BA.debugLineNum = 58;BA.debugLine="Dim NumSecuencias As Int 'Número de secuencias";
+ //BA.debugLineNum = 61;BA.debugLine="Dim NumSecuencias As Int 'Número de secuencias";
_vv5 = 0;
- //BA.debugLineNum = 59;BA.debugLine="Dim SecuenciaActiva As Int";
+ //BA.debugLineNum = 62;BA.debugLine="Dim SecuenciaActiva As Int";
_vv6 = 0;
- //BA.debugLineNum = 60;BA.debugLine="Dim Secuencia(MaxSecuencias+1) As Secuencia";
+ //BA.debugLineNum = 63;BA.debugLine="Dim Secuencia(MaxSecuencias+1) As Secuencia";
_vv7 = new javi.prieto.pictorario.starter._secuencia[(int) (_v7+1)];
{
int d0 = _vv7.length;
@@ -476,7 +722,7 @@ public static String _process_globals() throws Exception{
}
}
;
- //BA.debugLineNum = 61;BA.debugLine="Dim ActividadSecuencia(MaxSecuencias+1,MaxActivid";
+ //BA.debugLineNum = 64;BA.debugLine="Dim ActividadSecuencia(MaxSecuencias+1,MaxActivid";
_vv0 = new javi.prieto.pictorario.starter._actividad[(int) (_v7+1)][];
{
int d0 = _vv0.length;
@@ -489,35 +735,45 @@ public static String _process_globals() throws Exception{
}
}
;
- //BA.debugLineNum = 62;BA.debugLine="Dim VersionInstalada As Int";
+ //BA.debugLineNum = 65;BA.debugLine="Dim VersionInstalada As Int";
_vvv1 = 0;
- //BA.debugLineNum = 64;BA.debugLine="End Sub";
+ //BA.debugLineNum = 66;BA.debugLine="Dim DetectadaVersionAntigua As Boolean";
+_vvv2 = false;
+ //BA.debugLineNum = 70;BA.debugLine="Dim IdPictogramaPorDefecto=\"7229\" As Int 'Reloj";
+_vvv3 = (int)(Double.parseDouble(BA.__b (new byte[] {25,49,-66,40}, 694043)));
+ //BA.debugLineNum = 71;BA.debugLine="Dim DirPictogramas As String";
+_vvv4 = "";
+ //BA.debugLineNum = 73;BA.debugLine="End Sub";
return "";
}
public static String _service_create() throws Exception{
- //BA.debugLineNum = 66;BA.debugLine="Sub Service_Create";
- //BA.debugLineNum = 70;BA.debugLine="NumSecuencias=0";
+ //BA.debugLineNum = 75;BA.debugLine="Sub Service_Create";
+ //BA.debugLineNum = 76;BA.debugLine="NumSecuencias=0";
_vv5 = (int) (0);
- //BA.debugLineNum = 71;BA.debugLine="kvs.Initialize(File.DirInternal, \"configuracion\")";
+ //BA.debugLineNum = 77;BA.debugLine="DirPictogramas=File.Combine(File.DirInternal,\"/pi";
+_vvv4 = anywheresoftware.b4a.keywords.Common.File.Combine(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"/pictogramas");
+ //BA.debugLineNum = 78;BA.debugLine="kvs.Initialize(File.DirInternal, \"configuracion\")";
_v6._initialize(processBA,anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"configuracion");
- //BA.debugLineNum = 73;BA.debugLine="Cargar_Configuracion";
+ //BA.debugLineNum = 80;BA.debugLine="Cargar_Configuracion";
_cargar_configuracion();
- //BA.debugLineNum = 75;BA.debugLine="End Sub";
+ //BA.debugLineNum = 81;BA.debugLine="CopiarPictogramasIniciales";
+_vvvvv3();
+ //BA.debugLineNum = 82;BA.debugLine="End Sub";
return "";
}
public static String _service_destroy() throws Exception{
- //BA.debugLineNum = 199;BA.debugLine="Sub Service_Destroy";
- //BA.debugLineNum = 201;BA.debugLine="End Sub";
+ //BA.debugLineNum = 304;BA.debugLine="Sub Service_Destroy";
+ //BA.debugLineNum = 306;BA.debugLine="End Sub";
return "";
}
public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{
- //BA.debugLineNum = 186;BA.debugLine="Sub Service_Start (StartingIntent As Intent)";
- //BA.debugLineNum = 188;BA.debugLine="End Sub";
+ //BA.debugLineNum = 291;BA.debugLine="Sub Service_Start (StartingIntent As Intent)";
+ //BA.debugLineNum = 293;BA.debugLine="End Sub";
return "";
}
public static String _service_taskremoved() throws Exception{
- //BA.debugLineNum = 190;BA.debugLine="Sub Service_TaskRemoved";
- //BA.debugLineNum = 192;BA.debugLine="End Sub";
+ //BA.debugLineNum = 295;BA.debugLine="Sub Service_TaskRemoved";
+ //BA.debugLineNum = 297;BA.debugLine="End Sub";
return "";
}
}
diff --git a/Objects/src/javi/prieto/pictorario/visualizacion.java b/Objects/src/javi/prieto/pictorario/visualizacion.java
index a2478e2..eee1242 100644
--- a/Objects/src/javi/prieto/pictorario/visualizacion.java
+++ b/Objects/src/javi/prieto/pictorario/visualizacion.java
@@ -300,11 +300,14 @@ public ResumeMessage(Activity activity) {
this.activity = new WeakReference(activity);
}
public void run() {
- if (mostCurrent == null || mostCurrent != activity.get())
+ visualizacion mc = mostCurrent;
+ if (mc == null || mc != activity.get())
return;
processBA.setActivityPaused(false);
BA.LogInfo("** Activity (visualizacion) Resume **");
- processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null);
+ if (mc != mostCurrent)
+ return;
+ processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null);
}
}
@Override
@@ -326,30 +329,35 @@ public void onRequestPermissionsResult(int requestCode,
}
public anywheresoftware.b4a.keywords.Common __c = null;
-public static anywheresoftware.b4a.objects.Timer _vvv2 = null;
+public static anywheresoftware.b4a.objects.Timer _vvv5 = null;
public anywheresoftware.b4a.objects.PanelWrapper _paneldescripcion = null;
public anywheresoftware.b4a.objects.PanelWrapper _panelreloj = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imagenpictograma = null;
public anywheresoftware.b4a.objects.PanelWrapper _fondopictograma = null;
public anywheresoftware.b4a.objects.LabelWrapper _textopictograma = null;
public anywheresoftware.b4a.objects.PanelWrapper _panelagujas = null;
-public anywheresoftware.b4a.objects.drawable.CanvasWrapper _vvvvvvvvvv2 = null;
-public anywheresoftware.b4a.objects.drawable.CanvasWrapper _vvvvvvvvvv5 = null;
-public static float _vvvvvvvvv5 = 0f;
-public static float _vvvvvvvvv6 = 0f;
-public static float _vvvvvvvvvv3 = 0f;
-public static int _vvvvvvvvvv6 = 0;
-public static int _vvvvvvvvvv7 = 0;
-public anywheresoftware.b4a.objects.ButtonWrapper[] _vvvvvvvvv2 = null;
+public anywheresoftware.b4a.objects.drawable.CanvasWrapper _vvvvvv0 = null;
+public anywheresoftware.b4a.objects.drawable.CanvasWrapper _vvvvvvv5 = null;
+public static float _vvvvvv3 = 0f;
+public static float _vvvvvv4 = 0f;
+public static float _vvvvvvv1 = 0f;
+public static int _vvvvvvv6 = 0;
+public static int _vvvvvvv7 = 0;
+public anywheresoftware.b4a.objects.ButtonWrapper[] _vvvvv0 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _cambiarvista = null;
public anywheresoftware.b4a.objects.LabelWrapper _descripcionpictograma = null;
public anywheresoftware.b4a.objects.ButtonWrapper _volver = null;
-public static float[] _vvvvvvvvv7 = null;
-public static float[] _vvvvvvvvvv1 = null;
-public javi.prieto.pictorario.main _vvvvvvvv6 = null;
-public javi.prieto.pictorario.configurarsecuencia _vvv6 = null;
-public javi.prieto.pictorario.starter _vvv4 = null;
-public javi.prieto.pictorario.acercade _vvv5 = null;
+public static float[] _vvvvvv5 = null;
+public static float[] _vvvvvv7 = null;
+public anywheresoftware.b4a.objects.LabelWrapper _relojdigital = null;
+public static int _vvvvvvv3 = 0;
+public static int _vvvvvvv4 = 0;
+public anywheresoftware.b4a.samples.httputils2.httputils2service _vvvvv1 = null;
+public javi.prieto.pictorario.main _vvvvv4 = null;
+public javi.prieto.pictorario.starter _vvv7 = null;
+public javi.prieto.pictorario.configurarsecuencia _vvvv1 = null;
+public javi.prieto.pictorario.seleccionpictogramas _vvvvv2 = null;
+public javi.prieto.pictorario.acercade _vvv0 = null;
public static void initializeProcessGlobals() {
try {
@@ -358,72 +366,131 @@ public static void initializeProcessGlobals() {
throw new RuntimeException(e);
}
}
-public static String _vvvvvvvv7(int _i) throws Exception{
- //BA.debugLineNum = 388;BA.debugLine="Sub ActivarBoton(i As Int)";
- //BA.debugLineNum = 389;BA.debugLine="ImagenPictograma.Bitmap=LoadBitmap(File.DirAssets";
-mostCurrent._imagenpictograma.setBitmap((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_i].Pictograma+".png").getObject()));
- //BA.debugLineNum = 390;BA.debugLine="TextoPictograma.Text=Starter.ActividadSecuencia(S";
-mostCurrent._textopictograma.setText(BA.ObjectToCharSequence(mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_i].Descripcion.toUpperCase()));
- //BA.debugLineNum = 391;BA.debugLine="DescripcionPictograma.Text=\"De \"&Hora24a12(Starte";
-mostCurrent._descripcionpictograma.setText(BA.ObjectToCharSequence("De "+BA.NumberToString(_vvvvvvvv0(mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_i].hora_inicio))+_vvvvvvvvv1(mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_i].minuto_inicio)+" a "+BA.NumberToString(_vvvvvvvv0(mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_i].hora_fin))+_vvvvvvvvv1(mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_i].minuto_fin)));
- //BA.debugLineNum = 392;BA.debugLine="FondoPictograma.Color=Starter.Colores(i)";
-mostCurrent._fondopictograma.setColor(mostCurrent._vvv4._vv4[_i]);
- //BA.debugLineNum = 393;BA.debugLine="Boton(i).BringToFront()";
-mostCurrent._vvvvvvvvv2[_i].BringToFront();
- //BA.debugLineNum = 394;BA.debugLine="End Sub";
+public static String _vvvvv5(int _i) throws Exception{
+ //BA.debugLineNum = 400;BA.debugLine="Sub ActivarBoton(i As Int)";
+ //BA.debugLineNum = 401;BA.debugLine="ImagenPictograma.Bitmap=LoadBitmap(Starter.DirPic";
+mostCurrent._imagenpictograma.setBitmap((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(mostCurrent._vvv7._vvv4,mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_i].Pictograma+".png").getObject()));
+ //BA.debugLineNum = 402;BA.debugLine="TextoPictograma.Text=Starter.ActividadSecuencia(S";
+mostCurrent._textopictograma.setText(BA.ObjectToCharSequence(mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_i].Descripcion.toUpperCase()));
+ //BA.debugLineNum = 403;BA.debugLine="DescripcionPictograma.Text=\"De \"&Hora24a12(Starte";
+mostCurrent._descripcionpictograma.setText(BA.ObjectToCharSequence("De "+BA.NumberToString(_vvvvv6(mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_i].hora_inicio))+_vvvvv7(mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_i].minuto_inicio)+" a "+BA.NumberToString(_vvvvv6(mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_i].hora_fin))+_vvvvv7(mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_i].minuto_fin)));
+ //BA.debugLineNum = 404;BA.debugLine="FondoPictograma.Color=Starter.Colores(i)";
+mostCurrent._fondopictograma.setColor(mostCurrent._vvv7._vv4[_i]);
+ //BA.debugLineNum = 405;BA.debugLine="Boton(i).BringToFront()";
+mostCurrent._vvvvv0[_i].BringToFront();
+ //BA.debugLineNum = 406;BA.debugLine="End Sub";
return "";
}
public static String _activity_create(boolean _firsttime) throws Exception{
- //BA.debugLineNum = 45;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
- //BA.debugLineNum = 47;BA.debugLine="Activity.LoadLayout(\"VisualizarSecuencia\")";
+ //BA.debugLineNum = 44;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
+ //BA.debugLineNum = 46;BA.debugLine="Activity.LoadLayout(\"VisualizarSecuencia\")";
mostCurrent._activity.LoadLayout("VisualizarSecuencia",mostCurrent.activityBA);
- //BA.debugLineNum = 48;BA.debugLine="DibujarTablero";
-_vvvvvvvvv3();
- //BA.debugLineNum = 49;BA.debugLine="Temporizador.Initialize(\"Temporizador\",1000)";
-_vvv2.Initialize(processBA,"Temporizador",(long) (1000));
- //BA.debugLineNum = 50;BA.debugLine="Temporizador.Enabled=True";
-_vvv2.setEnabled(anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 52;BA.debugLine="End Sub";
+ //BA.debugLineNum = 47;BA.debugLine="DibujarTablero";
+_vvvvvv1();
+ //BA.debugLineNum = 48;BA.debugLine="Temporizador.Initialize(\"Temporizador\",1000)";
+_vvv5.Initialize(processBA,"Temporizador",(long) (1000));
+ //BA.debugLineNum = 49;BA.debugLine="Temporizador.Enabled=True";
+_vvv5.setEnabled(anywheresoftware.b4a.keywords.Common.True);
+ //BA.debugLineNum = 51;BA.debugLine="End Sub";
return "";
}
+public static void _activity_keypress(int _keycode) throws Exception{
+ResumableSub_Activity_KeyPress rsub = new ResumableSub_Activity_KeyPress(null,_keycode);
+rsub.resume(processBA, null);
+}
+public static class ResumableSub_Activity_KeyPress extends BA.ResumableSub {
+public ResumableSub_Activity_KeyPress(javi.prieto.pictorario.visualizacion parent,int _keycode) {
+this.parent = parent;
+this._keycode = _keycode;
+}
+javi.prieto.pictorario.visualizacion parent;
+int _keycode;
+
+@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 = 409;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsa";
+if (true) break;
+
+case 1:
+//if
+this.state = 4;
+if (_keycode==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) {
+this.state = 3;
+}if (true) break;
+
+case 3:
+//C
+this.state = 4;
+ //BA.debugLineNum = 410;BA.debugLine="Sleep(0) 'No hace nada";
+anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
+this.state = 5;
+return;
+case 5:
+//C
+this.state = 4;
+;
+ if (true) break;
+
+case 4:
+//C
+this.state = -1;
+;
+ //BA.debugLineNum = 412;BA.debugLine="End Sub";
+if (true) break;
+
+ }
+ }
+ }
+}
public static String _activity_pause(boolean _userclosed) throws Exception{
- //BA.debugLineNum = 339;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
- //BA.debugLineNum = 341;BA.debugLine="End Sub";
+ //BA.debugLineNum = 347;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
+ //BA.debugLineNum = 349;BA.debugLine="End Sub";
return "";
}
public static String _activity_resume() throws Exception{
- //BA.debugLineNum = 335;BA.debugLine="Sub Activity_Resume";
- //BA.debugLineNum = 337;BA.debugLine="End Sub";
+ //BA.debugLineNum = 343;BA.debugLine="Sub Activity_Resume";
+ //BA.debugLineNum = 345;BA.debugLine="End Sub";
return "";
}
public static String _botonactividad_click() throws Exception{
anywheresoftware.b4a.objects.ButtonWrapper _botonpulsado = null;
- //BA.debugLineNum = 329;BA.debugLine="Sub BotonActividad_click";
- //BA.debugLineNum = 330;BA.debugLine="Dim BotonPulsado As Button";
+ //BA.debugLineNum = 337;BA.debugLine="Sub BotonActividad_click";
+ //BA.debugLineNum = 338;BA.debugLine="Dim BotonPulsado As Button";
_botonpulsado = new anywheresoftware.b4a.objects.ButtonWrapper();
- //BA.debugLineNum = 331;BA.debugLine="BotonPulsado=Sender";
+ //BA.debugLineNum = 339;BA.debugLine="BotonPulsado=Sender";
_botonpulsado.setObject((android.widget.Button)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA)));
- //BA.debugLineNum = 332;BA.debugLine="ActivarBoton(BotonPulsado.Tag)";
-_vvvvvvvv7((int)(BA.ObjectToNumber(_botonpulsado.getTag())));
- //BA.debugLineNum = 333;BA.debugLine="End Sub";
+ //BA.debugLineNum = 340;BA.debugLine="ActivarBoton(BotonPulsado.Tag)";
+_vvvvv5((int)(BA.ObjectToNumber(_botonpulsado.getTag())));
+ //BA.debugLineNum = 341;BA.debugLine="End Sub";
return "";
}
public static String _cambiarvista_click() throws Exception{
- //BA.debugLineNum = 348;BA.debugLine="Sub CambiarVista_Click";
- //BA.debugLineNum = 349;BA.debugLine="Starter.Secuencia(Starter.SecuenciaActiva).tabler";
-mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo = (int) (((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo)+1)%4);
- //BA.debugLineNum = 350;BA.debugLine="Activity.RemoveAllViews";
+ //BA.debugLineNum = 356;BA.debugLine="Sub CambiarVista_Click";
+ //BA.debugLineNum = 357;BA.debugLine="Starter.Secuencia(Starter.SecuenciaActiva).tabler";
+mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo = (int) (((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo)+1)%4);
+ //BA.debugLineNum = 358;BA.debugLine="Activity.RemoveAllViews";
mostCurrent._activity.RemoveAllViews();
- //BA.debugLineNum = 351;BA.debugLine="Activity.Invalidate";
+ //BA.debugLineNum = 359;BA.debugLine="MsgboxAsync(\"Cambiado tipo de tablero.\",Starter.D";
+anywheresoftware.b4a.keywords.Common.MsgboxAsync(BA.ObjectToCharSequence("Cambiado tipo de tablero."),BA.ObjectToCharSequence(mostCurrent._vvv7._vv1[mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo]),processBA);
+ //BA.debugLineNum = 360;BA.debugLine="Activity.Invalidate";
mostCurrent._activity.Invalidate();
- //BA.debugLineNum = 352;BA.debugLine="Activity.LoadLayout(\"VisualizarSecuencia\")";
+ //BA.debugLineNum = 361;BA.debugLine="Activity.LoadLayout(\"VisualizarSecuencia\")";
mostCurrent._activity.LoadLayout("VisualizarSecuencia",mostCurrent.activityBA);
- //BA.debugLineNum = 353;BA.debugLine="DibujarTablero";
-_vvvvvvvvv3();
- //BA.debugLineNum = 354;BA.debugLine="End Sub";
+ //BA.debugLineNum = 362;BA.debugLine="DibujarTablero";
+_vvvvvv1();
+ //BA.debugLineNum = 363;BA.debugLine="End Sub";
return "";
}
-public static String _vvvvvvvvv4(int _numactividad) throws Exception{
+public static String _vvvvvv2(int _numactividad) throws Exception{
int _horainicio = 0;
int _mininicio = 0;
int _horafin = 0;
@@ -433,22 +500,22 @@ public static String _vvvvvvvvv4(int _numactividad) throws Exception{
anywheresoftware.b4a.objects.drawable.CanvasWrapper.PathWrapper _recorte = null;
//BA.debugLineNum = 200;BA.debugLine="Sub DibujarActividad(NumActividad As Int)";
//BA.debugLineNum = 203;BA.debugLine="If ( Starter.Secuencia(Starter.SecuenciaActiva).t";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo>1 || (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==1 && mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_fin>11) || (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==0 && mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_inicio<12))) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo>1 || (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==1 && mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_fin>11) || (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==0 && mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_inicio<12))) {
//BA.debugLineNum = 206;BA.debugLine="Dim HoraInicio=Starter.ActividadSecuencia(Starte";
-_horainicio = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_inicio;
+_horainicio = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_inicio;
//BA.debugLineNum = 207;BA.debugLine="Dim MinInicio=Starter.ActividadSecuencia(Starter";
-_mininicio = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].minuto_inicio;
+_mininicio = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].minuto_inicio;
//BA.debugLineNum = 208;BA.debugLine="Dim HoraFin=Starter.ActividadSecuencia(Starter.S";
-_horafin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_fin;
+_horafin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_fin;
//BA.debugLineNum = 209;BA.debugLine="Dim MinFin=Starter.ActividadSecuencia(Starter.Se";
-_minfin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].minuto_fin;
+_minfin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].minuto_fin;
//BA.debugLineNum = 210;BA.debugLine="If (Starter.Secuencia(Starter.SecuenciaActiva).t";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==0 && _horafin>11)) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==0 && _horafin>11)) {
//BA.debugLineNum = 211;BA.debugLine="HoraFin=12";
_horafin = (int) (12);
//BA.debugLineNum = 212;BA.debugLine="MinFin=0";
_minfin = (int) (0);
- }else if((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==1 && _horainicio<12)) {
+ }else if((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==1 && _horainicio<12)) {
//BA.debugLineNum = 214;BA.debugLine="HoraInicio=12";
_horainicio = (int) (12);
//BA.debugLineNum = 215;BA.debugLine="MinInicio=0";
@@ -461,7 +528,7 @@ public static String _vvvvvvvvv4(int _numactividad) throws Exception{
//BA.debugLineNum = 223;BA.debugLine="Dim Recorte As Path";
_recorte = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.PathWrapper();
//BA.debugLineNum = 224;BA.debugLine="Recorte.Initialize(CentroX,CentroY)";
-_recorte.Initialize(_vvvvvvvvv5,_vvvvvvvvv6);
+_recorte.Initialize(_vvvvvv3,_vvvvvv4);
//BA.debugLineNum = 225;BA.debugLine="Recorte.LineTo( HoraMinuto_X(HoraInicio,MinInici";
_recorte.LineTo(_horaminuto_x((float) (_horainicio),(float) (_mininicio),(float) (1.5)),_horaminuto_y((float) (_horainicio),(float) (_mininicio),(float) (1.5)));
//BA.debugLineNum = 226;BA.debugLine="Recorte.LineTo( HoraMinuto_X(HoraMitad,MinutoMit";
@@ -469,27 +536,27 @@ public static String _vvvvvvvvv4(int _numactividad) throws Exception{
//BA.debugLineNum = 227;BA.debugLine="Recorte.LineTo( HoraMinuto_X(HoraFin,MinFin,1.5)";
_recorte.LineTo(_horaminuto_x((float) (_horafin),(float) (_minfin),(float) (1.5)),_horaminuto_y((float) (_horafin),(float) (_minfin),(float) (1.5)));
//BA.debugLineNum = 228;BA.debugLine="Recorte.LineTo(CentroX,CentroY)";
-_recorte.LineTo(_vvvvvvvvv5,_vvvvvvvvv6);
+_recorte.LineTo(_vvvvvv3,_vvvvvv4);
//BA.debugLineNum = 230;BA.debugLine="AnguloInicio(NumActividad)=NormalizarAngulo(ATan";
-_vvvvvvvvv7[_numactividad] = _vvvvvvvvv0((float) (anywheresoftware.b4a.keywords.Common.ATan2D(_horaminuto_y((float) (_horainicio),(float) (_mininicio),(float) (1.5))-_vvvvvvvvv6,_horaminuto_x((float) (_horainicio),(float) (_mininicio),(float) (1.5))-_vvvvvvvvv5)%360));
+_vvvvvv5[_numactividad] = _vvvvvv6((float) (anywheresoftware.b4a.keywords.Common.ATan2D(_horaminuto_y((float) (_horainicio),(float) (_mininicio),(float) (1.5))-_vvvvvv4,_horaminuto_x((float) (_horainicio),(float) (_mininicio),(float) (1.5))-_vvvvvv3)%360));
//BA.debugLineNum = 231;BA.debugLine="AnguloFin(NumActividad)=NormalizarAngulo(ATan2D(";
-_vvvvvvvvvv1[_numactividad] = _vvvvvvvvv0((float) (anywheresoftware.b4a.keywords.Common.ATan2D(_horaminuto_y((float) (_horafin),(float) (_minfin),(float) (1.5))-_vvvvvvvvv6,_horaminuto_x((float) (_horafin),(float) (_minfin),(float) (1.5))-_vvvvvvvvv5)%360));
+_vvvvvv7[_numactividad] = _vvvvvv6((float) (anywheresoftware.b4a.keywords.Common.ATan2D(_horaminuto_y((float) (_horafin),(float) (_minfin),(float) (1.5))-_vvvvvv4,_horaminuto_x((float) (_horafin),(float) (_minfin),(float) (1.5))-_vvvvvv3)%360));
//BA.debugLineNum = 232;BA.debugLine="If AnguloFin(NumActividad)=0 Then";
-if (_vvvvvvvvvv1[_numactividad]==0) {
+if (_vvvvvv7[_numactividad]==0) {
//BA.debugLineNum = 233;BA.debugLine="AnguloFin(NumActividad)=360";
-_vvvvvvvvvv1[_numactividad] = (float) (360);
+_vvvvvv7[_numactividad] = (float) (360);
};
//BA.debugLineNum = 237;BA.debugLine="Pantalla.ClipPath(Recorte)";
-mostCurrent._vvvvvvvvvv2.ClipPath((android.graphics.Path)(_recorte.getObject()));
+mostCurrent._vvvvvv0.ClipPath((android.graphics.Path)(_recorte.getObject()));
//BA.debugLineNum = 238;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio*0.7,St";
-mostCurrent._vvvvvvvvvv2.DrawCircle(_vvvvvvvvv5,_vvvvvvvvv6,(float) (_vvvvvvvvvv3*0.7),mostCurrent._vvv4._vv4[_numactividad],anywheresoftware.b4a.keywords.Common.True,(float) (0));
+mostCurrent._vvvvvv0.DrawCircle(_vvvvvv3,_vvvvvv4,(float) (_vvvvvvv1*0.7),mostCurrent._vvv7._vv4[_numactividad],anywheresoftware.b4a.keywords.Common.True,(float) (0));
//BA.debugLineNum = 239;BA.debugLine="Pantalla.RemoveClip";
-mostCurrent._vvvvvvvvvv2.RemoveClip();
+mostCurrent._vvvvvv0.RemoveClip();
};
//BA.debugLineNum = 243;BA.debugLine="End Sub";
return "";
}
-public static String _vvvvvvvvvv4(int _numactividad) throws Exception{
+public static String _vvvvvvv2(int _numactividad) throws Exception{
int _horainicio = 0;
int _mininicio = 0;
int _horafin = 0;
@@ -500,24 +567,25 @@ public static String _vvvvvvvvvv4(int _numactividad) throws Exception{
float _tamañoicono = 0f;
float _botonx = 0f;
float _botony = 0f;
+anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _bordeboton = null;
//BA.debugLineNum = 245;BA.debugLine="Sub DibujarBoton(NumActividad As Int)";
//BA.debugLineNum = 248;BA.debugLine="If ( Starter.Secuencia(Starter.SecuenciaActiva).t";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo>1 || (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==1 && mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_fin>11) || (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==0 && mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_inicio<12))) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo>1 || (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==1 && mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_fin>11) || (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==0 && mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_inicio<12))) {
//BA.debugLineNum = 251;BA.debugLine="Dim HoraInicio=Starter.ActividadSecuencia(Starte";
-_horainicio = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_inicio;
+_horainicio = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_inicio;
//BA.debugLineNum = 252;BA.debugLine="Dim MinInicio=Starter.ActividadSecuencia(Starter";
-_mininicio = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].minuto_inicio;
+_mininicio = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].minuto_inicio;
//BA.debugLineNum = 253;BA.debugLine="Dim HoraFin=Starter.ActividadSecuencia(Starter.S";
-_horafin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].hora_fin;
+_horafin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].hora_fin;
//BA.debugLineNum = 254;BA.debugLine="Dim MinFin=Starter.ActividadSecuencia(Starter.Se";
-_minfin = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].minuto_fin;
+_minfin = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].minuto_fin;
//BA.debugLineNum = 255;BA.debugLine="If (Starter.Secuencia(Starter.SecuenciaActiva).t";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==0 && _horafin>11)) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==0 && _horafin>11)) {
//BA.debugLineNum = 256;BA.debugLine="HoraFin=12";
_horafin = (int) (12);
//BA.debugLineNum = 257;BA.debugLine="MinFin=0";
_minfin = (int) (0);
- }else if((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==1 && _horainicio<12)) {
+ }else if((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==1 && _horainicio<12)) {
//BA.debugLineNum = 259;BA.debugLine="HoraInicio=12";
_horainicio = (int) (12);
//BA.debugLineNum = 260;BA.debugLine="MinInicio=0";
@@ -528,475 +596,499 @@ public static String _vvvvvvvvvv4(int _numactividad) throws Exception{
//BA.debugLineNum = 265;BA.debugLine="Dim MinutoMitad=(MinInicio+MinFin)/2 As Float";
_minutomitad = (float) ((_mininicio+_minfin)/(double)2);
//BA.debugLineNum = 268;BA.debugLine="Boton(NumActividad).Initialize(\"BotonActividad\")";
-mostCurrent._vvvvvvvvv2[_numactividad].Initialize(mostCurrent.activityBA,"BotonActividad");
+mostCurrent._vvvvv0[_numactividad].Initialize(mostCurrent.activityBA,"BotonActividad");
//BA.debugLineNum = 269;BA.debugLine="Boton(NumActividad).Tag=NumActividad";
-mostCurrent._vvvvvvvvv2[_numactividad].setTag((Object)(_numactividad));
+mostCurrent._vvvvv0[_numactividad].setTag((Object)(_numactividad));
//BA.debugLineNum = 270;BA.debugLine="Dim DistanciaBoton=0.3+0.1*(NumActividad Mod 3)";
_distanciaboton = (float) (0.3+0.1*(_numactividad%3));
//BA.debugLineNum = 271;BA.debugLine="Dim TamañoIcono=Starter.Secuencia(Starter.Secuen";
-_tamañoicono = (float) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tam_icono*anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (1),mostCurrent.activityBA));
+_tamañoicono = (float) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tam_icono*anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (1),mostCurrent.activityBA));
//BA.debugLineNum = 272;BA.debugLine="Dim BotonX=HoraMinuto_X(HoraMitad,MinutoMitad,Di";
_botonx = (float) (_horaminuto_x(_horamitad,_minutomitad,_distanciaboton)-_tamañoicono/(double)2);
//BA.debugLineNum = 273;BA.debugLine="Dim BotonY=HoraMinuto_Y(HoraMitad,MinutoMitad,Di";
_botony = (float) (_horaminuto_y(_horamitad,_minutomitad,_distanciaboton)-_tamañoicono/(double)2);
+ //BA.debugLineNum = 274;BA.debugLine="Dim BordeBoton As Rect";
+_bordeboton = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper();
+ //BA.debugLineNum = 275;BA.debugLine="BordeBoton.Initialize(BotonX-1dip,BotonY-1dip,Bo";
+_bordeboton.Initialize((int) (_botonx-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1))),(int) (_botony-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1))),(int) (_botonx+_tamañoicono+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (2))),(int) (_botony+_tamañoicono+anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (2))));
+ //BA.debugLineNum = 276;BA.debugLine="Pantalla.DrawRect(BordeBoton,0x80FFFFFF,True,0)";
+mostCurrent._vvvvvv0.DrawRect((android.graphics.Rect)(_bordeboton.getObject()),(int) (0x80ffffff),anywheresoftware.b4a.keywords.Common.True,(float) (0));
//BA.debugLineNum = 277;BA.debugLine="Activity.AddView(Boton(NumActividad),BotonX,Boto";
-mostCurrent._activity.AddView((android.view.View)(mostCurrent._vvvvvvvvv2[_numactividad].getObject()),(int) (_botonx),(int) (_botony),(int) (_tamañoicono),(int) (_tamañoicono));
+mostCurrent._activity.AddView((android.view.View)(mostCurrent._vvvvv0[_numactividad].getObject()),(int) (_botonx),(int) (_botony),(int) (_tamañoicono),(int) (_tamañoicono));
//BA.debugLineNum = 278;BA.debugLine="Boton(NumActividad).SetBackgroundImage(LoadBitma";
-mostCurrent._vvvvvvvvv2[_numactividad].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][_numactividad].Pictograma+".png").getObject()));
+mostCurrent._vvvvv0[_numactividad].SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(mostCurrent._vvv7._vvv4,mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][_numactividad].Pictograma+".png").getObject()));
+ //BA.debugLineNum = 281;BA.debugLine="HoraActual=DateTime.GetHour(DateTime.Now)";
+_vvvvvvv3 = anywheresoftware.b4a.keywords.Common.DateTime.GetHour(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
+ //BA.debugLineNum = 282;BA.debugLine="MinutoActual=DateTime.GetMinute(DateTime.Now)";
+_vvvvvvv4 = anywheresoftware.b4a.keywords.Common.DateTime.GetMinute(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
+ //BA.debugLineNum = 283;BA.debugLine="If ( HoraActual*60+MinutoActual>HoraInicio*60+M";
+if ((_vvvvvvv3*60+_vvvvvvv4>_horainicio*60+_mininicio && _vvvvvvv3*60+_vvvvvvv4<_horafin*60+_minfin)) {
+ //BA.debugLineNum = 284;BA.debugLine="ActivarBoton(NumActividad)";
+_vvvvv5(_numactividad);
};
- //BA.debugLineNum = 281;BA.debugLine="End Sub";
+ };
+ //BA.debugLineNum = 289;BA.debugLine="End Sub";
return "";
}
-public static String _vvvvvvvvv3() throws Exception{
+public static String _vvvvvv1() throws Exception{
anywheresoftware.b4a.objects.drawable.CanvasWrapper.PathWrapper _recorte = null;
int _hora = 0;
float _x = 0f;
float _y = 0f;
anywheresoftware.b4a.objects.LabelWrapper _numerohora = null;
int _nactividad = 0;
- //BA.debugLineNum = 54;BA.debugLine="Sub DibujarTablero()";
- //BA.debugLineNum = 56;BA.debugLine="CentroX=50%x";
-_vvvvvvvvv5 = (float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA));
- //BA.debugLineNum = 57;BA.debugLine="CentroY=60%x";
-_vvvvvvvvv6 = (float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (60),mostCurrent.activityBA));
- //BA.debugLineNum = 58;BA.debugLine="Radio=45%x";
-_vvvvvvvvvv3 = (float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (45),mostCurrent.activityBA));
- //BA.debugLineNum = 60;BA.debugLine="Pantalla.Initialize(PanelReloj)";
-mostCurrent._vvvvvvvvvv2.Initialize((android.view.View)(mostCurrent._panelreloj.getObject()));
- //BA.debugLineNum = 61;BA.debugLine="PantallaAgujas.Initialize(PanelAgujas)";
-mostCurrent._vvvvvvvvvv5.Initialize((android.view.View)(mostCurrent._panelagujas.getObject()));
- //BA.debugLineNum = 64;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
-if (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo<2) {
- //BA.debugLineNum = 65;BA.debugLine="MinHora=1";
-_vvvvvvvvvv6 = (int) (1);
- //BA.debugLineNum = 66;BA.debugLine="MaxHora=12";
-_vvvvvvvvvv7 = (int) (12);
- }else if(mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==2) {
- //BA.debugLineNum = 68;BA.debugLine="MinHora=1";
-_vvvvvvvvvv6 = (int) (1);
- //BA.debugLineNum = 69;BA.debugLine="MaxHora=24";
-_vvvvvvvvvv7 = (int) (24);
+ //BA.debugLineNum = 53;BA.debugLine="Sub DibujarTablero()";
+ //BA.debugLineNum = 55;BA.debugLine="CentroX=50%x";
+_vvvvvv3 = (float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (50),mostCurrent.activityBA));
+ //BA.debugLineNum = 56;BA.debugLine="CentroY=60%x";
+_vvvvvv4 = (float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (60),mostCurrent.activityBA));
+ //BA.debugLineNum = 57;BA.debugLine="Radio=45%x";
+_vvvvvvv1 = (float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (45),mostCurrent.activityBA));
+ //BA.debugLineNum = 59;BA.debugLine="Pantalla.Initialize(PanelReloj)";
+mostCurrent._vvvvvv0.Initialize((android.view.View)(mostCurrent._panelreloj.getObject()));
+ //BA.debugLineNum = 60;BA.debugLine="PantallaAgujas.Initialize(PanelAgujas)";
+mostCurrent._vvvvvvv5.Initialize((android.view.View)(mostCurrent._panelagujas.getObject()));
+ //BA.debugLineNum = 63;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
+if (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo<2) {
+ //BA.debugLineNum = 64;BA.debugLine="MinHora=1";
+_vvvvvvv6 = (int) (1);
+ //BA.debugLineNum = 65;BA.debugLine="MaxHora=12";
+_vvvvvvv7 = (int) (12);
+ }else if(mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==2) {
+ //BA.debugLineNum = 67;BA.debugLine="MinHora=1";
+_vvvvvvv6 = (int) (1);
+ //BA.debugLineNum = 68;BA.debugLine="MaxHora=24";
+_vvvvvvv7 = (int) (24);
}else {
- //BA.debugLineNum = 71;BA.debugLine="MinHora=Starter.ActividadSecuencia(Starter.Secue";
-_vvvvvvvvvv6 = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][(int) (0)].hora_inicio;
- //BA.debugLineNum = 72;BA.debugLine="MaxHora=Starter.ActividadSecuencia(Starter.Secue";
-_vvvvvvvvvv7 = mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][(int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].num_actividades-1)].hora_fin;
- //BA.debugLineNum = 73;BA.debugLine="If (Starter.ActividadSecuencia(Starter.Secuencia";
-if ((mostCurrent._vvv4._vv0[mostCurrent._vvv4._vv6][(int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].num_actividades-1)].minuto_fin!=0)) {
- //BA.debugLineNum = 74;BA.debugLine="MaxHora=MaxHora+1";
-_vvvvvvvvvv7 = (int) (_vvvvvvvvvv7+1);
+ //BA.debugLineNum = 70;BA.debugLine="MinHora=Starter.ActividadSecuencia(Starter.Secue";
+_vvvvvvv6 = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][(int) (0)].hora_inicio;
+ //BA.debugLineNum = 71;BA.debugLine="MaxHora=Starter.ActividadSecuencia(Starter.Secue";
+_vvvvvvv7 = mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][(int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].num_actividades-1)].hora_fin;
+ //BA.debugLineNum = 72;BA.debugLine="If (Starter.ActividadSecuencia(Starter.Secuencia";
+if ((mostCurrent._vvv7._vv0[mostCurrent._vvv7._vv6][(int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].num_actividades-1)].minuto_fin!=0)) {
+ //BA.debugLineNum = 73;BA.debugLine="MaxHora=MaxHora+1";
+_vvvvvvv7 = (int) (_vvvvvvv7+1);
};
};
- //BA.debugLineNum = 79;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
-if (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo<3) {
- //BA.debugLineNum = 81;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio*1.05,C";
-mostCurrent._vvvvvvvvvv2.DrawCircle(_vvvvvvvvv5,_vvvvvvvvv6,(float) (_vvvvvvvvvv3*1.05),anywheresoftware.b4a.keywords.Common.Colors.Gray,anywheresoftware.b4a.keywords.Common.True,(float) (0));
- //BA.debugLineNum = 82;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio,Colors";
-mostCurrent._vvvvvvvvvv2.DrawCircle(_vvvvvvvvv5,_vvvvvvvvv6,_vvvvvvvvvv3,anywheresoftware.b4a.keywords.Common.Colors.White,anywheresoftware.b4a.keywords.Common.True,(float) (0));
+ //BA.debugLineNum = 78;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
+if (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo<3) {
+ //BA.debugLineNum = 80;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio*1.05,C";
+mostCurrent._vvvvvv0.DrawCircle(_vvvvvv3,_vvvvvv4,(float) (_vvvvvvv1*1.05),anywheresoftware.b4a.keywords.Common.Colors.Gray,anywheresoftware.b4a.keywords.Common.True,(float) (0));
+ //BA.debugLineNum = 81;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio,Colors";
+mostCurrent._vvvvvv0.DrawCircle(_vvvvvv3,_vvvvvv4,_vvvvvvv1,anywheresoftware.b4a.keywords.Common.Colors.White,anywheresoftware.b4a.keywords.Common.True,(float) (0));
}else {
- //BA.debugLineNum = 84;BA.debugLine="Dim Recorte As Path";
+ //BA.debugLineNum = 83;BA.debugLine="Dim Recorte As Path";
_recorte = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.PathWrapper();
- //BA.debugLineNum = 86;BA.debugLine="Recorte.Initialize(CentroX,CentroY+3%Y)";
-_recorte.Initialize(_vvvvvvvvv5,(float) (_vvvvvvvvv6+anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (3),mostCurrent.activityBA)));
- //BA.debugLineNum = 87;BA.debugLine="Recorte.LineTo( (CosD(114)*Radio*3)+CentroX, (Si";
-_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(114)*_vvvvvvvvvv3*3)+_vvvvvvvvv5),(float) ((anywheresoftware.b4a.keywords.Common.SinD(114)*_vvvvvvvvvv3*3)+_vvvvvvvvv6));
- //BA.debugLineNum = 88;BA.debugLine="Recorte.LineTo(0,100%Y)";
+ //BA.debugLineNum = 85;BA.debugLine="Recorte.Initialize(CentroX,CentroY+3%Y)";
+_recorte.Initialize(_vvvvvv3,(float) (_vvvvvv4+anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (3),mostCurrent.activityBA)));
+ //BA.debugLineNum = 86;BA.debugLine="Recorte.LineTo( (CosD(114)*Radio*3)+CentroX, (Si";
+_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(114)*_vvvvvvv1*3)+_vvvvvv3),(float) ((anywheresoftware.b4a.keywords.Common.SinD(114)*_vvvvvvv1*3)+_vvvvvv4));
+ //BA.debugLineNum = 87;BA.debugLine="Recorte.LineTo(0,100%Y)";
_recorte.LineTo((float) (0),(float) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)));
- //BA.debugLineNum = 89;BA.debugLine="Recorte.LineTo(0,0)";
+ //BA.debugLineNum = 88;BA.debugLine="Recorte.LineTo(0,0)";
_recorte.LineTo((float) (0),(float) (0));
- //BA.debugLineNum = 90;BA.debugLine="Recorte.LineTo(100%X,0)";
+ //BA.debugLineNum = 89;BA.debugLine="Recorte.LineTo(100%X,0)";
_recorte.LineTo((float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)),(float) (0));
- //BA.debugLineNum = 91;BA.debugLine="Recorte.LineTo(100%X,100%Y)";
+ //BA.debugLineNum = 90;BA.debugLine="Recorte.LineTo(100%X,100%Y)";
_recorte.LineTo((float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)),(float) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)));
- //BA.debugLineNum = 92;BA.debugLine="Recorte.LineTo( (CosD(81)*Radio*3)+CentroX, (Sin";
-_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(81)*_vvvvvvvvvv3*3)+_vvvvvvvvv5),(float) ((anywheresoftware.b4a.keywords.Common.SinD(81)*_vvvvvvvvvv3)+_vvvvvvvvv6));
- //BA.debugLineNum = 93;BA.debugLine="Pantalla.ClipPath(Recorte)";
-mostCurrent._vvvvvvvvvv2.ClipPath((android.graphics.Path)(_recorte.getObject()));
- //BA.debugLineNum = 94;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio*1.05,C";
-mostCurrent._vvvvvvvvvv2.DrawCircle(_vvvvvvvvv5,_vvvvvvvvv6,(float) (_vvvvvvvvvv3*1.05),anywheresoftware.b4a.keywords.Common.Colors.Gray,anywheresoftware.b4a.keywords.Common.True,(float) (0));
- //BA.debugLineNum = 95;BA.debugLine="Pantalla.RemoveClip";
-mostCurrent._vvvvvvvvvv2.RemoveClip();
- //BA.debugLineNum = 97;BA.debugLine="Recorte.Initialize(CentroX,CentroY)";
-_recorte.Initialize(_vvvvvvvvv5,_vvvvvvvvv6);
- //BA.debugLineNum = 98;BA.debugLine="Recorte.LineTo( (CosD(116)*Radio*3)+CentroX, (Si";
-_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(116)*_vvvvvvvvvv3*3)+_vvvvvvvvv5),(float) ((anywheresoftware.b4a.keywords.Common.SinD(116)*_vvvvvvvvvv3*3)+_vvvvvvvvv6));
- //BA.debugLineNum = 99;BA.debugLine="Recorte.LineTo(0,100%Y)";
+ //BA.debugLineNum = 91;BA.debugLine="Recorte.LineTo( (CosD(81)*Radio*3)+CentroX, (Sin";
+_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(81)*_vvvvvvv1*3)+_vvvvvv3),(float) ((anywheresoftware.b4a.keywords.Common.SinD(81)*_vvvvvvv1)+_vvvvvv4));
+ //BA.debugLineNum = 92;BA.debugLine="Pantalla.ClipPath(Recorte)";
+mostCurrent._vvvvvv0.ClipPath((android.graphics.Path)(_recorte.getObject()));
+ //BA.debugLineNum = 93;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio*1.05,C";
+mostCurrent._vvvvvv0.DrawCircle(_vvvvvv3,_vvvvvv4,(float) (_vvvvvvv1*1.05),anywheresoftware.b4a.keywords.Common.Colors.Gray,anywheresoftware.b4a.keywords.Common.True,(float) (0));
+ //BA.debugLineNum = 94;BA.debugLine="Pantalla.RemoveClip";
+mostCurrent._vvvvvv0.RemoveClip();
+ //BA.debugLineNum = 96;BA.debugLine="Recorte.Initialize(CentroX,CentroY)";
+_recorte.Initialize(_vvvvvv3,_vvvvvv4);
+ //BA.debugLineNum = 97;BA.debugLine="Recorte.LineTo( (CosD(116)*Radio*3)+CentroX, (Si";
+_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(116)*_vvvvvvv1*3)+_vvvvvv3),(float) ((anywheresoftware.b4a.keywords.Common.SinD(116)*_vvvvvvv1*3)+_vvvvvv4));
+ //BA.debugLineNum = 98;BA.debugLine="Recorte.LineTo(0,100%Y)";
_recorte.LineTo((float) (0),(float) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)));
- //BA.debugLineNum = 100;BA.debugLine="Recorte.LineTo(0,0)";
+ //BA.debugLineNum = 99;BA.debugLine="Recorte.LineTo(0,0)";
_recorte.LineTo((float) (0),(float) (0));
- //BA.debugLineNum = 101;BA.debugLine="Recorte.LineTo(100%X,0)";
+ //BA.debugLineNum = 100;BA.debugLine="Recorte.LineTo(100%X,0)";
_recorte.LineTo((float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)),(float) (0));
- //BA.debugLineNum = 102;BA.debugLine="Recorte.LineTo(100%X,100%Y)";
+ //BA.debugLineNum = 101;BA.debugLine="Recorte.LineTo(100%X,100%Y)";
_recorte.LineTo((float) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)),(float) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)));
- //BA.debugLineNum = 103;BA.debugLine="Recorte.LineTo( (CosD(80)*Radio*3)+CentroX, (Sin";
-_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(80)*_vvvvvvvvvv3*3)+_vvvvvvvvv5),(float) ((anywheresoftware.b4a.keywords.Common.SinD(80)*_vvvvvvvvvv3)+_vvvvvvvvv6));
- //BA.debugLineNum = 104;BA.debugLine="Pantalla.ClipPath(Recorte)";
-mostCurrent._vvvvvvvvvv2.ClipPath((android.graphics.Path)(_recorte.getObject()));
- //BA.debugLineNum = 105;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio,Colors";
-mostCurrent._vvvvvvvvvv2.DrawCircle(_vvvvvvvvv5,_vvvvvvvvv6,_vvvvvvvvvv3,anywheresoftware.b4a.keywords.Common.Colors.White,anywheresoftware.b4a.keywords.Common.True,(float) (0));
- //BA.debugLineNum = 106;BA.debugLine="Pantalla.RemoveClip";
-mostCurrent._vvvvvvvvvv2.RemoveClip();
+ //BA.debugLineNum = 102;BA.debugLine="Recorte.LineTo( (CosD(80)*Radio*3)+CentroX, (Sin";
+_recorte.LineTo((float) ((anywheresoftware.b4a.keywords.Common.CosD(80)*_vvvvvvv1*3)+_vvvvvv3),(float) ((anywheresoftware.b4a.keywords.Common.SinD(80)*_vvvvvvv1)+_vvvvvv4));
+ //BA.debugLineNum = 103;BA.debugLine="Pantalla.ClipPath(Recorte)";
+mostCurrent._vvvvvv0.ClipPath((android.graphics.Path)(_recorte.getObject()));
+ //BA.debugLineNum = 104;BA.debugLine="Pantalla.DrawCircle(CentroX,CentroY,Radio,Colors";
+mostCurrent._vvvvvv0.DrawCircle(_vvvvvv3,_vvvvvv4,_vvvvvvv1,anywheresoftware.b4a.keywords.Common.Colors.White,anywheresoftware.b4a.keywords.Common.True,(float) (0));
+ //BA.debugLineNum = 105;BA.debugLine="Pantalla.RemoveClip";
+mostCurrent._vvvvvv0.RemoveClip();
};
- //BA.debugLineNum = 109;BA.debugLine="For Hora=MinHora To MaxHora Step 1";
+ //BA.debugLineNum = 108;BA.debugLine="For Hora=MinHora To MaxHora Step 1";
{
-final int step45 = (int) (1);
-final int limit45 = _vvvvvvvvvv7;
-_hora = _vvvvvvvvvv6 ;
-for (;(step45 > 0 && _hora <= limit45) || (step45 < 0 && _hora >= limit45) ;_hora = ((int)(0 + _hora + step45)) ) {
- //BA.debugLineNum = 111;BA.debugLine="Dim X=HoraMinuto_X(Hora,0,0.95) As Float";
+final int step45 = 1;
+final int limit45 = _vvvvvvv7;
+_hora = _vvvvvvv6 ;
+for (;_hora <= limit45 ;_hora = _hora + step45 ) {
+ //BA.debugLineNum = 110;BA.debugLine="Dim X=HoraMinuto_X(Hora,0,0.95) As Float";
_x = _horaminuto_x((float) (_hora),(float) (0),(float) (0.95));
- //BA.debugLineNum = 112;BA.debugLine="Dim Y=HoraMinuto_Y(Hora,0,0.95) As Float";
+ //BA.debugLineNum = 111;BA.debugLine="Dim Y=HoraMinuto_Y(Hora,0,0.95) As Float";
_y = _horaminuto_y((float) (_hora),(float) (0),(float) (0.95));
- //BA.debugLineNum = 114;BA.debugLine="Pantalla.DrawCircle(X,Y,Radio*0.02,Colors.LightG";
-mostCurrent._vvvvvvvvvv2.DrawCircle(_x,_y,(float) (_vvvvvvvvvv3*0.02),anywheresoftware.b4a.keywords.Common.Colors.LightGray,anywheresoftware.b4a.keywords.Common.True,(float) (0));
- //BA.debugLineNum = 115;BA.debugLine="Dim X=HoraMinuto_X(Hora,0,0.85) As Float";
+ //BA.debugLineNum = 113;BA.debugLine="Pantalla.DrawCircle(X,Y,Radio*0.02,Colors.LightG";
+mostCurrent._vvvvvv0.DrawCircle(_x,_y,(float) (_vvvvvvv1*0.02),anywheresoftware.b4a.keywords.Common.Colors.LightGray,anywheresoftware.b4a.keywords.Common.True,(float) (0));
+ //BA.debugLineNum = 114;BA.debugLine="Dim X=HoraMinuto_X(Hora,0,0.85) As Float";
_x = _horaminuto_x((float) (_hora),(float) (0),(float) (0.85));
- //BA.debugLineNum = 116;BA.debugLine="Dim Y=HoraMinuto_Y(Hora,0,0.85) As Float";
+ //BA.debugLineNum = 115;BA.debugLine="Dim Y=HoraMinuto_Y(Hora,0,0.85) As Float";
_y = _horaminuto_y((float) (_hora),(float) (0),(float) (0.85));
- //BA.debugLineNum = 117;BA.debugLine="Dim NumeroHora As Label";
+ //BA.debugLineNum = 116;BA.debugLine="Dim NumeroHora As Label";
_numerohora = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 118;BA.debugLine="NumeroHora.Initialize(\"\")";
+ //BA.debugLineNum = 117;BA.debugLine="NumeroHora.Initialize(\"\")";
_numerohora.Initialize(mostCurrent.activityBA,"");
- //BA.debugLineNum = 119;BA.debugLine="NumeroHora.Text=(Hora) Mod 24";
+ //BA.debugLineNum = 118;BA.debugLine="NumeroHora.Text=(Hora) Mod 24";
_numerohora.setText(BA.ObjectToCharSequence((_hora)%24));
- //BA.debugLineNum = 120;BA.debugLine="NumeroHora.TextColor=Colors.DarkGray";
+ //BA.debugLineNum = 119;BA.debugLine="NumeroHora.TextColor=Colors.DarkGray";
_numerohora.setTextColor(anywheresoftware.b4a.keywords.Common.Colors.DarkGray);
- //BA.debugLineNum = 121;BA.debugLine="NumeroHora.Gravity=Gravity.CENTER";
+ //BA.debugLineNum = 120;BA.debugLine="NumeroHora.Gravity=Gravity.CENTER";
_numerohora.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.CENTER);
- //BA.debugLineNum = 122;BA.debugLine="NumeroHora.TextSize=15";
+ //BA.debugLineNum = 121;BA.debugLine="NumeroHora.TextSize=15";
_numerohora.setTextSize((float) (15));
- //BA.debugLineNum = 123;BA.debugLine="Activity.AddView(NumeroHora,X-15dip,Y-15dip,30di";
+ //BA.debugLineNum = 122;BA.debugLine="Activity.AddView(NumeroHora,X-15dip,Y-15dip,30di";
mostCurrent._activity.AddView((android.view.View)(_numerohora.getObject()),(int) (_x-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (15))),(int) (_y-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (15))),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (30)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (30)));
}
};
- //BA.debugLineNum = 127;BA.debugLine="Select Starter.Secuencia(Starter.SecuenciaActiva)";
-switch (BA.switchObjectToInt(mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo,(int) (0),(int) (1),(int) (2))) {
+ //BA.debugLineNum = 126;BA.debugLine="Select Starter.Secuencia(Starter.SecuenciaActiva)";
+switch (BA.switchObjectToInt(mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo,(int) (0),(int) (1),(int) (2))) {
case 0: {
- //BA.debugLineNum = 129;BA.debugLine="MinHora=0";
-_vvvvvvvvvv6 = (int) (0);
- //BA.debugLineNum = 130;BA.debugLine="MaxHora=11";
-_vvvvvvvvvv7 = (int) (11);
+ //BA.debugLineNum = 128;BA.debugLine="MinHora=0";
+_vvvvvvv6 = (int) (0);
+ //BA.debugLineNum = 129;BA.debugLine="MaxHora=11";
+_vvvvvvv7 = (int) (11);
break; }
case 1: {
- //BA.debugLineNum = 132;BA.debugLine="MinHora=12";
-_vvvvvvvvvv6 = (int) (12);
- //BA.debugLineNum = 133;BA.debugLine="MaxHora=23";
-_vvvvvvvvvv7 = (int) (23);
+ //BA.debugLineNum = 131;BA.debugLine="MinHora=12";
+_vvvvvvv6 = (int) (12);
+ //BA.debugLineNum = 132;BA.debugLine="MaxHora=23";
+_vvvvvvv7 = (int) (23);
break; }
case 2: {
- //BA.debugLineNum = 135;BA.debugLine="MinHora=0";
-_vvvvvvvvvv6 = (int) (0);
- //BA.debugLineNum = 136;BA.debugLine="MaxHora=23";
-_vvvvvvvvvv7 = (int) (23);
+ //BA.debugLineNum = 134;BA.debugLine="MinHora=0";
+_vvvvvvv6 = (int) (0);
+ //BA.debugLineNum = 135;BA.debugLine="MaxHora=23";
+_vvvvvvv7 = (int) (23);
break; }
}
;
- //BA.debugLineNum = 140;BA.debugLine="For NActividad=0 To Starter.MaxActividades-1";
+ //BA.debugLineNum = 139;BA.debugLine="For NActividad=0 To Starter.MaxActividades-1";
{
final int step70 = 1;
-final int limit70 = (int) (mostCurrent._vvv4._v0-1);
+final int limit70 = (int) (mostCurrent._vvv7._v0-1);
_nactividad = (int) (0) ;
-for (;(step70 > 0 && _nactividad <= limit70) || (step70 < 0 && _nactividad >= limit70) ;_nactividad = ((int)(0 + _nactividad + step70)) ) {
- //BA.debugLineNum = 141;BA.debugLine="AnguloInicio(NActividad)=-1";
-_vvvvvvvvv7[_nactividad] = (float) (-1);
- //BA.debugLineNum = 142;BA.debugLine="AnguloFin(NActividad)=-1";
-_vvvvvvvvvv1[_nactividad] = (float) (-1);
+for (;_nactividad <= limit70 ;_nactividad = _nactividad + step70 ) {
+ //BA.debugLineNum = 140;BA.debugLine="AnguloInicio(NActividad)=-1";
+_vvvvvv5[_nactividad] = (float) (-1);
+ //BA.debugLineNum = 141;BA.debugLine="AnguloFin(NActividad)=-1";
+_vvvvvv7[_nactividad] = (float) (-1);
}
};
- //BA.debugLineNum = 146;BA.debugLine="For NActividad=0 To Starter.Secuencia(Starter.Sec";
+ //BA.debugLineNum = 145;BA.debugLine="For NActividad=0 To Starter.Secuencia(Starter.Sec";
{
-final int step74 = (int) (1);
-final int limit74 = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].num_actividades-1);
+final int step74 = 1;
+final int limit74 = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].num_actividades-1);
_nactividad = (int) (0) ;
-for (;(step74 > 0 && _nactividad <= limit74) || (step74 < 0 && _nactividad >= limit74) ;_nactividad = ((int)(0 + _nactividad + step74)) ) {
- //BA.debugLineNum = 147;BA.debugLine="DibujarActividad(NActividad)";
-_vvvvvvvvv4(_nactividad);
+for (;_nactividad <= limit74 ;_nactividad = _nactividad + step74 ) {
+ //BA.debugLineNum = 146;BA.debugLine="DibujarActividad(NActividad)";
+_vvvvvv2(_nactividad);
}
};
- //BA.debugLineNum = 151;BA.debugLine="For NActividad=0 To Starter.Secuencia(Starter.Sec";
+ //BA.debugLineNum = 150;BA.debugLine="For NActividad=0 To Starter.Secuencia(Starter.Sec";
{
-final int step77 = (int) (1);
-final int limit77 = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].num_actividades-1);
+final int step77 = 1;
+final int limit77 = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].num_actividades-1);
_nactividad = (int) (0) ;
-for (;(step77 > 0 && _nactividad <= limit77) || (step77 < 0 && _nactividad >= limit77) ;_nactividad = ((int)(0 + _nactividad + step77)) ) {
- //BA.debugLineNum = 152;BA.debugLine="DibujarBoton(NActividad)";
-_vvvvvvvvvv4(_nactividad);
+for (;_nactividad <= limit77 ;_nactividad = _nactividad + step77 ) {
+ //BA.debugLineNum = 151;BA.debugLine="DibujarBoton(NActividad)";
+_vvvvvvv2(_nactividad);
}
};
- //BA.debugLineNum = 156;BA.debugLine="Select Starter.Secuencia(Starter.SecuenciaActiva)";
-switch (BA.switchObjectToInt(mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo,(int) (0),(int) (1),(int) (2),(int) (3))) {
+ //BA.debugLineNum = 155;BA.debugLine="Select Starter.Secuencia(Starter.SecuenciaActiva)";
+switch (BA.switchObjectToInt(mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo,(int) (0),(int) (1),(int) (2),(int) (3))) {
case 0: {
- //BA.debugLineNum = 158;BA.debugLine="CambiarVista.Text=\"Mañana\"";
-mostCurrent._cambiarvista.setText(BA.ObjectToCharSequence("Mañana"));
+ //BA.debugLineNum = 157;BA.debugLine="CambiarVista.SetBackgroundImage(LoadBitmap(File";
+mostCurrent._cambiarvista.SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"manana.png").getObject()));
break; }
case 1: {
- //BA.debugLineNum = 160;BA.debugLine="CambiarVista.Text=\"Tarde\"";
-mostCurrent._cambiarvista.setText(BA.ObjectToCharSequence("Tarde"));
+ //BA.debugLineNum = 159;BA.debugLine="CambiarVista.SetBackgroundImage(LoadBitmap(File";
+mostCurrent._cambiarvista.SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"tarde.png").getObject()));
break; }
case 2: {
- //BA.debugLineNum = 162;BA.debugLine="CambiarVista.Text=\"Día\"";
-mostCurrent._cambiarvista.setText(BA.ObjectToCharSequence("Día"));
+ //BA.debugLineNum = 161;BA.debugLine="CambiarVista.SetBackgroundImage(LoadBitmap(File";
+mostCurrent._cambiarvista.SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"dia.png").getObject()));
break; }
case 3: {
- //BA.debugLineNum = 164;BA.debugLine="CambiarVista.Text=\"Secuencia\"";
-mostCurrent._cambiarvista.setText(BA.ObjectToCharSequence("Secuencia"));
+ //BA.debugLineNum = 163;BA.debugLine="CambiarVista.SetBackgroundImage(LoadBitmap(File";
+mostCurrent._cambiarvista.SetBackgroundImageNew((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"fila.png").getObject()));
break; }
}
;
- //BA.debugLineNum = 167;BA.debugLine="DibujasAgujas";
-_vvvvvvvvvv0();
- //BA.debugLineNum = 169;BA.debugLine="End Sub";
+ //BA.debugLineNum = 166;BA.debugLine="DibujasAgujas";
+_vvvvvvv0();
+ //BA.debugLineNum = 168;BA.debugLine="End Sub";
return "";
}
-public static String _vvvvvvvvvv0() throws Exception{
+public static String _vvvvvvv0() throws Exception{
anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _rectangulovacio = null;
-int _horaactual = 0;
-int _minutoactual = 0;
int _segundoactual = 0;
float _angulominuto = 0f;
float _angulosegundo = 0f;
- //BA.debugLineNum = 171;BA.debugLine="Sub DibujasAgujas";
- //BA.debugLineNum = 172;BA.debugLine="Dim RectanguloVacio As Rect";
+ //BA.debugLineNum = 170;BA.debugLine="Sub DibujasAgujas";
+ //BA.debugLineNum = 171;BA.debugLine="Dim RectanguloVacio As Rect";
_rectangulovacio = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper();
- //BA.debugLineNum = 173;BA.debugLine="Dim HoraActual=DateTime.GetHour(DateTime.Now) As";
-_horaactual = anywheresoftware.b4a.keywords.Common.DateTime.GetHour(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
- //BA.debugLineNum = 174;BA.debugLine="Dim MinutoActual=DateTime.GetMinute(DateTime.Now)";
-_minutoactual = anywheresoftware.b4a.keywords.Common.DateTime.GetMinute(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
- //BA.debugLineNum = 175;BA.debugLine="Dim SegundoActual=DateTime.GetSecond(DateTime.Now";
+ //BA.debugLineNum = 172;BA.debugLine="Dim SegundoActual=DateTime.GetSecond(DateTime.Now";
_segundoactual = anywheresoftware.b4a.keywords.Common.DateTime.GetSecond(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
+ //BA.debugLineNum = 174;BA.debugLine="HoraActual=DateTime.GetHour(DateTime.Now)";
+_vvvvvvv3 = anywheresoftware.b4a.keywords.Common.DateTime.GetHour(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
+ //BA.debugLineNum = 175;BA.debugLine="MinutoActual=DateTime.GetMinute(DateTime.Now)";
+_vvvvvvv4 = anywheresoftware.b4a.keywords.Common.DateTime.GetMinute(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
//BA.debugLineNum = 177;BA.debugLine="RectanguloVacio.Initialize(0,0,PanelAgujas.Width,";
_rectangulovacio.Initialize((int) (0),(int) (0),mostCurrent._panelagujas.getWidth(),mostCurrent._panelagujas.getHeight());
//BA.debugLineNum = 178;BA.debugLine="PantallaAgujas.DrawRect(RectanguloVacio, Colors.T";
-mostCurrent._vvvvvvvvvv5.DrawRect((android.graphics.Rect)(_rectangulovacio.getObject()),anywheresoftware.b4a.keywords.Common.Colors.Transparent,anywheresoftware.b4a.keywords.Common.True,(float) (0));
+mostCurrent._vvvvvvv5.DrawRect((android.graphics.Rect)(_rectangulovacio.getObject()),anywheresoftware.b4a.keywords.Common.Colors.Transparent,anywheresoftware.b4a.keywords.Common.True,(float) (0));
//BA.debugLineNum = 180;BA.debugLine="If (Starter.Secuencia(Starter.SecuenciaActiva).ta";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.indicar_hora>0 && _horaactual>=_vvvvvvvvvv6 && _horaactual<_vvvvvvvvvv7)) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.indicar_hora>0 && _vvvvvvv3>=_vvvvvvv6 && _vvvvvvv3<_vvvvvvv7)) {
//BA.debugLineNum = 181;BA.debugLine="If (Starter.Secuencia(Starter.SecuenciaActiva).t";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==3 || mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.indicar_hora==1)) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==3 || mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.indicar_hora==1)) {
//BA.debugLineNum = 182;BA.debugLine="PantallaAgujas.DrawLine(CentroX,CentroY,HoraMin";
-mostCurrent._vvvvvvvvvv5.DrawLine(_vvvvvvvvv5,_vvvvvvvvv6,_horaminuto_x((float) (_horaactual),(float) (_minutoactual),(float) (0.8)),_horaminuto_y((float) (_horaactual),(float) (_minutoactual),(float) (0.8)),anywheresoftware.b4a.keywords.Common.Colors.Red,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (8))));
+mostCurrent._vvvvvvv5.DrawLine(_vvvvvv3,_vvvvvv4,_horaminuto_x((float) (_vvvvvvv3),(float) (_vvvvvvv4),(float) (0.8)),_horaminuto_y((float) (_vvvvvvv3),(float) (_vvvvvvv4),(float) (0.8)),anywheresoftware.b4a.keywords.Common.Colors.Red,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (8))));
}else {
//BA.debugLineNum = 184;BA.debugLine="PantallaAgujas.DrawLine(CentroX,CentroY,HoraMin";
-mostCurrent._vvvvvvvvvv5.DrawLine(_vvvvvvvvv5,_vvvvvvvvv6,_horaminuto_x((float) (_horaactual),(float) (_minutoactual),(float) (0.6)),_horaminuto_y((float) (_horaactual),(float) (_minutoactual),(float) (0.6)),anywheresoftware.b4a.keywords.Common.Colors.DarkGray,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (8))));
+mostCurrent._vvvvvvv5.DrawLine(_vvvvvv3,_vvvvvv4,_horaminuto_x((float) (_vvvvvvv3),(float) (_vvvvvvv4),(float) (0.6)),_horaminuto_y((float) (_vvvvvvv3),(float) (_vvvvvvv4),(float) (0.6)),anywheresoftware.b4a.keywords.Common.Colors.DarkGray,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (8))));
//BA.debugLineNum = 185;BA.debugLine="If (Starter.Secuencia(Starter.SecuenciaActiva).";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.indicar_hora>1)) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.indicar_hora>1)) {
//BA.debugLineNum = 186;BA.debugLine="Dim AnguloMinuto=270+(MinutoActual*6) As Float";
-_angulominuto = (float) (270+(_minutoactual*6));
+_angulominuto = (float) (270+(_vvvvvvv4*6));
//BA.debugLineNum = 187;BA.debugLine="PantallaAgujas.DrawLine(CentroX,CentroY,Centro";
-mostCurrent._vvvvvvvvvv5.DrawLine(_vvvvvvvvv5,_vvvvvvvvv6,(float) (_vvvvvvvvv5+anywheresoftware.b4a.keywords.Common.CosD(_angulominuto)*_vvvvvvvvvv3*0.8),(float) (_vvvvvvvvv6+anywheresoftware.b4a.keywords.Common.SinD(_angulominuto)*_vvvvvvvvvv3*0.75),anywheresoftware.b4a.keywords.Common.Colors.DarkGray,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (6))));
+mostCurrent._vvvvvvv5.DrawLine(_vvvvvv3,_vvvvvv4,(float) (_vvvvvv3+anywheresoftware.b4a.keywords.Common.CosD(_angulominuto)*_vvvvvvv1*0.8),(float) (_vvvvvv4+anywheresoftware.b4a.keywords.Common.SinD(_angulominuto)*_vvvvvvv1*0.75),anywheresoftware.b4a.keywords.Common.Colors.DarkGray,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (6))));
//BA.debugLineNum = 188;BA.debugLine="If (Starter.Secuencia(Starter.SecuenciaActiva)";
-if ((mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.indicar_hora>2)) {
+if ((mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.indicar_hora>2)) {
//BA.debugLineNum = 189;BA.debugLine="Dim AnguloSegundo=270+(SegundoActual*6) As Fl";
_angulosegundo = (float) (270+(_segundoactual*6));
//BA.debugLineNum = 190;BA.debugLine="PantallaAgujas.DrawLine(CentroX,CentroY,Centr";
-mostCurrent._vvvvvvvvvv5.DrawLine(_vvvvvvvvv5,_vvvvvvvvv6,(float) (_vvvvvvvvv5+anywheresoftware.b4a.keywords.Common.CosD(_angulosegundo)*_vvvvvvvvvv3*0.9),(float) (_vvvvvvvvv6+anywheresoftware.b4a.keywords.Common.SinD(_angulosegundo)*_vvvvvvvvvv3*0.9),anywheresoftware.b4a.keywords.Common.Colors.Red,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (4))));
+mostCurrent._vvvvvvv5.DrawLine(_vvvvvv3,_vvvvvv4,(float) (_vvvvvv3+anywheresoftware.b4a.keywords.Common.CosD(_angulosegundo)*_vvvvvvv1*0.9),(float) (_vvvvvv4+anywheresoftware.b4a.keywords.Common.SinD(_angulosegundo)*_vvvvvvv1*0.9),anywheresoftware.b4a.keywords.Common.Colors.Red,(float) (anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (4))));
};
};
};
};
//BA.debugLineNum = 197;BA.debugLine="PantallaAgujas.DrawCircle(CentroX,CentroY,Radio*0";
-mostCurrent._vvvvvvvvvv5.DrawCircle(_vvvvvvvvv5,_vvvvvvvvv6,(float) (_vvvvvvvvvv3*0.1),anywheresoftware.b4a.keywords.Common.Colors.Black,anywheresoftware.b4a.keywords.Common.True,(float) (0));
+mostCurrent._vvvvvvv5.DrawCircle(_vvvvvv3,_vvvvvv4,(float) (_vvvvvvv1*0.1),anywheresoftware.b4a.keywords.Common.Colors.Black,anywheresoftware.b4a.keywords.Common.True,(float) (0));
//BA.debugLineNum = 198;BA.debugLine="End Sub";
return "";
}
public static String _globals() throws Exception{
- //BA.debugLineNum = 13;BA.debugLine="Sub Globals";
- //BA.debugLineNum = 17;BA.debugLine="Private PanelDescripcion As Panel";
+ //BA.debugLineNum = 10;BA.debugLine="Sub Globals";
+ //BA.debugLineNum = 11;BA.debugLine="Private PanelDescripcion As Panel";
mostCurrent._paneldescripcion = new anywheresoftware.b4a.objects.PanelWrapper();
- //BA.debugLineNum = 18;BA.debugLine="Private PanelReloj As Panel";
+ //BA.debugLineNum = 12;BA.debugLine="Private PanelReloj As Panel";
mostCurrent._panelreloj = new anywheresoftware.b4a.objects.PanelWrapper();
- //BA.debugLineNum = 19;BA.debugLine="Private ImagenPictograma As ImageView";
+ //BA.debugLineNum = 13;BA.debugLine="Private ImagenPictograma As ImageView";
mostCurrent._imagenpictograma = new anywheresoftware.b4a.objects.ImageViewWrapper();
- //BA.debugLineNum = 20;BA.debugLine="Private FondoPictograma As Panel";
+ //BA.debugLineNum = 14;BA.debugLine="Private FondoPictograma As Panel";
mostCurrent._fondopictograma = new anywheresoftware.b4a.objects.PanelWrapper();
- //BA.debugLineNum = 21;BA.debugLine="Private TextoPictograma As Label";
+ //BA.debugLineNum = 15;BA.debugLine="Private TextoPictograma As Label";
mostCurrent._textopictograma = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 22;BA.debugLine="Private PanelAgujas As Panel";
+ //BA.debugLineNum = 16;BA.debugLine="Private PanelAgujas As Panel";
mostCurrent._panelagujas = new anywheresoftware.b4a.objects.PanelWrapper();
- //BA.debugLineNum = 24;BA.debugLine="Dim Pantalla As Canvas 'Región donde se dibuja la";
-mostCurrent._vvvvvvvvvv2 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper();
- //BA.debugLineNum = 25;BA.debugLine="Dim PantallaAgujas As Canvas";
-mostCurrent._vvvvvvvvvv5 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper();
- //BA.debugLineNum = 28;BA.debugLine="Dim CentroX, CentroY, Radio As Float";
-_vvvvvvvvv5 = 0f;
-_vvvvvvvvv6 = 0f;
-_vvvvvvvvvv3 = 0f;
- //BA.debugLineNum = 29;BA.debugLine="Dim MinHora,MaxHora As Int";
-_vvvvvvvvvv6 = 0;
-_vvvvvvvvvv7 = 0;
- //BA.debugLineNum = 32;BA.debugLine="Dim Boton(Starter.MaxActividades) As Button";
-mostCurrent._vvvvvvvvv2 = new anywheresoftware.b4a.objects.ButtonWrapper[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 18;BA.debugLine="Dim Pantalla As Canvas 'Región donde se dibuja la";
+mostCurrent._vvvvvv0 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper();
+ //BA.debugLineNum = 19;BA.debugLine="Dim PantallaAgujas As Canvas";
+mostCurrent._vvvvvvv5 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper();
+ //BA.debugLineNum = 22;BA.debugLine="Dim CentroX, CentroY, Radio As Float";
+_vvvvvv3 = 0f;
+_vvvvvv4 = 0f;
+_vvvvvvv1 = 0f;
+ //BA.debugLineNum = 23;BA.debugLine="Dim MinHora,MaxHora As Int";
+_vvvvvvv6 = 0;
+_vvvvvvv7 = 0;
+ //BA.debugLineNum = 26;BA.debugLine="Dim Boton(Starter.MaxActividades) As Button";
+mostCurrent._vvvvv0 = new anywheresoftware.b4a.objects.ButtonWrapper[mostCurrent._vvv7._v0];
{
-int d0 = mostCurrent._vvvvvvvvv2.length;
+int d0 = mostCurrent._vvvvv0.length;
for (int i0 = 0;i0 < d0;i0++) {
-mostCurrent._vvvvvvvvv2[i0] = new anywheresoftware.b4a.objects.ButtonWrapper();
+mostCurrent._vvvvv0[i0] = new anywheresoftware.b4a.objects.ButtonWrapper();
}
}
;
- //BA.debugLineNum = 34;BA.debugLine="Private CambiarVista As Button";
+ //BA.debugLineNum = 28;BA.debugLine="Private CambiarVista As Button";
mostCurrent._cambiarvista = new anywheresoftware.b4a.objects.ButtonWrapper();
- //BA.debugLineNum = 35;BA.debugLine="Private DescripcionPictograma As Label";
+ //BA.debugLineNum = 29;BA.debugLine="Private DescripcionPictograma As Label";
mostCurrent._descripcionpictograma = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 37;BA.debugLine="Private Volver As Button";
+ //BA.debugLineNum = 31;BA.debugLine="Private Volver As Button";
mostCurrent._volver = new anywheresoftware.b4a.objects.ButtonWrapper();
- //BA.debugLineNum = 40;BA.debugLine="Dim AnguloInicio(Starter.MaxActividades) As Float";
-_vvvvvvvvv7 = new float[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 34;BA.debugLine="Dim AnguloInicio(Starter.MaxActividades) As Float";
+_vvvvvv5 = new float[mostCurrent._vvv7._v0];
;
- //BA.debugLineNum = 41;BA.debugLine="Dim AnguloFin(Starter.MaxActividades) As Float";
-_vvvvvvvvvv1 = new float[mostCurrent._vvv4._v0];
+ //BA.debugLineNum = 35;BA.debugLine="Dim AnguloFin(Starter.MaxActividades) As Float";
+_vvvvvv7 = new float[mostCurrent._vvv7._v0];
;
- //BA.debugLineNum = 43;BA.debugLine="End Sub";
+ //BA.debugLineNum = 38;BA.debugLine="Private RelojDigital As Label";
+mostCurrent._relojdigital = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 39;BA.debugLine="Dim HoraActual As Int";
+_vvvvvvv3 = 0;
+ //BA.debugLineNum = 40;BA.debugLine="Dim MinutoActual As Int";
+_vvvvvvv4 = 0;
+ //BA.debugLineNum = 42;BA.debugLine="End Sub";
return "";
}
-public static int _vvvvvvvv0(int _hora24) throws Exception{
- //BA.debugLineNum = 309;BA.debugLine="Sub Hora24a12 (Hora24 As Int) As Int";
- //BA.debugLineNum = 310;BA.debugLine="If (Hora24>11) Then";
+public static int _vvvvv6(int _hora24) throws Exception{
+ //BA.debugLineNum = 317;BA.debugLine="Sub Hora24a12 (Hora24 As Int) As Int";
+ //BA.debugLineNum = 318;BA.debugLine="If (Hora24>11) Then";
if ((_hora24>11)) {
- //BA.debugLineNum = 311;BA.debugLine="Return Hora24-12";
+ //BA.debugLineNum = 319;BA.debugLine="Return Hora24-12";
if (true) return (int) (_hora24-12);
}else {
- //BA.debugLineNum = 313;BA.debugLine="Return Hora24";
+ //BA.debugLineNum = 321;BA.debugLine="Return Hora24";
if (true) return _hora24;
};
- //BA.debugLineNum = 315;BA.debugLine="End Sub";
+ //BA.debugLineNum = 323;BA.debugLine="End Sub";
return 0;
}
public static float _horaminuto_x(float _hora,float _minuto,float _distancia) throws Exception{
float _angulo = 0f;
- //BA.debugLineNum = 283;BA.debugLine="Sub HoraMinuto_X(Hora As Float,Minuto As Float,Dis";
- //BA.debugLineNum = 284;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
-if (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==3) {
- //BA.debugLineNum = 285;BA.debugLine="Dim Angulo=120+(Hora+Minuto/60-MinHora)*300/(Max";
-_angulo = (float) (120+(_hora+_minuto/(double)60-_vvvvvvvvvv6)*300/(double)(_vvvvvvvvvv7-_vvvvvvvvvv6));
- //BA.debugLineNum = 286;BA.debugLine="Return (CosD(Angulo)*Radio*Distancia)+CentroX";
-if (true) return (float) ((anywheresoftware.b4a.keywords.Common.CosD(_angulo)*_vvvvvvvvvv3*_distancia)+_vvvvvvvvv5);
+ //BA.debugLineNum = 291;BA.debugLine="Sub HoraMinuto_X(Hora As Float,Minuto As Float,Dis";
+ //BA.debugLineNum = 292;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
+if (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==3) {
+ //BA.debugLineNum = 293;BA.debugLine="Dim Angulo=120+(Hora+Minuto/60-MinHora)*300/(Max";
+_angulo = (float) (120+(_hora+_minuto/(double)60-_vvvvvvv6)*300/(double)(_vvvvvvv7-_vvvvvvv6));
+ //BA.debugLineNum = 294;BA.debugLine="Return (CosD(Angulo)*Radio*Distancia)+CentroX";
+if (true) return (float) ((anywheresoftware.b4a.keywords.Common.CosD(_angulo)*_vvvvvvv1*_distancia)+_vvvvvv3);
}else {
- //BA.debugLineNum = 288;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).ta";
-if (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==2) {
- //BA.debugLineNum = 289;BA.debugLine="Hora=Hora/2";
+ //BA.debugLineNum = 296;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).ta";
+if (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==2) {
+ //BA.debugLineNum = 297;BA.debugLine="Hora=Hora/2";
_hora = (float) (_hora/(double)2);
- //BA.debugLineNum = 290;BA.debugLine="Minuto=Minuto/2";
+ //BA.debugLineNum = 298;BA.debugLine="Minuto=Minuto/2";
_minuto = (float) (_minuto/(double)2);
};
- //BA.debugLineNum = 292;BA.debugLine="Return (CosD((Hora+Minuto/60)*(360/12)+270)*Radi";
-if (true) return (float) ((anywheresoftware.b4a.keywords.Common.CosD((_hora+_minuto/(double)60)*(360/(double)12)+270)*_vvvvvvvvvv3*_distancia)+_vvvvvvvvv5);
+ //BA.debugLineNum = 300;BA.debugLine="Return (CosD((Hora+Minuto/60)*(360/12)+270)*Radi";
+if (true) return (float) ((anywheresoftware.b4a.keywords.Common.CosD((_hora+_minuto/(double)60)*(360/(double)12)+270)*_vvvvvvv1*_distancia)+_vvvvvv3);
};
- //BA.debugLineNum = 294;BA.debugLine="End Sub";
+ //BA.debugLineNum = 302;BA.debugLine="End Sub";
return 0f;
}
public static float _horaminuto_y(float _hora,float _minuto,float _distancia) throws Exception{
float _angulo = 0f;
- //BA.debugLineNum = 296;BA.debugLine="Sub HoraMinuto_Y(Hora As Float,Minuto As Float,Dis";
- //BA.debugLineNum = 297;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
-if (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==3) {
- //BA.debugLineNum = 298;BA.debugLine="Dim Angulo=120+(Hora+Minuto/60-MinHora)*300/(Max";
-_angulo = (float) (120+(_hora+_minuto/(double)60-_vvvvvvvvvv6)*300/(double)(_vvvvvvvvvv7-_vvvvvvvvvv6));
- //BA.debugLineNum = 299;BA.debugLine="Return (SinD(Angulo)*Radio*Distancia)+CentroY";
-if (true) return (float) ((anywheresoftware.b4a.keywords.Common.SinD(_angulo)*_vvvvvvvvvv3*_distancia)+_vvvvvvvvv6);
+ //BA.debugLineNum = 304;BA.debugLine="Sub HoraMinuto_Y(Hora As Float,Minuto As Float,Dis";
+ //BA.debugLineNum = 305;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
+if (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==3) {
+ //BA.debugLineNum = 306;BA.debugLine="Dim Angulo=120+(Hora+Minuto/60-MinHora)*300/(Max";
+_angulo = (float) (120+(_hora+_minuto/(double)60-_vvvvvvv6)*300/(double)(_vvvvvvv7-_vvvvvvv6));
+ //BA.debugLineNum = 307;BA.debugLine="Return (SinD(Angulo)*Radio*Distancia)+CentroY";
+if (true) return (float) ((anywheresoftware.b4a.keywords.Common.SinD(_angulo)*_vvvvvvv1*_distancia)+_vvvvvv4);
}else {
- //BA.debugLineNum = 301;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).ta";
-if (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].tablero.tipo==2) {
- //BA.debugLineNum = 302;BA.debugLine="Hora=Hora/2";
+ //BA.debugLineNum = 309;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).ta";
+if (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.tipo==2) {
+ //BA.debugLineNum = 310;BA.debugLine="Hora=Hora/2";
_hora = (float) (_hora/(double)2);
- //BA.debugLineNum = 303;BA.debugLine="Minuto=Minuto/2";
+ //BA.debugLineNum = 311;BA.debugLine="Minuto=Minuto/2";
_minuto = (float) (_minuto/(double)2);
};
- //BA.debugLineNum = 305;BA.debugLine="Return (SinD((Hora+Minuto/60)*(360/12)+270)*Radi";
-if (true) return (float) ((anywheresoftware.b4a.keywords.Common.SinD((_hora+_minuto/(double)60)*(360/(double)12)+270)*_vvvvvvvvvv3*_distancia)+_vvvvvvvvv6);
+ //BA.debugLineNum = 313;BA.debugLine="Return (SinD((Hora+Minuto/60)*(360/12)+270)*Radi";
+if (true) return (float) ((anywheresoftware.b4a.keywords.Common.SinD((_hora+_minuto/(double)60)*(360/(double)12)+270)*_vvvvvvv1*_distancia)+_vvvvvv4);
};
- //BA.debugLineNum = 307;BA.debugLine="End Sub";
+ //BA.debugLineNum = 315;BA.debugLine="End Sub";
return 0f;
}
-public static String _vvvvvvvvv1(int _minuto) throws Exception{
- //BA.debugLineNum = 317;BA.debugLine="Sub MinutoLegible (Minuto As Int) As String";
- //BA.debugLineNum = 318;BA.debugLine="If (Minuto==0) Then";
+public static String _vvvvv7(int _minuto) throws Exception{
+ //BA.debugLineNum = 325;BA.debugLine="Sub MinutoLegible (Minuto As Int) As String";
+ //BA.debugLineNum = 326;BA.debugLine="If (Minuto==0) Then";
if ((_minuto==0)) {
- //BA.debugLineNum = 319;BA.debugLine="Return \"\"";
+ //BA.debugLineNum = 327;BA.debugLine="Return \"\"";
if (true) return "";
}else if((_minuto==15)) {
- //BA.debugLineNum = 321;BA.debugLine="Return \" y cuarto\"";
+ //BA.debugLineNum = 329;BA.debugLine="Return \" y cuarto\"";
if (true) return " y cuarto";
}else if((_minuto==30)) {
- //BA.debugLineNum = 323;BA.debugLine="Return \" y media\"";
+ //BA.debugLineNum = 331;BA.debugLine="Return \" y media\"";
if (true) return " y media";
}else {
- //BA.debugLineNum = 325;BA.debugLine="Return \":\"&NumberFormat(Minuto,2,0)";
+ //BA.debugLineNum = 333;BA.debugLine="Return \":\"&NumberFormat(Minuto,2,0)";
if (true) return ":"+anywheresoftware.b4a.keywords.Common.NumberFormat(_minuto,(int) (2),(int) (0));
};
- //BA.debugLineNum = 327;BA.debugLine="End Sub";
+ //BA.debugLineNum = 335;BA.debugLine="End Sub";
return "";
}
-public static float _vvvvvvvvv0(float _angulo) throws Exception{
- //BA.debugLineNum = 379;BA.debugLine="Sub NormalizarAngulo(Angulo As Float) As Float";
- //BA.debugLineNum = 380;BA.debugLine="Angulo=Angulo+90 'Pone el 0 arriba";
+public static float _vvvvvv6(float _angulo) throws Exception{
+ //BA.debugLineNum = 391;BA.debugLine="Sub NormalizarAngulo(Angulo As Float) As Float";
+ //BA.debugLineNum = 392;BA.debugLine="Angulo=Angulo+90 'Pone el 0 arriba";
_angulo = (float) (_angulo+90);
- //BA.debugLineNum = 381;BA.debugLine="If Angulo<0 Then";
+ //BA.debugLineNum = 393;BA.debugLine="If Angulo<0 Then";
if (_angulo<0) {
- //BA.debugLineNum = 382;BA.debugLine="Return Angulo+360";
+ //BA.debugLineNum = 394;BA.debugLine="Return Angulo+360";
if (true) return (float) (_angulo+360);
}else {
- //BA.debugLineNum = 384;BA.debugLine="Return Angulo";
+ //BA.debugLineNum = 396;BA.debugLine="Return Angulo";
if (true) return _angulo;
};
- //BA.debugLineNum = 386;BA.debugLine="End Sub";
+ //BA.debugLineNum = 398;BA.debugLine="End Sub";
return 0f;
}
public static boolean _panelagujas_touch(int _accion,float _x,float _y) throws Exception{
float _angulo = 0f;
int _i = 0;
- //BA.debugLineNum = 365;BA.debugLine="Sub PanelAgujas_Touch(Accion As Int, x As Float, y";
- //BA.debugLineNum = 366;BA.debugLine="Dim Angulo As Float";
+ //BA.debugLineNum = 377;BA.debugLine="Sub PanelAgujas_Touch(Accion As Int, x As Float, y";
+ //BA.debugLineNum = 378;BA.debugLine="Dim Angulo As Float";
_angulo = 0f;
- //BA.debugLineNum = 367;BA.debugLine="Dim i As Int";
+ //BA.debugLineNum = 379;BA.debugLine="Dim i As Int";
_i = 0;
- //BA.debugLineNum = 368;BA.debugLine="If Accion = Activity.ACTION_DOWN Then";
+ //BA.debugLineNum = 380;BA.debugLine="If Accion = Activity.ACTION_DOWN Then";
if (_accion==mostCurrent._activity.ACTION_DOWN) {
- //BA.debugLineNum = 369;BA.debugLine="Angulo=NormalizarAngulo(ATan2D(y-CentroY,x-Centr";
-_angulo = _vvvvvvvvv0((float) (anywheresoftware.b4a.keywords.Common.ATan2D(_y-_vvvvvvvvv6,_x-_vvvvvvvvv5)));
- //BA.debugLineNum = 370;BA.debugLine="For i=0 To Starter.Secuencia(Starter.SecuenciaAc";
+ //BA.debugLineNum = 381;BA.debugLine="Angulo=NormalizarAngulo(ATan2D(y-CentroY,x-Centr";
+_angulo = _vvvvvv6((float) (anywheresoftware.b4a.keywords.Common.ATan2D(_y-_vvvvvv4,_x-_vvvvvv3)));
+ //BA.debugLineNum = 382;BA.debugLine="For i=0 To Starter.Secuencia(Starter.SecuenciaAc";
{
final int step5 = 1;
-final int limit5 = (int) (mostCurrent._vvv4._vv7[mostCurrent._vvv4._vv6].num_actividades-1);
+final int limit5 = (int) (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].num_actividades-1);
_i = (int) (0) ;
-for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) {
- //BA.debugLineNum = 371;BA.debugLine="If Angulo>=AnguloInicio(i) And Angulo<=AnguloFi";
-if (_angulo>=_vvvvvvvvv7[_i] && _angulo<=_vvvvvvvvvv1[_i]) {
- //BA.debugLineNum = 372;BA.debugLine="ActivarBoton(i)";
-_vvvvvvvv7(_i);
+for (;_i <= limit5 ;_i = _i + step5 ) {
+ //BA.debugLineNum = 383;BA.debugLine="If Angulo>=AnguloInicio(i) And Angulo<=AnguloFi";
+if (_angulo>=_vvvvvv5[_i] && _angulo<=_vvvvvv7[_i]) {
+ //BA.debugLineNum = 384;BA.debugLine="ActivarBoton(i)";
+_vvvvv5(_i);
};
}
};
};
- //BA.debugLineNum = 376;BA.debugLine="Return True";
+ //BA.debugLineNum = 388;BA.debugLine="Return True";
if (true) return anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 377;BA.debugLine="End Sub";
+ //BA.debugLineNum = 389;BA.debugLine="End Sub";
return false;
}
public static String _panelreloj_touch(int _action,float _x,float _y) throws Exception{
- //BA.debugLineNum = 344;BA.debugLine="Sub PanelReloj_Touch (Action As Int, X As Float, Y";
- //BA.debugLineNum = 346;BA.debugLine="End Sub";
+ //BA.debugLineNum = 352;BA.debugLine="Sub PanelReloj_Touch (Action As Int, X As Float, Y";
+ //BA.debugLineNum = 354;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="Dim Temporizador As Timer";
-_vvv2 = new anywheresoftware.b4a.objects.Timer();
- //BA.debugLineNum = 11;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7;BA.debugLine="Dim Temporizador As Timer";
+_vvv5 = new anywheresoftware.b4a.objects.Timer();
+ //BA.debugLineNum = 8;BA.debugLine="End Sub";
return "";
}
public static String _temporizador_tick() throws Exception{
- //BA.debugLineNum = 360;BA.debugLine="Sub Temporizador_Tick";
- //BA.debugLineNum = 361;BA.debugLine="DibujasAgujas";
-_vvvvvvvvvv0();
- //BA.debugLineNum = 362;BA.debugLine="Activity.Invalidate";
+ //BA.debugLineNum = 369;BA.debugLine="Sub Temporizador_Tick";
+ //BA.debugLineNum = 370;BA.debugLine="DibujasAgujas";
+_vvvvvvv0();
+ //BA.debugLineNum = 371;BA.debugLine="If Starter.Secuencia(Starter.SecuenciaActiva).tab";
+if (mostCurrent._vvv7._vv7[mostCurrent._vvv7._vv6].tablero.indicar_hora>0) {
+ //BA.debugLineNum = 372;BA.debugLine="RelojDigital.Text=NumberFormat(HoraActual,2,0)&\"";
+mostCurrent._relojdigital.setText(BA.ObjectToCharSequence(anywheresoftware.b4a.keywords.Common.NumberFormat(_vvvvvvv3,(int) (2),(int) (0))+":"+anywheresoftware.b4a.keywords.Common.NumberFormat(_vvvvvvv4,(int) (2),(int) (0))));
+ };
+ //BA.debugLineNum = 374;BA.debugLine="Activity.Invalidate";
mostCurrent._activity.Invalidate();
- //BA.debugLineNum = 363;BA.debugLine="End Sub";
+ //BA.debugLineNum = 375;BA.debugLine="End Sub";
return "";
}
public static String _volver_click() throws Exception{
- //BA.debugLineNum = 356;BA.debugLine="Sub Volver_Click";
- //BA.debugLineNum = 357;BA.debugLine="Activity.Finish";
+ //BA.debugLineNum = 365;BA.debugLine="Sub Volver_Click";
+ //BA.debugLineNum = 366;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
- //BA.debugLineNum = 358;BA.debugLine="End Sub";
+ //BA.debugLineNum = 367;BA.debugLine="End Sub";
return "";
}
}
diff --git a/PictogramasPorDefecto/7229.png b/PictogramasPorDefecto/7229.png
new file mode 100644
index 0000000..e2590a7
Binary files /dev/null and b/PictogramasPorDefecto/7229.png differ
diff --git a/SeleccionPictogramas.bas b/SeleccionPictogramas.bas
new file mode 100644
index 0000000..2810a4e
--- /dev/null
+++ b/SeleccionPictogramas.bas
@@ -0,0 +1,255 @@
+B4A=true
+Group=Default Group
+ModulesStructureVersion=1
+Type=Activity
+Version=8
+@EndOfDesignText@
+#Region Activity Attributes
+ #FullScreen: True
+ #IncludeTitle: False
+#End Region
+
+Sub Process_Globals
+End Sub
+
+Sub Globals
+ Private BarraBusqueda As EditText
+ Private BotonBuscar As Label
+ Private Buscar As Panel
+ Private ListadoPictogramas As ScrollView
+ Private Titulo As Label
+ Private BotonCancelar As Button
+
+ 'Texto por defecto para la barra de búsqueda
+ Dim TextoBuscarPorDefecto="Buscar pictograma por texto" As String
+
+ 'Máximo número de Líneas y Columnas a mostrar
+ Dim NumColumnas As Int = 3
+ Dim NumLineas As Int = 20
+
+ 'Mosaico de iconos
+ Dim BotonIcono(NumLineas,NumColumnas) As Button
+
+ 'Tamaño de cada icono
+ Dim TamIcono As Int
+
+End Sub
+
+Sub Activity_Create(FirstTime As Boolean)
+ Activity.LoadLayout("SeleccionarPictograma")
+ BotonBuscar.SetBackgroundImage(LoadBitmap(File.DirAssets,"buscar.png"))
+ BarraBusqueda.Text=TextoBuscarPorDefecto
+ TamIcono=ListadoPictogramas.Width/3
+ DibujaIconos
+End Sub
+
+Sub Activity_Resume
+
+End Sub
+
+Sub Activity_Pause (UserClosed As Boolean)
+
+End Sub
+
+Sub BotonIcono_Click
+ Dim BotonPulsado As Button
+ BotonPulsado=Sender
+ CallSubDelayed2(ConfigurarSecuencia,"PictogramaElegido",BotonPulsado.Tag)
+ Activity.Finish
+End Sub
+
+Sub BotonBuscar_Click
+ BuscarTexto
+End Sub
+
+Sub BarraBusqueda_FocusChanged (TieneFoco As Boolean)
+ 'Si pulsamos sobre el texto por defecto, lo vacía
+ If TieneFoco==True And BarraBusqueda.Text==TextoBuscarPorDefecto Then
+ BarraBusqueda.Text=""
+ Activity.Invalidate
+ End If
+End Sub
+
+Sub BarraBusqueda_EnterPressed
+ BuscarTexto
+End Sub
+
+Sub BuscarTexto
+ Dim id(100) As Int
+ Dim URL(100) As String
+ Dim URLencontrada As String
+ Dim i,x,y As Int
+
+ If BarraBusqueda.Text<>TextoBuscarPorDefecto Then 'Comprueba que hemos cambiado el texto por defecto
+ Dim im As IME
+ im.Initialize("")
+ im.HideKeyboard 'Ocultamos el teclado
+
+ ProgressDialogShow("Buscando pictogramas")
+
+ 'Busca en la web de ARASAAC la cadena
+ Dim Web As HttpJob
+ Web.Initialize("buscapictogramas",Me)
+ Dim su As StringUtils
+ Web.Download("https://api.arasaac.org/api/pictograms/es/search/"&su.EncodeUrl(BarraBusqueda.Text,"UTF8").Replace("+","%20"))
+ Wait For (Web) JobDone(j As HttpJob)
+ Dim encontrados As Int = 0
+ If j.Success Then
+ Dim jp As JSONParser
+ jp.Initialize(j.GetString)
+ Dim PictogramasEncontrados As List = jp.NextArray
+ For Each Pictograma As Map In PictogramasEncontrados
+ id(encontrados)=Pictograma.Get("idPictogram")
+ encontrados=encontrados+1
+ Next
+ Else
+ Msgbox("La búsqueda no ha producido resultados."&CRLF&CRLF&"Pruebe otros términos, y compruebe que la conexión a Internet está activa."&CRLF&CRLF&"Las búsquedas no funcionan si no hay conexión a la red.","NO SE ENCUENTRAN PICTOGRAMAS")
+ End If
+ j.Release
+ Web.Release
+
+ ProgressDialogShow("Descargando imágenes")
+
+ 'Es necesario hacer dos bloques independientes para detectar URLs y luego descargar para que funcione correctamente el anidamiento de WAIT FORs
+
+ For i=0 To encontrados-1
+ If File.Exists(Starter.DirPictogramas,id(i)&".png")==False Then
+ Wait For(EncontrarURLporId(id(i))) Complete (URLencontrada As String)
+ URL(i)=URLencontrada
+ End If
+ Next
+
+ For i=0 To encontrados-1
+ If File.Exists(Starter.DirPictogramas,id(i)&".png")==False Then
+ Wait For (DescargarPictograma(id(i),URL(i))) Complete (Resultado As Int)
+ End If
+ Next
+
+ ProgressDialogShow("Preparando listado")
+
+ For x=0 To NumColumnas-1
+ For y=0 To NumLineas-1
+ BotonIcono(y,x).Visible=False 'Oculta todos los botones
+ Next
+ Next
+
+ x=0
+ y=0
+ For i=0 To encontrados-1 'Muestra los nuevos iconos
+ If y(NumLineas*NumColumnas) Then
+ NumFicheros=NumLineas*NumColumnas
+ End If
+
+ x=0
+ y=0
+ For i=0 To NumFicheros-1
+ If yHoraInicio*60+MinInicio And HoraActual*60+MinutoActual0 Then
+ RelojDigital.Text=NumberFormat(HoraActual,2,0)&":"&NumberFormat(MinutoActual,2,0)
+ End If
Activity.Invalidate
End Sub
@@ -392,9 +404,15 @@ Sub NormalizarAngulo(Angulo As Float) As Float
End Sub
Sub ActivarBoton(i As Int)
- ImagenPictograma.Bitmap=LoadBitmap(File.DirAssets,Starter.ActividadSecuencia(Starter.SecuenciaActiva,i).pictograma & ".png")
+ ImagenPictograma.Bitmap=LoadBitmap(Starter.DirPictogramas,Starter.ActividadSecuencia(Starter.SecuenciaActiva,i).pictograma & ".png")
TextoPictograma.Text=Starter.ActividadSecuencia(Starter.SecuenciaActiva,i).descripcion.ToUpperCase
DescripcionPictograma.Text="De "&Hora24a12(Starter.ActividadSecuencia(Starter.SecuenciaActiva,i).hora_inicio)&MinutoLegible(Starter.ActividadSecuencia(Starter.SecuenciaActiva,i).minuto_inicio)&" a "&Hora24a12(Starter.ActividadSecuencia(Starter.SecuenciaActiva,i).hora_fin)&MinutoLegible(Starter.ActividadSecuencia(Starter.SecuenciaActiva,i).minuto_fin)
FondoPictograma.Color=Starter.Colores(i)
Boton(i).BringToFront()
End Sub
+
+Sub Activity_KeyPress (KeyCode As Int)
+ If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsar atrás...
+ Sleep(0) 'No hace nada
+ End If
+End Sub
\ No newline at end of file
diff --git "a/_Pictogramas/ba\303\261arse.png" "b/_Pictogramas/ba\303\261arse.png"
new file mode 100644
index 0000000..e236458
Binary files /dev/null and "b/_Pictogramas/ba\303\261arse.png" differ
diff --git a/_Pictogramas/buscar.png b/_Pictogramas/buscar.png
new file mode 100644
index 0000000..4d97821
Binary files /dev/null and b/_Pictogramas/buscar.png differ
diff --git a/_Pictogramas/cenar_2.png b/_Pictogramas/cenar_2.png
new file mode 100644
index 0000000..e81ff71
Binary files /dev/null and b/_Pictogramas/cenar_2.png differ
diff --git a/_Pictogramas/cepillar los dientes.png b/_Pictogramas/cepillar los dientes.png
new file mode 100644
index 0000000..4f6b585
Binary files /dev/null and b/_Pictogramas/cepillar los dientes.png differ
diff --git a/_Pictogramas/cepillar los dientes_1.png b/_Pictogramas/cepillar los dientes_1.png
new file mode 100644
index 0000000..8ac7a92
Binary files /dev/null and b/_Pictogramas/cepillar los dientes_1.png differ
diff --git a/_Pictogramas/clase.png b/_Pictogramas/clase.png
new file mode 100644
index 0000000..7500b9e
Binary files /dev/null and b/_Pictogramas/clase.png differ
diff --git a/_Pictogramas/clase_1.png b/_Pictogramas/clase_1.png
new file mode 100644
index 0000000..985b2f8
Binary files /dev/null and b/_Pictogramas/clase_1.png differ
diff --git a/_Pictogramas/clase_2.png b/_Pictogramas/clase_2.png
new file mode 100644
index 0000000..1d5cfbe
Binary files /dev/null and b/_Pictogramas/clase_2.png differ
diff --git a/_Pictogramas/clase_3.png b/_Pictogramas/clase_3.png
new file mode 100644
index 0000000..a8f6828
Binary files /dev/null and b/_Pictogramas/clase_3.png differ
diff --git a/_Pictogramas/clase_4.png b/_Pictogramas/clase_4.png
new file mode 100644
index 0000000..51375e4
Binary files /dev/null and b/_Pictogramas/clase_4.png differ
diff --git a/_Pictogramas/clase_5.png b/_Pictogramas/clase_5.png
new file mode 100644
index 0000000..7c7b62b
Binary files /dev/null and b/_Pictogramas/clase_5.png differ
diff --git a/_Pictogramas/clase_6.png b/_Pictogramas/clase_6.png
new file mode 100644
index 0000000..a3bd8bc
Binary files /dev/null and b/_Pictogramas/clase_6.png differ
diff --git a/_Pictogramas/clase_7.png b/_Pictogramas/clase_7.png
new file mode 100644
index 0000000..ab0b69c
Binary files /dev/null and b/_Pictogramas/clase_7.png differ
diff --git a/_Pictogramas/clase_8.png b/_Pictogramas/clase_8.png
new file mode 100644
index 0000000..d66c9e5
Binary files /dev/null and b/_Pictogramas/clase_8.png differ
diff --git a/_Pictogramas/clase_9.png b/_Pictogramas/clase_9.png
new file mode 100644
index 0000000..e60093d
Binary files /dev/null and b/_Pictogramas/clase_9.png differ
diff --git a/_Pictogramas/coche.png b/_Pictogramas/coche.png
new file mode 100644
index 0000000..3bb69a4
Binary files /dev/null and b/_Pictogramas/coche.png differ
diff --git a/_Pictogramas/coche_1.png b/_Pictogramas/coche_1.png
new file mode 100644
index 0000000..b16aeea
Binary files /dev/null and b/_Pictogramas/coche_1.png differ
diff --git a/_Pictogramas/colegio.png b/_Pictogramas/colegio.png
new file mode 100644
index 0000000..60b582e
Binary files /dev/null and b/_Pictogramas/colegio.png differ
diff --git a/_Pictogramas/colegio_1.png b/_Pictogramas/colegio_1.png
new file mode 100644
index 0000000..2ce7d0e
Binary files /dev/null and b/_Pictogramas/colegio_1.png differ
diff --git a/_Pictogramas/comer.png b/_Pictogramas/comer.png
new file mode 100644
index 0000000..0315d67
Binary files /dev/null and b/_Pictogramas/comer.png differ
diff --git a/_Pictogramas/comer_1.png b/_Pictogramas/comer_1.png
new file mode 100644
index 0000000..797c220
Binary files /dev/null and b/_Pictogramas/comer_1.png differ
diff --git a/_Pictogramas/comida.png b/_Pictogramas/comida.png
new file mode 100644
index 0000000..009fbec
Binary files /dev/null and b/_Pictogramas/comida.png differ
diff --git a/_Pictogramas/comprar.png b/_Pictogramas/comprar.png
new file mode 100644
index 0000000..b80ab33
Binary files /dev/null and b/_Pictogramas/comprar.png differ
diff --git a/_Pictogramas/comprar_2.png b/_Pictogramas/comprar_2.png
new file mode 100644
index 0000000..fc32fcc
Binary files /dev/null and b/_Pictogramas/comprar_2.png differ
diff --git a/_Pictogramas/comprar_3.png b/_Pictogramas/comprar_3.png
new file mode 100644
index 0000000..750f4f9
Binary files /dev/null and b/_Pictogramas/comprar_3.png differ
diff --git a/_Pictogramas/computador.png b/_Pictogramas/computador.png
new file mode 100644
index 0000000..67c6a4f
Binary files /dev/null and b/_Pictogramas/computador.png differ
diff --git a/_Pictogramas/computador_1.png b/_Pictogramas/computador_1.png
new file mode 100644
index 0000000..27a0f72
Binary files /dev/null and b/_Pictogramas/computador_1.png differ
diff --git a/_Pictogramas/computador_2.png b/_Pictogramas/computador_2.png
new file mode 100644
index 0000000..51f2c03
Binary files /dev/null and b/_Pictogramas/computador_2.png differ
diff --git a/_Pictogramas/conductor.png b/_Pictogramas/conductor.png
new file mode 100644
index 0000000..c1cb975
Binary files /dev/null and b/_Pictogramas/conductor.png differ
diff --git a/_Pictogramas/conductor_1.png b/_Pictogramas/conductor_1.png
new file mode 100644
index 0000000..12b7d9a
Binary files /dev/null and b/_Pictogramas/conductor_1.png differ
diff --git a/_Pictogramas/conductora.png b/_Pictogramas/conductora.png
new file mode 100644
index 0000000..833f2af
Binary files /dev/null and b/_Pictogramas/conductora.png differ
diff --git a/_Pictogramas/correr.png b/_Pictogramas/correr.png
new file mode 100644
index 0000000..bcce496
Binary files /dev/null and b/_Pictogramas/correr.png differ
diff --git a/_Pictogramas/correr_1.png b/_Pictogramas/correr_1.png
new file mode 100644
index 0000000..13d21c3
Binary files /dev/null and b/_Pictogramas/correr_1.png differ
diff --git a/_Pictogramas/correr_2.png b/_Pictogramas/correr_2.png
new file mode 100644
index 0000000..f107952
Binary files /dev/null and b/_Pictogramas/correr_2.png differ
diff --git a/_Pictogramas/cortar el cesped.png b/_Pictogramas/cortar el cesped.png
new file mode 100644
index 0000000..09ad767
Binary files /dev/null and b/_Pictogramas/cortar el cesped.png differ
diff --git a/_Pictogramas/cortar el cesped_1.png b/_Pictogramas/cortar el cesped_1.png
new file mode 100644
index 0000000..f083f4d
Binary files /dev/null and b/_Pictogramas/cortar el cesped_1.png differ
diff --git a/_Pictogramas/corte de pelo.png b/_Pictogramas/corte de pelo.png
new file mode 100644
index 0000000..1d1d5a2
Binary files /dev/null and b/_Pictogramas/corte de pelo.png differ
diff --git a/_Pictogramas/corte de pelo_1.png b/_Pictogramas/corte de pelo_1.png
new file mode 100644
index 0000000..35d1411
Binary files /dev/null and b/_Pictogramas/corte de pelo_1.png differ
diff --git a/_Pictogramas/corte de pelo_2.png b/_Pictogramas/corte de pelo_2.png
new file mode 100644
index 0000000..8fd03b0
Binary files /dev/null and b/_Pictogramas/corte de pelo_2.png differ
diff --git "a/_Pictogramas/cumplea\303\261os.png" "b/_Pictogramas/cumplea\303\261os.png"
new file mode 100644
index 0000000..ae7b0d2
Binary files /dev/null and "b/_Pictogramas/cumplea\303\261os.png" differ
diff --git "a/_Pictogramas/cumplea\303\261os_10.png" "b/_Pictogramas/cumplea\303\261os_10.png"
new file mode 100644
index 0000000..ab6dc1e
Binary files /dev/null and "b/_Pictogramas/cumplea\303\261os_10.png" differ
diff --git "a/_Pictogramas/cumplea\303\261os_11.png" "b/_Pictogramas/cumplea\303\261os_11.png"
new file mode 100644
index 0000000..d357725
Binary files /dev/null and "b/_Pictogramas/cumplea\303\261os_11.png" differ
diff --git "a/_Pictogramas/cumplea\303\261os_3.png" "b/_Pictogramas/cumplea\303\261os_3.png"
new file mode 100644
index 0000000..fac17d8
Binary files /dev/null and "b/_Pictogramas/cumplea\303\261os_3.png" differ
diff --git "a/_Pictogramas/cumplea\303\261os_5.png" "b/_Pictogramas/cumplea\303\261os_5.png"
new file mode 100644
index 0000000..03ac6a7
Binary files /dev/null and "b/_Pictogramas/cumplea\303\261os_5.png" differ
diff --git "a/_Pictogramas/cumplea\303\261os_8.png" "b/_Pictogramas/cumplea\303\261os_8.png"
new file mode 100644
index 0000000..d50fd5a
Binary files /dev/null and "b/_Pictogramas/cumplea\303\261os_8.png" differ
diff --git a/_Pictogramas/desayunar.png b/_Pictogramas/desayunar.png
new file mode 100644
index 0000000..9191a29
Binary files /dev/null and b/_Pictogramas/desayunar.png differ
diff --git a/_Pictogramas/desayunar_1.png b/_Pictogramas/desayunar_1.png
new file mode 100644
index 0000000..4a0e300
Binary files /dev/null and b/_Pictogramas/desayunar_1.png differ
diff --git a/_Pictogramas/desayunar_2.png b/_Pictogramas/desayunar_2.png
new file mode 100644
index 0000000..5e5990f
Binary files /dev/null and b/_Pictogramas/desayunar_2.png differ
diff --git a/_Pictogramas/desayuno.png b/_Pictogramas/desayuno.png
new file mode 100644
index 0000000..ff15d92
Binary files /dev/null and b/_Pictogramas/desayuno.png differ
diff --git a/_Pictogramas/desnudarse_1.png b/_Pictogramas/desnudarse_1.png
new file mode 100644
index 0000000..2e44044
Binary files /dev/null and b/_Pictogramas/desnudarse_1.png differ
diff --git a/_Pictogramas/desnudarse_2.png b/_Pictogramas/desnudarse_2.png
new file mode 100644
index 0000000..9d91e48
Binary files /dev/null and b/_Pictogramas/desnudarse_2.png differ
diff --git a/_Pictogramas/desnudarse_3.png b/_Pictogramas/desnudarse_3.png
new file mode 100644
index 0000000..a8132e3
Binary files /dev/null and b/_Pictogramas/desnudarse_3.png differ
diff --git a/_Pictogramas/desnudarse_4.png b/_Pictogramas/desnudarse_4.png
new file mode 100644
index 0000000..28d8a25
Binary files /dev/null and b/_Pictogramas/desnudarse_4.png differ
diff --git a/_Pictogramas/despertar.png b/_Pictogramas/despertar.png
new file mode 100644
index 0000000..425d327
Binary files /dev/null and b/_Pictogramas/despertar.png differ
diff --git a/_Pictogramas/despertar_1.png b/_Pictogramas/despertar_1.png
new file mode 100644
index 0000000..fcb0931
Binary files /dev/null and b/_Pictogramas/despertar_1.png differ
diff --git a/_Pictogramas/despertar_2.png b/_Pictogramas/despertar_2.png
new file mode 100644
index 0000000..3fe621e
Binary files /dev/null and b/_Pictogramas/despertar_2.png differ
diff --git a/_Pictogramas/dibujos animados.png b/_Pictogramas/dibujos animados.png
new file mode 100644
index 0000000..4e01364
Binary files /dev/null and b/_Pictogramas/dibujos animados.png differ
diff --git a/_Pictogramas/discoteca.png b/_Pictogramas/discoteca.png
new file mode 100644
index 0000000..86c421d
Binary files /dev/null and b/_Pictogramas/discoteca.png differ
diff --git a/_Pictogramas/domicilio.png b/_Pictogramas/domicilio.png
new file mode 100644
index 0000000..1205b4b
Binary files /dev/null and b/_Pictogramas/domicilio.png differ
diff --git a/_Pictogramas/domicilio_1.png b/_Pictogramas/domicilio_1.png
new file mode 100644
index 0000000..c7d3fcb
Binary files /dev/null and b/_Pictogramas/domicilio_1.png differ
diff --git a/_Pictogramas/donut.png b/_Pictogramas/donut.png
new file mode 100644
index 0000000..1bd222b
Binary files /dev/null and b/_Pictogramas/donut.png differ
diff --git a/_Pictogramas/dormir_1.png b/_Pictogramas/dormir_1.png
new file mode 100644
index 0000000..353e734
Binary files /dev/null and b/_Pictogramas/dormir_1.png differ
diff --git a/_Pictogramas/dormir_2.png b/_Pictogramas/dormir_2.png
new file mode 100644
index 0000000..42b8142
Binary files /dev/null and b/_Pictogramas/dormir_2.png differ
diff --git a/_Pictogramas/dormir_3.png b/_Pictogramas/dormir_3.png
new file mode 100644
index 0000000..c4c89c0
Binary files /dev/null and b/_Pictogramas/dormir_3.png differ
diff --git a/_Pictogramas/duchar.png b/_Pictogramas/duchar.png
new file mode 100644
index 0000000..f22388c
Binary files /dev/null and b/_Pictogramas/duchar.png differ
diff --git a/_Pictogramas/duchar_1.png b/_Pictogramas/duchar_1.png
new file mode 100644
index 0000000..afef605
Binary files /dev/null and b/_Pictogramas/duchar_1.png differ
diff --git a/_Pictogramas/duchar_2.png b/_Pictogramas/duchar_2.png
new file mode 100644
index 0000000..1623b89
Binary files /dev/null and b/_Pictogramas/duchar_2.png differ
diff --git "a/_Pictogramas/equitaci\303\263n.png" "b/_Pictogramas/equitaci\303\263n.png"
new file mode 100644
index 0000000..870540c
Binary files /dev/null and "b/_Pictogramas/equitaci\303\263n.png" differ
diff --git "a/_Pictogramas/equitaci\303\263n_1.png" "b/_Pictogramas/equitaci\303\263n_1.png"
new file mode 100644
index 0000000..c54225c
Binary files /dev/null and "b/_Pictogramas/equitaci\303\263n_1.png" differ
diff --git "a/_Pictogramas/equitaci\303\263n_2.png" "b/_Pictogramas/equitaci\303\263n_2.png"
new file mode 100644
index 0000000..45f373f
Binary files /dev/null and "b/_Pictogramas/equitaci\303\263n_2.png" differ
diff --git "a/_Pictogramas/escuchar m\303\272sica.png" "b/_Pictogramas/escuchar m\303\272sica.png"
new file mode 100644
index 0000000..9a3a4b0
Binary files /dev/null and "b/_Pictogramas/escuchar m\303\272sica.png" differ
diff --git "a/_Pictogramas/esqu\303\255.png" "b/_Pictogramas/esqu\303\255.png"
new file mode 100644
index 0000000..a5eda9a
Binary files /dev/null and "b/_Pictogramas/esqu\303\255.png" differ
diff --git "a/_Pictogramas/esqu\303\255_1.png" "b/_Pictogramas/esqu\303\255_1.png"
new file mode 100644
index 0000000..3fa41d7
Binary files /dev/null and "b/_Pictogramas/esqu\303\255_1.png" differ
diff --git a/_Pictogramas/estudiar.png b/_Pictogramas/estudiar.png
new file mode 100644
index 0000000..9e6d0a5
Binary files /dev/null and b/_Pictogramas/estudiar.png differ
diff --git a/_Pictogramas/estudiar_1.png b/_Pictogramas/estudiar_1.png
new file mode 100644
index 0000000..ab4e5c0
Binary files /dev/null and b/_Pictogramas/estudiar_1.png differ
diff --git a/_Pictogramas/excursionista.png b/_Pictogramas/excursionista.png
new file mode 100644
index 0000000..11da37d
Binary files /dev/null and b/_Pictogramas/excursionista.png differ
diff --git "a/_Pictogramas/excursi\303\263n.png" "b/_Pictogramas/excursi\303\263n.png"
new file mode 100644
index 0000000..3e50421
Binary files /dev/null and "b/_Pictogramas/excursi\303\263n.png" differ
diff --git "a/_Pictogramas/excursi\303\263n_1.png" "b/_Pictogramas/excursi\303\263n_1.png"
new file mode 100644
index 0000000..e4a9b60
Binary files /dev/null and "b/_Pictogramas/excursi\303\263n_1.png" differ
diff --git "a/_Pictogramas/excursi\303\263n_2.png" "b/_Pictogramas/excursi\303\263n_2.png"
new file mode 100644
index 0000000..8e1fb70
Binary files /dev/null and "b/_Pictogramas/excursi\303\263n_2.png" differ
diff --git a/_Pictogramas/fiesta.png b/_Pictogramas/fiesta.png
new file mode 100644
index 0000000..43ed05f
Binary files /dev/null and b/_Pictogramas/fiesta.png differ
diff --git a/_Pictogramas/fiesta_1.png b/_Pictogramas/fiesta_1.png
new file mode 100644
index 0000000..9302253
Binary files /dev/null and b/_Pictogramas/fiesta_1.png differ
diff --git a/_Pictogramas/fiesta_2.png b/_Pictogramas/fiesta_2.png
new file mode 100644
index 0000000..5beb785
Binary files /dev/null and b/_Pictogramas/fiesta_2.png differ
diff --git a/_Pictogramas/fiesta_3.png b/_Pictogramas/fiesta_3.png
new file mode 100644
index 0000000..b532f5b
Binary files /dev/null and b/_Pictogramas/fiesta_3.png differ
diff --git a/_Pictogramas/fotografiar.png b/_Pictogramas/fotografiar.png
new file mode 100644
index 0000000..16f99f4
Binary files /dev/null and b/_Pictogramas/fotografiar.png differ
diff --git a/_Pictogramas/fotografiar_1.png b/_Pictogramas/fotografiar_1.png
new file mode 100644
index 0000000..d2fd965
Binary files /dev/null and b/_Pictogramas/fotografiar_1.png differ
diff --git "a/_Pictogramas/fotograf\303\255a.png" "b/_Pictogramas/fotograf\303\255a.png"
new file mode 100644
index 0000000..9753794
Binary files /dev/null and "b/_Pictogramas/fotograf\303\255a.png" differ
diff --git a/_Pictogramas/fregar.png b/_Pictogramas/fregar.png
new file mode 100644
index 0000000..c05d65f
Binary files /dev/null and b/_Pictogramas/fregar.png differ
diff --git a/_Pictogramas/fregar_1.png b/_Pictogramas/fregar_1.png
new file mode 100644
index 0000000..dc884d4
Binary files /dev/null and b/_Pictogramas/fregar_1.png differ
diff --git a/_Pictogramas/fregar_2.png b/_Pictogramas/fregar_2.png
new file mode 100644
index 0000000..dd4042a
Binary files /dev/null and b/_Pictogramas/fregar_2.png differ
diff --git a/_Pictogramas/gimnasia.png b/_Pictogramas/gimnasia.png
new file mode 100644
index 0000000..e58c61f
Binary files /dev/null and b/_Pictogramas/gimnasia.png differ
diff --git a/_Pictogramas/gimnasia_19.png b/_Pictogramas/gimnasia_19.png
new file mode 100644
index 0000000..3982056
Binary files /dev/null and b/_Pictogramas/gimnasia_19.png differ
diff --git a/_Pictogramas/gimnasia_2.png b/_Pictogramas/gimnasia_2.png
new file mode 100644
index 0000000..60eb65a
Binary files /dev/null and b/_Pictogramas/gimnasia_2.png differ
diff --git a/_Pictogramas/gimnasia_21.png b/_Pictogramas/gimnasia_21.png
new file mode 100644
index 0000000..4d36c17
Binary files /dev/null and b/_Pictogramas/gimnasia_21.png differ
diff --git a/_Pictogramas/gimnasio.png b/_Pictogramas/gimnasio.png
new file mode 100644
index 0000000..df01922
Binary files /dev/null and b/_Pictogramas/gimnasio.png differ
diff --git a/_Pictogramas/gimnasio_1.png b/_Pictogramas/gimnasio_1.png
new file mode 100644
index 0000000..32fb73e
Binary files /dev/null and b/_Pictogramas/gimnasio_1.png differ
diff --git a/_Pictogramas/hacer caca.png b/_Pictogramas/hacer caca.png
new file mode 100644
index 0000000..7466b31
Binary files /dev/null and b/_Pictogramas/hacer caca.png differ
diff --git a/_Pictogramas/hacer caca_1.png b/_Pictogramas/hacer caca_1.png
new file mode 100644
index 0000000..fd908b3
Binary files /dev/null and b/_Pictogramas/hacer caca_1.png differ
diff --git a/_Pictogramas/hacer caca_2.png b/_Pictogramas/hacer caca_2.png
new file mode 100644
index 0000000..9025158
Binary files /dev/null and b/_Pictogramas/hacer caca_2.png differ
diff --git a/_Pictogramas/hacer caca_3.png b/_Pictogramas/hacer caca_3.png
new file mode 100644
index 0000000..a9ac59e
Binary files /dev/null and b/_Pictogramas/hacer caca_3.png differ
diff --git a/_Pictogramas/hacer caca_4.png b/_Pictogramas/hacer caca_4.png
new file mode 100644
index 0000000..435fbf2
Binary files /dev/null and b/_Pictogramas/hacer caca_4.png differ
diff --git a/_Pictogramas/hacer la cama.png b/_Pictogramas/hacer la cama.png
new file mode 100644
index 0000000..93ff3b5
Binary files /dev/null and b/_Pictogramas/hacer la cama.png differ
diff --git a/_Pictogramas/hacer la cama_1.png b/_Pictogramas/hacer la cama_1.png
new file mode 100644
index 0000000..ad5f925
Binary files /dev/null and b/_Pictogramas/hacer la cama_1.png differ
diff --git a/_Pictogramas/hacer pis.png b/_Pictogramas/hacer pis.png
new file mode 100644
index 0000000..4d483e0
Binary files /dev/null and b/_Pictogramas/hacer pis.png differ
diff --git a/_Pictogramas/hacer pis_1.png b/_Pictogramas/hacer pis_1.png
new file mode 100644
index 0000000..2d50b3b
Binary files /dev/null and b/_Pictogramas/hacer pis_1.png differ
diff --git a/_Pictogramas/hamburguesa y patatas fritas.png b/_Pictogramas/hamburguesa y patatas fritas.png
new file mode 100644
index 0000000..cab16b7
Binary files /dev/null and b/_Pictogramas/hamburguesa y patatas fritas.png differ
diff --git a/_Pictogramas/hamburguesa.png b/_Pictogramas/hamburguesa.png
new file mode 100644
index 0000000..2657117
Binary files /dev/null and b/_Pictogramas/hamburguesa.png differ
diff --git a/_Pictogramas/hospital.png b/_Pictogramas/hospital.png
new file mode 100644
index 0000000..82f5754
Binary files /dev/null and b/_Pictogramas/hospital.png differ
diff --git a/_Pictogramas/hospital_1.png b/_Pictogramas/hospital_1.png
new file mode 100644
index 0000000..bb5c87d
Binary files /dev/null and b/_Pictogramas/hospital_1.png differ
diff --git a/_Pictogramas/instrumentos.png b/_Pictogramas/instrumentos.png
new file mode 100644
index 0000000..371054d
Binary files /dev/null and b/_Pictogramas/instrumentos.png differ
diff --git a/_Pictogramas/juego de la peonza.png b/_Pictogramas/juego de la peonza.png
new file mode 100644
index 0000000..5613efd
Binary files /dev/null and b/_Pictogramas/juego de la peonza.png differ
diff --git a/_Pictogramas/juego de las canicas.png b/_Pictogramas/juego de las canicas.png
new file mode 100644
index 0000000..cf5b69e
Binary files /dev/null and b/_Pictogramas/juego de las canicas.png differ
diff --git a/_Pictogramas/juego de los pinchitos.png b/_Pictogramas/juego de los pinchitos.png
new file mode 100644
index 0000000..03f450b
Binary files /dev/null and b/_Pictogramas/juego de los pinchitos.png differ
diff --git a/_Pictogramas/juego de mesa.png b/_Pictogramas/juego de mesa.png
new file mode 100644
index 0000000..d253240
Binary files /dev/null and b/_Pictogramas/juego de mesa.png differ
diff --git a/_Pictogramas/juego de mesa_1.png b/_Pictogramas/juego de mesa_1.png
new file mode 100644
index 0000000..3cfa29f
Binary files /dev/null and b/_Pictogramas/juego de mesa_1.png differ
diff --git a/_Pictogramas/juego de palmas.png b/_Pictogramas/juego de palmas.png
new file mode 100644
index 0000000..cfed842
Binary files /dev/null and b/_Pictogramas/juego de palmas.png differ
diff --git a/_Pictogramas/juego del hula hoop.png b/_Pictogramas/juego del hula hoop.png
new file mode 100644
index 0000000..33615f9
Binary files /dev/null and b/_Pictogramas/juego del hula hoop.png differ
diff --git a/_Pictogramas/juego del pilla pilla.png b/_Pictogramas/juego del pilla pilla.png
new file mode 100644
index 0000000..f2ec7f4
Binary files /dev/null and b/_Pictogramas/juego del pilla pilla.png differ
diff --git a/_Pictogramas/jugar a hockey_1.png b/_Pictogramas/jugar a hockey_1.png
new file mode 100644
index 0000000..7400561
Binary files /dev/null and b/_Pictogramas/jugar a hockey_1.png differ
diff --git a/_Pictogramas/jugar a hockey_2.png b/_Pictogramas/jugar a hockey_2.png
new file mode 100644
index 0000000..e2d03f4
Binary files /dev/null and b/_Pictogramas/jugar a hockey_2.png differ
diff --git a/_Pictogramas/jugar a la petanca.png b/_Pictogramas/jugar a la petanca.png
new file mode 100644
index 0000000..8c7cc6f
Binary files /dev/null and b/_Pictogramas/jugar a la petanca.png differ
diff --git a/_Pictogramas/jugar a la videoconsola.png b/_Pictogramas/jugar a la videoconsola.png
new file mode 100644
index 0000000..d36c072
Binary files /dev/null and b/_Pictogramas/jugar a la videoconsola.png differ
diff --git a/_Pictogramas/jugar a los bolos.png b/_Pictogramas/jugar a los bolos.png
new file mode 100644
index 0000000..2d71cbf
Binary files /dev/null and b/_Pictogramas/jugar a los bolos.png differ
diff --git a/_Pictogramas/jugar a ping pong.png b/_Pictogramas/jugar a ping pong.png
new file mode 100644
index 0000000..56aeac3
Binary files /dev/null and b/_Pictogramas/jugar a ping pong.png differ
diff --git a/_Pictogramas/jugar al baloncesto.png b/_Pictogramas/jugar al baloncesto.png
new file mode 100644
index 0000000..3a5100e
Binary files /dev/null and b/_Pictogramas/jugar al baloncesto.png differ
diff --git a/_Pictogramas/jugar al balonmano.png b/_Pictogramas/jugar al balonmano.png
new file mode 100644
index 0000000..617cb70
Binary files /dev/null and b/_Pictogramas/jugar al balonmano.png differ
diff --git a/_Pictogramas/jugar al billar.png b/_Pictogramas/jugar al billar.png
new file mode 100644
index 0000000..c671617
Binary files /dev/null and b/_Pictogramas/jugar al billar.png differ
diff --git "a/_Pictogramas/jugar al b\303\251isbol.png" "b/_Pictogramas/jugar al b\303\251isbol.png"
new file mode 100644
index 0000000..c9114e9
Binary files /dev/null and "b/_Pictogramas/jugar al b\303\251isbol.png" differ
diff --git a/_Pictogramas/jugar al corro.png b/_Pictogramas/jugar al corro.png
new file mode 100644
index 0000000..1cf6e30
Binary files /dev/null and b/_Pictogramas/jugar al corro.png differ
diff --git a/_Pictogramas/jugar al corro_1.png b/_Pictogramas/jugar al corro_1.png
new file mode 100644
index 0000000..97acd89
Binary files /dev/null and b/_Pictogramas/jugar al corro_1.png differ
diff --git "a/_Pictogramas/jugar al f\303\272tbol.png" "b/_Pictogramas/jugar al f\303\272tbol.png"
new file mode 100644
index 0000000..6ede9e6
Binary files /dev/null and "b/_Pictogramas/jugar al f\303\272tbol.png" differ
diff --git "a/_Pictogramas/jugar al f\303\272tbol_1.png" "b/_Pictogramas/jugar al f\303\272tbol_1.png"
new file mode 100644
index 0000000..b616965
Binary files /dev/null and "b/_Pictogramas/jugar al f\303\272tbol_1.png" differ
diff --git "a/_Pictogramas/jugar al f\303\272tbol_2.png" "b/_Pictogramas/jugar al f\303\272tbol_2.png"
new file mode 100644
index 0000000..98c8f4c
Binary files /dev/null and "b/_Pictogramas/jugar al f\303\272tbol_2.png" differ
diff --git a/_Pictogramas/jugar al golf.png b/_Pictogramas/jugar al golf.png
new file mode 100644
index 0000000..87f5790
Binary files /dev/null and b/_Pictogramas/jugar al golf.png differ
diff --git a/_Pictogramas/jugar al rugby.png b/_Pictogramas/jugar al rugby.png
new file mode 100644
index 0000000..bcd8b5d
Binary files /dev/null and b/_Pictogramas/jugar al rugby.png differ
diff --git a/_Pictogramas/jugar al tenis.png b/_Pictogramas/jugar al tenis.png
new file mode 100644
index 0000000..abff3d3
Binary files /dev/null and b/_Pictogramas/jugar al tenis.png differ
diff --git a/_Pictogramas/jugar al voleibol.png b/_Pictogramas/jugar al voleibol.png
new file mode 100644
index 0000000..c86182f
Binary files /dev/null and b/_Pictogramas/jugar al voleibol.png differ
diff --git a/_Pictogramas/jugar al waterpolo.png b/_Pictogramas/jugar al waterpolo.png
new file mode 100644
index 0000000..9d5deee
Binary files /dev/null and b/_Pictogramas/jugar al waterpolo.png differ
diff --git a/_Pictogramas/jugar con el tablet.png b/_Pictogramas/jugar con el tablet.png
new file mode 100644
index 0000000..4bffe27
Binary files /dev/null and b/_Pictogramas/jugar con el tablet.png differ
diff --git a/_Pictogramas/jugar.png b/_Pictogramas/jugar.png
new file mode 100644
index 0000000..ffdeb1a
Binary files /dev/null and b/_Pictogramas/jugar.png differ
diff --git a/_Pictogramas/jugar_1.png b/_Pictogramas/jugar_1.png
new file mode 100644
index 0000000..de1c16e
Binary files /dev/null and b/_Pictogramas/jugar_1.png differ
diff --git a/_Pictogramas/jugar_2.png b/_Pictogramas/jugar_2.png
new file mode 100644
index 0000000..f96759d
Binary files /dev/null and b/_Pictogramas/jugar_2.png differ
diff --git a/_Pictogramas/jugar_3.png b/_Pictogramas/jugar_3.png
new file mode 100644
index 0000000..5bf6bd6
Binary files /dev/null and b/_Pictogramas/jugar_3.png differ
diff --git a/_Pictogramas/juguete.png b/_Pictogramas/juguete.png
new file mode 100644
index 0000000..556eec8
Binary files /dev/null and b/_Pictogramas/juguete.png differ
diff --git a/_Pictogramas/lavar el pelo.png b/_Pictogramas/lavar el pelo.png
new file mode 100644
index 0000000..506591a
Binary files /dev/null and b/_Pictogramas/lavar el pelo.png differ
diff --git a/_Pictogramas/lavar el pelo_1.png b/_Pictogramas/lavar el pelo_1.png
new file mode 100644
index 0000000..aded651
Binary files /dev/null and b/_Pictogramas/lavar el pelo_1.png differ
diff --git a/_Pictogramas/lavar el pelo_2.png b/_Pictogramas/lavar el pelo_2.png
new file mode 100644
index 0000000..cd2c1bd
Binary files /dev/null and b/_Pictogramas/lavar el pelo_2.png differ
diff --git a/_Pictogramas/lavar la cara.png b/_Pictogramas/lavar la cara.png
new file mode 100644
index 0000000..94e7a07
Binary files /dev/null and b/_Pictogramas/lavar la cara.png differ
diff --git a/_Pictogramas/lavar la cara_1.png b/_Pictogramas/lavar la cara_1.png
new file mode 100644
index 0000000..f74a865
Binary files /dev/null and b/_Pictogramas/lavar la cara_1.png differ
diff --git a/_Pictogramas/lavar la cara_2.png b/_Pictogramas/lavar la cara_2.png
new file mode 100644
index 0000000..b3343e9
Binary files /dev/null and b/_Pictogramas/lavar la cara_2.png differ
diff --git a/_Pictogramas/lavar la ropa.png b/_Pictogramas/lavar la ropa.png
new file mode 100644
index 0000000..2ab69e4
Binary files /dev/null and b/_Pictogramas/lavar la ropa.png differ
diff --git a/_Pictogramas/lavar las manos.png b/_Pictogramas/lavar las manos.png
new file mode 100644
index 0000000..a5e251e
Binary files /dev/null and b/_Pictogramas/lavar las manos.png differ
diff --git a/_Pictogramas/lavar las manos_1.png b/_Pictogramas/lavar las manos_1.png
new file mode 100644
index 0000000..598d25d
Binary files /dev/null and b/_Pictogramas/lavar las manos_1.png differ
diff --git a/_Pictogramas/lavar los dientes.png b/_Pictogramas/lavar los dientes.png
new file mode 100644
index 0000000..4f6b585
Binary files /dev/null and b/_Pictogramas/lavar los dientes.png differ
diff --git a/_Pictogramas/lavar los dientes_1.png b/_Pictogramas/lavar los dientes_1.png
new file mode 100644
index 0000000..8ac7a92
Binary files /dev/null and b/_Pictogramas/lavar los dientes_1.png differ
diff --git a/_Pictogramas/lavar los dientes_2.png b/_Pictogramas/lavar los dientes_2.png
new file mode 100644
index 0000000..0679bc7
Binary files /dev/null and b/_Pictogramas/lavar los dientes_2.png differ
diff --git a/_Pictogramas/levantarse de la cama.png b/_Pictogramas/levantarse de la cama.png
new file mode 100644
index 0000000..2c4c212
Binary files /dev/null and b/_Pictogramas/levantarse de la cama.png differ
diff --git a/_Pictogramas/levantarse de la cama_1.png b/_Pictogramas/levantarse de la cama_1.png
new file mode 100644
index 0000000..3aa2f78
Binary files /dev/null and b/_Pictogramas/levantarse de la cama_1.png differ
diff --git a/_Pictogramas/medicarse_2.png b/_Pictogramas/medicarse_2.png
new file mode 100644
index 0000000..2c6101c
Binary files /dev/null and b/_Pictogramas/medicarse_2.png differ
diff --git a/_Pictogramas/medicarse_3.png b/_Pictogramas/medicarse_3.png
new file mode 100644
index 0000000..fe50ad6
Binary files /dev/null and b/_Pictogramas/medicarse_3.png differ
diff --git a/_Pictogramas/medicarse_4.png b/_Pictogramas/medicarse_4.png
new file mode 100644
index 0000000..dd848d4
Binary files /dev/null and b/_Pictogramas/medicarse_4.png differ
diff --git a/_Pictogramas/medicina.png b/_Pictogramas/medicina.png
new file mode 100644
index 0000000..93e28cd
Binary files /dev/null and b/_Pictogramas/medicina.png differ
diff --git a/_Pictogramas/medicina_1.png b/_Pictogramas/medicina_1.png
new file mode 100644
index 0000000..312d6dd
Binary files /dev/null and b/_Pictogramas/medicina_1.png differ
diff --git a/_Pictogramas/merendar.png b/_Pictogramas/merendar.png
new file mode 100644
index 0000000..e60b0b4
Binary files /dev/null and b/_Pictogramas/merendar.png differ
diff --git a/_Pictogramas/merendar_1.png b/_Pictogramas/merendar_1.png
new file mode 100644
index 0000000..4a127da
Binary files /dev/null and b/_Pictogramas/merendar_1.png differ
diff --git a/_Pictogramas/merendar_2.png b/_Pictogramas/merendar_2.png
new file mode 100644
index 0000000..c9e13c4
Binary files /dev/null and b/_Pictogramas/merendar_2.png differ
diff --git a/_Pictogramas/montar a caballo.png b/_Pictogramas/montar a caballo.png
new file mode 100644
index 0000000..870540c
Binary files /dev/null and b/_Pictogramas/montar a caballo.png differ
diff --git a/_Pictogramas/montar a caballo_1.png b/_Pictogramas/montar a caballo_1.png
new file mode 100644
index 0000000..c54225c
Binary files /dev/null and b/_Pictogramas/montar a caballo_1.png differ
diff --git a/_Pictogramas/montar a caballo_2.png b/_Pictogramas/montar a caballo_2.png
new file mode 100644
index 0000000..45f373f
Binary files /dev/null and b/_Pictogramas/montar a caballo_2.png differ
diff --git a/_Pictogramas/montar en bici.png b/_Pictogramas/montar en bici.png
new file mode 100644
index 0000000..b6089a1
Binary files /dev/null and b/_Pictogramas/montar en bici.png differ
diff --git a/_Pictogramas/montar en bici_1.png b/_Pictogramas/montar en bici_1.png
new file mode 100644
index 0000000..4db1f56
Binary files /dev/null and b/_Pictogramas/montar en bici_1.png differ
diff --git a/_Pictogramas/muffin.png b/_Pictogramas/muffin.png
new file mode 100644
index 0000000..0ef26d9
Binary files /dev/null and b/_Pictogramas/muffin.png differ
diff --git a/_Pictogramas/muffin_1.png b/_Pictogramas/muffin_1.png
new file mode 100644
index 0000000..29e5d73
Binary files /dev/null and b/_Pictogramas/muffin_1.png differ
diff --git a/_Pictogramas/museo.png b/_Pictogramas/museo.png
new file mode 100644
index 0000000..dff3269
Binary files /dev/null and b/_Pictogramas/museo.png differ
diff --git a/_Pictogramas/museo_1.png b/_Pictogramas/museo_1.png
new file mode 100644
index 0000000..c9d3350
Binary files /dev/null and b/_Pictogramas/museo_1.png differ
diff --git "a/_Pictogramas/m\303\251dico.png" "b/_Pictogramas/m\303\251dico.png"
new file mode 100644
index 0000000..f3b0aac
Binary files /dev/null and "b/_Pictogramas/m\303\251dico.png" differ
diff --git "a/_Pictogramas/m\303\251dico_1.png" "b/_Pictogramas/m\303\251dico_1.png"
new file mode 100644
index 0000000..f778543
Binary files /dev/null and "b/_Pictogramas/m\303\251dico_1.png" differ
diff --git "a/_Pictogramas/m\303\263vil.png" "b/_Pictogramas/m\303\263vil.png"
new file mode 100644
index 0000000..d728c64
Binary files /dev/null and "b/_Pictogramas/m\303\263vil.png" differ
diff --git a/_Pictogramas/noche.png b/_Pictogramas/noche.png
new file mode 100644
index 0000000..8c81fb9
Binary files /dev/null and b/_Pictogramas/noche.png differ
diff --git a/_Pictogramas/noche_1.png b/_Pictogramas/noche_1.png
new file mode 100644
index 0000000..240dabe
Binary files /dev/null and b/_Pictogramas/noche_1.png differ
diff --git "a/_Pictogramas/parch\303\255s.png" "b/_Pictogramas/parch\303\255s.png"
new file mode 100644
index 0000000..f94b5f8
Binary files /dev/null and "b/_Pictogramas/parch\303\255s.png" differ
diff --git "a/_Pictogramas/parque tem\303\241tico.png" "b/_Pictogramas/parque tem\303\241tico.png"
new file mode 100644
index 0000000..9ed080a
Binary files /dev/null and "b/_Pictogramas/parque tem\303\241tico.png" differ
diff --git a/_Pictogramas/parque.png b/_Pictogramas/parque.png
new file mode 100644
index 0000000..a9330d7
Binary files /dev/null and b/_Pictogramas/parque.png differ
diff --git a/_Pictogramas/pasear al perro.png b/_Pictogramas/pasear al perro.png
new file mode 100644
index 0000000..94e9667
Binary files /dev/null and b/_Pictogramas/pasear al perro.png differ
diff --git a/_Pictogramas/pasear al perro_1.png b/_Pictogramas/pasear al perro_1.png
new file mode 100644
index 0000000..93b3225
Binary files /dev/null and b/_Pictogramas/pasear al perro_1.png differ
diff --git a/_Pictogramas/pasear al perro_2.png b/_Pictogramas/pasear al perro_2.png
new file mode 100644
index 0000000..2955c4c
Binary files /dev/null and b/_Pictogramas/pasear al perro_2.png differ
diff --git a/_Pictogramas/pasear en bicicleta.png b/_Pictogramas/pasear en bicicleta.png
new file mode 100644
index 0000000..b6089a1
Binary files /dev/null and b/_Pictogramas/pasear en bicicleta.png differ
diff --git a/_Pictogramas/pasear en bicicleta_1.png b/_Pictogramas/pasear en bicicleta_1.png
new file mode 100644
index 0000000..4db1f56
Binary files /dev/null and b/_Pictogramas/pasear en bicicleta_1.png differ
diff --git a/_Pictogramas/pasear_3.png b/_Pictogramas/pasear_3.png
new file mode 100644
index 0000000..758a382
Binary files /dev/null and b/_Pictogramas/pasear_3.png differ
diff --git a/_Pictogramas/pasear_5.png b/_Pictogramas/pasear_5.png
new file mode 100644
index 0000000..edc4125
Binary files /dev/null and b/_Pictogramas/pasear_5.png differ
diff --git a/_Pictogramas/pasear_6.png b/_Pictogramas/pasear_6.png
new file mode 100644
index 0000000..1cbaa02
Binary files /dev/null and b/_Pictogramas/pasear_6.png differ
diff --git a/_Pictogramas/pastel.png b/_Pictogramas/pastel.png
new file mode 100644
index 0000000..4f48ba6
Binary files /dev/null and b/_Pictogramas/pastel.png differ
diff --git a/_Pictogramas/patines de hielo.png b/_Pictogramas/patines de hielo.png
new file mode 100644
index 0000000..b559a7e
Binary files /dev/null and b/_Pictogramas/patines de hielo.png differ
diff --git a/_Pictogramas/patines_2.png b/_Pictogramas/patines_2.png
new file mode 100644
index 0000000..8e2e879
Binary files /dev/null and b/_Pictogramas/patines_2.png differ
diff --git a/_Pictogramas/patines_3.png b/_Pictogramas/patines_3.png
new file mode 100644
index 0000000..356ad1e
Binary files /dev/null and b/_Pictogramas/patines_3.png differ
diff --git a/_Pictogramas/patinete.png b/_Pictogramas/patinete.png
new file mode 100644
index 0000000..25fd9d0
Binary files /dev/null and b/_Pictogramas/patinete.png differ
diff --git a/_Pictogramas/pediatra.png b/_Pictogramas/pediatra.png
new file mode 100644
index 0000000..735cdca
Binary files /dev/null and b/_Pictogramas/pediatra.png differ
diff --git a/_Pictogramas/pediatra_1.png b/_Pictogramas/pediatra_1.png
new file mode 100644
index 0000000..f2ad5db
Binary files /dev/null and b/_Pictogramas/pediatra_1.png differ
diff --git a/_Pictogramas/pediatra_2.png b/_Pictogramas/pediatra_2.png
new file mode 100644
index 0000000..34b54c5
Binary files /dev/null and b/_Pictogramas/pediatra_2.png differ
diff --git a/_Pictogramas/pegamento.png b/_Pictogramas/pegamento.png
new file mode 100644
index 0000000..2b6ddd6
Binary files /dev/null and b/_Pictogramas/pegamento.png differ
diff --git a/_Pictogramas/pelota de baloncesto.png b/_Pictogramas/pelota de baloncesto.png
new file mode 100644
index 0000000..c72c626
Binary files /dev/null and b/_Pictogramas/pelota de baloncesto.png differ
diff --git "a/_Pictogramas/pelota de b\303\251isbol.png" "b/_Pictogramas/pelota de b\303\251isbol.png"
new file mode 100644
index 0000000..8b88c67
Binary files /dev/null and "b/_Pictogramas/pelota de b\303\251isbol.png" differ
diff --git "a/_Pictogramas/pelota de f\303\272tbol.png" "b/_Pictogramas/pelota de f\303\272tbol.png"
new file mode 100644
index 0000000..827b5dc
Binary files /dev/null and "b/_Pictogramas/pelota de f\303\272tbol.png" differ
diff --git a/_Pictogramas/pelota de tenis.png b/_Pictogramas/pelota de tenis.png
new file mode 100644
index 0000000..6e7838f
Binary files /dev/null and b/_Pictogramas/pelota de tenis.png differ
diff --git a/_Pictogramas/pelota.png b/_Pictogramas/pelota.png
new file mode 100644
index 0000000..c129e04
Binary files /dev/null and b/_Pictogramas/pelota.png differ
diff --git a/_Pictogramas/peluche.png b/_Pictogramas/peluche.png
new file mode 100644
index 0000000..28bf9aa
Binary files /dev/null and b/_Pictogramas/peluche.png differ
diff --git "a/_Pictogramas/pel\303\255cula.png" "b/_Pictogramas/pel\303\255cula.png"
new file mode 100644
index 0000000..594a475
Binary files /dev/null and "b/_Pictogramas/pel\303\255cula.png" differ
diff --git a/_Pictogramas/picnic.png b/_Pictogramas/picnic.png
new file mode 100644
index 0000000..fc4ddb5
Binary files /dev/null and b/_Pictogramas/picnic.png differ
diff --git a/_Pictogramas/picnic_1.png b/_Pictogramas/picnic_1.png
new file mode 100644
index 0000000..23a4f66
Binary files /dev/null and b/_Pictogramas/picnic_1.png differ
diff --git a/_Pictogramas/pintar.png b/_Pictogramas/pintar.png
new file mode 100644
index 0000000..478a2df
Binary files /dev/null and b/_Pictogramas/pintar.png differ
diff --git a/_Pictogramas/pintar_1.png b/_Pictogramas/pintar_1.png
new file mode 100644
index 0000000..478eefa
Binary files /dev/null and b/_Pictogramas/pintar_1.png differ
diff --git a/_Pictogramas/pintar_5.png b/_Pictogramas/pintar_5.png
new file mode 100644
index 0000000..4b5e2ba
Binary files /dev/null and b/_Pictogramas/pintar_5.png differ
diff --git a/_Pictogramas/pintar_7.png b/_Pictogramas/pintar_7.png
new file mode 100644
index 0000000..a675689
Binary files /dev/null and b/_Pictogramas/pintar_7.png differ
diff --git a/_Pictogramas/pinturas de cera.png b/_Pictogramas/pinturas de cera.png
new file mode 100644
index 0000000..d668e37
Binary files /dev/null and b/_Pictogramas/pinturas de cera.png differ
diff --git a/_Pictogramas/pinturas de colores.png b/_Pictogramas/pinturas de colores.png
new file mode 100644
index 0000000..b5d3208
Binary files /dev/null and b/_Pictogramas/pinturas de colores.png differ
diff --git a/_Pictogramas/pinturas de colores_1.png b/_Pictogramas/pinturas de colores_1.png
new file mode 100644
index 0000000..cd358b4
Binary files /dev/null and b/_Pictogramas/pinturas de colores_1.png differ
diff --git a/_Pictogramas/piscina cubierta.png b/_Pictogramas/piscina cubierta.png
new file mode 100644
index 0000000..45cb36a
Binary files /dev/null and b/_Pictogramas/piscina cubierta.png differ
diff --git a/_Pictogramas/piscina de bolas.png b/_Pictogramas/piscina de bolas.png
new file mode 100644
index 0000000..27ab81f
Binary files /dev/null and b/_Pictogramas/piscina de bolas.png differ
diff --git a/_Pictogramas/piscina.png b/_Pictogramas/piscina.png
new file mode 100644
index 0000000..905ce2f
Binary files /dev/null and b/_Pictogramas/piscina.png differ
diff --git a/_Pictogramas/piso.png b/_Pictogramas/piso.png
new file mode 100644
index 0000000..7632cb5
Binary files /dev/null and b/_Pictogramas/piso.png differ
diff --git a/_Pictogramas/pizza.png b/_Pictogramas/pizza.png
new file mode 100644
index 0000000..f9d827a
Binary files /dev/null and b/_Pictogramas/pizza.png differ
diff --git a/_Pictogramas/ponerse ropa_1.png b/_Pictogramas/ponerse ropa_1.png
new file mode 100644
index 0000000..82a269e
Binary files /dev/null and b/_Pictogramas/ponerse ropa_1.png differ
diff --git a/_Pictogramas/ponerse ropa_2.png b/_Pictogramas/ponerse ropa_2.png
new file mode 100644
index 0000000..ccd1554
Binary files /dev/null and b/_Pictogramas/ponerse ropa_2.png differ
diff --git a/_Pictogramas/potito.png b/_Pictogramas/potito.png
new file mode 100644
index 0000000..07447ed
Binary files /dev/null and b/_Pictogramas/potito.png differ
diff --git a/_Pictogramas/pregunta.png b/_Pictogramas/pregunta.png
new file mode 100644
index 0000000..c3f0fd9
Binary files /dev/null and b/_Pictogramas/pregunta.png differ
diff --git a/_Pictogramas/pueblo.png b/_Pictogramas/pueblo.png
new file mode 100644
index 0000000..5baea41
Binary files /dev/null and b/_Pictogramas/pueblo.png differ
diff --git a/_Pictogramas/rayuela.png b/_Pictogramas/rayuela.png
new file mode 100644
index 0000000..09f3113
Binary files /dev/null and b/_Pictogramas/rayuela.png differ
diff --git a/_Pictogramas/reloj_6.png b/_Pictogramas/reloj_6.png
new file mode 100644
index 0000000..808aa88
Binary files /dev/null and b/_Pictogramas/reloj_6.png differ
diff --git a/_Pictogramas/restaurante.png b/_Pictogramas/restaurante.png
new file mode 100644
index 0000000..d54d99d
Binary files /dev/null and b/_Pictogramas/restaurante.png differ
diff --git a/_Pictogramas/restaurante_1.png b/_Pictogramas/restaurante_1.png
new file mode 100644
index 0000000..7936bd5
Binary files /dev/null and b/_Pictogramas/restaurante_1.png differ
diff --git a/_Pictogramas/restaurante_2.png b/_Pictogramas/restaurante_2.png
new file mode 100644
index 0000000..153041f
Binary files /dev/null and b/_Pictogramas/restaurante_2.png differ
diff --git a/_Pictogramas/restaurante_3.png b/_Pictogramas/restaurante_3.png
new file mode 100644
index 0000000..80fb6c8
Binary files /dev/null and b/_Pictogramas/restaurante_3.png differ
diff --git a/_Pictogramas/saltar a la comba.png b/_Pictogramas/saltar a la comba.png
new file mode 100644
index 0000000..b1911fd
Binary files /dev/null and b/_Pictogramas/saltar a la comba.png differ
diff --git a/_Pictogramas/saltar a la comba_1.png b/_Pictogramas/saltar a la comba_1.png
new file mode 100644
index 0000000..f7130c2
Binary files /dev/null and b/_Pictogramas/saltar a la comba_1.png differ
diff --git a/_Pictogramas/saltar a la comba_2.png b/_Pictogramas/saltar a la comba_2.png
new file mode 100644
index 0000000..b6331f2
Binary files /dev/null and b/_Pictogramas/saltar a la comba_2.png differ
diff --git a/_Pictogramas/secar el pelo.png b/_Pictogramas/secar el pelo.png
new file mode 100644
index 0000000..a394ad5
Binary files /dev/null and b/_Pictogramas/secar el pelo.png differ
diff --git a/_Pictogramas/secar el pelo_1.png b/_Pictogramas/secar el pelo_1.png
new file mode 100644
index 0000000..3d245d0
Binary files /dev/null and b/_Pictogramas/secar el pelo_1.png differ
diff --git a/_Pictogramas/secar el pelo_2.png b/_Pictogramas/secar el pelo_2.png
new file mode 100644
index 0000000..fed8329
Binary files /dev/null and b/_Pictogramas/secar el pelo_2.png differ
diff --git a/_Pictogramas/secar el pelo_3.png b/_Pictogramas/secar el pelo_3.png
new file mode 100644
index 0000000..67896fb
Binary files /dev/null and b/_Pictogramas/secar el pelo_3.png differ
diff --git a/_Pictogramas/secarse.png b/_Pictogramas/secarse.png
new file mode 100644
index 0000000..d8adfed
Binary files /dev/null and b/_Pictogramas/secarse.png differ
diff --git a/_Pictogramas/secarse_1.png b/_Pictogramas/secarse_1.png
new file mode 100644
index 0000000..615f376
Binary files /dev/null and b/_Pictogramas/secarse_1.png differ
diff --git a/_Pictogramas/secarse_2.png b/_Pictogramas/secarse_2.png
new file mode 100644
index 0000000..f5302b6
Binary files /dev/null and b/_Pictogramas/secarse_2.png differ
diff --git a/_Pictogramas/siesta.png b/_Pictogramas/siesta.png
new file mode 100644
index 0000000..56d6f25
Binary files /dev/null and b/_Pictogramas/siesta.png differ
diff --git a/_Pictogramas/siesta_1.png b/_Pictogramas/siesta_1.png
new file mode 100644
index 0000000..8fdd313
Binary files /dev/null and b/_Pictogramas/siesta_1.png differ
diff --git a/_Pictogramas/tele.png b/_Pictogramas/tele.png
new file mode 100644
index 0000000..b363ae4
Binary files /dev/null and b/_Pictogramas/tele.png differ
diff --git a/_Pictogramas/tele_1.png b/_Pictogramas/tele_1.png
new file mode 100644
index 0000000..d2e52d3
Binary files /dev/null and b/_Pictogramas/tele_1.png differ
diff --git a/_Pictogramas/tijeras escolares.png b/_Pictogramas/tijeras escolares.png
new file mode 100644
index 0000000..8223b5e
Binary files /dev/null and b/_Pictogramas/tijeras escolares.png differ
diff --git a/_Pictogramas/tijeras.png b/_Pictogramas/tijeras.png
new file mode 100644
index 0000000..305bc68
Binary files /dev/null and b/_Pictogramas/tijeras.png differ
diff --git "a/_Pictogramas/tobog\303\241n.png" "b/_Pictogramas/tobog\303\241n.png"
new file mode 100644
index 0000000..4e0597d
Binary files /dev/null and "b/_Pictogramas/tobog\303\241n.png" differ
diff --git "a/_Pictogramas/tobog\303\241n_1.png" "b/_Pictogramas/tobog\303\241n_1.png"
new file mode 100644
index 0000000..5df1fd7
Binary files /dev/null and "b/_Pictogramas/tobog\303\241n_1.png" differ
diff --git a/_Pictogramas/tomar el sol.png b/_Pictogramas/tomar el sol.png
new file mode 100644
index 0000000..4ea46cd
Binary files /dev/null and b/_Pictogramas/tomar el sol.png differ
diff --git a/_Pictogramas/tomar el sol_1.png b/_Pictogramas/tomar el sol_1.png
new file mode 100644
index 0000000..a8519ca
Binary files /dev/null and b/_Pictogramas/tomar el sol_1.png differ
diff --git a/_Pictogramas/tomar el sol_2.png b/_Pictogramas/tomar el sol_2.png
new file mode 100644
index 0000000..0ab6ad6
Binary files /dev/null and b/_Pictogramas/tomar el sol_2.png differ
diff --git a/_Pictogramas/trabajos manuales_1.png b/_Pictogramas/trabajos manuales_1.png
new file mode 100644
index 0000000..adba043
Binary files /dev/null and b/_Pictogramas/trabajos manuales_1.png differ
diff --git a/_Pictogramas/trabajos manuales_2.png b/_Pictogramas/trabajos manuales_2.png
new file mode 100644
index 0000000..06c5020
Binary files /dev/null and b/_Pictogramas/trabajos manuales_2.png differ
diff --git "a/_Pictogramas/t\303\255teres.png" "b/_Pictogramas/t\303\255teres.png"
new file mode 100644
index 0000000..7bd5492
Binary files /dev/null and "b/_Pictogramas/t\303\255teres.png" differ
diff --git a/_Pictogramas/ver la tele_3.png b/_Pictogramas/ver la tele_3.png
new file mode 100644
index 0000000..a362403
Binary files /dev/null and b/_Pictogramas/ver la tele_3.png differ
diff --git a/_Pictogramas/ver la tele_4.png b/_Pictogramas/ver la tele_4.png
new file mode 100644
index 0000000..c0a389b
Binary files /dev/null and b/_Pictogramas/ver la tele_4.png differ
diff --git a/_Pictogramas/ver la tele_5.png b/_Pictogramas/ver la tele_5.png
new file mode 100644
index 0000000..49af9e2
Binary files /dev/null and b/_Pictogramas/ver la tele_5.png differ
diff --git a/_Pictogramas/ver la tele_6.png b/_Pictogramas/ver la tele_6.png
new file mode 100644
index 0000000..5ac14ca
Binary files /dev/null and b/_Pictogramas/ver la tele_6.png differ
diff --git a/_Pictogramas/ver la tele_7.png b/_Pictogramas/ver la tele_7.png
new file mode 100644
index 0000000..e505945
Binary files /dev/null and b/_Pictogramas/ver la tele_7.png differ
diff --git a/_Pictogramas/vestirse.png b/_Pictogramas/vestirse.png
new file mode 100644
index 0000000..82a269e
Binary files /dev/null and b/_Pictogramas/vestirse.png differ
diff --git a/_Pictogramas/vestirse_1.png b/_Pictogramas/vestirse_1.png
new file mode 100644
index 0000000..ccd1554
Binary files /dev/null and b/_Pictogramas/vestirse_1.png differ
diff --git a/_Pictogramas/videojuego.png b/_Pictogramas/videojuego.png
new file mode 100644
index 0000000..f05ae62
Binary files /dev/null and b/_Pictogramas/videojuego.png differ
diff --git a/_Pictogramas/videojuego_1.png b/_Pictogramas/videojuego_1.png
new file mode 100644
index 0000000..f77fc35
Binary files /dev/null and b/_Pictogramas/videojuego_1.png differ
diff --git a/_Pictogramas/zoo.png b/_Pictogramas/zoo.png
new file mode 100644
index 0000000..67db412
Binary files /dev/null and b/_Pictogramas/zoo.png differ
diff --git a/pictorario.b4a b/pictorario.b4a
index 0e85714..8f2dcda 100644
--- a/pictorario.b4a
+++ b/pictorario.b4a
@@ -1,492 +1,58 @@
Build1=Default,javi.prieto.pictorario
-File1=AcercaDe.bal
-File10=clase_4.png
-File100=hacer caca_1.png
-File101=hacer caca_2.png
-File102=hacer caca_3.png
-File103=hacer caca_4.png
-File104=hacer la cama.png
-File105=hacer la cama_1.png
-File106=hacer pis.png
-File107=hacer pis_1.png
-File108=hamburguesa y patatas fritas.png
-File109=hamburguesa.png
-File11=clase_5.png
-File110=hospital.png
-File111=hospital_1.png
-File112=instrumentos.png
-File113=juego de mesa.png
-File114=juego de mesa_1.png
-File115=juego de palmas.png
-File116=jugar a la videoconsola.png
-File117=jugar al corro.png
-File118=jugar al corro_1.png
-File119=jugar al fu@tbol.png
-File12=clase_6.png
-File120=jugar al fu@tbol_1.png
-File121=jugar al fu@tbol_2.png
-File122=jugar con el tablet.png
-File123=jugar.png
-File124=jugar_1.png
-File125=jugar_2.png
-File126=jugar_3.png
-File127=juguete.png
-File128=lavar el pelo.png
-File129=lavar el pelo_1.png
-File13=clase_7.png
-File130=lavar el pelo_2.png
-File131=lavar la cara.png
-File132=lavar la cara_1.png
-File133=lavar la cara_2.png
-File134=lavar la ropa.png
-File135=lavar las manos.png
-File136=lavar las manos_1.png
-File137=lavar los dientes.png
-File138=lavar los dientes_1.png
-File139=lavar los dientes_2.png
-File14=clase_8.png
-File140=levantarse de la cama.png
-File141=levantarse de la cama_1.png
-File142=logotipo.png
-File143=me@dico.png
-File144=me@dico_1.png
-File145=medicarse_2.png
-File146=medicarse_3.png
-File147=medicarse_4.png
-File148=medicina.png
-File149=medicina_1.png
-File15=clase_9.png
-File150=merendar.png
-File151=merendar_1.png
-File152=merendar_2.png
-File153=mo@vil.png
-File154=montar en bici.png
-File155=montar en bici_1.png
-File156=muffin.png
-File157=muffin_1.png
-File158=museo.png
-File159=museo_1.png
-File16=coche.png
-File160=noche.png
-File161=noche_1.png
-File162=parchi@s.png
-File163=parque tema@tico.png
-File164=parque.png
-File165=pasear al perro.png
-File166=pasear al perro_1.png
-File167=pasear al perro_2.png
-File168=pasear en bicicleta.png
-File169=pasear en bicicleta_1.png
-File17=coche_1.png
-File170=pasear_3.png
-File171=pasear_5.png
-File172=pasear_6.png
-File173=pastel.png
-File174=patines de hielo.png
-File175=patines_2.png
-File176=patines_3.png
-File177=patinete.png
-File178=pediatra.png
-File179=pediatra_1.png
-File18=colegio.png
-File180=pediatra_2.png
-File181=pegamento.png
-File182=peli@cula.png
-File183=pelota de fu@tbol.png
-File184=pelota.png
-File185=peluche.png
-File186=picnic.png
-File187=picnic_1.png
-File188=pictogramas.png
-File189=pintar.png
-File19=colegio_1.png
-File190=pintar_1.png
-File191=pintar_5.png
-File192=pintar_7.png
-File193=pinturas de cera.png
-File194=pinturas de colores.png
-File195=pinturas de colores_1.png
-File196=piscina cubierta.png
-File197=piscina de bolas.png
-File198=piscina.png
-File199=piso.png
-File2=ban_arse.png
-File20=comer.png
-File200=pizza.png
-File201=ponerse ropa_1.png
-File202=ponerse ropa_2.png
-File203=Portada.bal
-File204=potito.png
-File205=pregunta.png
-File206=pueblo.png
-File207=rayuela.png
-File208=reloj_6.png
-File209=restaurante.png
-File21=comer_1.png
-File210=restaurante_1.png
-File211=restaurante_2.png
-File212=restaurante_3.png
-File213=saltar a la comba.png
-File214=saltar a la comba_1.png
-File215=saltar a la comba_2.png
-File216=secarse.png
-File217=secarse_1.png
-File218=secarse_2.png
-File219=siesta.png
-File22=comida.png
-File220=siesta_1.png
-File221=tele.png
-File222=tele_1.png
-File223=ti@teres.png
-File224=tijeras escolares.png
-File225=tijeras.png
-File226=toboga@n.png
-File227=toboga@n_1.png
-File228=tomar el sol.png
-File229=tomar el sol_1.png
-File23=comprar.png
-File230=tomar el sol_2.png
-File231=trabajar_en_el_ordenador.png
-File232=trabajos manuales_1.png
-File233=trabajos manuales_2.png
-File234=ver la tele_3.png
-File235=ver la tele_4.png
-File236=ver la tele_5.png
-File237=ver la tele_6.png
-File238=ver la tele_7.png
-File239=vestirse.png
-File24=comprar_2.png
-File240=vestirse_1.png
-File241=videojuego.png
-File242=videojuego_1.png
-File243=VisualizarSecuencia.bal
-File244=zoo.png
-File25=comprar_3.png
-File26=computador.png
-File27=computador_1.png
-File28=computador_2.png
-File29=conductor.png
-File3=cenar_2.png
-File30=conductor_1.png
-File31=conductora.png
-File32=ConfigurarSecuencia.bal
-File33=correr.png
-File34=correr_1.png
-File35=correr_2.png
-File36=cortar el cesped.png
-File37=cortar el cesped_1.png
-File38=corte de pelo.png
-File39=corte de pelo_1.png
-File4=cepillar los dientes.png
-File40=corte de pelo_2.png
-File41=cumplean_os.png
-File42=cumplean_os_10.png
-File43=cumplean_os_11.png
-File44=cumplean_os_3.png
-File45=cumplean_os_5.png
-File46=cumplean_os_8.png
-File47=desayunar.png
-File48=desayunar_1.png
-File49=desayunar_2.png
-File5=cepillar los dientes_1.png
-File50=desayuno.png
-File51=desnudarse_1.png
-File52=desnudarse_2.png
-File53=desnudarse_3.png
-File54=desnudarse_4.png
-File55=despertar.png
-File56=despertar_1.png
-File57=despertar_2.png
-File58=dibujos animados.png
-File59=discoteca.png
-File6=clase.png
-File60=domicilio.png
-File61=domicilio_1.png
-File62=donut.png
-File63=dormir_1.png
-File64=dormir_2.png
-File65=dormir_3.png
-File66=duchar.png
-File67=duchar_1.png
-File68=duchar_2.png
-File69=engranaje.png
-File7=clase_1.png
-File70=equitacio@n.png
-File71=equitacio@n_1.png
-File72=equitacio@n_2.png
-File73=escuchar mu@sica.png
-File74=esqui@.png
-File75=esqui@_1.png
-File76=estudiar.png
-File77=estudiar_1.png
-File78=excursin.png
-File79=excursio@n_1.png
-File8=clase_2.png
-File80=excursio@n_2.png
-File81=excursionista.png
-File82=fiesta.png
-File83=fiesta_1.png
-File84=fiesta_2.png
-File85=fiesta_3.png
-File86=fotografi@a.png
-File87=fotografiar.png
-File88=fotografiar_1.png
-File89=fregar.png
-File9=clase_3.png
-File90=fregar_1.png
-File91=fregar_2.png
-File92=gimnasia.png
-File93=gimnasia_19.png
-File94=gimnasia_2.png
-File95=gimnasia_21.png
-File96=gimnasio.png
-File97=gimnasio_1.png
-File98=GreatVibes-Regular.ttf
-File99=hacer caca.png
-FileGroup1=Default Group
-FileGroup10=Default Group\Pictogramas
-FileGroup100=Default Group\Pictogramas
-FileGroup101=Default Group\Pictogramas
-FileGroup102=Default Group\Pictogramas
-FileGroup103=Default Group\Pictogramas
-FileGroup104=Default Group\Pictogramas
-FileGroup105=Default Group\Pictogramas
-FileGroup106=Default Group\Pictogramas
-FileGroup107=Default Group\Pictogramas
-FileGroup108=Default Group\Pictogramas
-FileGroup109=Default Group\Pictogramas
-FileGroup11=Default Group\Pictogramas
-FileGroup110=Default Group\Pictogramas
-FileGroup111=Default Group\Pictogramas
-FileGroup112=Default Group\Pictogramas
-FileGroup113=Default Group\Pictogramas
-FileGroup114=Default Group\Pictogramas
-FileGroup115=Default Group\Pictogramas
-FileGroup116=Default Group\Pictogramas
-FileGroup117=Default Group\Pictogramas
-FileGroup118=Default Group\Pictogramas
-FileGroup119=Default Group\Pictogramas
-FileGroup12=Default Group\Pictogramas
-FileGroup120=Default Group\Pictogramas
-FileGroup121=Default Group\Pictogramas
-FileGroup122=Default Group\Pictogramas
-FileGroup123=Default Group\Pictogramas
-FileGroup124=Default Group\Pictogramas
-FileGroup125=Default Group\Pictogramas
-FileGroup126=Default Group\Pictogramas
-FileGroup127=Default Group\Pictogramas
-FileGroup128=Default Group\Pictogramas
-FileGroup129=Default Group\Pictogramas
-FileGroup13=Default Group\Pictogramas
-FileGroup130=Default Group\Pictogramas
-FileGroup131=Default Group\Pictogramas
-FileGroup132=Default Group\Pictogramas
-FileGroup133=Default Group\Pictogramas
-FileGroup134=Default Group\Pictogramas
-FileGroup135=Default Group\Pictogramas
-FileGroup136=Default Group\Pictogramas
-FileGroup137=Default Group\Pictogramas
-FileGroup138=Default Group\Pictogramas
-FileGroup139=Default Group\Pictogramas
-FileGroup14=Default Group\Pictogramas
-FileGroup140=Default Group\Pictogramas
-FileGroup141=Default Group\Pictogramas
-FileGroup142=Default Group
-FileGroup143=Default Group\Pictogramas
-FileGroup144=Default Group\Pictogramas
-FileGroup145=Default Group\Pictogramas
-FileGroup146=Default Group\Pictogramas
-FileGroup147=Default Group\Pictogramas
-FileGroup148=Default Group\Pictogramas
-FileGroup149=Default Group\Pictogramas
-FileGroup15=Default Group\Pictogramas
-FileGroup150=Default Group\Pictogramas
-FileGroup151=Default Group\Pictogramas
-FileGroup152=Default Group\Pictogramas
-FileGroup153=Default Group\Pictogramas
-FileGroup154=Default Group\Pictogramas
-FileGroup155=Default Group\Pictogramas
-FileGroup156=Default Group\Pictogramas
-FileGroup157=Default Group\Pictogramas
-FileGroup158=Default Group\Pictogramas
-FileGroup159=Default Group\Pictogramas
-FileGroup16=Default Group\Pictogramas
-FileGroup160=Default Group\Pictogramas
-FileGroup161=Default Group\Pictogramas
-FileGroup162=Default Group\Pictogramas
-FileGroup163=Default Group\Pictogramas
-FileGroup164=Default Group\Pictogramas
-FileGroup165=Default Group\Pictogramas
-FileGroup166=Default Group\Pictogramas
-FileGroup167=Default Group\Pictogramas
-FileGroup168=Default Group\Pictogramas
-FileGroup169=Default Group\Pictogramas
-FileGroup17=Default Group\Pictogramas
-FileGroup170=Default Group\Pictogramas
-FileGroup171=Default Group\Pictogramas
-FileGroup172=Default Group\Pictogramas
-FileGroup173=Default Group\Pictogramas
-FileGroup174=Default Group\Pictogramas
-FileGroup175=Default Group\Pictogramas
-FileGroup176=Default Group\Pictogramas
-FileGroup177=Default Group\Pictogramas
-FileGroup178=Default Group\Pictogramas
-FileGroup179=Default Group\Pictogramas
-FileGroup18=Default Group\Pictogramas
-FileGroup180=Default Group\Pictogramas
-FileGroup181=Default Group\Pictogramas
-FileGroup182=Default Group\Pictogramas
-FileGroup183=Default Group\Pictogramas
-FileGroup184=Default Group\Pictogramas
-FileGroup185=Default Group\Pictogramas
-FileGroup186=Default Group\Pictogramas
-FileGroup187=Default Group\Pictogramas
-FileGroup188=Default Group
-FileGroup189=Default Group\Pictogramas
-FileGroup19=Default Group\Pictogramas
-FileGroup190=Default Group\Pictogramas
-FileGroup191=Default Group\Pictogramas
-FileGroup192=Default Group\Pictogramas
-FileGroup193=Default Group\Pictogramas
-FileGroup194=Default Group\Pictogramas
-FileGroup195=Default Group\Pictogramas
-FileGroup196=Default Group\Pictogramas
-FileGroup197=Default Group\Pictogramas
-FileGroup198=Default Group\Pictogramas
-FileGroup199=Default Group\Pictogramas
-FileGroup2=Default Group\Pictogramas
-FileGroup20=Default Group\Pictogramas
-FileGroup200=Default Group\Pictogramas
-FileGroup201=Default Group\Pictogramas
-FileGroup202=Default Group\Pictogramas
-FileGroup203=Default Group
-FileGroup204=Default Group\Pictogramas
-FileGroup205=Default Group\Pictogramas
-FileGroup206=Default Group\Pictogramas
-FileGroup207=Default Group\Pictogramas
-FileGroup208=Default Group\Pictogramas
-FileGroup209=Default Group\Pictogramas
-FileGroup21=Default Group\Pictogramas
-FileGroup210=Default Group\Pictogramas
-FileGroup211=Default Group\Pictogramas
-FileGroup212=Default Group\Pictogramas
-FileGroup213=Default Group\Pictogramas
-FileGroup214=Default Group\Pictogramas
-FileGroup215=Default Group\Pictogramas
-FileGroup216=Default Group\Pictogramas
-FileGroup217=Default Group\Pictogramas
-FileGroup218=Default Group\Pictogramas
-FileGroup219=Default Group\Pictogramas
-FileGroup22=Default Group\Pictogramas
-FileGroup220=Default Group\Pictogramas
-FileGroup221=Default Group\Pictogramas
-FileGroup222=Default Group\Pictogramas
-FileGroup223=Default Group\Pictogramas
-FileGroup224=Default Group\Pictogramas
-FileGroup225=Default Group\Pictogramas
-FileGroup226=Default Group\Pictogramas
-FileGroup227=Default Group\Pictogramas
-FileGroup228=Default Group\Pictogramas
-FileGroup229=Default Group\Pictogramas
-FileGroup23=Default Group\Pictogramas
-FileGroup230=Default Group\Pictogramas
-FileGroup231=Default Group
-FileGroup232=Default Group\Pictogramas
-FileGroup233=Default Group\Pictogramas
-FileGroup234=Default Group\Pictogramas
-FileGroup235=Default Group\Pictogramas
-FileGroup236=Default Group\Pictogramas
-FileGroup237=Default Group\Pictogramas
-FileGroup238=Default Group\Pictogramas
-FileGroup239=Default Group\Pictogramas
-FileGroup24=Default Group\Pictogramas
-FileGroup240=Default Group\Pictogramas
-FileGroup241=Default Group\Pictogramas
-FileGroup242=Default Group\Pictogramas
-FileGroup243=Default Group
-FileGroup244=Default Group\Pictogramas
-FileGroup25=Default Group\Pictogramas
-FileGroup26=Default Group\Pictogramas
-FileGroup27=Default Group\Pictogramas
-FileGroup28=Default Group\Pictogramas
-FileGroup29=Default Group\Pictogramas
-FileGroup3=Default Group\Pictogramas
-FileGroup30=Default Group\Pictogramas
-FileGroup31=Default Group\Pictogramas
-FileGroup32=Default Group
-FileGroup33=Default Group\Pictogramas
-FileGroup34=Default Group\Pictogramas
-FileGroup35=Default Group\Pictogramas
-FileGroup36=Default Group\Pictogramas
-FileGroup37=Default Group\Pictogramas
-FileGroup38=Default Group\Pictogramas
-FileGroup39=Default Group\Pictogramas
-FileGroup4=Default Group\Pictogramas
-FileGroup40=Default Group\Pictogramas
-FileGroup41=Default Group\Pictogramas
-FileGroup42=Default Group\Pictogramas
-FileGroup43=Default Group\Pictogramas
-FileGroup44=Default Group\Pictogramas
-FileGroup45=Default Group\Pictogramas
-FileGroup46=Default Group\Pictogramas
-FileGroup47=Default Group\Pictogramas
-FileGroup48=Default Group\Pictogramas
-FileGroup49=Default Group\Pictogramas
-FileGroup5=Default Group\Pictogramas
-FileGroup50=Default Group\Pictogramas
-FileGroup51=Default Group\Pictogramas
-FileGroup52=Default Group\Pictogramas
-FileGroup53=Default Group\Pictogramas
-FileGroup54=Default Group\Pictogramas
-FileGroup55=Default Group\Pictogramas
-FileGroup56=Default Group\Pictogramas
-FileGroup57=Default Group\Pictogramas
-FileGroup58=Default Group\Pictogramas
-FileGroup59=Default Group\Pictogramas
-FileGroup6=Default Group\Pictogramas
-FileGroup60=Default Group\Pictogramas
-FileGroup61=Default Group\Pictogramas
-FileGroup62=Default Group\Pictogramas
-FileGroup63=Default Group\Pictogramas
-FileGroup64=Default Group\Pictogramas
-FileGroup65=Default Group\Pictogramas
-FileGroup66=Default Group\Pictogramas
-FileGroup67=Default Group\Pictogramas
-FileGroup68=Default Group\Pictogramas
-FileGroup69=Default Group
-FileGroup7=Default Group\Pictogramas
-FileGroup70=Default Group\Pictogramas
-FileGroup71=Default Group\Pictogramas
-FileGroup72=Default Group\Pictogramas
-FileGroup73=Default Group\Pictogramas
-FileGroup74=Default Group\Pictogramas
-FileGroup75=Default Group\Pictogramas
-FileGroup76=Default Group\Pictogramas
-FileGroup77=Default Group\Pictogramas
-FileGroup78=Default Group\Pictogramas
-FileGroup79=Default Group\Pictogramas
-FileGroup8=Default Group\Pictogramas
-FileGroup80=Default Group\Pictogramas
-FileGroup81=Default Group\Pictogramas
-FileGroup82=Default Group\Pictogramas
-FileGroup83=Default Group\Pictogramas
-FileGroup84=Default Group\Pictogramas
-FileGroup85=Default Group\Pictogramas
-FileGroup86=Default Group\Pictogramas
-FileGroup87=Default Group\Pictogramas
-FileGroup88=Default Group\Pictogramas
-FileGroup89=Default Group\Pictogramas
-FileGroup9=Default Group\Pictogramas
-FileGroup90=Default Group\Pictogramas
-FileGroup91=Default Group\Pictogramas
-FileGroup92=Default Group\Pictogramas
-FileGroup93=Default Group\Pictogramas
-FileGroup94=Default Group\Pictogramas
-FileGroup95=Default Group\Pictogramas
-FileGroup96=Default Group\Pictogramas
-FileGroup97=Default Group\Pictogramas
-FileGroup98=Default Group
-FileGroup99=Default Group\Pictogramas
+File1=2271.png
+File10=32556.png
+File11=7229.png
+File12=9813.png
+File13=AcercaDe.bal
+File14=buscar.png
+File15=ConfigurarSecuencia.bal
+File16=dia.png
+File17=engranaje.png
+File18=fila.png
+File19=GreatVibes-Regular.ttf
+File2=2369.png
+File20=logotipo.png
+File21=manana.png
+File22=pictogramas.png
+File23=Portada.bal
+File24=SeleccionarPictograma.bal
+File25=tarde.png
+File26=trabajar_en_el_ordenador.png
+File27=VisualizarSecuencia.bal
+File3=26799.png
+File4=2781.png
+File5=28206.png
+File6=28667.png
+File7=28675.png
+File8=3082.png
+File9=31857.png
+FileGroup1=PictogramasPorDefecto
+FileGroup10=PictogramasPorDefecto
+FileGroup11=PictogramasPorDefecto
+FileGroup12=PictogramasPorDefecto
+FileGroup13=Default Group
+FileGroup14=Default Group
+FileGroup15=Default Group
+FileGroup16=Default Group
+FileGroup17=Default Group
+FileGroup18=Default Group
+FileGroup19=Default Group
+FileGroup2=PictogramasPorDefecto
+FileGroup20=Default Group
+FileGroup21=Default Group
+FileGroup22=Default Group
+FileGroup23=Default Group
+FileGroup24=Default Group
+FileGroup25=Default Group
+FileGroup26=Default Group
+FileGroup27=Default Group
+FileGroup3=PictogramasPorDefecto
+FileGroup4=PictogramasPorDefecto
+FileGroup5=PictogramasPorDefecto
+FileGroup6=PictogramasPorDefecto
+FileGroup7=PictogramasPorDefecto
+FileGroup8=PictogramasPorDefecto
+FileGroup9=PictogramasPorDefecto
Group=Default Group
IconFile=
Library1=core
@@ -494,20 +60,24 @@ Library2=phone
Library3=keyvaluestore2
Library4=dialogs
Library5=ime
-ManifestCode='This code will be applied to the manifest file during compilation.~\n~'You do not need to modify it in most cases.~\n~'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136~\n~AddManifestText(~\n~~\n~)~\n~SetApplicationAttribute(android:icon, "@drawable/icon")~\n~SetApplicationAttribute(android:label, "$LABEL$")~\n~'End of default text.~\n~~\n~SetApplicationAttribute(android:theme, "@android:style/Theme.Material.Light")~\n~~\n~
-Module1=ConfigurarSecuencia
-Module2=Starter
-Module3=Visualizacion
-Module4=AcercaDe
-NumberOfFiles=244
-NumberOfLibraries=5
-NumberOfModules=4
-Version=8
+Library6=json
+Library7=stringutils
+Library8=okhttputils2
+ManifestCode='This code will be applied to the manifest file during compilation.~\n~'You do not need to modify it in most cases.~\n~'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136~\n~AddManifestText(~\n~~\n~)~\n~SetApplicationAttribute(android:icon, "@drawable/icon")~\n~SetApplicationAttribute(android:label, "$LABEL$")~\n~'End of default text.~\n~~\n~SetApplicationAttribute(android:theme, "@android:style/Theme.Material.Light")~\n~~\n~AddPermission(android.permission.WRITE_EXTERNAL_STORAGE)~\n~
+Module1=Starter
+Module2=Visualizacion
+Module3=ConfigurarSecuencia
+Module4=SeleccionPictogramas
+Module5=AcercaDe
+NumberOfFiles=27
+NumberOfLibraries=8
+NumberOfModules=5
+Version=8.3
@EndOfDesignText@
#Region Project Attributes
#ApplicationLabel: Pictorario
- #VersionCode: 5
- #VersionName: Beta 5
+ #VersionCode: 6
+ #VersionName: Beta 6
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
#End Region
@@ -539,27 +109,40 @@ Sub Globals
Private PanelScroll As ScrollView
Private Pictorario As Label
-
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim resultado As Int
- Dim p As PhoneIntents
+ 'Dim p As PhoneIntents
DibujarPortada
+
+ 'Aviso por el cambio en el archivado de Pictogramas desde la Beta5 a la Beta6 (con el tiempo se podrá quitar)
+ If (Starter.DetectadaVersionAntigua==True) Then
+ resultado=Msgbox2( _
+ "Se han hecho cambios en la aplicación que han podido afectar a las secuencias ya creadas."&CRLF&CRLF& _
+ "Se recomienda comenzar con una configuración limpia."&CRLF&CRLF& _
+ "Disculpe las molestias." _
+ ,"Actualización de datos","Reestablecer configuración (RECOMENDADO)","","Importar datos anteriores",Null)
+ If resultado==DialogResponse.POSITIVE Then
+ CallSub(Starter,"Inicializar_Con_Ejemplo")
+ CallSub(Starter,"BorrarPictogramas")
+ CallSub(Starter,"Guardar_Configuracion")
+ End If
+ End If
'Si se ha actualizado la versión, muestra las novedades y guarda el cambio de versión
If (Starter.VersionInstalada<>-1 And Starter.VersionInstalada<>Application.VersionCode) Then
Msgbox2("Novedades de la versión "&Application.VersionName&":"&CRLF&CRLF&Starter.CambiosVersion,"APLICACIÓN ACTUALIZADA","Continuar","","",Null)
Starter.VersionInstalada=Application.VersionCode
CallSub(Starter,"Guardar_Configuracion")
- Else 'Si no, muestra el aviso estándar, solo en el primer arranque
- If FirstTime==True Then
- resultado=Msgbox2("Pictorario es una aplicación en fase de pruebas, y por tanto puede haber errores y funciones sin desarrollar."&CRLF&CRLF&"Visita la web del proyecto para ver un vídeo de introducción y para saber cómo ponerte en contacto con el autor."&CRLF&CRLF&"Se agradece cualquier aportación."&CRLF&CRLF&"¡Gracias!","Beta pública de Pictorario","Web del proyecto","","Continuar",Null)
- If resultado==DialogResponse.POSITIVE Then
- StartActivity(p.OpenBrowser("http://blog.ganso.org/proyectos/pictorario"))
- End If
- End If
+' Else 'Si no, muestra el aviso estándar, solo en el primer arranque
+' If FirstTime==True Then
+' resultado=Msgbox2("Pictorario es una aplicación en fase de pruebas, y por tanto puede haber errores y funciones sin desarrollar."&CRLF&CRLF&"Visita la web del proyecto para ver un vídeo de introducción y para saber cómo ponerte en contacto con el autor."&CRLF&CRLF&"Se agradece cualquier aportación."&CRLF&CRLF&"¡Gracias!","Beta pública de Pictorario","Web del proyecto","","Continuar",Null)
+' If resultado==DialogResponse.POSITIVE Then
+' StartActivity(p.OpenBrowser("http://blog.ganso.org/proyectos/pictorario"))
+' End If
+' End If
End If
End Sub
@@ -574,7 +157,7 @@ Sub DibujarPortada
PictogramaSecuencia(Act).Initialize("BotonPictograma")
PictogramaSecuencia(Act).Tag=Act
PictogramaSecuencia(Act).Color=Colors.Transparent
- PictogramaSecuencia(Act).SetBackgroundImage(LoadBitmap(File.DirAssets,Starter.Secuencia(Act).pictograma&".png"))
+ PictogramaSecuencia(Act).SetBackgroundImage(LoadBitmap(Starter.DirPictogramas,Starter.Secuencia(Act).pictograma&".png"))
PanelScroll.Panel.AddView(PictogramaSecuencia(Act),10dip,10dip+90dip*Act,80dip,80dip)
EtiquetaSecuencia(Act).Initialize("TextoSecuencia")
@@ -628,7 +211,7 @@ Sub BotonEditar_click
BotonPulsado=Sender
Starter.SecuenciaActiva=BotonPulsado.Tag
- Opciones.Initialize2(Array As String("Editar secuencia","Borrar secuencia","CANCELAR"))
+ Opciones.Initialize2(Array As String("Editar secuencia","Borrar secuencia","Duplicar secuencia","CANCELAR"))
resultado=InputList(Opciones,"Acción",-1)
Select resultado
Case 0
@@ -644,6 +227,18 @@ Sub BotonEditar_click
CallSub(Starter,"Guardar_Configuracion")
DibujarPortada
End If
+ Case 2
+ If Starter.NumSecuencias==Starter.MaxSecuencias Then
+ Msgbox("No es posible: Se ha alcanzado el máximo de secuencias soportadas por la aplicación.","Error al duplicar secuencia")
+ Else
+ 'Creamos una secuencia igual al final, añadiendo "(copia)" a la descripción
+ CallSub3(Starter,"CopiarSecuencias",Starter.SecuenciaActiva,Starter.NumSecuencias)
+ Starter.Secuencia(Starter.NumSecuencias).Descripcion=Starter.Secuencia(Starter.NumSecuencias).Descripcion&" (copia)"
+ 'Aumenta en uno el total, guarda el resultado, y recarga la portada
+ Starter.NumSecuencias=Starter.NumSecuencias+1
+ CallSub(Starter,"Guardar_Configuracion")
+ DibujarPortada
+ End If
End Select
End Sub
@@ -669,7 +264,6 @@ Sub Activity_Pause (UserClosed As Boolean)
End Sub
-
Sub VerSecuencias_Click
Starter.SecuenciaActiva=1
StartActivity(Visualizacion)
@@ -686,4 +280,11 @@ End Sub
Sub BotonSalir_Click
Activity.Finish
+End Sub
+
+
+Sub Activity_KeyPress (KeyCode As Int)
+ If KeyCode = KeyCodes.KEYCODE_BACK Then 'Al pulsar atrás...
+ Sleep(0) 'No hace nada
+ End If
End Sub
\ No newline at end of file
diff --git a/pictorario.b4a.meta b/pictorario.b4a.meta
index 1b02a61..fada871 100644
--- a/pictorario.b4a.meta
+++ b/pictorario.b4a.meta
@@ -1,17 +1,20 @@
ModuleBookmarks0=
-ModuleBookmarks1=94
+ModuleBookmarks1=96
ModuleBookmarks2=
ModuleBookmarks3=
ModuleBookmarks4=
+ModuleBookmarks5=
ModuleBreakpoints0=
ModuleBreakpoints1=
ModuleBreakpoints2=
ModuleBreakpoints3=
ModuleBreakpoints4=
+ModuleBreakpoints5=
ModuleClosedNodes0=
ModuleClosedNodes1=
ModuleClosedNodes2=
ModuleClosedNodes3=
ModuleClosedNodes4=
+ModuleClosedNodes5=
SelectedBuild=0
-VisibleModules=1,2,3
+VisibleModules=1,2,3,4,5