• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

How to upload Image from Mobile to JBoss Server  RSS feed

Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!