6 Replies Latest reply on May 10, 2013 3:56 AM by Rahul Kumar

    Barcode functionality is not working in I-phone with camera api.

      For barcode scanning using camera I reused the code of sample-api demo. On click of scan button camera is openning and taking the picture of barcode but on click of use button nothing happening though camera call back method is called but nothing happening .I have also included the zbar library in shared folder. I have also attached the controller class and erb file.

       

       

       

       

      do I require any licence for barcode scanning in i-phone?

      Please suggest any solution?

       

       

      buid.yml

       

       

      sdkversion: "3.5.0"

      name: "barcodeapp"

      version: "1.0"

      vendor: "rhomobile"

      build: "debug"

      bbver: "4.6"

      applog: "rholog.txt"

      capabilities:

        - gps

        - pim

        - camera

        - vibrate

        - phone

        - bluetooth

        - calendar

        - native_browser

        - motorola_browser

      iphone:

        configuration: "Debug"

        emulator: 5.0

        sdk: "iphonesimulator5.1"

        codesignidentity:

        entitlements:

        extensions:

          - barcode

          - openssl.so

      #buildcfg: 'Debug'

          - openssl

          - ezcrypto

          - rawsensors

      #"rainbow"

      #sdk: "MC3000c50b (ARMV4I)"

      #sdk: "Windows Mobile 6.0 Professional SDK (ARMV4I)"

      #sdk: "Windows Mobile 6.5.3 Professional DTK (ARMV4I)"

          - audiocapture

      #use_shared_runtime: 1

        entitlements_file: "./production/Entitlements.plist"

        production:

          app_plist_title: "SAS"

          app_plist_subtitle: "SAS"

          app_plist_icon_url: "www.sas.com/icon.png"

          app_plist_ipa_url: "www.sas.com/sas.ipa"

          ipa_itunesartwork_image: "./production/image.jpg"

        BundleIdentifier: "com.rhomobile.barcodeapp"

        BundleURLScheme: "barcodeapp"

      wm:

        extensions:

          - barcode

        sdk: "Windows Mobile 6 Professional SDK (ARMV4I)"

        emulator: "Windows Mobile 6.5 Professional Emulator"

      wp:

        productid: "310481c1-92d9-0130-fbfe-4437e656491a"

        extensions:

          - barcode

      symbian:

        uid: "0xe2a28fd9"

      android:

        extensions:

          - barcode

        capabilities:

          - network_state

          - sdcard

          - calendar

        mapping: true

        version: 4.0

      extensions:

        - json

        - another-extension

        - rhoxml

        - rhodes_translator

      app_type: "rhoelements"