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 am.roadpolice.roadpolice.downloaders.Submitter.java

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

    private final static String TAG = Submitter.class.getSimpleName();
    private final static String SUBMIT_URL = "http://request.roadpolice.am/index.php?cert_num=%s&car_num=%s";
    private final static int CONNECT_TIMEOUT = 3000;
    private final static int SOCKET_TIMEOUT = 5000;

From source file com.example.book.afinal.HttpHandler.java

public class HttpHandler<T> extends AsyncTask<Object, Object, Object> implements EntityCallBack {

    private final AbstractHttpClient client;
    private final HttpContext context;

    private final StringEntityHandler mStrEntityHandler = new StringEntityHandler();

From source file com.gmail.at.faint545.tasks.HistoryActionTask.java

public class HistoryActionTask extends AsyncTask<String, Void, String> {
    private String url;
    private String api;
    private int request;
    private Fragment fragment;

From source file com.ztspeech.simutalk2.weibo.PostRecordTask.java

public class PostRecordTask extends AsyncTask<Object, Void, Integer> {
    private static final String TAG = "PostRecordTask";
    private static final String RESTAPI_INTERFACE_POSTRECORD = "/records/add.json";
    private Handler handler;
    public ProgressDialog loadingDialog;
    public boolean isCancel = false;

From source file com.examination.afinal.http.HttpHandler.java

public class HttpHandler<T> extends AsyncTask<Object, Object, Object> implements EntityCallBack {

    private final AbstractHttpClient client;
    private final HttpContext context;

    private final StringEntityHandler mStrEntityHandler = new StringEntityHandler();

From source file org.sigimera.app.android.backend.network.LoginHttpHelper.java

public class LoginHttpHelper extends AsyncTask<String, Void, Boolean> {

    private final String HOST = Config.getInstance().getWWWHost() + "/tokens.json";

    @Override
    protected Boolean doInBackground(String... params) {

From source file android.hawkencompanionapp.asynctasks.LoginUserTask.java

/**
 * Created by Phillip Adam Nash on 10/08/2014.
 */
public class LoginUserTask extends AsyncTask<UserLoginSession, Void, Void> {
    private final String mLoginUrl = "https://www.playhawken.com/storm/user/loginUser.php";
    private AsyncTaskUpdate mAsyncTaskUpdate;

From source file com.example.android.popularmoviesist2.data.FetchTrailerMovieTask.java

public class FetchTrailerMovieTask extends AsyncTask<String, Void, String[]> {

    private final String LOG_TAG = FetchTrailerMovieTask.class.getSimpleName();
    private String movieId;
    public Context mContext;
    public static ArrayList<String> urlYoutbe = new ArrayList<String>();

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

/**
 * PlaylistFetcher
 * Returns an arbitrary number of Track objects from the KRUI playlist.
 * @return ArrayList of length songCount containing track information
 */

From source file com.ce.skuniv.waypoints.ComunityMap.java

public class ComunityMap extends AsyncTask {

    NumberFormat format = new DecimalFormat("0.############################################################");
    Context context;

    public ComunityMap(Context context) {