I am using an AlertDialog.Builder to display a dialog to prompt the user to enter a password, I then want to save that password in a preference, however I can\'t figure out
You can follow the Dialog tutorial in developer.android.com.
First create dialog class:
Adding a list
Then add listener to this class to pass result to the activity.
Passing Events Back to the Dialog's Host