Hi i have a form button in the form,which i need to perform basic action performed by the back button in the android emulator. I know the key even is KeyEvent.KEYCODE_BACK
how to assign this to my button. thanks in advance.
Hi i have a form button in the form,which i need to perform basic action performed by the back button in the android emulator. I know the key even is KeyEvent.KEYCODE_BACK
how to assign this to my button. thanks in advance.
The question isn't totally clear, but you probably just want to call finish()
when your Button
is clicked.
i found the solution to it. call the fuction moveTaskToBack(true); to get back to previois task.