Make sure the surfaceView or associated SurfaceHolder has ..

Problems with Canvas, OpenGL, etc...

Make sure the surfaceView or associated SurfaceHolder has ..

Postby victoheart » Mon Jan 10, 2011 6:18 am

Hi~all,

I use OpenGL in LockScreen in android 2.2. When the device run in LockScreen, it get the following error : java.lang.IllegalArgumentException: Make sure the surfaceView or associated SurfaceHolder has a valid Surface...

Does anyone know what's problem causes it? I guess the context of LockScreen is different from the context of activty, so this reason causes this problem. But I am not sure.

Thanks for your helping
victoheart
Freshman
Freshman
 
Posts: 4
Joined: Wed Jan 20, 2010 9:02 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 4 guests