I have defined a PreferenceScreen in XML, containing several EditTextPreference "objects". I want to catch user input from these fields, but I can't see to figure out how. The answer would seem to lie here, but I'm not gettng it: http://developer.android.com/reference/android/preference/EditTextPreference.html
I'm guessing it's similar to this:
AlertDialog.Builder alert = new AlertDialog.Builder ( this );
final EditText input = new EditText ( this );
alert.setView ( input );
alert.setPositiveButton ( "Ok", new DialogInterface.OnClickListener () {
public void onClick ( DialogInterface dialog, int whichButton ) {
c.setName ( input.getText ().toString () );
}
} );