From 96d838f2deaecdd78dd51c426310e4cfaa217854 Mon Sep 17 00:00:00 2001 From: akexorcist Date: Thu, 20 Mar 2014 17:18:27 +0700 Subject: [PATCH] Nothing --- project.properties | 2 +- src/com/example/android/BluetoothChat/BluetoothChatService.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/project.properties b/project.properties index a3ee5ab..4ab1256 100644 --- a/project.properties +++ b/project.properties @@ -11,4 +11,4 @@ #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. -target=android-17 +target=android-19 diff --git a/src/com/example/android/BluetoothChat/BluetoothChatService.java b/src/com/example/android/BluetoothChat/BluetoothChatService.java index 616f10e..d8c81ae 100644 --- a/src/com/example/android/BluetoothChat/BluetoothChatService.java +++ b/src/com/example/android/BluetoothChat/BluetoothChatService.java @@ -280,9 +280,11 @@ public AcceptThread(boolean secure) { // Create a new listening server socket try { if (secure) { + Log.e("Check", "Secure - Name : " + NAME_SECURE + "\nUUID : " + MY_UUID_SECURE); tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, MY_UUID_SECURE); } else { + Log.e("Check", "Insecure - Name : " + NAME_SECURE + "\nUUID : " + MY_UUID_SECURE); tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord( NAME_INSECURE, MY_UUID_INSECURE); }