Hello Zev,Maneesh,
Yes I understand that "url" can be used and needs to be the only one from
where the Appli was downloaded.
MediaImage mediaimage =
MediaManager.getImage(IApplication.getCurrentApp().getSourceURL() +
"image.gif");
mediaimage.use();
image = mediaimage.getImage();
regards
Manish
www.imodeindia.com
----- Original Message -----
From: "Zev Blut" <zev@atc.yamatake.co.jp>
To: <keitai-l@appelsiini.net>
Sent: Wednesday, October 10, 2001 9:44 AM
Subject: (keitai-l) Re: Image downloading !
> 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/ ]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Wed Oct 10 06:03:51 2001