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 How to upload Image from Mobile to JBoss Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to upload Image from Mobile to JBoss Server " Watch "How to upload Image from Mobile to JBoss Server " New topic

How to upload Image from Mobile to JBoss Server

mohit mehta

Joined: Sep 07, 2004
Posts: 7

I am very new to J2ME technology.
Even I dont know whether this question is appropriate for this section.
if it is not than please i appologise for that.
Now here is my problem
We are having one web based application where Internet user can upload images and other details from their local machine.
Now in same application we want to give access through Mobile and there also we want to allow user to share their photo or images through Mobile.
Currently written api upload image only on submit but as i know in mobile we cant have any such submit button method.
it should start uploading on click.
Does anyone has any idea how can Mobile should communicate to Web application to upload image.

Waiting for your reply.
Thank you in advance.
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Personally, I would think that you could handle it quite the same way as you would through the web application. It should be easy enough to create a form that passes off to a class/function behind the scenes that connects via HTTP to the application server and "pretends" to be a regular client...

As for how to grab the image from your local system, look at JSR 75, and if you have access to the API, you should be able to write something very similar to the desktop application.

Good luck!

Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
I agree. Here's the link:
subject: How to upload Image from Mobile to JBoss Server
It's not a secret anymore!