As long as you don't do any long-lasting operations (network) on the UI 
thread, all should be fine.
As long as you don't do any tasks that may include wait-states 
(db/file-system/etc) on the UI thread, you won't see much of hiccoughs in 
your app's UI.

Your background threads doing the hard work should be fine.

Note, however, that background threads (including those used in AsyncTasks' 
executions) won't keep a process alive when the process is scheduled to be 
killed.

It could be that ICS is a bit more aggressive in killing of 
non-foreground/non-elevated processes, which means that threads still 
running in these processes get killed as well. 

If you find you have ANR issues, enable StrictMode to find out where the 
issues are in your code. 

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