(keitai-l) Re: Image downloading !

From: Jim Munro <jmunro_at_teralogic-inc.com>
Date: 10/09/01
Message-ID: <93CBF9C89A88D31196000008C7EBB287DC001E@tlexmail.teralogic-inc.com>
Hi Manish,
		I have been following this thread. Can you save an encoded
(jpeg or gif) bytestream to the scratchpad and then use MediaManager to
display it on the screen? We have been puzzling over this for some time and
have not quite understood how to do this.
-jim munro

-----Original Message-----
From: Manish Prabhune [mailto:applet_graphics@yahoo.com]
Sent: Tuesday, October 09, 2001 3:25 AM
To: keitai-l@appelsiini.net
Subject: (keitai-l) Re: Image downloading !


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/ ]

[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Oct 9 22:07:07 2001