esteban7361196
Posts: 0
Joined: Tue Feb 03, 2015 5:51 am

device back button event

Hi,

Image

I want to add event after closing the keyboard using backbutton in device, i already tried the backbutton event in Startscreen:
Image

the pop up is not showing when the keyboard is gone.

Thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

device back button event

Hello Esteban,

Unfortunately, back button looks differently
http://www.androidpolice.com/wp-conte...

esteban7361196
Posts: 0
Joined: Tue Feb 03, 2015 5:51 am

device back button event

Hi Evgene,
Sorry im not good in drawing hehe.
so how can i do that? adding event after the device keyboard close?

thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

device back button event

Esteban,

Please let me know if this helps: http://docs.phonegap.com/en/4.0.0/cor...

esteban7361196
Posts: 0
Joined: Tue Feb 03, 2015 5:51 am

device back button event

how can i determine if the Keyboard is hide/close when i tap BACK button in device? after the keyboard hide/close the popup will show up.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

device back button event

Esteban,

[quote:]so how can i do that? adding event after the device keyboard close?[/quote]
You can track only blur events for inputs and textarea, if you add event handler of course.
[quote:]how can i determine if the Keyboard is hide/close when i tap BACK button in device?[/quote]
Keyboard is a native feature of Android OS, you can't catch the event when it is hiding or showing
[quote:]after the keyboard hide/close the popup will show up[/quote]
You can show a popup on focus/blur events for components on the page

Return to “Issues”