How to scroll the textbox to appropriate position when virtual keyboard pops-up in Blackberry

192 views Asked by At

I am using J2ME, Lwuit and Blackberry api for developing my app.

My form contains textbox as well as toolbar. While touching the textbox, the virtual keyboard appears and then disappears. This is happening due to the toolbar. Even if I remove the toolbar, the textbox remains beneath the virtual keyboard instead of scrolling up. Issue is happening for the touch phones, for which we have to use touch screen.

I want the textbox to scroll up to the appropriate level to make it convenient for user.

Did anybody faced the same issue! Please share the solution.

2

There are 2 answers

0
Shai Almog On BEST ANSWER

There is a bug in LWUIT in that specific feature. It might have been fixed in Codename One but I'm not sure.

0
Mun0n On

Did you know that you need a different UI lib for Blackberry touch development? If you don't import this specific lib you can find foreign issues. You must import a lib called UI_RIM_Touch.jar, if you generate this project with the Resource editor, you can find this file in the root of your project. Try this.