Android持久化技术包括文件存储、SharedPreferences、数据库三种。一、文件存储Context类中提供了openFileOutput()与openFileInput()方法用于将数据存储到文件夹中与读取数据,所有文件都默认存储在:/data/data//file/目录下。1.存储o