[ https://issues.apache.org/jira/browse/CB-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790288#comment-13790288 ]
Ryan Sweny commented on CB-4954: -------------------------------- Hi Jeffrey, You now have access to the plugin and sample project here: https://github.com/Motek/DiscreteCameraPlugin If you build it, install the plugin to the sample, then run the sample you should see that deviceReady is fired and a bunch of debug messages print to the screen and through WebInspector. If you then uncomment the code below to actually save a photo, you should find the sample then fails to run at all: https://github.com/Motek/DiscreteCameraPlugin/blob/master/plugin/src/blackberry10/native/src/discretecamera_ndk.cpp#L73 > 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)