File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BlackBerry and the fly likes Typing issue on custom designed text fields designed using custom items. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » BlackBerry
Bookmark "Typing issue on custom designed text fields designed using custom items." Watch "Typing issue on custom designed text fields designed using custom items." New topic
Author

Typing issue on custom designed text fields designed using custom items.

Nikhil Shravane
Greenhorn

Joined: Sep 22, 2010
Posts: 14
Hi Everyone,

I have developed a midlet by using custom items at many places. At the very beginning midlet shows a login screen with USERNAME and PASSWORD which are not standard text fields. I have designed them to look like text fields using custom items.

I have managed to give the same effect as like a standard text fields when user types the characters.

On QWERTY devices, I can type anything. But on NON-QWERTY CLDC phones, I cant type what I want. I mean every key on the device have 3 letters [ and on some there are 4 letters]. When I want to type last letter on any key on keypad, I cant do that, and all the letters on that particular key are getting displayed.

I hope you understand my problem. Please let me know if need more information. Any help would be greatly appreciated.

What should I do so that my custom item can work for both QWERTY and NON-QWERTY devices?

Best Regards
Nikhil Shravane
Greenhorn

Joined: Sep 22, 2010
Posts: 14
Hi, Is there any way? Please guide me. I am eagerly waiting for your kind response. Best Regards.
Carol Hamer
author
Greenhorn

Joined: Sep 17, 2010
Posts: 26
So, you want it to work such that if you type the <ABC> key once, it gives "a", twice in a row gives "b", and three times gives "c", right?

I suspect that you would have to implement this behavior yourself if you're implementing your own text field.


Learn BlackBerry Games Development
Nikhil Shravane
Greenhorn

Joined: Sep 22, 2010
Posts: 14
Thanks Carol, Exactly! You got my problem. I know I have to handle such case. But for that I want some direction. At the moment I don't even know how to start thinking on this. There may be different keypads like QWERTY or with multiple letters on a single key. How can I detect it? For QWERTY its easy, but how can I achieve for normal keypad?
Note: I am not using RIM API.

Best Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Typing issue on custom designed text fields designed using custom items.
 
Similar Threads
Producing Virtual Keypad on Custom Items
Porting
URGENT: MIDlet Not Running, NullPointerException!!
Command is not showing in to the list on pressing menu button on the device
Who can type with all ten fingers?