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.altcanvas.twitspeak.TwitterTask.java

public class TwitterTask extends AsyncTask<TwitterTask.Payload, Object, TwitterTask.Payload> {
    public static final String TAG = "TwitterTask";

    public static final int FRIENDS_TIMELINE_DLOAD = 1001;
    public static final int FRIENDS_TIMELINE_DLOAD2 = 1002;
    public static final int UPDATE = 1003;

From source file com.liferay.mobile.android.task.ServiceAsyncTask.java

/**
 * @author Bruno Farache
 */
public class ServiceAsyncTask extends AsyncTask<JSONArray, Void, JSONArray> {

    public ServiceAsyncTask(Session session, AsyncTaskCallback callback) {

From source file com.probam.updater.util.HttpStringReader.java

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

    public static interface HttpStringReaderListener {

        public void onReadEnd(String buffer);

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

public class Pay extends AsyncTask<Void, Void, Void> {
    private JSONObject urlDetails;
    private JSONTaskComplete taskExecuted;
    private JSONObject postObject;
    private PaymentGateway makePayments;
    private String result;

From source file edu.illinois.whereru.DBConnector.java

/**
 * Class responsible for handling connection with DB.
 * Makes query in the background asynchronously.
 * TODO: For some calls that the main thread waits on, implement progress dialog.
 * @author don
 *

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

public class CheckTestResultTask extends AsyncTask<String, Void, JSONArray> {

    private final RMBTMainActivity activity;

    private JSONArray resultList;

From source file org.sociotech.fishification.utils.CallHttpTask.java

/**
 * Asynchronously sends HTTP GET requests to FishificationFx endpoint.
 */
public class CallHttpTask extends AsyncTask<String, Void, String> {
    @Override
    protected String doInBackground(String... urls) {

From source file com.neighbor.ex.tong.network.UploadFileAndMessage.java

public class UploadFileAndMessage extends AsyncTask<Void, Void, Void> {
    //    private final String UPLAOD_URL = "http://211.189.132.184:8080/Tong/pushMsgByCarNum.do?senderMemberCarNum=";
    private final String UPLAOD_URL = "http://61.97.129.99:9000/OCRCarNoDetect";

    private String path;
    private String message;

From source file com.optimusinfo.elasticpath.cortex.profile.address.AsyncTaskAddAddress.java

/**
 * This class executes the add adress to profile
 * 
 * @author Optimus
 * 
 */

From source file com.writewreckedsoftware.ullr.networking.UpdateMarker.java

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

    @Override
    protected String doInBackground(String... arg0) {
        String json = arg0[0];
        JSONObject obj = null;