When the user takes photos with his phone I want LWUIT to get a specific photo to add to a recordstore and later retrieve that photo. How to achieve that ?
RecordStore and photos taken from the phone
339 Views Asked by AudioBubble At
2
There are 2 best solutions below
0

RMS is not good for storing the Photo's. Because RMS designed for small amount of storage. You can't handle huge amount of data. Better you can read from phone memory or memory card. Also how you can take the currently captured photo without your application?
Edit:
You can develop the application for taking the photo and store it in RMS(But not huge amount) or store it in server through calling web service.
Ok , I make the application starts the camera through a command :
In the actionPerformed of the mCaptureCommand command :
The code of createThumbnail :
Now I do not know where the Image is stored when calling the createThumbnail method , that is after calling Image.createImage : there are two createImage calls one in the capture() method and one in the createThumbnail() method. But my real problem is to know the location of the created image and how to associate it with a banking-client recordStore id.