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 com.finlay.geomonsters.WeatherManager.java

public class WeatherManager extends AsyncTask<Object, Void, Weather> {

    // www.survivingwithandroid.com/2013/05/build-weather-app-json-http-android.html

    private static final String TAG = "WeatherManager";

From source file pro.dbro.bart.RequestTask.java

public class RequestTask extends AsyncTask<String, String, String> {
    //allow data passing to calling activity
    String request;
    boolean updateUI;

    RequestTask(String request, boolean updateUI) {

From source file org.mythtv.service.frontends.PlayRecordingOnFrontEndTask.java

/**
 * @author Daniel Frey
 *
 */
public class PlayRecordingOnFrontEndTask extends AsyncTask<String, Void, Boolean> {

From source file com.auth0.lock.passwordless.task.LoadCountriesTask.java

public abstract class LoadCountriesTask extends AsyncTask<String, Void, Map<String, String>> {

    public static final String TAG = LoadCountriesTask.class.getName();
    public static final String COUNTRIES_JSON_FILE = "com_auth0_passwordless_countries.json";

    private final Context context;

From source file org.esupportail.nfctagdroid.requestasync.CsnHttpRequestAsync.java

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

    static private final Logger log = LoggerFactory.getLogger(CsnHttpRequestAsync.class);

    protected String doInBackground(String... params) {

From source file com.yp.enstudy.http.HttpHandler.java

public class HttpHandler<T> extends AsyncTask<Object, Object, Object> implements EntityCallBack {

    private final AbstractHttpClient client;
    private final HttpContext context;

    private final StringEntityHandler mStrEntityHandler = new StringEntityHandler();

From source file net.alchemiestick.katana.winehqappdb.Metrics.java

public class Metrics extends AsyncTask<HttpPost, Void, StringBuffer> {
    SearchView main;
    final int TIMEOUT_MS = 10000;
    AndroidHttpClient httpClient;
    public List<NameValuePair> webData;

From source file edu.vt.alerts.android.library.tasks.VerificationTask.java

/**
 * AsyncTask that is used to verify that the provided device is registered with
 * the VT Alerts Push Notification System.
 * 
 * Verification is made by attempting to GET the subscriber's URL, presenting
 * the certificate for the subscriber.

From source file net.potterpcs.recipebook.DownloadImageTask.java

public class DownloadImageTask extends AsyncTask<String, Integer, Bitmap> {
    // Tag for logging
    //   private static final String TAG = "DownloadImageTask";

    // Handle for the parent activity
    Activity parent;

From source file edu.vt.alerts.android.library.tasks.TermsOfServiceTask.java

/**
 * An AsyncTask that accomplishes the following tasks:
 *    1) Determines if the Terms of Service need to be accepted (have they already
 *     been accepted?)
 *  2) If they need to be accepted, fetches the terms of service from the VT
 *     Alerts Push Notification System content service. Then, notifies the