11-05-2011 06:14 AM
Is is possible to access the PlayBook's camera with the NDK? I saw that the "capability" use_camera exists, but couldn't find any information about how to access the camera.
11-08-2011 01:45 PM
Hi,
There is currently no support for device camera access from a Native application currently. Feel free to log a feature request using our external developer Issue Tracker (linked in my signature) so we can help you track it. Just reply back on thread with the logged issue's URL.
Regards,
01-30-2012 11:56 AM
it's a bit strange - in NDK you have a possibility to refuse to use a camera API
<!-- <action>use_camera</action> --> (it's a copy from bar-descriptor.xml from NDK-Samples/AccelerometerSample)
but don't have a API to use it.
01-30-2012 11:59 AM
The bar-descriptor.xml is standard for all Tablet applications. AIR/WebWorks applications have access to the camera which is why this is included. The same permissions will work once camera access is available through native.
01-30-2012 12:35 PM
if it's possible to use a camera in non-native envinroment, like AIR/WebWorks - whats a problem to make public this API(already used in non-native API, btw) to native community ?
01-30-2012 02:39 PM
AIR and WebWorks both access the camera through Flash/AIR Runtimes, there are no APIs exposed for native yet but the request is submitted:
https://www.blackberry.com/jira/browse/TABLET-368
Feel free to vote this issue up!
Cheers,
01-30-2012 05:31 PM
Hi Alopix,
Native camera APIs are coming. They will not be available in the 2.0 release, but should be available shortly thereafter.
Cheers,
Sean
01-30-2012 05:50 PM - edited 01-30-2012 05:51 PM
azazello wrote:
if it's possible to use a camera in non-native envinroment, like AIR/WebWorks - whats a problem to make public this API(already used in non-native API, btw) to native community ?
To answer your question azazello,
The backend API that AIR and WebWorks are currently using is limited and not generally suitable for use by third party applications. The camera infrastructure has been redesigned for native API support in order to enable rich camera apps which provide augmented reality, image processing, etc. Look for it in a future release.
Cheers,
Sean
02-02-2012 11:32 PM
Please allow us to get and set white balance, exposure, focus etc. in the API.
02-03-2012 02:32 AM
Innovatology wrote:
Please allow us to get and set white balance, exposure, focus etc. in the API.
All of those features will be available.
Cheers,
Sean