2 Replies Latest reply on May 22, 2012 1:28 PM by mshmyob

    Cannot get numeric soft keyboard for Playbook to work.

    mshmyob Level 1

      I cannot get the numeric softkeybard to activate for a textinput component in my Flex 4.6 mobile application for a BB Playbook.


      Here is what I have done (along with many other configurations):


      My app.xml





      My main app


      <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"  

      <!-- Place non-visual elements (e.g., services, value objects) here -->

      <!--  set up a home button on the views -->
      <s:Button icon="@Embed('assets/home.png')" click="navigator.popToFirstView()"/>




      In my first view here is a sample textinput line


      <s:TextInput id="txtNumber" softKeyboardType="number" width="50%" restrict="0-9" textAlign="right"   enter="enterKeyHandlerFunction()"/> 


      I have also tried importing the flash.text.SoftKeyboardType I have also changed the above line to softKeyboardType="{SoftKeyboardType.NUMBER}"


      I am obviously doing something wrong or the numeric keyboard does not work for the PlayBook.

      Has anyone got it working for the PlayBook and if so do you have any ideas for me.


      Playbook has AIR 3.1

      I am in development and I package with captive runtime.  Desktop has AIR 3.2