How do I call a specific PreferenceFragment from a PreferenceActivity?
According to: http://developer.android.com/reference/android/preference/PreferenceActivity.html#EXTRA_SHOW_FRAGMENT
public static final String EXTRA_SHOW_FRAGMENT
Added in API level 11 When starting this activity, the invoking Intent can contain this extra string to specify which fragment should be initially displayed.
Constant Value: ":android:show_fragment"
intent = new Intent( this, SettingsActivity.class );
intent.putExtra( PreferenceActivity.EXTRA_SHOW_FRAGMENT, Fragment1.class.getName() );
intent.putExtra( PreferenceActivity.EXTRA_NO_HEADERS, true );
Just use below code in your PreferenceActivity and PreferenceFragment in onCreate
addPreferencesFromResource(R.xml.**YOUR PREFERENCE FRAGMENT XML**);