File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Saving picture from the phone's camera Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Saving picture from the phone Watch "Saving picture from the phone New topic
Author

Saving picture from the phone's camera

Di Hay
Greenhorn

Joined: Oct 13, 2004
Posts: 4
HI,

i am trying to create an application that makes a picture using the phone's camera and then saves it for sending via MMS.
I created the part where the picture is taken and now i'm stuck in thinking how to save the picture. Should i use RMS?

Thanks!
Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

That is the only way u can save it...unless u wanna send on the fly...
U must us RMS to store the image as a byte array...


OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
Di Hay
Greenhorn

Joined: Oct 13, 2004
Posts: 4
What about the case where i want to send the picture directly after taking it using MMS???

Thanks a lot!!
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
With a motorola phone phone, you might be able to access MMS and the file system from J2ME using a moto proprietary API (see their doc). With a Nokia phone, forget about it -- its J2ME environment does not talk with native apps.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Di Hay
Greenhorn

Joined: Oct 13, 2004
Posts: 4
Well, i wanted to do that with a NOKIA phone

anyway thanks for the advice!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Saving picture from the phone's camera