Port of legacy BluetoothChatExample to Android Studio.