Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
conundrums
Posts: 6
Registered: ‎10-16-2008
My Device: Not Specified
Accepted Solution

J2ME Numeric Input

Hello,

I have developed an application, which has some text inputs from a blackberry.

Some of them are text inputs while others are numeric inputs. I am looking for an J2ME API to change numeric mode automatically for some text field areas.

Any advice or web links will be appreciated
BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: J2ME Numeric Input

Please see this thread.

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=5342&query.id=158...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
conundrums
Posts: 6
Registered: ‎10-16-2008
My Device: Not Specified

Re: J2ME Numeric Input

Hello,

I have checked your link and it looks a blackberry specific API.

Is J2ME providing same capability of above API?

If it is available, where can I find it?

 

Thanks for all your help.

BlackBerry Development Advisor
MSohm
Posts: 14,753
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: J2ME Numeric Input

You could create a TextField with a numeric constraint.  Please see the JavaDocs for TextField for more information.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker