[android-developers] I hate threads, help please.

2011-03-06 Thread brian purgert
I have a main thread that controls the drawing on the canvas, but i want
another thread that is just a bunch of true or false statements that detects
if an event happened.
So can some one show me how to make a simply low priority thread. That
starts when the activity starts. It would be much appreciated if someone who
has done it before could show me because, the android doc examples are
confusing me

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] I hate threads, help please.

2011-03-06 Thread Dianne Hackborn
Why would you use a thread for that at all?

On Sun, Mar 6, 2011 at 2:31 PM, brian purgert brianpurge...@gmail.comwrote:

 I have a main thread that controls the drawing on the canvas, but i want
 another thread that is just a bunch of true or false statements that detects
 if an event happened.
 So can some one show me how to make a simply low priority thread. That
 starts when the activity starts. It would be much appreciated if someone who
 has done it before could show me because, the android doc examples are
 confusing me

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en