If you're loading a resource file from the file system, you'll need to use
the Resources.open(InputStream) variant.  (i.e. open an input stream from
the file system, and pass that to Resources.open().

Steve

On Wed, Feb 14, 2018 at 3:35 AM, <kantharao...@gmail.com> wrote:

> when i tried to call "Display.getInstance().execute()" method it is
> asking URL but here i have byte array(byte[])..
> so how can i use "Display.getInstance().execute()" for byte array(byte[]).
>
> On Wednesday, February 14, 2018 at 10:58:41 AM UTC+5:30, Shai Almog wrote:
>>
>> Why are you calling Resources.open?
>> Try Display.getInstance().execute().
>>
>> Resources.open works with "resource files" not files.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/3c249258-0567-437c-a2ec-
> 010429f9eb5a%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/3c249258-0567-437c-a2ec-010429f9eb5a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVTrjNgqPL7xFGMq_Oz%2BOiarFVXNd1DuFqeoMK6jnQ-FA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to