×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Exclamation Null image Problem

    hello

    i have developed a j2me application which normally captures images using camera
    and store in a folder of memory card using file connection.

    everything works perfect but sometimes the same code is producing 0 Size image
    which is useless

    i have face problem in s60 as well as in s40 series

    can anyone help me....

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Null image Problem

    Quote Originally Posted by mihirpalkhiwala View Post
    hello

    i have developed a j2me application which normally captures images using camera
    and store in a folder of memory card using file connection.

    everything works perfect but sometimes the same code is producing 0 Size image
    which is useless

    i have face problem in s60 as well as in s40 series

    can anyone help me....
    Try to log the available heap memory, it might be causing the problem sometimes - as the out-of-memory exception might be caught as a general exception.
    Thanks,
    Ekta

  3. #3
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Re: Null image Problem

    i have catch out of memory exception

    but still problem is come in picture at random time.

    i have to catch exception in Camera Canvas(Where init and capturer code written ) or

    somewhere else ??

Similar Threads

  1. Null pointer when load image.
    By i4ba1 in forum Mobile Java General
    Replies: 2
    Last Post: 2010-08-16, 09:42
  2. Poor Image Quality using JSR 135 MMAPI VideoControl.getSnapshot(null)
    By giovannyvelez@hotmail.com in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2010-08-08, 10:51
  3. VideoControl.getSnapshot(null) returns null-value
    By cipherovski in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2010-01-11, 07:31
  4. Null pointer problem{help}
    By pamelag in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-10-14, 07:22
  5. Drawing Lines on an Image (image graphics object returns null)
    By nicenouman in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-21, 10:15

Posting Permissions

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