In my opinion its not a good idea to supress call key behavior. I am
surprised you are able to do that in the first place.
>From the user's perspective, if he is pressing the call key, he really
wants to make a call, so I guess your app should not control that.
You could however, show a warning message on the top of your Activity
screen about the editing being critical and handle it
gracefully if it is not finished.

On Oct 8, 6:46 am, Raman <[email protected]> wrote:
> Hi All,
>
> I am writing an activity where the user is supposed to some editing
> and is critical.
> In this activity, I dont want pressing of Call key to make it go to
> Call Log so I handle onKeyDown call back and there if the key pressed
> is Call, I just return true. That solves my problem.
> But, if Options menu is opened and then I press Call button, I am not
> getting control in onKeyDown.
>
> Anyone, please suggest some way to supress use of Call key when in
> this Activity.
>
> Thanks.
> -Raman
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to