android - Libgdx Reading External Resources -


in desktop application can load texture this

texture texture = new texture(gdx.files.absolute("c:/picture.png")); 

how can in android?

external relative sd card. this:

texture texture = new texture(gdx.files.external("picture.png")); 

will in root of sd card.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -