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 org.sfcta.cycletracks.TripUploader.java

public class TripUploader extends AsyncTask<Long, Integer, Boolean> {
    Context mCtx;
    DbAdapter mDb;

    public static final String TRIP_COORDS_TIME = "rec";
    public static final String TRIP_COORDS_LAT = "lat";

From source file edu.usf.cutr.opentripplanner.android.tasks.ServerChecker.java

    private static final String TAG = "OTP";
    private ProgressDialog progressDialog;
    private WeakReference<Activity> activity;
    private Context context;

    private ServerCheckerCompleteListener callback = null;

From source file dario.androidclient.HttpPostTaskSample.java

public class HttpPostTaskSample extends AsyncTask<String, Void, String> {
    private HttpCallback callback;

    public HttpPostTaskSample(HttpCallback callback) {
        this.callback = callback;
    }

From source file edu.rowan.app.carousel.CarouselFetch.java

/**
 * 
 * @author Tom Renn
 *
 */
public class CarouselFetch extends AsyncTask<Void, Void, CarouselFeature[]> {

From source file com.example.android.myargmenuplanner.data.LoadMenu.java

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

    private final String LOG_TAG = LoadMenu.class.getSimpleName();

    private String orderBy;
    public Context mContext;

From source file com.javielinux.task.UploadTwitlongerAsyncTask.java

public class UploadTwitlongerAsyncTask extends AsyncTask<String, Void, Boolean> {

    public interface UploadTwitlongerAsyncTaskResponder {
        public void uploadTwitlongerLoading();

        public void uploadTwitlongerCancelled();

From source file org.protocoder.network.RequestTask.java

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

    @Override
    protected String doInBackground(String... uri) {
        HttpClient httpclient = new DefaultHttpClient();
        HttpResponse response;

From source file com.my.cloudcontact.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 org.digitalcampus.oppia.task.UpdateCourseActivityTask.java

public class UpdateCourseActivityTask extends AsyncTask<Payload, DownloadProgress, Payload> {

    public final static String TAG = UpdateCourseActivityTask.class.getSimpleName();
    private UpdateActivityListener mStateListener;

    private Context ctx;

From source file com.newtonehome.hobbled_tone.client.DataAccess.java

public class DataAccess extends AsyncTask<Void, Void, Void> {

    private static final String TAG = "DataAccess";

    private static String convertStreamToString(InputStream is) {
        /*