Download the file as a bytestream and save it
to the scratchpad.
Then call the MediaManager.getImage() method. It will
then load the image for you to use in ImageLabels.
Direct use of a URL in the getImage() method
MediaImage mi=MediaManager.getImage(imgurl);
does not work on the actual phone, though it does on the
i-jade emulator.
Regards
Manish
www.imodeindia.com
----- Original Message -----
From: <maneesh@netesoft.com>
To: <keitai-l@appelsiini.net>
Sent: Tuesday, October 09, 2001 6:36 PM
Subject: (keitai-l) Image downloading !
> Hi all
> I want to display an image using ImageLabel. In Image Label constructor i
am using Image object. To download image i am using present code.
>
>
> MediaImage mi=MediaManager.getImage(imgurl);
> mi.use();
> Image image=mi.getImage();
[ excessive quoting removed by moderator ]
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Oct 9 13:13:49 2001