摘要:
1.本地private String read(){ try { FileInputStream fis = openFileInput(FILE_NAME); byte[] buff = new byte[1024]; int hasRead = 0; StringBu... 阅读全文
摘要:
1.本程序//MODE_PRIVATE 指定该sharepreferences的数据只能被本程序读写//MODE_WORLD_READABLE 被其他数据能读不能写//MODE_WORLD_WRITEABLE 数据可以被其他数据读写SharedPreferences preferences;pref... 阅读全文