A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to close Soft Keyboard?

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    12

    How to close Soft Keyboard?

    Hi

    I'm developing an app on an Android phone phone which requires the soft keyboard. This works fine however closing the keyboard on pressing the enter key is proving to be problematic.

    I'm using
    PHP Code:
    stage.focus null 
    to take the focus away from the text field which should work, however this crashes my app with the following error:

    The application App (process air.myappname) has stopped unexpectedly. Please try again.

    Does anyone have any ideas as to why this would be happening?

    Thanks.

  2. #2
    Junior Member
    Join Date
    Aug 2004
    Posts
    12
    I found what was causing this issue so if anyone else experiences a similar issue try looking at 3rd party apps installed on your phone. In my case it was a soft keyboard app called Swiftkey that was creating the error and crashing my phone. I disabled this and everything works fine now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center