Back to project page rsmonitor-heartrate.
The source code is released under:
GNU General Public License
If you think the Android project rsmonitor-heartrate listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.renaultsport.heartrate.utils; /* w w w . ja v a 2s . c om*/ public class Constants { public static final String STATE_POPUP_ACTIVE = "STATE_POPUP_ACTIVE"; public static final String STATE_POPUP_GPS = "STATE_POPUP_GPS"; public static final String PREFERENCES_LOCATION = "Location"; public static final String PREFERENCES_LOCATION_LATITUDE = "Latitude"; public static final String PREFERENCES_LOCATION_LONGITUDE = "Longitude"; public static final String SDCARD_PATH = "RS-HEARTRATE"; public static final String SDCARD_VIDEO_FILE = "videofile-"; public static final String SDCARD_RUN_FILE = "runfile-"; public static final String SDCARD_VIDEO_EXTENSION = ".3gp"; public static final String SDCARD_RUN_EXTENSION = ".run"; public static final String DEVICE_NAME_PREFIX = "Polar"; public static final String EXTRA_URL = "url"; public static final String EXTRA_DATA = "data"; public static final float GPS_PRECISION_3 = 25.0F; public static final float GPS_PRECISION_2 = 50.0F; public static final float GPS_PRECISION_1 = 100.0F; public static final long MINIMUM_DISTANCE_CHANGE_FOR_UPDATE = 1; public static final long MINIMUM_TIME_BETWEEN_UPDATE = 250; public static final int MAX_BUFFER_LENGTH = 1024; public static final int MAX_THREAD_WAIT = 2000; public static final int REQUEST_ENABLE_BT = 100; public static final int CONNECTING = 200; public static final int CONNECTED = 201; public static final int CONNECTION_FAILED = 202; public static final int CONNECTION_LOST = 203; public static final int BATTERY_UPDATE = 204; public static final int HEART_RATE_UPDATE = 205; public static final int BYTES_RECEIVED = 206; public static final int PREVIEW_DESTROYED = 207; public static final int CAMERA_ON = 208; public static final int CAMERA_OFF = 209; public static final int CAMERA_RECORD_START = 210; public static final int CAMERA_RECORD_STOP = 211; public static final int RUN_FILE_FAILED = 212; }