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.example.android.myargmenuplanner.data.FetchJsonDataTask.java

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

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

    private String orderBy;
    public Context mContext;

From source file com.nextgis.maplibui.util.NGWTrackLayerCreateTask.java

public class NGWTrackLayerCreateTask extends AsyncTask<Void, Void, Boolean> implements IProgressor {
    private ProgressDialog mProgress;
    private Connection mConnection;
    private Activity mActivity;
    private boolean mIsCancelled;

From source file br.com.dgimenes.sunshine.FetchWeatherTask.java

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

    private final String APP_ID = "65085b3644174f7e46107a13ce48542f";

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

From source file com.groupe1.miage.ujf.tracestaroute.FetchTrackTask.java

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

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

    private final Context mContext;

From source file com.radioreddit.android.api.GetSongInfo.java

public class GetSongInfo extends AsyncTask<String, Integer, Boolean> {
    private AllSongInfo mSong;

    private MusicService mService;

    public GetSongInfo(MusicService service, AllSongInfo song) {

From source file com.aokp.romcontrol.github.tasks.GetCommitsInProjectTask.java

/**
 * Displays most recent commits (30) for provided repository
 */
public class GetCommitsInProjectTask extends AsyncTask<String, Void, Void> {
    private final String TAG = getClass().getSimpleName();
    private final boolean DEBUG = false;

From source file org.openbmap.soapclient.AsyncUploader.java

/**
 * Uploads xml files as multipart message to webservice.
 */
public class AsyncUploader extends AsyncTask<String, Integer, Boolean> {

    private UploadResult mResult;

From source file de.chaosdorf.meteroid.longrunningio.LongRunningIOGet.java

public class LongRunningIOGet extends AsyncTask<Void, Void, String> {
    private final LongRunningIOCallback callback;
    private final LongRunningIOTask id;
    private final String url;

    public LongRunningIOGet(final LongRunningIOCallback callback, final LongRunningIOTask id, final String url) {

From source file org.odk.collect.android.tasks.DownloadFormListTask.java

/**
 * Background task for downloading forms from urls or a formlist from a url. We overload this task a
 * bit so that we don't have to keep track of two separate downloading tasks and it simplifies
 * interfaces. If LIST_URL is passed to doInBackground(), we fetch a form list. If a hashmap
 * containing form/url pairs is passed, we download those forms.
 *