File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Upload image to server from mobile in j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Upload image to server from mobile in j2me" Watch "Upload image to server from mobile in j2me" New topic

Upload image to server from mobile in j2me

Teja Varma Manthena

Joined: Nov 04, 2011
Posts: 2
I am new to j2me.I want to upload image to server. While I am uploading image from emulator it is hitting the server. But while I am uploading image from mobile it is showing exception.

Here I am sending Mobile and application Number and capture image in bytes `(imagecapturephoto1)`. Capture is storing in view after taking photo.But when we are uploading it is showing exception.

Please suggest me,How we have to upload image from mobile.I was struck from last 10 days.pleas suggest me how to solve this issue.

Thanks in advance.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990

Welcome to the Ranch.
In future, while posting code, please UseCodeTags. I have added them for you this time. As you can see the code tags, make the code much more easier to read and understand.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: Upload image to server from mobile in j2me
Similar Threads
Problem with Image and .zip file(Uploading)
Problem with uploading images
j2me: upload an image file captured by cell camera
HTTP Post on UMTS stops
sending image to server using HTTP connection