Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Taking ScreenShot

Taking ScreenShot

Scheduled Pinned Locked Moved Mobile
question
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    traapons
    wrote on last edited by
    #1

    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.

    J 1 Reply Last reply
    0
    • T traapons

      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.

      J Offline
      J Offline
      Jonas Larsson
      wrote on last edited by
      #2

      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

      T 1 Reply Last reply
      0
      • J Jonas Larsson

        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

        T Offline
        T Offline
        traapons
        wrote on last edited by
        #3

        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.

        J 1 Reply Last reply
        0
        • T traapons

          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.

          J Offline
          J Offline
          Jonas Larsson
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups