Android Open Source - Silencer Settings Activity






From Project

Back to project page Silencer.

License

The source code is released under:

Apache License

If you think the Android project Silencer 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.ch3d.silencer;
/*from   ww w.  j a v a  2 s  .c  o  m*/
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;

public class SettingsActivity extends PreferenceActivity
{
    public static final String KEY_ENABLED = "com.ch3d.silencer.prefs.enabled";

    @SuppressWarnings("deprecation")
    @Override
    public void onCreate(final Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
        addPreferencesFromResource(R.xml.preferences);
    }
}




Java Source Code List

com.ch3d.silencer.CallReceiver.java
com.ch3d.silencer.IncomingCallStateListener.java
com.ch3d.silencer.SettingsActivity.java
com.ch3d.silencer.service.CallSilencerService.java