3 Replies Latest reply: Jun 17, 2013 2:13 AM by Ollie Edge RSS

    SoftKeyboard problem using FB 4.6 AIR 3.7

    raven_shield

      Good day...

       

      I have tried every tutorial available here using softkeyboard but none of them work. I mean, there is no error, the program runs on desktop but there is no keyboard in the emulator...

       

      Please help me on this one...

       

       

      Thank you very much

        • 1. Re: SoftKeyboard problem using FB 4.6 AIR 3.7
          Colin Childs Community Member

          The softkeyboard does not show up in the simulator. It will only show up on an actual device. When testing on a desktop, just use your keyboard.

          • 2. Re: SoftKeyboard problem using FB 4.6 AIR 3.7
            raven_shield Community Member

            thank you very much...

            • 3. Re: SoftKeyboard problem using FB 4.6 AIR 3.7
              Ollie Edge Community Member

              The SoftKeyboard does work in the simulator with AIR 3.7, it depends on how you wish to activate it that is the problem.

               

              If you need to activate the SoftKeyboard via a Input textfield then make sure that the textfield is of a "Input" type (myTF.type = TextFieldType.INPUT). When focusing on the textfield the softkeyboard will display on the iOS Simulator and iOS Devices. There is no need to do anything else such as softkeyboard options in code.

               

              If you have your Rendering mode set to CPU the screen will adjust accordingly, however if you have it set to GPU the keyboard may obstruct the textfield so just take this into consideration.

               

              You cannot activate the softkeyboard by code.

               

              There is another way to do it which I'm unable to check right now, but on a certain version of iOS SDK you could actually select "Open Software Keyboard" from the Hardware menu on iOS Simulator menu, if you have it, it will be located below "Simulate Hardware Keyboard".

               

              Hope that helps.