[android-developers] Re: Overriding Back Button Action in Activity

2010-11-04 Thread kernelpanic
http://developer.android.com/reference/android/app/Activity.html#onBackPressed() ? On Nov 4, 2:33 am, "tanmay@gmail.com" wrote: > Thanks for the suggestions. > But no result > Waiting for  a logic to implement it. -- You received this message because you are subscribed to the Google Group

[android-developers] Re: Overriding Back Button Action in Activity

2010-11-04 Thread tanmay....@gmail.com
Thanks for the suggestions. But no result Waiting for a logic to implement it. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send em

Re: [android-developers] Re: Overriding Back Button Action in Activity

2010-11-03 Thread Dianne Hackborn
There is more to this story than we know yet. The standard IME receives key events from the application *before* they get dispatched through the normal facility. You won't see the back key if the IME in onKeyDown()/onKeyUp() if it was actually going to use it to hide itself. There are a number o

Re: [android-developers] Re: Overriding Back Button Action in Activity

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 12:44 AM, tanmay@gmail.com wrote: > What I need to do so that I can know that the keyboard is open close it and > not close the application > See what values you get from super.onKeyUp() when the keyboard is and isn't open. Maybe that will tell you something. -

[android-developers] Re: Overriding Back Button Action in Activity

2010-11-02 Thread tanmay....@gmail.com
Yes. I thought that as I am overriding the the back button it would not effect on my keyboard . but when the keyboard is open and I press back button it is closing application but it is not closing the open keyboard as expected.. What I need to do so that I can know that the keyboard is open close