This just close the current page.
exactly i need something like Activity.Finish inside B4XMainPage to finish activity and close the app
I have just single page which is B4XMainPage
when i used B4XPages.ClosePage(Me) then my app ui will be disappear but the rest of the code I wrote below this code is still running in background
This is the expected and desired behavior. If you want to stop doing something while the app is in the background then handle the B4XPage_Background event.
This is the expected and desired behavior. If you want to stop doing something while the app is in the background then handle the B4XPage_Background event.
I still did not notice
I want the app to be closed so that the main activity can be run from the beginning in the next run and from Activity_Create
These things you say do not close the app
I want to stop my main activity not just pages
I went back to the time before b4xpages
Thank you God for the backup?
I think for me, who still can not close an activity, it will be too early to switch to b4xpages
Thank you for the time you spent