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.gammalabs.wifianalyzer.vendor.model.RemoteCall.java

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

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

From source file kr.co.generic.wifianalyzer.vendor.model.RemoteCall.java

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

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

From source file ac.robinson.paperchains.SoundCloudUrlFetcherTask.java

class SoundCloudUrlFetcherTask extends AsyncTask<Long, Void, String> {

    private final WeakReference<PaperChainsActivity> mContext;
    private final ApiWrapper mWrapper;

    private int errorReason = -1;

From source file com.google.android.gms.auth.sample.helloauth.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<Void, Void, Void> {
    private static final String TAG = "TokenInfoTask";

From source file com.nnp.webike.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<Void, Void, Void> {
    private static final String TAG = "TokenInfoTask";

From source file net.openfiretechnologies.veloxcontrol.github.tasks.FindMissingCommitDataTask.java

/**
 * Simple network communication to get the full all available fields from
 * api.github.com about a single commit
 * <p/>
 * The full GithubCommit will be delivered to your UI thread appon completion.
 */

From source file se.lu.nateko.edca.svc.GetMap.java

/********************************COPYRIGHT***********************************
 * This file is part of the Emergency Data Collector for Android (EDCA).   *
 * Copyright  2013 Mattias Spngmyr.                              *
 *                                                          *
 *********************************LICENSE************************************
 * EDCA is free software: you can redistribute it and/or modify it under   *

From source file com.miz.functions.YoutubeTrailerSearch.java

/**
 * Searches YouTube for a given query and starts playback of the given
 * @author Michell
 *
 */
public class YoutubeTrailerSearch extends AsyncTask<Void, Void, String> {

From source file com.NotifyMe.auth.AbstractGetInfoTask.java

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

From source file com.ilearnrw.reader.tasks.AddToLibraryTask.java

public class AddToLibraryTask extends AsyncTask<String, Void, Pair<String>> {
    private ProgressDialog dialog;
    private Context context;
    private Activity activity;
    private String filename;
    private String TAG, fault;