IN FLASH AS3 MOBILE APP - how to make soft keyboard show only numbers or for email? - actionscript-3

I am making a mobile app with adobe air 3.9 and in the registration form, I wish to make email text-field have a keyboard or soft-keyboard type as email (i.e. having a button for ".com" and "#" in the soft-keyboard)and age to have numbers only.
I see some helps around but none gets me a clear idea.
Can anyone help me with a quick tutorial or a code snippet.
Thanks
Saurabh

Use NativeText, look here for the great article:
http://blogs.adobe.com/cantrell/archives/2011/09/native-text-input-with-stagetext.html

here's a tutorial
Just be aware there are two SkinClasses for TextInput and TextArea, MobileSkin and StageSkin. StageSkin can control the softkeyboard, but has scaling issues. MobileSkin can't control the softkeyborad, but doesn't have scaling issues. Follow this bug and related issues for more info about that.

Related

Libgdx keyboard "enter"

Is there a way to change the keyboard so it have a "enter" or "go" button in android like in chrome browser in android, when you are writting a url it shows a "go" button.
If so how to show it? and how to handle it?
I have researched but I ran out of words because my english is limited, and couldn't find anything.
Thanks.
LibGDX doesn't support this feature. If you want to implement it, you would have to fork LibGDX and modify AndroidOnscreenKeyboard, specifically the IME options that are placed on its TextView. Or you could submit a PR to add this as a configurable option.
Look here for android keyboard handling. it has everything you need including keyboard types.
And also look here for android specific code usage in libgdx.

How to control the ios keyboard at the time of using the input tag of html

I am creating a learning Ipad app for the Japanese by using the objective-c.
The app downloads and views learning contents that has been made in HTML every time learning.
In English Learning contents of the application, There are input boxes to enter the English.
So, I want to control the ios keyboard to force the alphanumeric half size at the time of using the input box of html (or, to display the English keyboard by default),But I couldn't.
I tried using the type attribute specification of the input tag of html, but none could not be used.
I would like you to tell me if there is any good way.
You can't force-change the keyboard on the user, Apple doesn't allow that. If your UITextField requires a specific type of the standard keyboard, you can select that in Interface Builder or from code. If the user has selected a custom keyboard for themselves, you can't force them to change it to the one you want.

Send mouse events to inactive and hidden windows/WPF forms

I'm developing an app that needs to generate mouse events on a window Win32/WPF which may be minimized or hidden from view on the desktop.
I have tried the user32.dll APIs SendInput, SendMessage, PostMessage etc. These work only if the window is visible on the desktop. Would you know about any methods that work for hidden/inactive windows?
I've also tried .NET's UI Automation library. In this case, a window is brought to the front or I'm not able to get a clickable point for the control.
Any ideas how I can proceed? If I can proceed?
I don't know if you're still interested in an answer (I just stumbled upon this question out of sheer dumb luck), but have you tried making a global windows hook?
I have no honest idea on how to properly go about implementing one; but I know you should be able to add a global windows hook to, well, Windows, to listen for whatever events you want (should include mouse and keyboard events!)
Good luck...

How can I show a confirmation message (not a dialog) without an Alert?

I'm working on a project for a User Interface Design class, so the emphasis is on the UI being as nice to use and non-annoying as possible. I would like to display a message to the user after they've clicked save, for example, without requiring them to click an OK button. I'm thinking of the kind of thing you see in gmail if you send a message or do some other actions, where a message appears on the screen, but the message disappears after you do something else.
I'm sure there's a way to do this in Flex (I'm using 4.6), but I just don't know what it is. I'm pretty new to Flex and I'm having trouble finding anything via Google, because the results keep showing confirmations messages in Alerts; I don't know the search terms to get the results I'm looking for.
Anyway if anyone has ideas or links or anything, I'd really appreciate the help.
Here's a nice Toast library for flex (flex-toasterlib).
And here's a different Toast class in the adobe forums (adobe forums).

How to Show iPad's Keyboard when i click Input box from an ePub?

Can anyone suggest me how to show iPad's keyboard for entering text when clicking on a input box through HTML JavaScript?
For an ePub viewed in iBook app on iPad.
In the ePub file, there is an input box has to be filled by the reader (user).
Looking for something to show iPad UI KeyBoard from HTML Form
I could not find the event/function call to do this.
Any Help/suggestion will be appreciated.
-
Thanks & Regards,
SaRaVaNaN.N
N,
do you still stuck on this question
I just found
<input type='color'>
can make iPad keyboard show, but I think it's a bug,
cause ePub3 is too new
There are so few documentations.
May I keep contact with you?
<input type="color">
This hack doesn't work anymore on iOS 6.