Android Open Source - OOB-Sample-App Do Request

From Project

Back to project page OOB-Sample-App.


The source code is released under:

GNU General Public License

If you think the Android project OOB-Sample-App listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.oobexampleapp;
/*from w w w. j  av a 2s  . c  o  m*/
/** Copyright 2014 Dr Richard Wallace */


import android.os.AsyncTask;
import android.util.Log;

public class DoRequest extends AsyncTask<String, Void, String> {
    private final MainActivity main;
    private static final String TAG = "PandorabotsTalkAPIDemo";
    public static String botname = // insert botname here
  PandorabotsAPI pApi;
    public DoRequest(MainActivity main, String clientName) {
        this.main = main;
        this.pApi = new PandorabotsAPI(MagicParameters.hostname, MagicParameters.username, MagicParameters.userkey, clientName);
    protected String doInBackground(String... strings) {
        return, strings[0]);
    protected void onPostExecute(String result) {

Java Source Code List