I have this code:
This works excellent in debug mode, but when i compile as release mode it exits application because of this code:
StartActivity(TV)
I have Main Activity and TV Activity...in Main Activity i have Sub tmrCheck_Tick that Starts Anothet Activity TV...how i need to declare or what i have done wrong...in debug mode start activity TV in release exits application.
I can't figure out why.
B4X:
'CHECK - tmrCheck
Sub tmrCheck_Tick
'CHECK - LoadChannels
If (Authorisation(2).Length > 0) Then
'SHOW - TV
StartActivity(TV)
End If
'CHECK - ReadyTV
If (TV.ReadyTV = True) Then
'STOP - tmrCheck
tmrCheck.Enabled = False
'HIDE - BootScreen
HideBootScreen
End If
End Sub
This works excellent in debug mode, but when i compile as release mode it exits application because of this code:
StartActivity(TV)
I have Main Activity and TV Activity...in Main Activity i have Sub tmrCheck_Tick that Starts Anothet Activity TV...how i need to declare or what i have done wrong...in debug mode start activity TV in release exits application.
I can't figure out why.