I am developing Windows Phone 8 PhoneGap app. When the onscreen keyboard is present, if we click the hardware back key, it closes the onscreen keyboard. But at that time no event is getting fired including BackKeyPress event. May I know how to capture the Hardware BackKey click event when onscreen keyboard is present?
how to capture the Hardware BackKey click event when onscreen keyboard is present
364 views Asked by AudioBubble At
2
If i am right you want to catch the event fired when user presses back key on the phone, then you can override the event for the same
If you press the key When the on screen keyboard is present the default behavior is to close the keyboard, you can only catch this event once the keyboard is closed.
If you want to detect the closing of the keyboard you can use the LostFocus event of the textbox or any other similar control that you might be using. hope this helps!