What happens when the application doesn't do what it supposed to do?
The code that gave strange beheavor
' Configuramos los botones
If iIndexPartes = -1 Then
pConfigurarBotones(btnNuevoParte, btnGrabParte, btnSigParte, BTN_EST_GBR)
Else
If iIndexPartes = lsPartes.Size-1 Then
pConfigurarBotones(btnNuevoParte, btnGrabParte, btnSigParte, BTN_EST_NUE)
Else
pConfigurarBotones(btnNuevoParte, btnGrabParte, btnSigParte, BTN_EST_SIG)
End If
End If
If I use F8, line 7 (pConfigurarBotones(btnNuevoParte, btnGrabParte, btnSigParte, BTN_EST_SIG)) is executed.
If I run the program without breakpoint, line 7 (in same case) doesn't execute.
Like I said it's a no persistant problem. I discover it yesterday at home. I cleaned my project and solved it. I did the zip. Today, come to my office, unzip, compile and install in other device, and suddenly comes again. In this case clean the project didn't worked. I unistall the aplication, reboot the device, reinstall it, and it works again.
Obviously i'm doing something wrong. I don't know...
I don't know this can help you: sometimes, when I unistall the aplication and install it again (becuase i made changes), the connection seems to be established, but in the device appear a toastmessage "Error on Intent....". Stop, make the bridge again, and it works.
Thanks, and sorry again for my English