J2me Blackberry Numeric Input

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-03-26T09:41:00Z Indexed on 2010/03/26 9:43 UTC
Read the original article Hit count: 480

Filed under:
|

Hello,

I am developing a blackberry application using j2me and LWUIT (blackberry port). Everything works great except for the TextField in numeric mode. Basically when you have focus on the TextField you have to first go into "NUMERIC" mode (by pressing alt + aA) in order to input, which is not user friendly and a problem.

The proposed solution is to use a TextArea instead that allows you to open a NATIVE type input box. The problem there is that the user needs to focus the field and then press the fire button which again is unfriendly.

Does anyone know of any simple solutions?

The few solutions i have in mind (but not sure how to do them): 1) Capture any keypress on the TextArea and go into NATIVE mode, instead of just the fire key. 2) Put the blackberry input mode into numeric using code for the whole form.

Any advice will be appreciated.

Many Thanks,

Paul

© Stack Overflow or respective owner

Related posts about lwuit

Related posts about blackberry