Back to project page ZeoSleepMonitor.
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.
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); } }