> I know in J2ME, it was good practice to put any blocking operations in > Threads, does this apply to Android as well? Examples I've seen so > far don't seem too, maybe they were just being lazy.
AFAIK, work done directly in the callbacks (onCreate(), etc.) block the GUI thread, so any non-visual work that takes a noticeable amount of time should be done on a background thread. Note that such threads can't update the GUI, so they should use a Handler or something for that. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ -- Available Now! --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

