Page 1 of 1

Mobile Phonegap, Shortcut Key Not Working

Posted: Tue Aug 25, 2015 1:12 pm
by negley
On mobile using phonegap, the shortcut key "Enter" does nothing. Any idea why this would be happening?

-Bill

Re: Mobile Phonegap, Shortcut Key Not Working

Posted: Tue Aug 25, 2015 5:49 pm
by Antonio
Bill,

So you have a button with the shortcut key property set as "Enter" but it is not being triggered when Enter is pressed on your keypad correct? Is this on Android or iOS? Are you using the standard keyboard for your device or is it a third party keyboard application? There have been some issues we have seen with third party keyboards (physical attachments or software) not triggering the correct events within applications. Reverting back to the default keyboard usually fixes such issues.

Re: Mobile Phonegap, Shortcut Key Not Working

Posted: Tue Aug 25, 2015 5:58 pm
by negley
It is running under android, and i am using a emulator. I have tried it on the target device, but still no luck.

The application is running mostly in offline mode using pui.show to navigate.

-Bill

Re: Mobile Phonegap, Shortcut Key Not Working

Posted: Thu Aug 27, 2015 2:51 pm
by Antonio
Is the target device using any custom keyboard applications or attachments? In the meanwhile I'll try and setup an example of this on our end and see if I also have the same issue.

Re: Mobile Phonegap, Shortcut Key Not Working

Posted: Mon Aug 31, 2015 9:36 am
by negley
Nope, just the standard on screen keyboard/my physical keyboard running the emulator.

A work around was to put keycode events on the input boxes that listen for the enter key. I have it working now, it would of been handy if the shortcut would work though.

Re: Mobile Phonegap, Shortcut Key Not Working

Posted: Mon Aug 31, 2015 5:28 pm
by Antonio
I tried an example on our end, and it seemed to work as expected. Setting the short key "Enter" on a button with a bound field and pressing enter on my android keypad submitted the screen. What version of Profound UI are you on? Perhaps there is a difference in the versions.