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.gmail.at.faint545.tasks.HistoryDownloadTask.java

public class HistoryDownloadTask extends AsyncTask<Void, Void, String> {
    private Fragment mContext;
    private String url;
    private String api;
    private PullToRefreshListView pullToRefresh;

From source file at.alladin.rmbt.android.util.CheckSettingsTask.java

/**
 * 
 * @author
 * 
 */
public class CheckSettingsTask extends AsyncTask<Void, Void, JSONArray> {

From source file net.palacesoft.cngstation.client.loader.CountryLoader.java

public class CountryLoader extends AsyncTask<String, Void, List<StationDTO>> {
    private StationActivity stationActivity;
    private RestTemplate restTemplate = new RestTemplate();
    private ProgressDialog progressDialog;

    public CountryLoader(StationActivity stationActivity) {

From source file ro.razius.vianet.LoginTask.java

public class LoginTask extends AsyncTask<String, Void, Void> {
    private static final String TAG = "LoginTask";
    private static final String authURL = "https://hotspot.viauc.dk/nwa_auth/action/ads";
    private static final String userParam = "auth_ads_user";
    private static final String passParam = "auth_ads_pass";

From source file at.alladin.rmbt.android.util.LogTask.java

public class LogTask extends AsyncTask<String, Void, Void> {
    private final static String LOGFILE_PREFIX = "com.specure.nettest";

    private final RMBTMainActivity activity;

    ControlServerConnection serverConn;

From source file com.google.android.gms.samples.plus.GetPlusPersonDataTask.java

/**
 * This AsyncTask is used to fetch the signed in user's Google+ profile data.
 */
public abstract class GetPlusPersonDataTask extends AsyncTask<Void, Void, JSONObject> {
    private static final String TAG = GetPlusPersonDataTask.class.getSimpleName();
    private static final int IO_BUFFER_SIZE = 4 * 1024;

From source file com.mogoweb.tasks.HistoryBookmarksExportTask.java

public class HistoryBookmarksExportTask extends AsyncTask<Cursor, Integer, String> {

    private Context mContext;
    private IHistoryBookmaksExportListener mListener;

    public HistoryBookmarksExportTask(Context context, IHistoryBookmaksExportListener listener) {

From source file edu.asu.msse.sgowdru.moviemediaplayerrpc.AsyncCollectionConnect.java

public class AsyncCollectionConnect extends AsyncTask<MethodInformation, Void, JSONObject> {
    StringBuilder sb = new StringBuilder();
    JSONObject json = null;

    //In the background do the retrieval of JSON object with streamer file name from RPC server which is started
    //Independently, depending on the method name and parameters supplied

From source file es.uma.lcc.tasks.PicturesViewTask.java

/**
 * @author - Carlos Pars Pulido, Oct 2013
 * 
 * AsyncTasks which queries the user for all pictures uploaded by the user.
 * Calls PictureDetailsActivity when it receives the response.
 * 

From source file org.openvoters.android.tasks.RemoteAPIVoteTask.java

public class RemoteAPIVoteTask extends AsyncTask<Object, Void, Boolean> {

    RemoteAPIVoteCallback callback;
    Exception exc;
    String uniqueVoterID;