Sub Activity_KeyPress (KeyCode As Int) As Boolean 'Return True to consume the event
If KeyCode = KeyCodes.KEYCODE_BACK Then
If pnlResults.Visible = True Then
pnlResults.Visible = False
Return True
End If
End If
'We got here because only the main panel was
'visible and the user hit backspace
'There then follows some more code here to show an interstitial
'ad on user requested exit
End Sub