0

is it possible to call phone (not number but phone) keyboard from adobe air on ipa IOS? or is there any ANE?

enter image description here

Hattori Hanzō
  • 2,349
  • 4
  • 19
  • 36

1 Answers1

0

Here's an example that uses the numeric keyboard and restricts the input to numbers:

package
{
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.geom.Rectangle;
    import flash.text.ReturnKeyLabel;
    import flash.text.SoftKeyboardType;
    import flash.text.StageText;

    public class StageTextNumber extends Sprite
    {
        public function StageTextNumber()
        {

            var text:StageText = new StageText();
            text.softKeyboardType = SoftKeyboardType.NUMBER;
            text.restrict = "0-9";
            text.returnKeyLabel = ReturnKeyLabel.GO;

            text.stage = this.stage;
            text.viewPort = new Rectangle(10, 10, 300, 40 );
        }
    }
}
Koby Douek
  • 16,156
  • 19
  • 74
  • 103