Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 97 lines (69 sloc) 7.474 kb
6c58931 @pelegri Added Camera
pelegri authored
1 ---
2 layout: technology
3
4 title: Camera
5 oneline: Camera APIs for BB 10
6 forum:
7 techlink:
8 tags: camera, blackberry 10
9 ---
10 {% include common-defs.md %}
11
12 ### Description
13
14 APIs to use the Camera on BlackBerry 10
15
16 ### Documentation
17
18 * [Online Reference](https://bdsc.webapps.blackberry.com/native/beta/reference/com.qnx.doc.camera.lib_ref/topic/overview.html)
19
20 The main forum for questions depends on the software stack being used:
21
22 * [Native SDK](http://supportforums.blackberry.com/t5/Native-Development/bd-p/native_sdk)
23 * [Cascades](http://supportforums.blackberry.com/t5/Cascades-Development/bd-p/Cascades)
24 * [WebWorks](http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev)
25
26 ### Samples
27
a869572 @seanmcveigh Update Camera.md
seanmcveigh authored
28 **[HelloCamera](https://github.com/blackberry/Cascades-Community-Samples/tree/master/HelloCamera)**
075b0ae @pelegri Adjusted format to follow the HTML5_Samples
pelegri authored
29 Shows how to set up a Cascades foreign window and connect the Camera viewfinder to it.
30
a869572 @seanmcveigh Update Camera.md
seanmcveigh authored
31 **[NativeCamera](https://github.com/blackberry/Core-Native-Community-Samples/tree/master/NativeCamera)**
075b0ae @pelegri Adjusted format to follow the HTML5_Samples
pelegri authored
32 Shows how to set up a Camera viewfinder in a non-cascades environment using libscreen.
6c58931 @pelegri Added Camera
pelegri authored
33
16cf682 @pelegri Added HelloVideoCamera
pelegri authored
34 **[HelloVideoCamera](https://github.com/blackberry/Cascades-Community-Samples/tree/master/HelloVideoCamera)**
35 Shows how to record videos using the Camera.
36 This sample is based on the HelloCamera sample so it also illustrates how to set up a Cascades foreign window and connect the Camera viewfinder to it.
37
f16bccf @pelegri Update Camera.md
pelegri authored
38 **[Photobomber](https://github.com/blackberry/Cascades-Samples/tree/master/photobomber)**
39 A camera application that let's you take photos and then have them "bombed" by somebody. The app shows how to use the
40 Cascades multimedia library with Camera, take a picture, manipulate the image, and add an image over another image.
6c58931 @pelegri Added Camera
pelegri authored
41
a869572 @seanmcveigh Update Camera.md
seanmcveigh authored
42 **[RotationCamera](https://github.com/blackberry/Cascades-Community-Samples/tree/master/RotationCamera)**
43 Demonstrates some best-practices for handling device rotation in the video viewfinder case.
44
4c916ac @seanmcveigh Update Camera.md
seanmcveigh authored
45 ### BBJam Samples
25ecf57 @seanmcveigh Add 2 new camera samples. Update session links.
seanmcveigh authored
46 A collection of sample apps demonstrated in the Native Camera API Deep-Dive session at the BlackBerry JAM conferences in San Jose, Amsterdam, and Orlando.
47 Some of these samples are similar to those listed above, but with a focus on more in-line documentation, as well as notes on best-practices and "gotchas". Some more advanced samples and demos are also found in this section.
4c916ac @seanmcveigh Update Camera.md
seanmcveigh authored
48
49 **[Viewfinder](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/Viewfinder)**
50 A simple sample using libscreen which illustrates how to start a viewfinder. Includes notes on how to inventory available cameras and search for cameras based on the features you require.
51
52 **[RecordVideo](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/RecordVideo)**
53 Builds on the Viewfinder sample by adding the ability to record a video. Shows how to play a start/stop tone and how to select a filename on the camera roll to save the video to.
54
55 **[TakePhoto](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/TakePhoto)**
56 This is similar to the NativeCamera sample, but with some additional documentation. Demonstrates how to take a picture and save it to the camera roll.
57
58 **[TakeBurst](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/TakeBurst)**
59 This sample demonstrates how to do a burst photo capture and provides recommendations for efficiently saving full-resolution images at 15fps through the use of buffering.
60 Burst capture can be used as the basis for many interesting effects such as HDR, exposure bracketing, and is used to implement the time-warp effect in the BB10 camera app.
61
62 **[FlashPhoto](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/FlashPhoto)**
63 A Cascades photo-taking sample which illustrates how to query available flash modes, how to configure the flash, and how to detect whether the flash has fired when a photo is captured.
64
65 **[SceneZoom](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/SceneZoom)**
66 A Cascades photo-taking sample which illustrates how to query available scene modes and how to switch between scene modes.
67 Also demonstrates the two mechanisms for adjusting the zoom level and how to determine the range for zoom values.
68
69 **[Focus](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/Focus)**
70 A Cascades photo-taking sample which demonstrates how to operate the various focus modes available on the device.
71 Shows how to query the available modes, how to configure them, and provides controls for interacting with the various modes
72 (eg. sliders for manual focus or a touch-interface to focus on a particular region of the scene).
73
74 **[FaceFilter](https://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/FaceFilter)**
75 A C video recording sample which illustrates how to apply in-line filter effects to the live camera video stream. Face-detect metadata reporting is enabled,
76 the face co-ordinates are extracted from the preview image stream, and the video buffer is modified with a pixelating mosaic effect. If you tap to enable video recording,
77 you will find that the mosaic effect is present when the video is played back. This sample also illustrates the concept of
78 event-based access to the camera buffers. For read/write buffer access, the familiar callback mechanism cannot be used.
79
25ecf57 @seanmcveigh Add 2 new camera samples. Update session links.
seanmcveigh authored
80 **[Camera3D](https://github.com/blackberry/Presentations/tree/master/2013-BlackBerryJam-Europe/JAM370/Camera3D)**
81 A C camera sample which shows how to render the camera viewfinder into an OpenGL texture. Also demonstrates the use of the event-mode interface, and the RGB video viewfinder. This sample extends the GoodCitizen 3d-cube demo.
82
83 **[Heartbeat](https://github.com/blackberry/Presentations/tree/master/2013-BlackBerryJam-Americas/JAM40/Heartbeat)**
84 A Cascades sample showing how the camera viewfinder can be used in some interesting ways. Specifically, this sample uses the video viewfinder to measure your heartrate when your finger is held over the on-board videolight. The algorithm was hastily put together, so this sample is ripe for someone who has a bit more time to implement a proper FFT. Community contribution welcome!
85
f16bccf @pelegri Update Camera.md
pelegri authored
86 ### Presentations, Articles and Other Media
87
25ecf57 @seanmcveigh Add 2 new camera samples. Update session links.
seanmcveigh authored
88 * [Native Camera API Deep-Dive](http://hosting.desire2learncapture.com/RIM/1/watch/48.aspx), Breakout session by Sean McVeigh and Paul Bernhardt at the BlackBerry Jam Americas conference in San Jose, CA, Sept 26, 2012.
89 * [Native API Deep-Dive: Advanced Camera and Augmented Reality](http://www.youtube.com/watch?v=wfvlt2hu-Jw), Breakout session by Sean McVeigh with Wikitude CTO Martin Lechner at the BlackBerry Jam Europe conference in Amsterdam, February 6, 2013.
90 * [Advanced Native Camera: Seeing is Believing!](https://bblive.blackberryconferences.net/2013/connect/sessionDetail.ww?SESSION_ID=1948), Breakout session by Sean McVeigh at the BlackBerry Live / Jam Americas conference in Orlando, FL, May 15, 2013. (follow the Media link for the video).
f16bccf @pelegri Update Camera.md
pelegri authored
91 * [Shutter Sound Policy](http://supportforums.blackberry.com/t5/Native-Development/Camera-shutter-sound/m-p/1808535#M5712),
92 Forum post by Sean McVeigh, on July, 2012
93 * [Getting Rolling with the Camera API](http://devblog.blackberry.com/2012/07/camera-api/), DevBlog by Paul Bernhardt, on July 20, 2012
6c58931 @pelegri Added Camera
pelegri authored
94
95 ### Also See
96 [Cascades], [WebWorks], [Native]
Something went wrong with that request. Please try again.