Hello,
I want to say that I often use the code on real i-mode Java phones and it
works.
-----------
MediaImage mImg = MediaManager.getImage(url);
mImg.use();
ImageLabel imLbl = new ImageLabel(mImg.getImage());
-----------
You should make sure that the url is from where you downloaded your i-appli,
because
you can only contact the site you downloaded the i-appli from.
Zev
P.S. ad for the other questions about loading GIFs and JPEGs from the
scratchpad, please look at the
archives. We had this discussion a while back.
----- Original Message -----
From: "Manish Prabhune" <applet_graphics@yahoo.com>
To: <keitai-l@appelsiini.net>
Sent: Tuesday, October 09, 2001 7:25 PM
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
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Wed Oct 10 03:27:11 2001