Android Open Source - ZeoSleepMonitor Sleep Monitor Preferences






From Project

Back to project page ZeoSleepMonitor.

License

The source code is released under:

MIT License

If you think the Android project ZeoSleepMonitor 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.stephenklancher.zeosleepmonitor;
// w  ww.  ja  v a 2  s.co m
import android.os.Bundle;
import android.preference.PreferenceActivity;

public class SleepMonitorPreferences extends PreferenceActivity {

    public static final String PREF_ALARM_ENABLED = "alarm_enabled";
    public static final String PREF_ALARM_TIME = "alarm_time";
    public static final String PREF_WAKE_AFTER_HOURS = "wake_after_hours";
    
  @SuppressWarnings("deprecation")
    //For compatibility with pre Android 3.0
  @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        addPreferencesFromResource(R.xml.preferences);
    }
}




Java Source Code List

com.myzeo.android.api.data.ZeoDataContract.java
com.stephenklancher.zeosleepmonitor.MainActivity.java
com.stephenklancher.zeosleepmonitor.Night.java
com.stephenklancher.zeosleepmonitor.SleepMonitorPreferences.java
com.stephenklancher.zeosleepmonitor.SleepMonitorService.java
com.stephenklancher.zeosleepmonitor.SleepStageDetail.java
com.stephenklancher.zeosleepmonitor.TimePreference.java
com.stephenklancher.zeosleepmonitor.WakeLogic.java
com.stephenklancher.zeosleepmonitor.ZeoData.java
com.stephenklancher.zeosleepmonitor.ZeoSleepMonitor.java