vendredi 4 juin 2010

Writing zippy Android apps Google IO Video

A Must-see presentation for development on Android : Writing zippy Android apps

I really liked the part where Brad Fitzpatrick explains what the difference is between an AsyncTask and IntentService :
  • AsyncTask : for non blocking "fire and forget" operations outside of the UI Thread (the OS may kill the AsyncTask upon certain conditions and the task may not be able to finish its job)
  • IntentService : use for non blocking operations that must not be interrupted outside of the UI Thread

Aucun commentaire: