Put a Log statement in the pause and you will see that it is executing. Msgboxes, because they are modal and so halt the code execution in the Sub, cannot be displayed in Activity_Pause. There is explicit code in Basic4android to disallow this. Dialogs and a debugger break are also not allowed because they use the same underlying mechanism to achieve modality.