07.01.2013 Views

David Defour - Université de Perpignan

David Defour - Université de Perpignan

David Defour - Université de Perpignan

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AsyncTask Details:<br />

Other Methods<br />

• onPreExecute<br />

–Invoked by the UI thread before doInBackground starts<br />

• publishProgress<br />

–Sends an intermediate update value to onProgressUpdate. You<br />

call this from co<strong>de</strong> that is in doInBackground. The type is the<br />

middle value of the class <strong>de</strong>claration.<br />

• onProgressUpdate<br />

–Invoked by the UI thread. Takes as input whatever was passed<br />

to publishProgress.<br />

• Note<br />

777<br />

jeudi 26 janvier 12<br />

–All of these methods can be omitted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!