I have Atlas file "http://mydomain.test.com/images/atlas.png", so i want load it using Assetmanager in android and ios. How can i do that?
Please Help!!! Loading Asset From Extenal Url in Android and Ios?(5 posts) (2 voices)
Why won't you just specify png and xml as the path to asset manager?
this.assets.enqueue( "http://mydomain.test.com/images/atlas.png", "http://mydomain.test.com/images/atlas.xml" )
Perhaps you should cache loaded assets somehow to load them from local cache next time app starts, but you'd need to extend AssetManager to handle this.
NOTE, on iOS you are restricted to use https by default. To be able to use http add NSTemporaryExceptionAllowsInsecureHTTPLoads key to desired domain in InfoAdditions
thanks your answer! i'll try this.
I complete loader from mydomain, how can i cache and use them in next time when i open App
You must log in to post.