|
Android Mobile Physical Therapy Exercise Documenter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectandroid.os.AsyncTask<QRMessage,java.lang.Integer,java.lang.Integer>
com.communipatient.amptedapp.comm.DownloadMessage
public class DownloadMessage
The background task responsible for downloading and decrypting a message.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.os.AsyncTask |
|---|
android.os.AsyncTask.Status |
| Field Summary | |
|---|---|
private android.app.Activity |
activity
The calling activity. |
private android.app.ProgressDialog |
progress
The progress dialog. |
private static java.lang.String |
TAG
The tag used for logging. |
| Constructor Summary | |
|---|---|
DownloadMessage(android.app.Activity activity,
android.app.ProgressDialog progress)
Initializes a new instance of the DownloadMessage class. |
|
| Method Summary | |
|---|---|
protected java.lang.Integer |
doInBackground(QRMessage... params)
The background task to download and decrypt the message contents that stores the plan in the local database. |
protected void |
onPostExecute(java.lang.Integer result)
Deal with the result. |
protected void |
onProgressUpdate(java.lang.Integer... progress)
Update the background tasks. |
| Methods inherited from class android.os.AsyncTask |
|---|
cancel, execute, get, get, getStatus, isCancelled, onCancelled, onPreExecute, publishProgress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String TAG
private android.app.Activity activity
private android.app.ProgressDialog progress
| Constructor Detail |
|---|
public DownloadMessage(android.app.Activity activity,
android.app.ProgressDialog progress)
activity - The calling activity.progress - The progress dialog.| Method Detail |
|---|
protected java.lang.Integer doInBackground(QRMessage... params)
doInBackground in class android.os.AsyncTask<QRMessage,java.lang.Integer,java.lang.Integer>params - The QRMessage to load.protected void onProgressUpdate(java.lang.Integer... progress)
onProgressUpdate in class android.os.AsyncTask<QRMessage,java.lang.Integer,java.lang.Integer>progress - The index of the progress message to display.protected void onPostExecute(java.lang.Integer result)
onPostExecute in class android.os.AsyncTask<QRMessage,java.lang.Integer,java.lang.Integer>result - The final result.
|
Revision: 109 Generated on Fri Dec 9 07:00:03 UTC 2011 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||