No Steve, i don't want to load resource file,  here i want to load byte 
array(getting from service) as pdf file.

how to load byte array as pdf file? .    

On Wednesday, February 14, 2018 at 7:21:55 PM UTC+5:30, Steve Hannah wrote:
>
> 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, <[email protected] <javascript:>> 
> 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 [email protected] 
>> <javascript:>.
>> 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 [email protected].
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/95e79b21-0621-4b28-b151-9974a87d7f7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to