Home Features Docs Blog Support GitHub

How to deal with assets folder of third party libraries

Hi,

How can i read a file that is inside the Application.app file?

I have a main project named Ueeze that contaiins some resources. When i open them in xcode, i see all resources in the assets folder of ios-moe.

I package that project in a jar, to be used as reference of another project, HelloWorldUeeze.

When i open HelloWorldUeeze on xcode, the Ueeze resources are not in the assets folder, but inside the jar.

When i run the program, the resources that belongs to Ueeze are not found by HelloWorldUeeze.

folder

I want acces the files inside the assets/* folder. Note: the application folder is an expansion of the application.jar file - in the device, it does not exist!

thanks

guich

This is the way:

ClassLoader.getSystemClassLoader().getResourceAsStream(“assets/ui/curve.shader”)