0

Possible Duplicate:
controll thread through button

i am make a application that require the GPS location and some other resources. i get the GPS location accurately but the problem is we use the three buttons that is (start, stop and pause) and i want to work the threads like these buttons if i press the start button thread start if i pause thread pause if i press stop then stop the threads. i am utilize by-default GPS demo example. if require code i will send it.

Community
  • 1
  • 1
jutt.chattha
  • 57
  • 1
  • 3
  • Is this the same question you asked in http://stackoverflow.com/questions/3179356/controll-thread-through-button – Richard Jul 05 '10 at 16:52
  • @Richard: Yes, this is indeed a duplicate. I had written a bulk of code similar to what you had written when I found your answer already there. – Paul Lammertsma Jul 05 '10 at 22:24

0 Answers0