Общие настройки сохраняются в файле, а не в базе данных.
SharedPreferences myPrefs;
myPrefs = this.getSharedPreferences("preference", MODE_PRIVATE);
EditText phonenumber_edit = (EditText) findViewById(R.id.phonenumber_edit);
EditText password_edit = (EditText) findViewById(R.id.password_edit);
Button submit = (Button) findViewById(R.id.submit);
submit.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
SharedPreferences.Editor prefsEditor = myPrefs.edit();
prefsEditor.putString("phonenumber", phonenumber_edit.getText());
prefsEditor.putString("password", password_edit.getText());
prefsEditor.commit();
}
}