• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Is there any way? Please guide me. I am eagerly waiting for your kind response. Best Regards.
 
author
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nikhil Shravane
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!