title: How To Pause A SurfaceView Thread From An Android Activity
body: <p>I have followed this tutorial in great detail and have managed to understand and replicate the functions that I need from an Android SurfaceView:</p>
  
  <p><a href="http://obviam.net/index.php/moving-images-on-the-screen-with-androi/" rel="nofollow">http://obviam.net/index.php/moving-images-on-the-screen-with-androi/</a> </p>
  
  <p>I need to add a "pause" button in the game, which would be accessed from the activity. How would I go about pausing and then later continuing the thread from the activity? </p>
  
  <p>I have tried adding a button to test it but from that point I can't fathom how to control the thread from the Activity. Any help will be very useful and much appreciated. </p>
  
  <p>Thank you in advance</p>