Allowing EditBox input on touch screen phone

5 posts / 0 new
Last post
noddy
noddy's picture
Offline
Mobile Conjurer
Joined: 20 Aug 2010
Posts:
Allowing EditBox input on touch screen phone

Allowing EditBox input on touch screen phone

At the moment, none of the three EditBox user input modes can bring up a keyboard to allow user input.

EditBox::IM_STANDARD
EditBox::IM_NUMBERS
EditBox::IM_QWERTY

This is essential for EditBox. Please add this feature.

Thank you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi Noddy, development is being done in two directions, firstly there is a virtual keyboard widget cross platform to allow for touch screens. Secondly (and longer term), work is being done in native UI, so when you add an edit box, it will be replaced with a native version for that platform at build time. If no native control is available, the MAUI equivalent will be used.

noddy
noddy's picture
Offline
Mobile Conjurer
Joined: 20 Aug 2010
Posts:

Thanks Sam, this sounds great. For your information, I had been looking at the virtual keyboard widget code user "overfl0w" posted in:
http://www.mosync.com/content/virtual-keyboard-0

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi Noddy,

If you look at the code here https://github.com/MoSync/MoSync you can see what is in development. In this folder is a new component called NativeEditBox. This is still in development, so expect it to change, but if you've got a very recent nightly build, you can include NativeEditBox.h and NativeEditBox.cpp in your project. When the activate() method is called, the native keyboard should appear. How cool is that? Smile

noddy
noddy's picture
Offline
Mobile Conjurer
Joined: 20 Aug 2010
Posts:

Great. I'll have a look.