We did a proof on concept (we actually have implemented it) before asking 
this question.
You can actually remove the calls to GLSurfaceView.onPause 
and  GLSurfaceView.onResume entirely and most of the time it will work. 
Leaving these calls out will fail only after *excessive 
*rotations/configuration-changes 
on *some *phones and tablets.

Since it failed on some phones we own ourselves, we were able to notice the 
problem of leaving out these calls entirely.
Then we put the  GLSurfaceView.onPause/onResume in the onStop/onStart of the 
Activity and it seems to have fixed the issue. We haven't been able to 
reproduce the problem on the phones we own.

I'm asking this question, because we do something that is not recommended 
but seems to work anyway, and we're wondering if we risk the chance to run 
into problems in some scenarios that we haven't thought about or on some 
(types of) phones/devices that we don't own.


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to