Skip navigation links
B C D E F G H I M N O R S V 

B

BaseBluetoothActivity - Class in com.devpaul.bluetoothutillib.abstracts
Created by Paul Tsouchlos This is a base activity to use when you want an activity that handles the following: - Enabling bluetooth.
BaseBluetoothActivity() - Constructor for class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
 
BluetoothBroadcastReceiver - Class in com.devpaul.bluetoothutillib.broadcasts
Created by Paul Tsouchlos
BluetoothBroadcastReceiver(BluetoothBroadcastReceiver.BroadcastCallback) - Constructor for class com.devpaul.bluetoothutillib.broadcasts.BluetoothBroadcastReceiver
BluetoothBroadcastReceiver listens for if bluetooth is enabled.
BluetoothBroadcastReceiver.BroadcastCallback - Interface in com.devpaul.bluetoothutillib.broadcasts
Interface for this view.
BluetoothDeviceListAdapter - Class in com.devpaul.bluetoothutillib.utils
Created by Paul Tsouchlos
BluetoothDeviceListAdapter(Context, int, List<BluetoothDevice>) - Constructor for class com.devpaul.bluetoothutillib.utils.BluetoothDeviceListAdapter
Constructor for BluetoothDeviceListAdapter.
BluetoothDisabledErrorDialog - Class in com.devpaul.bluetoothutillib.errordialogs
Created by Paul Tsouchlos
BluetoothDisabledErrorDialog() - Constructor for class com.devpaul.bluetoothutillib.errordialogs.BluetoothDisabledErrorDialog
 
BluetoothHandler - Class in com.devpaul.bluetoothutillib.handlers
Created by Paul Tsouchlos A handler for receiving messages from the bluetooth device.
BluetoothHandler() - Constructor for class com.devpaul.bluetoothutillib.handlers.BluetoothHandler
 
BluetoothService - Class in com.devpaul.bluetoothutillib.utils
Created by Paul Tsouchlos
BluetoothService() - Constructor for class com.devpaul.bluetoothutillib.utils.BluetoothService
 
BluetoothStateReceiver - Class in com.devpaul.bluetoothutillib.broadcasts
Created by Paul Tsouchlos
BluetoothStateReceiver(BluetoothStateReceiver.Callback) - Constructor for class com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver
 
BluetoothStateReceiver.Callback - Interface in com.devpaul.bluetoothutillib.broadcasts
Callback interface for this class.
BluetoothUtility - Class in com.devpaul.bluetoothutillib.utils
Created by Paul Tsouchlos Class that handles all bluetooth adapter stuff and connecting to devices, establishing sockets listening for connections and reading/writing data on the sockets.
BluetoothUtility(Context, Activity, BluetoothHandler) - Constructor for class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Constructor for BluetoothUtility This class is a wrapper class for a BluetoothAdapter and makes a lot of its functionality easier.
BluetoothUtility.InputStreamType - Enum in com.devpaul.bluetoothutillib.utils
Type of input streams that can be used for reading bluetooth data.

C

cancelScan() - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Cancels the ongoing scan started by scan()
cancelScan() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Cancels the scanning process.
checkIfEnabled() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Checks to see if bluetooth is enabled.
closeConnections() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Closes all the connections.
com.devpaul.bluetoothutillib - package com.devpaul.bluetoothutillib
 
com.devpaul.bluetoothutillib.abstracts - package com.devpaul.bluetoothutillib.abstracts
 
com.devpaul.bluetoothutillib.broadcasts - package com.devpaul.bluetoothutillib.broadcasts
 
com.devpaul.bluetoothutillib.dialogs - package com.devpaul.bluetoothutillib.dialogs
 
com.devpaul.bluetoothutillib.errordialogs - package com.devpaul.bluetoothutillib.errordialogs
 
com.devpaul.bluetoothutillib.handlers - package com.devpaul.bluetoothutillib.handlers
 
com.devpaul.bluetoothutillib.utils - package com.devpaul.bluetoothutillib.utils
 
connectA2DPProxy(BluetoothA2dp, BluetoothDevice) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
After a proxy is returned, this method connects the a2dp device using the proxy and the class declared method.
connectDevice(String) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Connects a device given a mac address.
connectToA2DPDevice(String) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Connects to an A2DP device.
connectToBluetoothDevice(String) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Connect to the bluetooth device knowing only the macAddress.
connectToBluetoothDevice(BluetoothDevice) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Connect to a generic bluetooth device.
connectToBluetoothServer(String) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Connects to a bluetooth server set up on another device.
connectToClientToBluetoothServer(String) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Connects to a set up server socket.
createBluetoothServerConnection() - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Creates a bluetooth server on this device that awaits for a client to connect.
createBluetoothServerSocket() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Creates a server socket on this device that awaits for a client connection.

D

DEVICE_DIALOG_DEVICE_ADDRESS_EXTRA - Static variable in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
Constant name for retrieving bluetooth device address from this activity in on activity result.
DEVICE_DIALOG_DEVICE_EXTRA - Static variable in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
Constant name for retrieving bluetooth device from this activity in on activity result.
DeviceDialog - Class in com.devpaul.bluetoothutillib.dialogs
Dialog for choosing a paired bluetooth device or scanning for new, available devices.
DeviceDialog() - Constructor for class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 

E

enableBluetooth() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Enables Bluetooth, BluetoothBroadCastReceiver should be used if you want to see the result.
enableDiscovery(int) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Enables the device to be discoverable for a certain duration.
endSimpleBluetooth() - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Ends all connections and unregister the receiver.

F

findDeviceByMacAddress(String) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Helper method that finds a device given its mac address.
findDeviceByName(String) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Helper method that finds a device given its name.
FoundDeviceReceiver - Class in com.devpaul.bluetoothutillib.broadcasts
Created by Paul Tsouchlos
FoundDeviceReceiver(FoundDeviceReceiver.FoundDeviceReceiverCallBack) - Constructor for class com.devpaul.bluetoothutillib.broadcasts.FoundDeviceReceiver
Constructor for a FoundDeviceReceiver
FoundDeviceReceiver.FoundDeviceReceiverCallBack - Interface in com.devpaul.bluetoothutillib.broadcasts
Callback for this class.

G

getBluetoothUtility() - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Gets the used bluetooth utility.
getCount() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothDeviceListAdapter
 
getItem(int) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothDeviceListAdapter
Returns a BluetoothDevice given a postion in the list.
getItemId(int) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothDeviceListAdapter
 
getPairedDevices() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Returns all the paired devices on this device.
getSimpleBluetooth() - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
 
getSimpleBluetooth() - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
 
getView(int, View, ViewGroup) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothDeviceListAdapter
 

H

handleMessage(Message) - Method in class com.devpaul.bluetoothutillib.handlers.BluetoothHandler
 

I

initializeSimpleBluetooth() - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Method that must be called to set everything up for this service.
InvalidMacAddressDialog - Class in com.devpaul.bluetoothutillib.errordialogs
Created by Paul Tsouchlos
InvalidMacAddressDialog() - Constructor for class com.devpaul.bluetoothutillib.errordialogs.InvalidMacAddressDialog
 

M

makeDiscoverable(int) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Makes the device discoverable to other devices for a certain amount of time.
MESSAGE_A2DP_PROXY_RECEIVED - Static variable in class com.devpaul.bluetoothutillib.handlers.BluetoothHandler
 
MESSAGE_CONNECTION_MADE - Static variable in class com.devpaul.bluetoothutillib.handlers.BluetoothHandler
 
MESSAGE_READ - Static variable in class com.devpaul.bluetoothutillib.handlers.BluetoothHandler
 
MESSAGE_WAIT_FOR_CONNECTION - Static variable in class com.devpaul.bluetoothutillib.handlers.BluetoothHandler
 

N

newInstance() - Static method in class com.devpaul.bluetoothutillib.errordialogs.BluetoothDisabledErrorDialog
 
newInstance() - Static method in class com.devpaul.bluetoothutillib.errordialogs.InvalidMacAddressDialog
 

O

onActivityResult(int, int, Intent) - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
 
onActivityResult(int, int, Intent) - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
 
onBind(Intent) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothService
 
onBluetoothDataReceived(byte[], String) - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onBluetoothDataReceived(byte[], String) - Method in interface com.devpaul.bluetoothutillib.utils.SimpleBluetoothListener
 
onBluetoothDisabled() - Method in interface com.devpaul.bluetoothutillib.broadcasts.BluetoothBroadcastReceiver.BroadcastCallback
 
onBluetoothEnabled() - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
This is always called by the activity and indicates that bluetooth is now enabled.
onBluetoothEnabled() - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
This is always called by the activity and indicates that bluetooth is now enabled.
onBluetoothEnabled() - Method in interface com.devpaul.bluetoothutillib.broadcasts.BluetoothBroadcastReceiver.BroadcastCallback
 
onBluetoothEnabled() - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onCreate(Bundle) - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
 
onCreate(Bundle) - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
 
onCreate(Bundle) - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onCreateDialog(Bundle) - Method in class com.devpaul.bluetoothutillib.errordialogs.BluetoothDisabledErrorDialog
 
onCreateDialog(Bundle) - Method in class com.devpaul.bluetoothutillib.errordialogs.InvalidMacAddressDialog
 
onDestroy() - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
 
onDestroy() - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
 
onDeviceConnected(BluetoothDevice) - Method in interface com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver.Callback
 
onDeviceConnected(BluetoothDevice) - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onDeviceConnected(BluetoothDevice) - Method in interface com.devpaul.bluetoothutillib.utils.SimpleBluetoothListener
 
onDeviceDisconnected(BluetoothDevice) - Method in interface com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver.Callback
 
onDeviceDisconnected(BluetoothDevice) - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onDeviceDisconnected(BluetoothDevice) - Method in interface com.devpaul.bluetoothutillib.utils.SimpleBluetoothListener
 
onDeviceFound(BluetoothDevice) - Method in interface com.devpaul.bluetoothutillib.broadcasts.FoundDeviceReceiver.FoundDeviceReceiverCallBack
 
onDeviceFound(BluetoothDevice) - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onDeviceSelected(String) - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
This method is called after you call {#requestScan} and a device is selected from the list.
onDeviceSelected(String) - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
This method is called after you call {#requestScan} and a device is selected from the list.
onDiscoveryFinished() - Method in interface com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver.Callback
 
onDiscoveryFinished() - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onDiscoveryFinished() - Method in interface com.devpaul.bluetoothutillib.utils.SimpleBluetoothListener
 
onDiscoveryStarted() - Method in interface com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver.Callback
 
onDiscoveryStarted() - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onDiscoveryStarted() - Method in interface com.devpaul.bluetoothutillib.utils.SimpleBluetoothListener
 
onPause() - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onPostCreate(Bundle) - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onReceive(Context, Intent) - Method in class com.devpaul.bluetoothutillib.broadcasts.BluetoothBroadcastReceiver
 
onReceive(Context, Intent) - Method in class com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver
 
onReceive(Context, Intent) - Method in class com.devpaul.bluetoothutillib.broadcasts.FoundDeviceReceiver
 
onResume() - Method in class com.devpaul.bluetoothutillib.dialogs.DeviceDialog
 
onServiceConnected(int, BluetoothProfile) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
 
onServiceDisconnected(int) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
 

R

register(Context, BluetoothBroadcastReceiver.BroadcastCallback) - Static method in class com.devpaul.bluetoothutillib.broadcasts.BluetoothBroadcastReceiver
Helper method to register this receiver and return it for future unregister.
register(Context, BluetoothStateReceiver.Callback) - Static method in class com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver
Register this receiver with a series of intent filters.
register(Context, FoundDeviceReceiver.FoundDeviceReceiverCallBack) - Static method in class com.devpaul.bluetoothutillib.broadcasts.FoundDeviceReceiver
Registers a new FoundDeviceReceiver
REQUEST_BLUETOOTH - Static variable in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Bluetooth Request constant.
REQUEST_BLUETOOTH_SCAN - Static variable in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Request code for a bluetooth scan.
requestScan() - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
Call this to request a scan and connect to a device.
requestScan() - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
Call this to request a scan and connect to a device.

S

safeUnregister(Context, BroadcastReceiver) - Static method in class com.devpaul.bluetoothutillib.broadcasts.BluetoothBroadcastReceiver
Helper method to unregister the receiver.
safeUnregister(Context, BluetoothStateReceiver) - Static method in class com.devpaul.bluetoothutillib.broadcasts.BluetoothStateReceiver
Safe method to unregister the receiver in case of errors.
safeUnregister(Context, FoundDeviceReceiver) - Static method in class com.devpaul.bluetoothutillib.broadcasts.FoundDeviceReceiver
Helper method to unregister a receiver.
scan(int) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Starts the device dialog to get a device to connect to.
scan() - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Performs a scan of devices directly and does not launch the device dialog.
scan() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
 
sendData(String) - Method in class com.devpaul.bluetoothutillib.abstracts.BaseBluetoothActivity
Sends data to the currently connected device.
sendData(String) - Method in class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
Sends data to the currently connected device.
sendData(String) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Sends data to the connected device.
sendData(int) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Sends data to the connected device.
sendData(String) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Sends a string of data to the bluetooth device.
sendData(int) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Sends a integer to the bluetooth device.
setInputStreamType(BluetoothUtility.InputStreamType) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Sets the input stream type for reading data from the bluetooth device.
setInputStreamType(BluetoothUtility.InputStreamType) - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Sets the input stream type for the bluetooth device input stream.
setSimpleBluetoothListener(SimpleBluetoothListener) - Method in class com.devpaul.bluetoothutillib.SimpleBluetooth
Sets a simple bluetooth listener for this service.
setUpA2DPConnection() - Method in class com.devpaul.bluetoothutillib.utils.BluetoothUtility
Gets the profile proxy for an A2DP connection.
showDialog(Context) - Static method in class com.devpaul.bluetoothutillib.errordialogs.BluetoothDisabledErrorDialog
 
SimpleBluetooth - Class in com.devpaul.bluetoothutillib
Created by Paul Tsouchlos Class for easily setting up bluetooth connections.
SimpleBluetooth(Context, Activity) - Constructor for class com.devpaul.bluetoothutillib.SimpleBluetooth
Constructor for SimpleBluetooth Allows for easy handling for setting up connections and bluetooth servers to connect to.
SimpleBluetooth(Context, Activity, BluetoothHandler) - Constructor for class com.devpaul.bluetoothutillib.SimpleBluetooth
Constructor for SimpleBluetooth Use this constructor to provide your own custom bluetooth handler.
SimpleBluetoothListener - Interface in com.devpaul.bluetoothutillib.utils
Created by Paul Tsouchlos
SupportBaseBluetoothActivity - Class in com.devpaul.bluetoothutillib.abstracts
Created by Pauly D on 3/19/2015.
SupportBaseBluetoothActivity() - Constructor for class com.devpaul.bluetoothutillib.abstracts.SupportBaseBluetoothActivity
 

V

valueOf(String) - Static method in enum com.devpaul.bluetoothutillib.utils.BluetoothUtility.InputStreamType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.devpaul.bluetoothutillib.utils.BluetoothUtility.InputStreamType
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E F G H I M N O R S V 
Skip navigation links