schimanski Well-Known Member Licensed User Longtime User Aug 9, 2011 #1 I get an IllegalStateException in the Activity_Resume sub in the line B4X: If Timer1.enabled=false then timer1.enabled=true The error exsist only when I changed the screen-orientation before. I can't find the reason for that.... Thanks for help...
I get an IllegalStateException in the Activity_Resume sub in the line B4X: If Timer1.enabled=false then timer1.enabled=true The error exsist only when I changed the screen-orientation before. I can't find the reason for that.... Thanks for help...
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2011 #2 Have you declared the timer as a process global variable? Upvote 0
schimanski Well-Known Member Licensed User Longtime User Sep 7, 2011 #3 Yes, is it not possible to do that? I had no problems until yet... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 8, 2011 #4 It should be declared as a process global variable. Can you post the complete stack trace from the logs? Upvote 0
It should be declared as a process global variable. Can you post the complete stack trace from the logs?