Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = 4 Then ' the Back key
ProgressDialogHide
Return True 'returns to the Activity instead of closing it.
End If
End Sub
Note, that the Progress Dialog would close upon pressing the back key.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.