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 screancasttest.SenderAsyncTask.java

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.LinkedBlockingDeque;

public class SenderAsyncTask extends AsyncTask<Void, Void, Void> {

From source file se.lu.nateko.edca.svc.DescribeFeatureType.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.ammobyte.radioreddit.api.PerformVote.java

public class PerformVote extends AsyncTask<String, Integer, Void> {
    @Override
    protected Void doInBackground(String... params) {
        final String modhash = params[0];
        final String cookie = params[1];
        final String id = params[2];

From source file org.mythtv.service.myth.CreateStorageGroupTask.java

/**
 * @author Daniel Frey
 *
 */
public class CreateStorageGroupTask extends AsyncTask<String, Void, Boolean> {

From source file ai.api.RequestTask.java

/**
 * Request task used only to make string request to the AI service and get string as response without decoding it
 */
class RequestTask extends AsyncTask<String, Integer, String> {

    private static final String TAG = RequestTask.class.getName();

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

public class MovieGetInfoAsync extends AsyncTask<String, Void, JSONObject> {

    JSONObject json = null;

    //Setting up reader for the stream
    String readAll(Reader rd) throws IOException {

From source file org.que.async.AsyncGETRequester.java

/**
 * Represents a async GET requester. For given URL's the AsyncTask will execute
 * GET requests and returns the result of each request as JSONObject in given
 * PostExecuteJob doJob method call. Means to executed the AsyncTask, the caller
 * needs to pass into the task the URL's to request and a PostExecuteJob Object
 * which will be used to return the values or used if an exception appears. If

From source file me.ziccard.secureit.async.upload.AuthenticatorTask.java

public class AuthenticatorTask extends AsyncTask<Void, Void, Void> {

    /**
     * Reference activity
     */
    private Activity activity;

From source file com.aujur.ebookreader.catalog.DownloadLocalFileTask.java

public class DownloadLocalFileTask extends AsyncTask<String, Long, String> {

    private File destFile;

    private Exception failure;

From source file org.mythtv.service.myth.GetHostnameTask.java

/**
 * @author Daniel Frey
 *
 */
public class GetHostnameTask extends AsyncTask<Void, Void, String> {