Taking ScreenShot
-
hi, I want to take screen shot of my Mobile device, through a program. How can i do it 1. From Device 2. From PC [ Which is connected via active sync] Give me ideas or sample codes for this. Urs, -Pons ----------------------- The greatest of faults, I should say, is to be conscious of none.
-
hi, I want to take screen shot of my Mobile device, through a program. How can i do it 1. From Device 2. From PC [ Which is connected via active sync] Give me ideas or sample codes for this. Urs, -Pons ----------------------- The greatest of faults, I should say, is to be conscious of none.
traapons wrote:
1. From Device
Write a gui-less exe to grab the screen, either using the "desktop" dc or from the video memory with GAPI. Save the resulting image in whatever format suits you. Assign a hardware button to start it.
traapons wrote:
2. From PC [ Which is connected via active sync]
Use the above mentioned exe or wrap the funtionality in a dll. Use RAPI (CeCreateProcess or CeRapiInvoke) to start the capture process. You can use CeReadFile to grab the resulting file or use IRapiStream to transfer the data directly. HTH --- "Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
-
traapons wrote:
1. From Device
Write a gui-less exe to grab the screen, either using the "desktop" dc or from the video memory with GAPI. Save the resulting image in whatever format suits you. Assign a hardware button to start it.
traapons wrote:
2. From PC [ Which is connected via active sync]
Use the above mentioned exe or wrap the funtionality in a dll. Use RAPI (CeCreateProcess or CeRapiInvoke) to start the capture process. You can use CeReadFile to grab the resulting file or use IRapiStream to transfer the data directly. HTH --- "Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
-
hi Jonas Larsson, Thx for ur ideas I planned to program in C. how or where to get the rapi related libraries/header files. Urs, -Pons ----------------------- The greatest of faults, I should say, is to be conscious of none.
traapons wrote:
how or where to get the rapi related libraries/header files.
RAPI.dll is installed with together with activesync, lib & headers should be shipped with whatever SDK you plan to use for your pda development under [SDK-PATH]\support\ActiveSync\ Cheers Jonas --- "Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot