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.ounl.lifelonglearninghub.learntracker.gis.ou.db.ws.ActivityWSDeleteAsyncTask.java

public class ActivityWSDeleteAsyncTask extends AsyncTask<String, Integer, Integer> {

    private String CLASSNAME = this.getClass().getName();

    public int deleteActivities(long lCheckIn, String sUserId) {

From source file com.auth0.lock.sms.task.LoadCountriesTask.java

/**
* Created by hernan on 1/12/15.
*/
public abstract class LoadCountriesTask extends AsyncTask<String, Void, Map<String, String>> {

    public static final String TAG = LoadCountriesTask.class.getName();

From source file edu.vt.alerts.android.library.tasks.CancelRegistrationTask.java

/**
 * AsyncTask that is used to revoke or cancel a device's registration with the 
 * VT Alerts Push Notification System.
 * 
 * @author Michael Irwin
 */

From source file net.eledge.android.europeana.tools.RssReader.java

public class RssReader extends AsyncTask<String, Void, List<BlogArticle>> {

    private final TaskListener<List<BlogArticle>> mListener;

    private final DateTime mLastViewed;

From source file com.aegiswallet.tasks.GetCurrencyInfoTask.java

/**
 * Created by bsimic on 3/17/14.
 */
public class GetCurrencyInfoTask extends AsyncTask<String, Void, Void> {

    private Context context;

From source file com.nonobay.fana.udacityandroidproject1popularmovies.FetchMovieTask.java

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

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

    private final Context mContext;

From source file com.emobc.android.utils.RetreiveFileContentTask.java

/**
 * Ansync Task to download a file in backgorund.
 * @author Jorge E. Villaverde
 * @version 0.1
 * @since 0.1
 */

From source file com.jimkont.contactFix.provider.ProviderHTTPPost.java

abstract class ProviderHTTPPost extends AsyncTask<String, Void, ContactData> {
    protected static final int REGISTRATION_TIMEOUT = 30 * 1000; // ms
    protected static HttpClient mHttpClient;
    protected String telephone;
    protected String html = null;
    protected ContactData cn = null;

From source file com.thebigbang.ftpclient.FTPOperation.java

/**
 * Manage multiple FTP operations in a background thread. Can handle a bunch on
 * FTPBundle operations. Will send an event for each operation (FTPBundle) done
 * with the result in it. The Event result will always be on the UI Thread.
 * Force the device to stay on during the command processing, mainly because of connection drop in sleeping cases...
 * @author Jeremy.Mei-Garino

From source file org.digitalcampus.oppia.task.CourseSizeTask.java

public class CourseSizeTask extends AsyncTask<Payload, DownloadProgress, String> {

    public final static String TAG = DownloadCourseTask.class.getSimpleName();

    private Context ctx;
    private SharedPreferences prefs;