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 net.dahanne.android.regalandroid.tasks.LoginTask.java

public class LoginTask extends AsyncTask<Object, Object, String> {

    private static final String NOTLOGGEDIN = "NOTLOGGEDIN";
    private static final String GUEST = "guest";
    private String user;
    private boolean galleryUrlIsValid = false;;

From source file com.sf.httpclient.core.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 edu.vt.alerts.android.library.tasks.FetchAlertSummaryTask.java

/**
 * AsyncTask that is used to fetch the summaries for alerts from the VT-APNS
 * system.
 *
 * @author Michael Irwin
 */

From source file org.forgerock.openam.mobile.commons.ASyncRestRequest.java

/**
 * This abstract class acts as a parent to each of the types needed to talk to ForgeRock
 * REST services via asynchronous tasks. We use Apache HTTP Client as the backing for
 * our HTTP comms.
 * @param <T> The HTTPRequest type that the concrete class uses, e.g. HttpPost
 */

From source file ac.robinson.paperchains.SoundCloudUploadTask.java

class SoundCloudUploadTask extends AsyncTask<String, Long, JSONObject> {

    // how long to wait before removing the notification (after completion or failure)
    private static final int NOTIFICATION_REMOVAL_DELAY = 3500;

    private final WeakReference<PaperChainsActivity> mContext;

From source file eu.codeplumbers.cosi.api.tasks.RegisterDeviceTask.java

public class RegisterDeviceTask extends AsyncTask<Void, Void, Device> {

    private final String url;
    private final String password;
    private final String authHeader;
    private ConnectFragment connectFragment;

From source file net.kervala.comicsreader.BrowseRemoteAlbumsTask.java

public class BrowseRemoteAlbumsTask extends AsyncTask<String, Integer, String> {
    private final String mUrl;
    private final WeakReference<BrowserActivity> mActivity;
    private ArrayList<ThumbnailItem> mItems;

    public BrowseRemoteAlbumsTask(BrowserActivity activity, String url) {

From source file com.chainsaw.clearweather.BackgroundFetch.java

class BackgroundFetch extends AsyncTask<String, Integer, WeatherData> {

    JSONObject weatherData;
    StringBuffer buffer;
    WeatherData returnData = null;
    Context appContext;

From source file com.aujur.ebookreader.catalog.DownloadFileTask.java

public class DownloadFileTask extends AsyncTask<String, Long, String> {

    private File destFile;

    private Exception failure;

From source file thiru.in.basicauthwebview.Authenticate.java

/**
 * Access REST service to authentication the user and return the cookies
 *
 * Author - Thirumalai Veerasamy techy@thiru.in
 * Date - 13-Oct-2014
 */