Hi,
I have two activities which the user will switch between, a web browser and a file browser. I want to try and avoid completely re-loading these activities each time the user switches, as that could be quite costly on time, bandwidth etc., so I don't force each one to finish in its Activity_Pause routine.
The problem I have is that if the user has used both activities and opts to close down the app from the Main activity (the file browser), then it doesn't cleanly close the web browser. I've tried using ExitApplication but that doesn't work cleanly, and the problem is very difficult to debug because the behaviour in debug mode is different to release mode.
Is there any way to force the browser activity to close from the Main activity? If there was an EndActivity() similar to StartActivity() that would work. I have tried a CallSub() to a routine in the browser which in turn calls Activity.Finish, but that doesn't seem to work.
Any ideas?
Thanks
Andrew