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.sudhirkhanger.andpress.rest.WordPressAsyncTask.java

public class WordPressAsyncTask extends AsyncTask<String, Void, ArrayList<Post>> {

    public static final String LOG_TAG = WordPressAsyncTask.class.getSimpleName();
    public static final String ID = "id";
    public static final String TITLE = "title";
    public static final String RENDERED = "rendered";

From source file edu.rit.csh.androidwebnews.HttpsPutAsyncTask.java

/**
 * The asynchronous task used to do the PUT requests
 *
 * @author JD
 */
class HttpsPutAsyncTask extends AsyncTask<BasicNameValuePair, Integer, String> {

From source file com.moarub.kipptapi.ListsGetter.java

public class ListsGetter extends AsyncTask<String, Void, StringBuilder> {
    private JSONArray fLists;
    private ListsListener fListener;
    private ListsDataSource fDataSource;

    public ListsGetter(ListsListener listener, Context context) {

From source file com.dimasdanz.kendalipintu.devicestatusmodel.DeviceStatusSendData.java

public class DeviceStatusSendData extends AsyncTask<Boolean, Void, Boolean> {
    JSONParser jsonParser = new JSONParser();

    private DeviceStatusSendDataListener mListener;
    private Activity activity;

From source file com.citrus.sdk.webops.SignUpAsynch.java

public class SignUpAsynch extends AsyncTask<String, Void, String> {
    private MobileClient mobileClient;
    private SubscriptionService subscriptionService;
    private Activity activity;
    private JSONTaskComplete listener;

From source file de.incoherent.suseconferenceclient.tasks.GetConferencesTask.java

public class GetConferencesTask extends AsyncTask<Void, Void, ArrayList<Conference>> {
    public interface ConferenceListListener {
        public void conferencesDownloaded(ArrayList<Conference> conferences);
    }

    private ConferenceListListener mListener;

From source file com.contextawareframework.querymodule.RequestQuery.java

/**
 * Class for querying external server for retrieving the data. It will be better to generate
 * a JSON response in server side and read the same in android part, as we can use the same
 * output form to display on UI as well with any listview widget or any View part.
 * 
 * @author root

From source file app.nichepro.fragmenttab.account.AbstractGetNameTask.java

/**
 * Display personalized greeting. This class contains boilerplate code to
 * consume the token but isn't integral to getting the tokens.
 */
public abstract class AbstractGetNameTask extends AsyncTask<Hashtable<String, String>, String, String> {
    private static final String TAG = "TokenInfoTask";

From source file com.aqnote.app.wifianalyzer.vendor.model.RemoteCall.java

class RemoteCall extends AsyncTask<String, Void, String> {
    static final String MAC_VENDOR_LOOKUP = "http://api.macvendors.com/%s";

    @Override
    protected String doInBackground(String... params) {
        if (params == null || params.length < 1 || StringUtils.isBlank(params[0])) {

From source file io.indy.drone.async.PopulateDatabaseAsyncTask.java

public class PopulateDatabaseAsyncTask extends AsyncTask<Void, Integer, Void> {

    private static final String TAG = "PopulateDatabaseAsyncTask";
    private static final boolean D = true;

    static void ifd(final String message) {