is GLSurfaceView life-cycle the same as Activity that own it ?

by LemonDev » Thu, 03 Dec 2009 10:17:38 GMT

Sponsored Links
 what puzzle me so much is that i can't destroy a GLSurfaceView while i
don't want to exit the activity.

the fact is when i destroy a GLSurfaceView which had show in the screen
(that means it has binded to the activity's SurfaceHolder), the
activity exits without any prompting. Perhaps ,the Context which
provided in the Construction of GLSurfaceView joins the two things

so my conclusion is that a GLSurfaceView can only be destroyed when
exit the activity.

is there anyway to destroy a GLSurfaceView without exit activity?
is there someone can provide a clue?


Other Threads

1. Google Maps Sights Overlay


when using the stock Google Maps application on an Android phone,
there are quite some sights (like churches, museums, ...) displayed in
the MapView. Those are also clickable and one can access further
information about them. Is it somehow possible to get access to this
"sight overlay" in an own application that uses a MapView? If yes, how
could I do this?

Thank you in advance,


2. bluetooth apps for android

Is there anyway of testing bluetooth applications for android phone
without actually having a real android device. I am asking this
because the emulaator does not support bluetooth.


3. Weird behavior of MapView

4. how to implement getitem(position) in image adapter of hello-gridview to return customized imageview

5. Using SQLite to get information

6. unable to update the app

7. Importing existing projects to Android