View Single Post
  (#3 (permalink)) Old
rivviepop Offline
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Default 01-29-2007, 01:24 PM

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 )