Solved

Sending an image from servlet to mobile phone

Posted on 2006-10-27
6
380 Views
Last Modified: 2011-09-20
Hi,

I am building a project that has this impementation:

- the user uses the mobile phone to take a picture.
-the user sends the picture to the server(tomcat)(first the user is authenticated)
- with the picture the user sends a friend's phone number.
- server insert the picture into database and send it also to the friend (phone number entered by user)
My question:
any idea how to send the picture from server to the phone.(code samples would be aprecciated)

Thanks
0
Comment
Question by:ArbenCelaj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 3

Accepted Solution

by:
JavaInTheMorning earned 63 total points
ID: 17828793
Easy:
Send an HTTPRequest (POST) with the bytes of the PNG image in the body. In the client - use the Image.createImage(byte[])  method to create your image.
0
 
LVL 3

Expert Comment

by:JavaInTheMorning
ID: 17828796
* Sorry... Response
0
 

Author Comment

by:ArbenCelaj
ID: 17835557
Thank you for your response.
The problem is: I  can not control the client. I want to send the image in any moble phone based on the phone number.
0
 
LVL 8

Assisted Solution

by:mxjijo
mxjijo earned 62 total points
ID: 17991905

No, you cannot "push" images to handsets (unless you have a client running on it).
I would recomment you to send an SMS with a URL of the message.
The user then clicks on the url to download the image.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hopefully this article will help someone who's had the same issues I had. I have a Dell Wireless 1390 WLAN Mini-Card and Windows 7, and for the past couple of days I was beyond frustrated because my wireless laptop was not able to access the Inte…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question