I have a project where i want to load images at runtime on Android.
On HTML5 target, i just copied the images into the Export/html5/bin/ folder and i can create loaders that load them in runtime.
In android, i cant put the image into the .apk file (obviously…)
Can anyone tell me how can i instruct haxe to include a file (images / xmls etc…) in my exported apk?
You can inlcude file or directory in your apk with this line in your xml project : <assets path="assets/img/" rename="img" embed="false"/> <assets path="assets/sound/" rename="sound" embed="false"/>