Hi,
I have an issue with a B4A Pages app.
I have a Main Menu Page called 'MainMenu'.
The app has different pages viz. 'Pg1' , 'Pg2' etc.
Now suppose I am in page 'Pg1' and if I leave the b4A App 'idle' for sometime, I want the control to go directly to the Main Menu.
for this I have written the following code:
However, my App hangs when I again go the 'Pg1'.
What am I doing wrong ?
Requesting for guidance on the same.
Thanks
I have an issue with a B4A Pages app.
I have a Main Menu Page called 'MainMenu'.
The app has different pages viz. 'Pg1' , 'Pg2' etc.
Now suppose I am in page 'Pg1' and if I leave the b4A App 'idle' for sometime, I want the control to go directly to the Main Menu.
for this I have written the following code:
B4X:
Sub Activity_Pause (UserClosed As Boolean)
Log("B4X Activity Pause event triggered")
B4XPages.Delegate.Activity_Pause
B4XPages.ShowPageAndRemovePreviousPages( "MainPage")
End Sub
However, my App hangs when I again go the 'Pg1'.
What am I doing wrong ?
Requesting for guidance on the same.
Thanks