get Bluetooth Device Information Text - Android Bluetooth

Android examples for Bluetooth:Bluetooth Device

Description

get Bluetooth Device Information Text

Demo Code


//package com.java2s;
import android.bluetooth.BluetoothDevice;

public class Main {
    public static String getDeviceInfoText(BluetoothDevice device,
            int rssi, byte[] scanRecord) {
        return new StringBuilder().append("Name: ")
                .append(device.getName()).toString();
    }//ww w.  ja v a2  s .c o m
}

Related Tutorials