InputStream istr = Display.getInstance().getResourceAsStream(getClass(), "/Libro_1.xml"); is always null

17 views
Skip to first unread message

luca....@gmail.com

unread,
Jun 12, 2017, 3:08:23 AM6/12/17
to CodenameOne Discussions
Hello,
I really don't know why, but the result of InputStream istr = Display.getInstance().getResourceAsStream(getClass(), "/Libro_1.xml"); is always null.

I' m sure the location is right, the case is right, but the result is always the same: instr=null.

Can you help me explaining me why?

Thank's in advance,
Luca
Cattura.PNG

Shai Almog

unread,
Jun 13, 2017, 12:35:29 AM6/13/17
to CodenameOne Discussions
Reply all
Reply to author
Forward
0 new messages