J2ME & Surpressing Text Input Boxes

Posted on 2005-05-05
Medium Priority
Last Modified: 2010-05-19
I have a J2ME app that accepts numerical input via the following fields:

new TextField("Time In?", "", 4, TextField.NUMERIC);

On our old cell phones, this command works just fine.  We type the numbers *directly* into the field.

Unfortunately, on our new cell phones (like our Motorola V551 phones or our Nokia 3320s) when you start to type into the field a "text entry" type dialog appears that takes your input.  You then have to press "OK" to the text entry box (which places the information into the field) and then "OK" in my program.  These extra steps are frustrating and if you're "too fast" what you type is lost.

How can I suppress it?
Question by:NerdyMike
  • 3
  • 2

Author Comment

ID: 13978927
Wow -- either I've asked a question that no one can answer, wasn't specific enough on the question or didn't assign enough points?

I'll double the points if that'll help...
LVL 15

Expert Comment

ID: 13979045
>> wasn't specific enough on the question ...
It looks like its not a J2ME settings but rather a device specific behaviour [you can try to post it in Wireless as well]

Author Comment

ID: 13985512
Neither phone has it as an option to turn off -- and I actually don't want to turn it off phone wide.  (text messaging would be killer hard without it)

What I'm stuck on is that there are so many other Java programs on the market that don't have this problem.  When you're playing 'snake' or some other game, and controlling it from the keypad, it doesn't pop up a text entry screen every time you try to do something.

I guess I have to, somehow, not use TextFields and read directly from the keypad?  Does that seem reasonable?
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

LVL 15

Expert Comment

ID: 13992471
> Does that seem reasonable?
I think so.

Author Comment

ID: 14390422
After much research, I've found that there is no way to do this other than to re-program all my forms as a "canvas".  That's too much work for this project, so I'm just going to have to put up with it as is....

Accepted Solution

modulo earned 0 total points
ID: 14617266
PAQed with points refunded (500)

Community Support Moderator

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month15 days, 1 hour left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question