Hi, when I run my program (which is basically a screen for people to type numbers in, it does stuff then with the numbers) on a Symbian (s60 or above) phone, I get a nice little box I can type straight into, on the s40 though, I need to get this working on a 3510i, it gives a few dots and you have to press a button to go to another screen _> enter the number _> press ok then the number is in. Can I type straight into the box for the s40? please help, urgent. Thanks!
No, you can't. It's up to the manufacturer do decide how exactly TextFields and all other UI elements llok on their phone.
However, there is a good point also
All the native phone applications use input fields of the same style. Hence, such behavior would be no surprise for a user. In fact he might be annoyed if your application behaved in some unusual for this phone way.
But how do you support the various text entry modes? It is fine producing something basic for text entry but what about if the user it used to using itap and is suddenly presented with a different input method.
On my games I have a hiscore entry but this uses a traditional arcade entry system (i.e. all the letters laid out and you move a cursor around to select them), this works well for games but would not be of any use for a more taditional app that demanded a fair bit of text interaction.
You are right, it is very easy to have a nice looking textbox system that you draw yourself, it is a little more tricky supporting all the text entry modes. From what I can see only the Form stuff allows this (unless I am wrong, which I could well be).
But how about extending CustomItem to make a nice text field?
This way you can put it on a Form and don't bother about scrolling.
Canvas is good, but is just too low-level programming for just one simple application.
Does enyone have an example for this?