The problem I am continuing to have is that SurfaceCreated gets called
instead of onCreate when the app restarts. I was using the join()
method which I thought terminates the thread but SurfaceCreated still
gets called first.

Is there a way to call onCreate from SurfaceCreated?


Another solution I tried to just set the thread to a paused state (ie.
setRunnable(false) ), and when the app restarts simply
setRunnable(true) to run the thread again, but all I get is a black
screen when I do this... All the settings, variables and graphics are
loaded but nothing happens.



On Apr 29, 10:51 pm, Anurag Singh <[email protected]> wrote:
> You can use Interrupt to strop a thread.
>
> http://java.sun.com/docs/books/tutorial/essential/concurrency/interru...
>
> - Anurag Singh
>
> On Fri, Apr 30, 2010 at 3:57 AM, Cameron.M.Johnson <
>

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

Reply via email to