开发者

issue with virtual keyboard scrolling in BB LWUIT

开发者 https://www.devze.com 2023-04-08 06:40 出处:网络
I have done a j2me application when I port it to Blackberry using LWUIT framework I have a problem in virtual keyb开发者_StackOverflow社区oard as it does not automatically scrolls because of which the

I have done a j2me application when I port it to Blackberry using LWUIT framework I have a problem in virtual keyb开发者_StackOverflow社区oard as it does not automatically scrolls because of which the user is unable to view what he is typing in the text field .

Can help me solve the issue.

Thanks


This is a common problem in many platforms that feature a VKB. Currently LWUIT doesn't make solving that problem seamless which it should (feel free to file an issue on that, this should be resolved for Android/RIM, in J2ME the input is within the VKB itself).

To resolve it for now you can either change your UI to place the text field in a location that is more easily reachable to the VKB. Alternatively you can try to scroll it up when detecting touch (before invoking super), this obviously requires quite a bit of coding and isn't trivial.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号