Example usage for android.os AsyncTask subclass-usage

List of usage examples for android.os AsyncTask subclass-usage

Introduction

In this page you can find the example usage for android.os AsyncTask subclass-usage.

Usage

From source file no.norrs.projects.andronary.tasks.DictLookupTask.java

/**
 *
 * @author Roy Sindre Norangshol <roy.sindre@norangshol.no>
 */
public class DictLookupTask extends AsyncTask<String, Void, List<SearchResult>> {

From source file edu.stanford.mobisocial.dungbeetle.util.HTTPDownloadTextFileTask.java

public class HTTPDownloadTextFileTask extends AsyncTask<String, Void, String> {
    @Override
    public String doInBackground(String... urls) {
        String response = "";
        for (String url : urls) {
            DefaultHttpClient client = new DefaultHttpClient();

From source file damo.three.ie.prepay.UpdateAsyncTask.java

/**
 * This class is responsible for logging into the My3 account and fetching details. Parsing data and returning usages
 * in JSON format.
 */
public class UpdateAsyncTask extends AsyncTask<Void, Void, JSONArray> {

From source file com.alltivity.wotnow.AbstractGetNameTask.java

/**
 * Display personalized greeting. This class contains boilerplate code to
 * consume the token but isn't integral to getting the tokens.
 */
public abstract class AbstractGetNameTask extends AsyncTask<Void, Void, Void> {
    private static final String TAG = "TokenInfoTask";

From source file com.manish.googleprofiledemo.AbstractGetNameTask.java

/**
 * Display personalized greeting. This class contains boilerplate code to
 * consume the token but isn't integral to getting the tokens.
 */
public abstract class AbstractGetNameTask extends AsyncTask<Void, Void, Void> {
    private static final String TAG = "TokenInfoTask";

From source file com.asynhkm.productchecker.Checker.CheckerTask.java

/**
 * Created by Hesk on 30/12/2014.
 */
public class CheckerTask extends AsyncTask<Void, Void, DataProductVersion> {
    public static final String TAG = "Redeem Class";
    public static final MediaType JSON = MediaType.parse("application/json; charset=utf-8");

From source file com.rfcx.cellmapping.tasks.RequestTask.java

public class RequestTask extends AsyncTask<String, String, String> {

    protected RequestTaskHandler rsh;
    protected JSONRequestTaskHandler jrsh;
    private ArrayList<NameValuePair> headers;
    private ArrayList<NameValuePair> params;

From source file org.rfcx.cellmapping.tasks.RequestTask.java

public class RequestTask extends AsyncTask<String, String, String> {

    protected RequestTaskHandler rsh;
    protected JSONRequestTaskHandler jrsh;
    private ArrayList<NameValuePair> headers;
    private ArrayList<NameValuePair> params;

From source file com.twentyoneechoes.borges.task.GetFilesTask.java

/**
 * Created by Jerrell Mardis on 8/5/14.
 */
public class GetFilesTask extends AsyncTask<Void, Void, List<SmbFile>> implements TaskListener {

    private Context mContext;

From source file org.mifos.androidclient.templates.ServiceConnectivityTask.java

/**
 * A base task used for asynchronous communication with the Mifos server.<br />
 * Allows to specify the title and message for the progress dialog displayed when
 * the task is in progress.
 */
public abstract class ServiceConnectivityTask<Params, Progress, Result>