1
I would like to know how I do to detect in an application that user clicked on the device’s native "Back" button. 'Cause I need to take action if that happens.
1
I would like to know how I do to detect in an application that user clicked on the device’s native "Back" button. 'Cause I need to take action if that happens.
4
By the method:
@Override
public void onBackPressed() {
//aqui você controla o voltar fisico do aparelho
}
Browser other questions tagged android
You are not signed in. Login or sign up in order to post.
Ah ok Leonardo. Thank you very much.
– Gabriel Souza