Copy link to clipboard
Copied
Gidday
In HTML5, clicking in an input text field that is of type="email", makes mobile devices show a keyboard specifically for entering emails. Is it possible to do the same for a text field in AS3 when designing an AIR app for iOS/Android?
Cheers
Copy link to clipboard
Copied
using an input textfield should trigger the keyboard when it receives focus
Copy link to clipboard
Copied
Hey mate
It triggers the keyboard, but there are two types of keyboard you can trigger with HTML5 - the regular one, and one that is set up for entering emails - it has the @ key, and the . key. I'm wondering how you trigger the latter with AS3.
Copy link to clipboard
Copied
I doubt that every mobile device has these two types of keyboard. there are literally thousands of different android devices (phones/tablets) that implement these things differently (I have for example a Toshiba Thrive Tablet and never encountered such a "special" keyboard), you should stick to the one this special device defaults to, since that is what the user of this device expects.
Copy link to clipboard
Copied
You're quite right - but HTML5 displays the field as type="text" if type="email' is not supported - I was wondering if AS3 has something similar?
Copy link to clipboard
Copied
Hello,
You can use StageText to resolve your issue on mobile
Please take reference from http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/StageText.html#softKey...
Copy link to clipboard
Copied
Thanks for that. I had a play and can get the input text to show on the desktop, but not on the phone, so I'll delve into it a bit more soon to figure it all out. Cheers.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now