You Are Here:

Community: Developer Discussion Boards

#1 Old numeric keypad? - 2008-03-31, 18:24

Join Date: Mar 2008
Posts: 57
nokia_e70
Offline
Regular Contributor
Hi

How to deal with the numeric keypad in a canvas-based application? I want all the input features of text controls (like, switch between ABC/Abc/abc/123/T9, special chars input and stuff) without text controls.
Reply With Quote

#2 Old Re: numeric keypad? - 2008-03-31, 22:59

Join Date: Mar 2003
Posts: 936
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by nokia_e70 View Post
How to deal with the numeric keypad in a canvas-based application? I want all the input features of text controls (like, switch between ABC/Abc/abc/123/T9, special chars input and stuff) without text controls.
You want to write your own Front End Processor in python? Seriously?

Try to use as much default components as possible. A simple "text input box" does sound so seductively easy, but it's full of special cases of special cases of special cases. After that comes the real special cases.

Good luck.

...if you really want to give it a try, remember that Chinese font is a bit higher than latin based fonts. Screen orientation can change. In right-to-left language numbers still go left to right, at least in Hebrew. Zooming text size might effect textbox size, too. If text string is too long, there is sometimes ellipses at end. Sometimes text strings scroll like marquee inside your box. You have to decide whether your text box is fixed size (then what size in which screen resolutions) or dynamic (vertical and/or horizontal)...
Reply With Quote

#3 Old Re: numeric keypad? - 2008-04-01, 08:12

Join Date: Mar 2008
Posts: 57
nokia_e70
Offline
Regular Contributor
Quote:
Originally Posted by JOM View Post
You want to write your own Front End Processor in python? Seriously?
What's a Front End Processor (seriously) ? The only thing that comes to my mind is "if You write that sort of thing You can get ALL-TCB capabilities"

If it handles the user's input on the keypad and the application sees the resulting text (instead of a sequences of repeated numbers), then I just want to use the default one. The question is: how do I ?

I don't want any "text input boxes", I have my own interface with my own boxes, I just want the system to handle the keypad (and give me the letters).

Quote:
...if you really want to give it a try, remember that Chinese font is a bit higher than latin based fonts.
No, actually, I have an application for a specific language (and that is not chinese, neither hebrew ). Besides, I don't need ALL-TCB yet, so another time perhaps...
Reply With Quote

#4 Old Re: numeric keypad? - 2008-04-01, 11:45

Join Date: Mar 2003
Posts: 936
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by nokia_e70 View Post
What's a Front End Processor (seriously)?
Sorry, just a quick link as short description:

http://www.symbian.com/Developer/tec...iew.guide.html

It means that if default input methods are not enough for you as-is, then you are able to develop your own on top of Symbian framework (using C++). The first and last time I had anything to do with it, it was ... not too nice Or maybe I can say an experiment to last for the lifetime

Btw how come you get only numeric input? Isn't it user's responsibility to switch into "abc" mode? Maybe you could just take input as-is, process it and give feedback, like dialog "Wrong input! Use alphabets"? Keep it simple, allocate some responsibility to users, too?

Cheers,

--jouni
Reply With Quote

#5 Old Re: numeric keypad? - 2008-04-01, 15:07

Join Date: Mar 2008
Posts: 57
nokia_e70
Offline
Regular Contributor
Quote:
Originally Posted by JOM View Post
Btw how come you get only numeric input?
Now I'm kind-of aware that in order for the canvas to receive the letters from the numeric keypad it would have to implement MCoeFepAwareTextEditor (and it doesn't). Not sure what I'll make out of this...
Last edited by nokia_e70 : 2008-04-02 at 15:55.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Key codes of numeric keypad keys dathom General Symbian C++ 5 2009-10-28 00:02
TKeyCode values for numeric keypad keys gemilib General Symbian C++ 7 2007-10-24 18:14
How 2 read Text Msg. Style Alpha Keys Using a Cellphone Numeric Keypad fimjox Mobile Java General 0 2006-01-06 10:21
Translate alpha to numeric Trev-H Mobile Java General 2 2005-10-07 17:54
P800 J2ME game. i'm in trouble because of keypad shahzad73 Mobile Java General 0 2002-11-21 04:22

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ