10-18-2011 04:52 AM
Hi, i m new in blackberry and i m developing an application in that i suffering the issue by virtual keyboard.
What happened in my case is that when i open a virtual keyboard to type something and when i pushing another screen the next screen got compressed by half of screen display.Please anybody have some solutions for that kindly let me know...
thanks in advance....
10-18-2011 05:04 AM
Welcome to the forum.
Have a look at this Thread which is covering exactly the same problem.
http://supportforums.blackberry.com/t5/Java-Develo
10-18-2011 07:53 AM
10-18-2011 08:41 AM
That shouldn't happen, sounds like a bug.
However perhaps one way round it is to use the VirtualKeyboard and hide it before you push the second screen. have a look at VirtualKeyboard API. Do you think this might help?
10-20-2011 06:43 AM
10-20-2011 07:37 AM
If you have two UI type functions and you need the first to complete before you start the second, then the easiest way o do that is to package the second request as a new Runnable for the Event Thread. In your case you would package the pushScreen. So instead of
UiApplication.getUiApplication()pushScreen(...);
you would have
UiApplication.getUiApplication().invokeLater(new Runnable() {
public void run() {
UiApplication.getUiApplication().pushScreen....
}
});
Hope this resolves it.