Android Open Source - rsmonitor-heartrate Constants






From Project

Back to project page rsmonitor-heartrate.

License

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.

Java Source Code

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;

}




Java Source Code List

com.facebook.android.AsyncFacebookRunner.java
com.facebook.android.BaseDialogListener.java
com.facebook.android.BaseRequestListener.java
com.facebook.android.DialogError.java
com.facebook.android.FQLQuery.java
com.facebook.android.FacebookError.java
com.facebook.android.FacebookFunctions.java
com.facebook.android.Facebook.java
com.facebook.android.FbDialog.java
com.facebook.android.FieldsConnectionsDialog.java
com.facebook.android.FriendsGetProfilePics.java
com.facebook.android.FriendsList.java
com.facebook.android.GraphExplorer.java
com.facebook.android.IntentUriHandler.java
com.facebook.android.LoginButton.java
com.facebook.android.PermissionsDialog.java
com.facebook.android.Places.java
com.facebook.android.SessionEvents.java
com.facebook.android.SessionStore.java
com.facebook.android.TokenRefreshDialog.java
com.facebook.android.UpdateStatusResultDialog.java
com.facebook.android.UploadPhotoResultDialog.java
com.facebook.android.Util.java
com.facebook.android.Utility.java
com.googlecode.android.widgets.DateSlider.AlternativeDateSlider.java
com.googlecode.android.widgets.DateSlider.CustomDateSlider.java
com.googlecode.android.widgets.DateSlider.DateSlider.java
com.googlecode.android.widgets.DateSlider.DateTimeSlider.java
com.googlecode.android.widgets.DateSlider.DefaultDateSlider.java
com.googlecode.android.widgets.DateSlider.MonthYearDateSlider.java
com.googlecode.android.widgets.DateSlider.ScrollLayout.java
com.googlecode.android.widgets.DateSlider.TimeSlider.java
com.googlecode.android.widgets.DateSlider.TimeView.java
com.renaultsport.heartrate.ActivityMain.java
com.renaultsport.heartrate.ActivityRecord.java
com.renaultsport.heartrate.ActivitySplash.java
com.renaultsport.heartrate.ActivityUpload.java
com.renaultsport.heartrate.ActivityVideoReader.java
com.renaultsport.heartrate.ActivityWarning.java
com.renaultsport.heartrate.MainApplication.java
com.renaultsport.heartrate.utils.CaptureCamera.java
com.renaultsport.heartrate.utils.ClientThread.java
com.renaultsport.heartrate.utils.Constants.java
com.renaultsport.heartrate.utils.RunEncoder.java
team.stride.tabs.TabGroupActivity.java