How can I create TextBox in MIDP 1.0 (Nokia 6100) with inline editing, like in "Converter II" application?
How can I create TextBox in MIDP 1.0 (Nokia 6100) with inline editing, like in "Converter II" application?
Last edited by seregindv; 2005-04-18 at 15:13.
I'm not sure exactly what you mean, but the object textField has been availalbe since 1.0 and allows the user to enter text and go back and edit it, just like any textField, really.
Åge Kruger
yes I know what is being asked and am wondering the same thing.
In converter II there is some sort of text field, but when it is highlighted it does not show the Edit button. Instead there is a flashing cursor, and text is entered on same screen.
I have managed to do similar, by creating a canvas and capturing the keystrokes. And using drawString.
2 AgeKruger:
A TextField, which you edit on the same screen (but not press "Edit", edit on new Screen, then press left soft key and on the 3rd screen press "OK"), where it is located.
2 psycik:
And what about flashing cursor? I think it would be too difficult...
It's not that difficult to create your own text field on a canvas. There are also at least 3 or 4 open source implementations.
You need to have a thread running in the background. It's not only for the flashing cursor, you also need to move the cursor forward after a set time if the user hasn't pressed any key.Code:And what about flashing cursor? I think it would be too difficult...
shmoove
Would you give some links?Originally posted by shmoove
There are also at least 3 or 4 open source implementations.
Synclast, J2ME Polish, and a couple more I forget.
shmoove