BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 05-15-2012, 04:26 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: May 2011
Model: 9800
Carrier: blackberry
Posts: 22
Post Thanks: 1
Thanked 0 Times in 0 Posts
Post capture image programmatically

Please Login to Remove!


i am trying to capture an image using a background thread without open any screen.....

using following code this code is working fine but i want to do all process in a background thread:

cameraPlayer = Manager
// cameraPlayer.realize();
videoControl = (VideoControl) cameraPlayer
_videoField = (Field) videoControl.initDisplayMode(VideoControl.USE_GUI_ PRIMITIVE,

String encoding = null;
if (_encodings != null) {
// Use the user-selected encoding instead.
encoding = _encodings[1].getFullEncoding();
byte[] imageByte = videoControl.getSnapshot(encoding);

Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: capture image programmatically
Thread Thread Starter Forum Replies Last Post
New App: imgEdit - All in one image editor for BBOS5+ Smiley8 Aftermarket Software 1 07-12-2010 09:50 AM
Bold Wallpapers [480x320] fabuloso BlackBerry Wallpapers 9 08-08-2009 12:08 PM
loading an image from the SD card yairw Developer Forum 4 10-13-2008 04:58 AM
Sync Error....What could it be? kurrupt_1 General 8300 Series Discussion - Curve 7 11-22-2007 06:41 PM
Step-by-step tutorial on creating custom BlackBerry device themes! d_fisher BlackBerry Themes 0 10-17-2006 07:30 AM

Ammeter 2" 60-0-60, Ampere Meter for Car, Trucks, Tractors, Bus, Generator 3 PCS
Ammeter 2Ammeter 2" 60-0-60, Ampere Meter for Trucks, Tractors, Bus, Generator 1 PCS
Ammeter 2Ampere Gauge / Ammeter fits JD Tractors (20-0-20 Ammeter) White Face(2pcs per lo
Ampere Gauge / Ammeter fits JD Tractors (20-0-20 Ammeter) White Face(2pcs per lo pictureIH/Farmall Gauges (Temp,Oil Pr,Ammeter) 240,340,300,330,350,400,450,600,650
IH/Farmall Gauges (Temp,Oil Pr,Ammeter) 240,340,300,330,350,400,450,600,650 pictureAmmeter 2" 60-0-60, Ampere Meter for Trucks, Tractors, Bus, Generator 2 PCS
Ammeter 2

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.