Select to view content in your preferred language

error:call to OpenGL ES API with no current context

1034
2
07-15-2013 01:06 AM
__13
by
New Contributor
I import the simplest project "HelloWorld", it runs well, but when exit prompted the following error??
call to OpenGL ES API with no current context
My ArcGIS For AndRoid SDK Version??10.1.1201301161115

Code:
       @Override
 protected void onDestroy() {
  // TODO Auto-generated method stub
  super.onDestroy();
  mMapView.recycle();  //Releases the resources referenced by the MapView so that they can be recycled.
 }


 @Override
 protected void onPause() {
  super.onPause();
  mMapView.pause();
 }



 @Override
 protected void onResume() {
  super.onResume(); 
  mMapView.unpause();
 } 

    I add onDestroy function.
    So what's wrong with my project?
0 Kudos
2 Replies
DanO_Neill
Deactivated User
The issue is related to how MapView.recycle() handles releasing the OpenGL context.  I believe this is a bug and will start looking into it and follow up when I have a workaround and/or fix.
0 Kudos
__13
by
New Contributor
The issue is related to how MapView.recycle() handles releasing the OpenGL context.  I believe this is a bug and will start looking into it and follow up when I have a workaround and/or fix.


Thank you, waiting for good news!
0 Kudos