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.odo.kcl.mobileminer.OpenBmapCellRequest.java

public class OpenBmapCellRequest extends AsyncTask {

    static Pattern latPattern = Pattern.compile("lat=\"([\\-0-9\\.]+)\"");
    static Pattern longPattern = Pattern.compile("lng=\"([\\-0-9\\.]+)\"");
    static Pattern polyPattern = Pattern.compile("\\(\\(([\\-0-9\\.,\\s]+)\\)\\)");

From source file de.onelogic.android.weatherdemo.WeatherFetchTask.java

/**
 * Created by marco on 10/02/16.
 */
public class WeatherFetchTask extends AsyncTask<Void, Void, JSONObject> {
    // Please provide your own APPID which you receive after signing up on openweathermap.com
    private String url = "http://api.openweathermap.org/data/2.5/weather?q=Passau&lang=en&mode=json&units=metric&APPID=********************************";

From source file com.geecko.QuickLyric.tasks.IdDecoder.java

/**
 * This file is part of QuickLyric
 * Created by geecko
 * <p/>
 * QuickLyric is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by

From source file com.citrus.asynch.Binduser.java

/**
 * @deprecated in v3
 * <p/>
 * Use {@link com.citrus.sdk.CitrusClient#bindUser(String, String, com.citrus.sdk.Callback)} instead.
 */
@Deprecated

From source file com.citrus.asynch.MakePayment.java

/**
 * @deprecated in v3
 * <p/>
 * This class is no longer supported.
 */
@Deprecated

From source file com.kkurahar.locationmap.JsonParserTask.java

public class JsonParserTask extends AsyncTask<String, Integer, String> {

    private MainActivity activity;

    public JsonParserTask(MainActivity activity) {
        this.activity = activity;

From source file cic.myapps.signin.v1.HttpClient.java

/**
   Copyright (c) 2009 
   Author: Stefan Klumpp <stefan.klumpp@gmail.com>
   Web: http://stefanklumpp.com
    
   Licensed under the Apache License, Version 2.0 (the "License"); you may

From source file org.kei.android.phone.mangastore.http.HttpTaskFetch.java

/**
 *******************************************************************************
 * @file HttpTaskFetch.java
 * @author Keidan
 * @date 15/04/2016
 * @par Project MangaStore

From source file eu.liveandgov.ar.utilities.AsyncTask_ImRec.java

/**
 * Perform image recognition using the IBS* method developed by CERTH
 * 
 * @copyright   Copyright (C) 2012 - 2013 Information Technology Institute ITI-CERTH. All rights reserved.
 * @license     GNU Affero General Public License version 3 or later; see LICENSE.txt
 * @author      Dimitrios Ververidis for the Multimedia Group (http://mklab.iti.gr). 

From source file ch.ffhs.esa.bewegungsmelder.tasks.POSTTask.java

public class POSTTask extends AsyncTask<String, String, String> {
    protected String doInBackground(String... params) {
        Log.d("POSTTask", "Running async request..");
        HttpClient httpClient = new DefaultHttpClient();
        HttpPost httpPost = new HttpPost("http://" + params[0] + ":" + params[1] + "/ping");