Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4954

BBB10 Plugin, use of static callbacks required for camera_take_burst cause entire plugin to fail

    XMLWordPrintableJSON

Details

    Description

      Adding new methods to my BlackBerry plugin has gone well until I needed to include camera functionality. Adding a function like this:

      static void still_callback(camera_handle_t handle, camera_buffer_t* buf, void* arg)

      resulted the entire plugin failing on startup. The error given on the BlackBerry is:

      [JavaScript Alert]
      Require Error Can'[t find /usr/lib/webplatform/plugins/jnext/libDiscreteCamera.so Library cannot be found

      Are static methods allowed in BlackBerry plugins?

      Attachments

        Activity

          People

            jeffheifetz Jeffrey Heifetz
            rsweny@motekmobile.com Ryan Sweny
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: