aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-10-25 01:43:35 +0200
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-10-25 01:43:35 +0200
commit8a5334f4bd6fc34e9041b7ed6999315d36121511 (patch)
treea1fdca219a8084d4b7a69a1c4dd00a24d8be1e99
parent1f6258adec73be998b7d588dd6e10fd8f8bf5dba (diff)
downloadBlueGPS-BlueGPS4Droid_1.0.1.zip
BlueGPS-BlueGPS4Droid_1.0.1.tar.gz
BlueGPS-BlueGPS4Droid_1.0.1.tar.bz2
-rw-r--r--src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
index bedaf36..78c4706 100644
--- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
+++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
@@ -24,8 +24,6 @@ import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.io.PrintStream;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
@@ -54,14 +52,8 @@ public class BlueetoothGpsManager {
public ConnectedThread(BluetoothSocket socket) {
InputStream tmpIn = null;
- OutputStream tmpOut = null;
- PrintStream tmpOut2 = null;
try {
tmpIn = socket.getInputStream();
- tmpOut = socket.getOutputStream();
- if (tmpOut != null){
- tmpOut2 = new PrintStream(tmpOut, false, "US-ASCII");
- }
} catch (IOException e) {
Log.e("BT test", "error while getting socket streams", e);
}
@@ -85,7 +77,6 @@ public class BlueetoothGpsManager {
}
private Service callingService;
- private BluetoothDevice gpsDevice;
private BluetoothSocket gpsSocket;
private String gpsDeviceAddress;
private NmeaParser parser = new NmeaParser(10f);