[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] fillLinphoneAccount
From: |
Ryan Gholam |
Subject: |
[Linphone-users] fillLinphoneAccount |
Date: |
Fri, 9 Mar 2012 13:04:23 +0200 |
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();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-users] fillLinphoneAccount,
Ryan Gholam <=