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.firsttry.mumbaiparking.helpers.AbstractGetNameTask.java

public abstract class AbstractGetNameTask extends AsyncTask<Void, Void, Void> {
    private static final String TAG = "TokenInfoTask";
    private static final String NAME_KEY = "given_name";

    protected GoogleLoginActivity mActivity;

From source file com.onaio.steps.helper.UploadFileTask.java

public class UploadFileTask extends AsyncTask<File, Void, Boolean> {
    private final Activity activity;
    private ExportHandler.OnExportListener onExportListener;

    public UploadFileTask(Activity activity, ExportHandler.OnExportListener onExportListener) {
        this.activity = activity;

From source file com.example.onenoteservicecreatepageexample.SendRefreshTokenAsyncTask.java

/**
 * Sends a request to refresh the access token using the refresh token
 * Parses the JSON response received and returns as a result the new access token, the new refresh token and the expiration time
 * @author machandw
 *
 */

From source file com.towerlabs.yildizyemek.HttpTask.java

public class HttpTask extends AsyncTask<String, Void, String> {

    private boolean error;

    private HttpClient httpClient;
    private HttpResponse httpResponse;

From source file com.scoreminion.GameSourcesApiFetcherAsyncTask.java

/**
 * Created by martincochran on 8/18/15.
 */
public class GameSourcesApiFetcherAsyncTask extends AsyncTask<Void, Void, List<ScoresMessagesGameSource>> {

    private static final String TAG = GameSourcesApiFetcherAsyncTask.class.toString();

From source file be.uclouvain.multipathcontrol.stats.GetIPTask.java

public class GetIPTask extends AsyncTask<String, Void, String> {

    private final Editor editor;

    public GetIPTask(Editor editor) {
        super();

From source file org.bishoph.oxdemo.util.CreateTaskAction.java

public class CreateTaskAction extends AsyncTask<Object, Object, JSONObject> {

    private OXDemo oxdemo;
    private HttpClient httpclient;
    private HttpContext localcontext;
    private int folder_id = -1;

From source file edu.usf.cutr.opentripplanner.android.serialization.TripRequest.java

/**
 * Modified by Khoa Tran
 * 
 */

public class TripRequest extends AsyncTask<String, Integer, Long> {

From source file com.dimasdanz.kendalipintu.logmodel.LogLoadData.java

public class LogLoadData extends AsyncTask<Void, Void, ArrayList<String>> {
    JSONParser jsonParser = new JSONParser();
    ArrayList<String> listDataHeader = new ArrayList<String>();

    private LogLoadDataListener mListener;
    private Activity activity;

From source file blackman.matt.catalog.CatalogLoader.java

/**
 * Loads a board catalog from a selected board and sends it up to the user.
 *
 * Created by Matt on 11/24/2014.
 */
class CatalogLoader extends AsyncTask<URL, Void, JSONArray> {