• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to upload Image from Mobile to JBoss Server

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1902
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Men call me Jim. Women look past me to this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic