This class is an AsyncTask that looks up something. The lookup functionality classes inherit from this. Adapted from http://stackoverflow.com/questions/6343166/android-os-networkonmainthreadexception.
More...
|
Exception | exception |
| This holds any exception generated from the lookup call. More...
|
|
This class is an AsyncTask that looks up something. The lookup functionality classes inherit from this. Adapted from http://stackoverflow.com/questions/6343166/android-os-networkonmainthreadexception.
- Author
- James Burton
Definition at line 18 of file LookupTask.java.
protected String com.jburto2.androidlookup.LookupTask.doInBackground |
( |
String... |
urls | ) |
|
|
protected |
This function makes the function call in the background.
- Parameters
-
urls | Array of strings that are arguments to the function. |
- Returns
- String With the answer to the function call
-
null If the call failed.
- Exceptions
-
Exception | generated from InetAddress call is stored in the instance variable exception. |
Definition at line 42 of file LookupTask.java.
public Exception com.jburto2.androidlookup.LookupTask.getException |
( |
| ) |
|
public String com.jburto2.androidlookup.LookupTask.getExceptionMsg |
( |
| ) |
|
- Returns
- String of the exception message.
Definition at line 73 of file LookupTask.java.
protected void com.jburto2.androidlookup.LookupTask.onPostExecute |
( |
String |
str | ) |
|
|
protected |
Method to be done after the task has executed.
- Parameters
-
Definition at line 54 of file LookupTask.java.
Exception com.jburto2.androidlookup.LookupTask.exception |
|
protected |
The documentation for this class was generated from the following file: