In my application I want to capture image and save it to sdcard.
I can start camera and capture image but I don’t know how to stroe that image in to sd card.
Thank You.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you already have the InputStream for your image, you may want to take a look at the FileConnection API:
http://developers.sun.com/mobility/apis/articles/fileconnection/
Depending on your device and other variables, you may need special permissions in order to do so.
I think you should be more specific: what device are you aiming at and what Java ME (CLDC, MIDP) versions or specifications are you using?