Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2011

    Framebuffer access


    I am developing a J2ME MIDlet which does the following things.
    1. Accesses the framebuffer or graphics context using DirectGraphics: getpixels( ) method.
    2. Put the extracted pixels in a .png or .bmp file
    3. Change the colour of the pixels

    I know how to do the 3rd step.

    Please anybody provide me a code which does above actions or atleast the procedure on how to do this.
    (j2me is preferably for nokia series 40 phones.)


  2. #2
    Super Contributor
    Join Date
    Mar 2003

    Re: Framebuffer access

    You can only access pixels produced by your own MIDlet (the canvas of your app).

    You have no access to the screen/framebuffer data for some other app or the system in general, using j2me.

  3. #3
    Super Contributor
    Join Date
    Jun 2003
    Cheshire, UK

    Re: Framebuffer access

    You need to paing what you want to an Image, then paint the image to the screen, so that you can get the pixels from the image.

    Also: PNG Encoding in Java ME.


Similar Threads

  1. DSA + framebuffer(Direct memory Address)
    By stenlik in forum Symbian
    Replies: 1
    Last Post: 2007-11-11, 15:03
  2. Access FrameBuffer
    By toppest in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-03, 00:45
  3. Framebuffer pixel format in 6680
    By benjers in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2005-12-16, 14:48
  4. linear framebuffer
    By artblanc in forum Symbian
    Replies: 5
    Last Post: 2003-06-25, 10:42
  5. Replies: 1
    Last Post: 2003-02-13, 12:10

Posting Permissions

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