Stop Surface View being destroyed

by Adrian Hirst » Fri, 19 Feb 2010 02:19:05 GMT

Sponsored Links

I have created a game that uses SurfaceView and need input for player
to enter there name so I created a View xml that allows the player to
enter there name with the virtual keyboard.

The problem I have is when I call setContentView(nameView) it destroys
the surfaceview and everything associated with it is there away to
preserve the SurfaceView as it gets rid of all the gfx that have been




Stop Surface View being destroyed

by Steeler » Fri, 19 Feb 2010 14:13:10 GMT

 One thing that comes to mind is using an AlertDialog for the name
prompt instead of a View.


Sponsored Links

Other Threads

1. Moderated list??

Would you guys like this to be a moderated list so the spammers can't
create users and send messages to the list?
It looks like that is the direction we're going to have to take this.


2. GPS coverage

Does the GPS getLocation still work if you are outside the range of
cellphone coverage?


3. myTouch 3G Fender Edition Is A Hit!!!

4. Drawing to MapView Incredibly Slow

5. remote desktop: ada yang pernah coba?

6. Regarding apn

7. Extended battery N1. Mau!