Matt, are you sure the perceived slowdown in UI responsiveness is due
to this low-priority thread?  The slowdown might be due to action
taken by higher priority threads (like the main UI thread) in response
to your worker thread.  One other thing you could try is to put lots
of Thread.yield() calls in your worker thread, especially within
loops.  This will prematurely terminate its time slice if there are
any other threads that are ready to run.  I don't recommend that as a
final solution, only as a diagnostic tool to see if the perceived
slowdown persists.

-- 
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

Reply via email to