Android Question Error message meaning

IslamQabel

Active Member
Licensed User
Longtime User
Could someone explain the following error message when i run the an app in my mobile phone

"An error has occurred in sub:
java.lang.IllegalStateException: interval must be larger than 0"

Continue?
yes NO


Noting that:
the app uses bluetooth connection with bluetooth module, when the app finished searching and connecting successfully with the module. it appears immediately after "connected successfully" toast message. So i had two choices:

choice#1:when choosing continue...the message disappeared and the app continues working good without any problems.
choice#2:when choosing not to continue...the app is closed...then i opened app again and then searching again and connected successfully with bluetooth device but this time that message did not appeared !!!???
 
Hi..No error messages appears during compiling the code , however here is a part of my code:

Code:
Sub Globals
  
    ''''''''''''''''''''''''''''''''''''''''''
    Private Timer1 As Timer
    '''''''''''''''''''''''''''''''''''''''''''''''
    Private Label2 As Label
    Private Label3 As Label
    Private Label4 As Label
   
    Private pgb1 As ProgressBar
   
End Sub

and ...

Code:
sub Activity_create(FirstTime As Boolean)
If FirstTime Then
        admin.Initialize("admin")
        serial1.Initialize("serial1")
        Timer1.Initialize("Timer1",200)
     
    '*************************************************************************************************
   
   
    End If
end sub

and use Timer1_Tick event subroutines

what do you think?
 
Upvote 0
Back
Top