• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Is there any way? Please guide me. I am eagerly waiting for your kind response. Best Regards.
 
author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic