Forums Register Login

How to view image from server ???

+Pie Number of slices to send: Send
Hi,
I am connecting to a server from my application to a url like http:\\localhost:80\myApp\1.jpg
can i display this image on the mobile ? or download it ?? what is the right way to do such thing ?

thanks in advance
+Pie Number of slices to send: Send
Hi
yes u can. But for that u have to get the binary data ( raw data) of that particular image into a byte array and the create that image using
public static Image createImage(byte[] imageData,
int imageOffset,
int imageLength)
Cheers
Debojit
+Pie Number of slices to send: Send
Hi,
thanks for you'r replay i created the image successfully but i still have a problem that how can i save this image to the images directory ?? and another problem, in future (2-5 days from today) my application must be able to save a video clips and themes and sound clips !! how can that be done ?? is wap push the only way ? i don't want to use the wap push so i hope there is another way to do that !!!

thanx in advance
This is awkward. I've grown a second evil head. I'm going to need a machete and a tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 948 times.
Similar Threads
Binary data to Image File
Need a basic Image Gallery
How to get the path of an Uploaded file?
Reading an Image
Reading image and convert it to Base64 format
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 01:14:56.