I'm having a problem showing my menu.
Strange is that it's showing just fine in debug but not in the release.
If i keep pressing my menu button (hardware button) sometimes it will show up, only to disappear almost immediatly.
B4X:
Public Sub activity_keypress (keycode As Int) As Boolean
If keycode = KeyCodes.KEYCODE_MENU Then
CallSubDelayed(Me, "Settings")
End If
End Sub
Public Sub Settings
Activity.OpenMenu
End Sub
Public Sub Settings_click
Select Sender
Case "Afsluiten"
Activity.Finish
ExitApplication
Case "Encrypties"
StartActivity(Encryption)
End Select
End Sub