Skip to main content

taking screenshots and saving image

3 replies [Last post]
gaganmalik
Offline
Joined: 2008-06-11

Hi,
I was wondering how can I take screenshots of the currently running MIDlet and save them to a file.

Well, I'm running the Autotest with a Test MIDlet. How can I take screenshots of the display after regular intervals of time?

- Is it possible to integrate the code somewhere in phoneME? OR
- Will a separate application has to be written which would connect to the qvfb and take screenshots?

I'm new to qvfb, so can anyone point me i the right direction? It'll be a great help..

Thank you
Gagan

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ebresie
Offline
Joined: 2003-08-06

You could run it on a simulator/emulator and take a screen shot of the window from Window and/or Linux.

Eric

gaganmalik
Offline
Joined: 2008-06-11

Well Eric, for obvious reasons I want to automate - taking screen shots :)

Anyways, thanks a lot.. I've got it working now on Windows..

the file to look into is lcd.c under javacall implementation

lemme know if anyone else needs help with this..

cheers!

gaganmalik
Offline
Joined: 2008-06-11

Can anyone point me to which part of the source code do I look into for either a Windows OR Linux build..!!

any help is appreciated..