我有以下方法來保存應用程序設置中的連接字符串,是否有任何處理用戶可以「讀寫」信息的Android文件(如asp.net中的web配置) ?Android設置|(文件)配置
public static System.String StrConnectionstring
{
get
{
if (DB._StrConnectionstring == null)
{
return AppSettings.GetConnectionSettings("DSN");
}
return DB._StrConnectionstring;
}
set { DB._StrConnectionstring = value; }
}
http://developer.android.com/reference/android/content/SharedPreferences.html – Simon