×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    Is screen capture image making possible?

    We need to do a screen capture and store the image. Is that possible to do?

    In regular Java, screen capture is possible with the com.sun.image.codec.jpeg.JPEGImageEncoder, java.io.File and java.io.FileOutputStream.

    These are not available in J2ME. Would screen capture still be possible, and if so, how could it be implemented?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    Not with regular MIDP, but using the Nokia extensions you could (DirectGraphics.getPixels()).

    shmoove

  3. #3
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267
    Would it also be possible to create files with this library? Could screen capture be possible to make on other mobiles than Nokias?

    Originally posted by shmoove
    Not with regular MIDP, but using the Nokia extensions you could (DirectGraphics.getPixels()).

    shmoove

  4. #4
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267
    Wouldn't it be possible to write to a buffer, or even use the double buffer used in drawing to the screen, to make a capture at any time?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×