Opengl-es android best way to preload images
Posted
by
lacas
on Stack Overflow
See other posts from Stack Overflow
or by lacas
Published on 2011-03-06T11:53:54Z
Indexed on
2011/03/14
0:10 UTC
Read the original article
Hit count: 219
I have a game app, and i have many screens. The first screen will be the SCREEN.LOADING screen.
When the app starting, I want to show a picture "loading please wait" while the images, menus, etc loaded succesfull.
I tried asynctask to do this, but its not work in GLThread. What is the way to do this in opengl-es?
03-06 12:46:35.282: ERROR/AndroidRuntime(32736): Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
Thanks, Leslie
© Stack Overflow or respective owner