BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-27-2007, 01:08 PM   #1 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default App Request: screenshot (on device, no PC)

Please Login to Remove!

CC: BBF, Pinstack

Dear dudes who like to write tiny freeware applets for us heathens and mere mortals,

I am fully aware of the screenshot solution that requires a PC (I forget the name, but the author is on Pinstack a lot), but this doesn't help us mac/linux users one bit. I would love to get my grubby hands on an app that works like Antony Pranata's app does on the S60 (Symbian) platform, it's what everyone uses and I miss it:

AntonyPranata.com > Screenshot for Symbian OS



Is anyone out there willing to take up the challenge and provide the community with a little bit of codery? My gut instincts say:

- hotkey definable, defaults to something compatible with 8700, 8100 and 71xx series (maybe ALT+MENU?)
- defaults saving a JPG to SDcard if present, but user-selectable save directory
- JPG format with basic option to choose quality (default 80% compression level)
- ability to define filename beginning, defaults to "ss_" or something (so "ss_001.jpg" and onwards up)

...which is basically how Antony's works -- he developed a great UI and set of choices that didn't leave you wanting for anything. It just works.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 01-28-2007, 10:35 PM   #2 (permalink)
Thumbs Must Hurt
 
metsfan's Avatar
 
Join Date: Jan 2007
Model: 8100
Carrier: T-Mobile
Posts: 141
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

This may not be possible for security reasons. You (they) don't want one application to be able to get sensitive information by taking screenshots. I've looked through the API a bit, and haven't seen a way to do it.
__________________
Get AutoLock, SoftReset, and ColorPearl for the BlackBerry! Like my software? Donate!
Offline  
Old 01-29-2007, 12:24 PM   #3 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

What about the paint() method of the Canvas() class?

RIM Device Java Library: Class Canvas)

"The contents of the Canvas are never saved if it is hidden and then is made visible again. Thus, shortly after showNotify() is called, paint() will always be called with a Graphics object whose clip region specifies the entire displayable area of the Canvas."

Couldn't you subclass Canvas(), and in your pass-thru of the paint() method to the parent take the Graphics 'g' object and save that as a JPG file?

(note: not a programmer but a systems guy, so I can read APIs but not bother coding them )
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
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





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