title: Full Resolution Camera Access in j2me
body: <p>I'm trying to do an image capture on a high end Nokia phone (N95).  The phone's internal camera is very good (4 megapixels) but in j2me I only seem to be able to get a maximum of 1360x1020 image out.  I drew largely from this example <a href="http://developers.sun.com/mobility/midp/articles/picture/" rel="nofollow noreferrer">http://developers.sun.com/mobility/midp/articles/picture/</a></p>
  
  <p>What I did was start with 640x480 and increase the width and height by 80 and 60, respectively until it failed.  The line of code is:</p>
  
  <p>jpg = mVideoControl.getSnapshot("encoding=jpeg&amp;quality=100&amp;width=" + width + "&amp;height=" + height);</p>
  
  <p>So the two issues are:
   1.  The phone throws an exception when getting an image larger than 1360x1020.
   2.  The higher resolution images appear to be just smoothed versions of the smaller ones. E.g. When I take a 640x480 image and increase it in photoshop I can't tell the difference between this and one that's supposedly 1360x1020.</p>
  
  <p>Is this a limitation of j2me on the phone?  If so does anyone know of a way to get a higher resolution from within a j2me application and/or how to access the native camera from within another application?</p>