aspose file tools*
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
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
Author

How to upload Image from Mobile to JBoss Server

mohit mehta
Greenhorn

Joined: Sep 07, 2004
Posts: 7
Hi

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.
Mohit.
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to upload Image from Mobile to JBoss Server