android文件的寫入與讀取---簡單的文本讀寫context.openFileInput() context.openFileOutput()

最終效果圖,點擊save會保存到文件中,點擊show會從文件中讀取出內容並顯示。 main.xml [xhtml]  view plain  copy <?xml version="1.0" encoding="utf-8"?>   <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"       andr
相關文章
相關標籤/搜索