1 Reply Latest reply on Sep 26, 2012 6:03 PM by Zac Tunstall

    iPad Native Device Integration

      We are looking to talk to a blue tooth device (VX600 sleeve).  We used the steps below to build the application and integration.  The application appears to work, but only after the application comes up, we minimized it with the home button and bring the application back into focus.  The application can not communicate with the device until we have brought it down and back up.  Any suggestions?

       

      ...

       

      1) Follow the below link to set up the Xcode environment for above Rhodes application

      http://docs.rhomobile.com/rhodes/build

      2) Open the rhorunner.xcodeproj

      3) Add VMF.framework(which was available at following path) to project..(see ScreenShot1.png from below ScreenShots.zip)

      <Project root folder>/extensions/sample/ext/sample/platform/VMF.framework

      4) Add MediaPlayer.framework to project.(see ScreenShot1.png)

      5) Add ExternalAccessory.framework to project.(see ScreenShot1.png)

      6) Edit info.plist file, add new element and select "Supported external accessory protocols" from the list, then add following items to it :.(see ScreenShot3.png)

      com.verifone.pmr2.control

      com.verifone.pmr2.barcode

      com.verifone.pmr2.xpi

      com.verifone.pmr2.debug

      com.verifone.pmr2.zontalk

      com.verifone.pmr2.com1

      com.verifone.PWMRDA

      7) Change Architectures under Build settings in rhorunner target to armv7.(see ScreenShot1.png)

      8) Change Valid Architectures under Build settings in rhorunner target to armv7.(see ScreenShot1.png)

      9) Change Valid Architectures under Build settings in rhorunner project to armv7.(see ScreenShot2.png)