06-05-2009 11:07 AM
I've had a problem disabling SureType like so many others here. The solutions I found here worked only partially. So we came up with a solution that disables SureType on all devices regardless of users locale. We subclassed password edit field and made it display actual text instead of asterisks.
protected void paint(Graphics graphics) { graphics.drawText(getText(), 0, 0); }
The only method we redefined is paint as shown on the listing.There is one problem with this solution. The cursor position matches the text as it is all made of asterisks which is not the case. After couple of characters entered to cursor moves away far away from the text. I haven't been able to change the way cursor is positioned. None of the methods I saw in the API seemed to do the trick. Also, decompiling the PasswordEditField.class produced no results as it was implemented in native language. Does anyone know how to deal with cursor positioning? I would appreciate any kind of help. Thx.
Solved! Go to Solution.
06-05-2009 11:49 AM
You want multi-tap try this:
EditField ef = new EditField(TextField.NO_COMPLEX_INPUT);
06-18-2009 08:17 AM
04-17-2010 11:10 AM
How do you do this??