(keitai-l) Re: tech - media manager/images

From: Ashish Agrawal <ashish_ag_at_hotmail.com>
Date: 03/06/01
Message-ID: <F129nlT2NqFJ3sl3xbY00000a47@hotmail.com>
Thanks Zev,

the call to MediaManager.getImage("http://myimage.gif")  works, but when I 
try to use the resulting MediaImage ( mi = 
MediaManager.getImage("http://myimage.gif"); mi.use() ), it gives me a  
com.nttdocomo.ui.UIException: at com.nttdocomo.ui.u.use() . The status 
message says -NO_RESOURCES ??

so how do i display the image ??

-Ashish

>Hello Ashish,
>
>If you are loading your images via the resource:/// method then yes it 
>needs
>to be in the jar file.  There is also a way of saving the images to the
>scratchpad and reading it from there.  And of course there is a way of 
>using
>http:// to get an image.  This feature is poorly documented but, if you try
>using MediaManager.getImage("http://myimage.gif");  you might be pleasantly
>surprised.

[ excessive quoting removed ]


[ Did you check the archives?   http://www.appelsiini.net/keitai-l/ ]
Received on Tue Mar 6 12:03:15 2001