org.android.activityminer.app.util
Class BTTransferActivity.ConnectionTask

Package class diagram package BTTransferActivity.ConnectionTask
java.lang.Object
  extended by android.os.AsyncTask<Void,Void,Boolean>
      extended by org.android.activityminer.app.util.BTTransferActivity.ConnectionTask
Enclosing class:
BTTransferActivity

private class BTTransferActivity.ConnectionTask
extends AsyncTask<Void,Void,Boolean>

Thread for the bluetooth connection


Nested Class Summary
 
Nested classes/interfaces inherited from class android.os.AsyncTask
AsyncTask.Status
 
Field Summary
private  BluetoothSocket socket
          The socket
 
Fields inherited from class android.os.AsyncTask
SERIAL_EXECUTOR, THREAD_POOL_EXECUTOR
 
Constructor Summary
BTTransferActivity.ConnectionTask(BluetoothDevice device, UUID uuid)
          Constructor
 
Method Summary
protected  Boolean doInBackground(Void... params)
           
protected  void onPostExecute(Boolean result)
           
 
Methods inherited from class android.os.AsyncTask
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, onCancelled, onPreExecute, onProgressUpdate, publishProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

socket

private final BluetoothSocket socket
The socket

Constructor Detail

BTTransferActivity.ConnectionTask

public BTTransferActivity.ConnectionTask(BluetoothDevice device,
                                         UUID uuid)
Constructor

Parameters:
device - the device
uuid - the uuid
Method Detail

doInBackground

protected Boolean doInBackground(Void... params)
Specified by:
doInBackground in class AsyncTask<Void,Void,Boolean>

onPostExecute

protected void onPostExecute(Boolean result)
Overrides:
onPostExecute in class AsyncTask<Void,Void,Boolean>