Hello , i am trying to fill up the LinphoneAccount automatically and
after debugging i found that fillLinphoneAccount saves up the the user
account settings in a shared preferences , but i cant find the
preferences folder , or find anyway to call this function from my
activity .
So is there anyway i can call this function or access this shared preference ?
Thank you .
public void fillLinphoneAccount(int i, String username, String
password, boolean createdByWizard) {
SharedPreferences prefs =
getPreferenceManager().getSharedPreferences();
SharedPreferences.Editor editor = prefs.edit();
editor.putString(getString(R.string.pref_username_key) + i,
username);
editor.putString(getString(R.string.pref_passwd_key) + i,
password);
editor.putString(getString(R.string.pref_domain_key) + i,
"sip.linphone.org");
editor.putString(getString(R.string.pref_proxy_key) + i, "");
editor.putBoolean(getString(R.string.pref_wizard_key) + i,
createdByWizard);
editor.putBoolean(getString(R.string.pref_activated_key) + i,
false);
editor.putBoolean(getString(R.string.pref_enable_outbound_proxy_key)
+ i, false);
editor.commit();
}
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users