Italian B4A disabilitare pulsante indietro

Aldo's

Active Member
Licensed User
Ho una domanda strana: si può disabilitare il tasto "back" del dispositivo all'interno di un app per evitare che torni al layout/modulo precedente?
Grazie a tutti
 

Star-Dust

Expert
Licensed User
Longtime User
Si
 

Star-Dust

Expert
Licensed User
Longtime User
B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean 'Return True to consume the event
    If KeyCode=KeyCodes.KEYCODE_BACK Then
     
    End If
    Return True
End Sub
 
Top