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.tealeaf.ResourceDownloaderTask.java

public class ResourceDownloaderTask extends AsyncTask<Activity, Float, Boolean> {
    private String host;
    private int port;
    private AppInfo appInfo;
    private ProgressDialog progressDialog;
    private Activity context;

From source file com.sam_chordas.android.stockhawk.data.FetchDetailStockTask.java

public class FetchDetailStockTask extends AsyncTask<String, Void, String[]> {

    private final String LOG_TAG = FetchDetailStockTask.class.getSimpleName();
    private String stockName;
    public Context mContext;
    private OkHttpClient client = new OkHttpClient();

From source file com.shanet.relayremote.Background.java

public class Background extends AsyncTask<Bundle, Integer, ArrayList<BasicNameValuePair>> {

    private AlertDialog dialog;
    private Context context;
    private Timer timer;
    private TimerTask tt;

From source file org.que.async.AsyncJSONSender.java

/**
 * The AsyncJSONSender sends to an given URL via POST
 * some JSONObjects.
 * 
 * @author Christopher Zell <zelldon91@googlemail.com>
 */

From source file com.teleca.jamendo.util.download.DownloadTask.java

/**
 * File download thread
 * 
 * @author Lukasz Wisniewski
 */
public class DownloadTask extends AsyncTask<Void, Integer, Boolean> {

From source file be.kuleuven.noiseapp.auth.AbstractGetInfoTask.java

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

From source file it.baywaylabs.jumpersumo.utility.FTPDownloadImage.java

/**
 * This AsyncTask downloads image from FTP server runs on robot.<br />
 * Created on 01/12/15.
 *
 * @author Massimiliano Fiori [massimiliano.fiori@aol.it]
 * @see <a href="http://developer.android.com/reference/android/os/AsyncTask.html" target="_blank">AsyncTask</a>

From source file ua.naiksoftware.chars.Sender.java

public class Sender extends AsyncTask<Integer, Void, Boolean> {

    private static final String tag = "Sender";
    private String err = "";
    private AlertDialog dialog;
    public static final String URL = "http://eof-cms.h2m.ru/game.php";// game.php ?  ?

From source file bluemurder.miner.MinerTask.java

public class MinerTask extends AsyncTask<Object, Object, Object> {

    public BminerActivity activity;
    public boolean running = false;
    private MessageDigest h1;
    private String authPair;

From source file com.thingsee.tracker.REST.KiiBucketRequestAsyncTask.java

public class KiiBucketRequestAsyncTask extends AsyncTask<String, Integer, Boolean> {

    private static final String LOG_TAG = "Tracker - KiiBucket";

    private HttpClient mHttpClient;
    private String mAppId;