What steps will reproduce the problem?
1. run the example 2 "texture background"
What is the expected output?
i should see the background beach.png
What do you see instead?
i can only see a maroon background
What version of Rokon are you using?
1.1.1
On which version of Android are you experiencing this?
2.0
Please provide any additional information below.
some examples don't run correctly, especially the example 2 texture
background. i can't see the background. the image loading part must be
problematic.
i tried to load the image myself. so i copied a piece of code from the
texture.java file:
Bitmap
kkk=BitmapFactory.decodeStream(Rokon.getRokon().getActivity().getAssets().open(_
textureType.getAssetPath()),
null, opts);
it turned out that kkk is null.
however, if i change the code to this:
kkk=BitmapFactory.decodeStream(Rokon.getRokon().getActivity().getAssets().open(_
textureType.getAssetPath()));
it works. but i don't know if this is the bug.
Original issue reported on code.google.com by billco...@gmail.com on 25 Feb 2010 at 5:54
Original issue reported on code.google.com by
billco...@gmail.com
on 25 Feb 2010 at 5:54