Stop Surface View being destroyed

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


Sponsored Links
 Hi,

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
loaded.

Thanks

Adrian

--



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. WTNgelamun : Gadget Impian

Kapan yah gadget kayak gini dijual... *harapan dengan harga gila :D
Check this vid out :
http://vimeo.com/18079655

-- 
===============
"

2. sharing game buat tab

mohon infonya game yg bagus buat galaxy tab

regards

-- 
===============
"

3. [WTA] google gooles error

4. [WTI] OOT< Hati-Hati PENIPUAN!!!

5. "Package Installation Error" from store

6. Application priority

7. onPostExecute and Activity State