I am calling it because the documentation tells so. public void onPause ()
Since: API Level 3 Inform the view that the activity is paused. The owner of this view must call this method when the activity is paused. Calling this method will pause the rendering thread. Must not be called before a renderer has been set. If i don't call this the OpenGL rendering thread will keep on giving the onDrawFrame calls. regards KK On May 26, 11:06 pm, Indicator Veritatis <[email protected]> wrote: > The first thing that pops out as odd, possibly related to your > problem, is that as you describe it, you are callingonPause() and > onResume() yourself. These are meant to be called by the system, not > the API user (you). Are you really calling these yourself? If so, why? > > On May 26, 6:25 am, KK <[email protected]> wrote: > > > > > I am using OpenGL to do some rendering and whenever my rendering gets > > paused I callonPauseofGLSurfaceViewand later when I resume > > onResume ofGLSurfaceView. This was working fine till I upgraded my > > Nexus One to Froyo today. After that the thread callingonPauseseems > > to be blocked in that API. Anyone has any idea why this is happening? > > Is there anything I need to change for this to work on Froyo? -- 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

