From 90afc1e2212bfaabe6a3580f6d31acd7b4a5eb31 Mon Sep 17 00:00:00 2001 From: JohnG Date: Sun, 1 May 2011 15:14:41 -0400 Subject: [PATCH] Polar parser --- .../services/sensors/PolarSensorManager.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 MyTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java diff --git a/MyTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java b/MyTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java new file mode 100644 index 000000000..7240cd316 --- /dev/null +++ b/MyTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java @@ -0,0 +1,28 @@ +/* + * Copyright 2011 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.android.apps.mytracks.services.sensors; + +import android.content.Context; + +/** + * PolarSensorManager - Straight copy from ZephyrSensorManager, renamed, of course. + */ + +public class PolarSensorManager extends BluetoothSensorManager { + public PolarSensorManager(Context context) { + super(context, new PolarMessageParser()); + } +}