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.
GetAsset() with the Hollywood Player
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: GetAsset() with the Hollywood Player
Right, this looks like a bug. Will be fixed!
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: GetAsset() with the Hollywood Player
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