Plz give more idea ....
On Wed, Jul 27, 2011 at 11:35 AM, Hitendrasinh Gohil <
[email protected]> wrote:
> hi naveen,
>
>
> you can do something like this.
>
>
> public boolean isstart=true;
> .....
>
> public void run()
> {
> while(isstart)
> {
> ...........here ur implementation
> }
>
> }
>
>
> and public void stopThread()
>
> {
> isstart=false;
>
>
> }
>
>
>
>
>
> On Tue, Jul 26, 2011 at 11:00 PM, N K Shrivastva <
> [email protected]> wrote:
>
>> Hello Android developer,
>>
>> i have two button, one for start thread and another for stop thread.
>>
>>
>> when clicking on start thread then it's display message in after each
>> second.
>>
>> but i want stop that thread on stop button click.what to do need ur
>> help or refer me actual url.
>>
>> Thanks,
>>
>> --
>> 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
>
>
>
>
> --
> Regards,
> Hitendrasinh Gohil
>
>
> --
> 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
>
--
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
--
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