Skip to main content

Lwuit - Touch screen problem

4 replies [Last post]
Joined: 2009-03-09


I am develop a project for touch screen phone specially for
Nokia 5800xm.

I had done a project by using lwuit also for standard
phone(keypad and qwerty phone), so far work fine and it was
great in UI.

For right now, I found that a bit problems in landscape
screen and textfield input in touch screen phone.

First, could the lwuit have any listener to know when the
screen is rotate? Or any suggestion can force the midlet not
able to rotate, i mean disable the rotate screen for the midlet.

Second, the textField problem, i found that lwuit is not
support on screen keyword/qwerty right? so the way is force
user use the T9, but once i focus to textfield the T9
command will replace the existing one(let say login), so
after I fill in the text(after commit), the T9 command still
there, it not able to get back the command which i need
login other form. So did any solution for this touch screen
problem? except put the Login button at the form.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2012-10-20

Thanks bro,My iball arua2b is now working fine after reading your comment.Now i can use java games while touching my screen only.thanksthanksthanksthanks

Joined: 2009-04-14

dear arthas67,

I'm also programming for 5800.
I had the same problem but I fixed it as follow:
write in file *.jad you are going to install the following line -> Nokia-MIDlet-On-Screen-Keypad: no

Then you can use the whole touch screen as you want. I made inputs switching from T9 keyboard to qwerty and even handwriting without adding a line of code.

I hope it helps you.

Joined: 2009-03-09

Thanks for your advise, but how you switching from T9 keyboard to qwerty.
My problem is textfield at touch screen phone only can input text by using T9 mode, and the command T9 will replace my existing command, so i need solution to remove T9 command after fill in the textfield.

If can, could you post a bit code how to use qwerty at touch screen phone?

Thank you for your help.


Joined: 2005-07-11

Thank you very much, it works :-)

(Sorry by the delay, I wasn't aware of this reply)