Page 1 of 1

GetAsset() with the Hollywood Player

Posted: Wed Mar 06, 2019 2:06 pm
by PEB
If I try loading a brush using GetAsset() in an applet to be run through the Android Hollywood Player, I get an error saying that the image file cannot be found (even though the image has been copied into the auto-created directory associated with that applet).

If I load the brush without GetAsset(), it works just fine; but I'd rather not need to modify the code in many places depending on whether I'm running the applet through the player or compiling it with the APK Compiler.

Re: GetAsset() with the Hollywood Player

Posted: Wed Mar 06, 2019 5:49 pm
by airsoftsoftwair
Right, this looks like a bug. Will be fixed!

Re: GetAsset() with the Hollywood Player

Posted: Sat May 04, 2019 6:17 pm
by airsoftsoftwair

Code: Select all

- Change [Android]: GetAsset() will only try to access the assets directory when running APKs created
  by the Hollywood APK Compiler; when running normal applets through the Hollywood Player for Android,
  GetAsset() will behave as on desktop systems now