06-20-2014 06:27 PM
I'm developing in Cascades 1.2 for a Q10 using momentics
I have been trying to find out how to set the keyboard mode of the blackberry to the "ALT" mode for weeks. It's driving me insane. Im new to blackberry development and it is tough to figure out.
My application is really simple. I load up a Webview to a webpage. The webpage is mainly numeric in nature. If the user types 'w' on the keyboard, I want to send 1 to the webview instead of 'w'. I have been using the evaluateJava function to send this to the appropriate text input on the webpage.
Is there any way to always have the keyboard in "ALT" mode? I have tried Keylisteners and I an capture the w and send the 1, but the w also gets sent and i get 1w or w1. I cannot consume the w with return true.
Any help with this would be great.