[android-developers] Is the EGL_CONTEXT_LOST error is occur on the Nexus One or other real devices ?

2010-07-15 Thread Alexey Kryshen
Hello! We are developing game for the Android platform using OpenGL ES for drawing. The EGL specification states that EGL_CONTEXT_LOST error may occur under some circumstances and there is constant in the Android API for this error code, but we have never seen that error on real Nexus One device

[android-developers] Re: EglSwapBuffers

2010-07-15 Thread Alexey Kryshen
Hello! 5% for the SwapBuffer is not a big deal. It is possible it took the 90% of frame time under some circumstances. Please note following: 1) SwapBuffer has implicit glFinish() semantic. All the GL commands issued prior the SwapBuffer will be completed before actual swap is occur. And it is

[android-developers] Re: How to know if child activity exit by unexpected exception (onActivityResult() is not called)

2010-06-29 Thread Alexey Kryshen
On Jun 28, 7:37 pm, TreKing treking...@gmail.com wrote: On Wed, Jun 23, 2010 at 7:57 AM, Alexey Kryshen a.krys...@gmail.com wrote: If child activity started by the startActivityForResult() exit by unexpected exception the onActivityResult() is not called and I have no any ideas how can I

[android-developers] How to know if child activity exit by unexpected exception (onActivityResult() is not called)

2010-06-23 Thread Alexey Kryshen
Hello! I have faced with issue about startActivityForResult() and onActivityResult(). If child activity started by the startActivityForResult() exit by unexpected exception the onActivityResult() is not called and I have no any ideas how can I handle this to get application working in a fail-safe