How can i stop a thread in oncheckedchanged?
<p>Well i can start the thread when i press togglebutton to ON and it works fine, that thread is to start audiorecord and audiotrack.
But i cannot stop the thread when i put togglebutton OFF... cuz cannot do thread.stop... What i want to do is just stop audiorecord and audiotrack... If there is any way to start/stop them w/o making thread will be also fine.
Also, as i cannot stop thread, when i do togglebutton ON - OFF - ON, it makes an error cuz cant start a thread 2 times. </p>
