BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-17-2009, 05:04 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: AIRTEL
Posts: 25
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry 9530 Storm - Problem with screen capturing

Please Login to Remove!

Hi,
I am using the blackberry 4.7 JDE development environment with in-built 9530 Storm emulator. I just want to capture the screen shot of the current screen in which i have background image, and when selecting the "capture screen" menu item from the menu, it has to capture the screen.

What i am using for capturing is
Display.screenshot(Bitmap) method. I followed the conditions specified in the API i.e, the dimentions of the Bitmap should be matched with the dimentions of the emulator screen. I am not getting any error. But my image is not updating with the captured image. Please tell me a workaround for this application.

Given below is my code which i had put in the menu item
Bitmap b1 = new Bitmap(360, 480);
b1 = Bitmap.getBitmapResource("myimg.png");
Display.screenshot(b1);
Offline  
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

NATIONAL INSTRUMENTS 12 SLOT SCXI MAINFRAME RACK SCXI-1001
$69.99
NATIONAL INSTRUMENTS 12 SLOT SCXI MAINFRAME RACK SCXI-1001  pictureHewlett Packard HP 66104A 0-60V 2.5A DC Power Module for 66000A Mainframe
$99.99
Hewlett Packard HP 66104A 0-60V 2.5A DC Power Module for 66000A Mainframe pictureAgilent Technologies 3499A Switch/Control System Mainframe (Mainframe Only)
$99.99
Agilent Technologies 3499A Switch/Control System Mainframe (Mainframe Only) pictureJDSU T-BERD 8000 Mainframe E8136LR OTDR 1310/1550/1625nm Long Haul
$5400.0
JDSU T-BERD 8000 Mainframe E8136LR OTDR 1310/1550/1625nm Long Haul pictureJDSU T-BERD 8000 Mainframe E8136MR OTDR 1310/1550/1625nm
$4250.0
JDSU T-BERD 8000 Mainframe E8136MR OTDR 1310/1550/1625nm picture






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