You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ryan Sweny (JIRA)" <ji...@apache.org> on 2013/09/30 16:10:24 UTC
[jira] [Created] (CB-4954) BBB10 Plugin, use of static callbacks
required for camera_take_burst cause entire plugin to fail
Ryan Sweny created CB-4954:
------------------------------
Summary: BBB10 Plugin, use of static callbacks required for camera_take_burst cause entire plugin to fail
Key: CB-4954
URL: https://issues.apache.org/jira/browse/CB-4954
Project: Apache Cordova
Issue Type: Bug
Components: BlackBerry, Plugin Camera
Affects Versions: 3.0.0
Environment: Windows 7 64-bit, BB OS 10.1, Z10
Reporter: Ryan Sweny
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?
--
This message was sent by Atlassian JIRA
(v6.1#6144)