BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-01-2009, 11:37 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2008
Location: india
Model: 8700
PIN: 12345
Carrier: Airtel
Posts: 62
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down How to take a Screenshot of the current screen using Display clas

Please Login to Remove!

How to take a Screenshot of the current screen using Display class any example helpful.am using Display.screenshot() but dont how to pass the current screen events
Offline  
Old 09-02-2009, 06:00 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Smiley8's Avatar
 
Join Date: May 2008
Location: Calgary, AB
Model: Torch
Carrier: Fido
Posts: 226
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by praveens View Post
How to take a Screenshot of the current screen using Display class any example helpful.am using Display.screenshot() but dont how to pass the current screen events
try this

public Bitmap _bmp = new Bitmap(Display.getWidth(), Display.getHeigth());
Display.screenshot(_bmp, 0,0, Display.getWidth(), Display.getHeigth());

you can then save it sd card using another class to convert to jgp or png
__________________
Visit our website www.toysoft.ca for Cool BlackBerry Apps.

Follow us @ http://twitter.com/toysoft
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

7846 TEKTRONIX TLA704 LOGIC ANALYZER COLOR PORTABLE MAINFRAME WINDOWS 95
$500.0
7846 TEKTRONIX TLA704 LOGIC ANALYZER COLOR PORTABLE MAINFRAME WINDOWS 95  pictureTektronix TM506 Power Module Mainframe Opt 2
$100.0
Tektronix TM506 Power Module Mainframe Opt 2 pictureS143796 HP Agilent 70001A Mainframe w/ 70841B + 70842B Plug-In Modules
$1000.0
S143796 HP Agilent 70001A Mainframe w/ 70841B + 70842B Plug-In Modules picture451464R1 - A New Main Frame Pivot Spring For A McCormick A-24, HM-24 Mowers
$49.99
451464R1 - A New Main Frame Pivot Spring For A McCormick A-24, HM-24 Mowers pictureHP / Agilent 54120A Digitizing Oscilloscope Mainframe - 20GHz
$249.95
HP / Agilent 54120A Digitizing Oscilloscope Mainframe - 20GHz picture






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