Hi all,
Identifying a back button pressed event is veru simple. But I want to do it in different way.
Say my application is installed on a device. Currently user is doing some stuff in Alarm Clock. But now when I press back button or any other button it should no back to the home screen or anywhere but it should open my application. WidgetLocker is the application which is doing the same thing. It uses power button to perform the task. Whenever you press power button from anywhere in the phone it throws to its own customized lock screen.
I want to perform the similar task using some buttons. Can anyone guide me?
Identifying a back button pressed event is veru simple. But I want to do it in different way.
Say my application is installed on a device. Currently user is doing some stuff in Alarm Clock. But now when I press back button or any other button it should no back to the home screen or anywhere but it should open my application. WidgetLocker is the application which is doing the same thing. It uses power button to perform the task. Whenever you press power button from anywhere in the phone it throws to its own customized lock screen.
I want to perform the similar task using some buttons. Can anyone guide me?