Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

How to upload Image from Mobile to JBoss Server  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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 Java Spring
  • 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!
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!