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.transdroid.search.barcode.GoogleWebSearchBarcodeResolver.java

public abstract class GoogleWebSearchBarcodeResolver extends AsyncTask<String, Void, String> {

    private static final String LOG_NAME = "Transdroid GoogleWebSearchBarcodeResolver";
    public static final String apiUrl = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=%s";

    @Override

From source file edu.sfsu.cs.orange.ocr.language.TranslateAsyncTask.java

/**
 * Class to perform translations in the background.
 */
public final class TranslateAsyncTask extends AsyncTask<String, String, Boolean> {

    private static final String TAG = TranslateAsyncTask.class.getSimpleName();

From source file net.alchemiestick.katana.winehqappdb.WineSearch.java

public class WineSearch extends AsyncTask<HttpUriRequest, Void, StringBuffer> {
    SearchView main;
    final int TIMEOUT_MS = 10000;
    AndroidHttpClient httpClient;
    public List<NameValuePair> webData;

From source file org.piwik.sdk.TrackerBulkURLProcessor.java

/**
 * Sends json POST request to tracking url http://piwik.example.com/piwik.php with body
 * <p/>
 * {
 * "requests": [
 * "?idsite=1&url=http://example.org&action_name=Test bulk log Pageview&rec=1",

From source file net.hockeyapp.android.tasks.CheckUpdateTask.java

/**
 * <h3>Description</h3>
 *
 * Internal helper class. Checks if a new update is available by
 * fetching version data from Hockeyapp.
 **/

From source file com.concentricsky.android.khanacademy.data.remote.KAEntityFetcherTask.java

/**
 * A task that makes a single API call, serializes the result, and passes it to onPostExecute.
 * 
 * I toyed with making this generic to return the correct type, but there is no clean place
 * to catch any resulting exception if the api call returns an unexpected type. Best leave
 * the casting to the caller.

From source file fm.krui.kruifm.HTTPConnection.java

/**
 * Executes an HTTP Connection using the passed client and request type (POST, GET, PUT, DELETE).
 * When operation is finished, the response is sent via callback to the passed HTTPConnectionListener.
 */
public class HTTPConnection extends AsyncTask<Void, String, String> {

From source file mobi.designmyapp.template.sample.upvprod.task.PoiProxyRequestTask.java

/**
 * Created by Loic Ortola on 17/07/2014.
 * PoiProxyRequestTask
 * AsyncTask for PoiProxy request retrieval
 */
public class PoiProxyRequestTask extends AsyncTask<URI, Void, PoiProxyResult> {

From source file my.home.lehome.asynctask.LoadAutoCompleteConfAsyncTask.java

/**
 * Created by legendmohe on 15/2/15.
 */
public class LoadAutoCompleteConfAsyncTask extends AsyncTask<String, String, Boolean> {

    public static final String TAG = "LoadAutoCompleteConfAsyncTask";

From source file com.vinnypalumbo.vinnysmovies.FetchTrailersTask.java

public class FetchTrailersTask extends AsyncTask<String, Void, List<Trailer>> {

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

    private ArrayAdapter<Trailer> mTrailerAdapter;
    public String firstTrailerKey;