文件名称:Android_SharedPreferences
介绍说明--下载内容来自于网络,使用问题请自行百度
实现了使用Android内部的SharedPreferences 保存读取数据;以及使用Android 内部Files 存储读取数据。
1. 实现本地简单保存读取文件功能。
文件名输入框有自动提示功能(也就是输入过程中能 够自动提示与我们输入内容相关的内容,以供选择),提示相关内容不能重复(最完美的情况是不出现相同文件名提示,遗憾的是此程序未能实现) 。此外,退出程序后重新进入程序,自动提示效果依然存在。(使用了AutoCompleteTextView 控件实现自动提示效果)
2.使用 SharedPreferences 记录输入过的信息。当然只有点击了保存文件按钮,文件名才会记录下来。)
点击保存文件按钮,可以用文件形式将文件内容保存到本地中,文件名为“输入文件名.txt”,文件名文本框和文件内容文本框清空。如果出现相同文件名,后者覆盖前者;
3.点击读取文件按钮,可以读取出输入文件名对应的文件内容并显示到文件内容文本框中。
-The Android internal SharedPreferences saved to read the data Android Internal Files stored read data.
1. Achieve local simple save to read the file.
File name input box automatically prompt function (that is, the input process can be automatically prompted to enter our contextual content to choose from), suggesting that relevant content can not be repeated (the most perfect situation is not the same file name prompt appears, unfortunately this program is not realized). In addition, exit the program to re-enter the program automatically prompts the effect still exists. (Using AutoCompleteTextView control automatically prompts effect)
2 to use SharedPreferences record input information. Of course, only click the Save File button, the file name will be recorded. )
Click the Save File button, you can document the contents of the file saved to a local file named "input file name. Txt" File Name text box and the co
1. 实现本地简单保存读取文件功能。
文件名输入框有自动提示功能(也就是输入过程中能 够自动提示与我们输入内容相关的内容,以供选择),提示相关内容不能重复(最完美的情况是不出现相同文件名提示,遗憾的是此程序未能实现) 。此外,退出程序后重新进入程序,自动提示效果依然存在。(使用了AutoCompleteTextView 控件实现自动提示效果)
2.使用 SharedPreferences 记录输入过的信息。当然只有点击了保存文件按钮,文件名才会记录下来。)
点击保存文件按钮,可以用文件形式将文件内容保存到本地中,文件名为“输入文件名.txt”,文件名文本框和文件内容文本框清空。如果出现相同文件名,后者覆盖前者;
3.点击读取文件按钮,可以读取出输入文件名对应的文件内容并显示到文件内容文本框中。
-The Android internal SharedPreferences saved to read the data Android Internal Files stored read data.
1. Achieve local simple save to read the file.
File name input box automatically prompt function (that is, the input process can be automatically prompted to enter our contextual content to choose from), suggesting that relevant content can not be repeated (the most perfect situation is not the same file name prompt appears, unfortunately this program is not realized). In addition, exit the program to re-enter the program automatically prompts the effect still exists. (Using AutoCompleteTextView control automatically prompts effect)
2 to use SharedPreferences record input information. Of course, only click the Save File button, the file name will be recorded. )
Click the Save File button, you can document the contents of the file saved to a local file named "input file name. Txt" File Name text box and the co
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Ex08test/.classpath
Ex08test/.project
Ex08test/AndroidManifest.xml
Ex08test/bin/AndroidManifest.xml
Ex08test/bin/classes/com/example/ex08/BuildConfig.class
Ex08test/bin/classes/com/example/ex08/MainActivity$1.class
Ex08test/bin/classes/com/example/ex08/MainActivity$2.class
Ex08test/bin/classes/com/example/ex08/MainActivity.class
Ex08test/bin/classes/com/example/ex08/R$attr.class
Ex08test/bin/classes/com/example/ex08/R$dimen.class
Ex08test/bin/classes/com/example/ex08/R$drawable.class
Ex08test/bin/classes/com/example/ex08/R$id.class
Ex08test/bin/classes/com/example/ex08/R$layout.class
Ex08test/bin/classes/com/example/ex08/R$menu.class
Ex08test/bin/classes/com/example/ex08/R$string.class
Ex08test/bin/classes/com/example/ex08/R$style.class
Ex08test/bin/classes/com/example/ex08/R.class
Ex08test/bin/classes.dex
Ex08test/bin/com.example.ex08.MainActivity.apk
Ex08test/bin/Ex08test.apk
Ex08test/bin/jarlist.cache
Ex08test/bin/res/drawable-hdpi/ic_action_search.png
Ex08test/bin/res/drawable-hdpi/ic_launcher.png
Ex08test/bin/res/drawable-ldpi/ic_launcher.png
Ex08test/bin/res/drawable-mdpi/ic_action_search.png
Ex08test/bin/res/drawable-mdpi/ic_launcher.png
Ex08test/bin/res/drawable-xhdpi/ic_action_search.png
Ex08test/bin/res/drawable-xhdpi/ic_launcher.png
Ex08test/bin/resources.ap_
Ex08test/gen/com/example/ex08/BuildConfig.java
Ex08test/gen/com/example/ex08/R.java
Ex08test/ic_launcher-web.png
Ex08test/libs/android-support-v4.jar
Ex08test/proguard-project.txt
Ex08test/project.properties
Ex08test/res/drawable-hdpi/ic_action_search.png
Ex08test/res/drawable-hdpi/ic_launcher.png
Ex08test/res/drawable-ldpi/ic_launcher.png
Ex08test/res/drawable-mdpi/ic_action_search.png
Ex08test/res/drawable-mdpi/ic_launcher.png
Ex08test/res/drawable-xhdpi/ic_action_search.png
Ex08test/res/drawable-xhdpi/ic_launcher.png
Ex08test/res/layout/activity_main.xml
Ex08test/res/layout/list_item.xml
Ex08test/res/menu/activity_main.xml
Ex08test/res/values/dimens.xml
Ex08test/res/values/strings.xml
Ex08test/res/values/styles.xml
Ex08test/res/values-large/dimens.xml
Ex08test/src/com/example/ex08/MainActivity.java
Ex08test/bin/classes/com/example/ex08
Ex08test/bin/classes/com/example
Ex08test/gen/com/example/ex08
Ex08test/src/com/example/ex08
Ex08test/bin/classes/com
Ex08test/bin/res/drawable-hdpi
Ex08test/bin/res/drawable-ldpi
Ex08test/bin/res/drawable-mdpi
Ex08test/bin/res/drawable-xhdpi
Ex08test/gen/com/example
Ex08test/src/com/example
Ex08test/bin/classes
Ex08test/bin/res
Ex08test/gen/com
Ex08test/res/drawable-hdpi
Ex08test/res/drawable-ldpi
Ex08test/res/drawable-mdpi
Ex08test/res/drawable-xhdpi
Ex08test/res/layout
Ex08test/res/menu
Ex08test/res/values
Ex08test/res/values-large
Ex08test/src/com
Ex08test/assets
Ex08test/bin
Ex08test/gen
Ex08test/libs
Ex08test/res
Ex08test/src
Ex08test
Ex08test/.project
Ex08test/AndroidManifest.xml
Ex08test/bin/AndroidManifest.xml
Ex08test/bin/classes/com/example/ex08/BuildConfig.class
Ex08test/bin/classes/com/example/ex08/MainActivity$1.class
Ex08test/bin/classes/com/example/ex08/MainActivity$2.class
Ex08test/bin/classes/com/example/ex08/MainActivity.class
Ex08test/bin/classes/com/example/ex08/R$attr.class
Ex08test/bin/classes/com/example/ex08/R$dimen.class
Ex08test/bin/classes/com/example/ex08/R$drawable.class
Ex08test/bin/classes/com/example/ex08/R$id.class
Ex08test/bin/classes/com/example/ex08/R$layout.class
Ex08test/bin/classes/com/example/ex08/R$menu.class
Ex08test/bin/classes/com/example/ex08/R$string.class
Ex08test/bin/classes/com/example/ex08/R$style.class
Ex08test/bin/classes/com/example/ex08/R.class
Ex08test/bin/classes.dex
Ex08test/bin/com.example.ex08.MainActivity.apk
Ex08test/bin/Ex08test.apk
Ex08test/bin/jarlist.cache
Ex08test/bin/res/drawable-hdpi/ic_action_search.png
Ex08test/bin/res/drawable-hdpi/ic_launcher.png
Ex08test/bin/res/drawable-ldpi/ic_launcher.png
Ex08test/bin/res/drawable-mdpi/ic_action_search.png
Ex08test/bin/res/drawable-mdpi/ic_launcher.png
Ex08test/bin/res/drawable-xhdpi/ic_action_search.png
Ex08test/bin/res/drawable-xhdpi/ic_launcher.png
Ex08test/bin/resources.ap_
Ex08test/gen/com/example/ex08/BuildConfig.java
Ex08test/gen/com/example/ex08/R.java
Ex08test/ic_launcher-web.png
Ex08test/libs/android-support-v4.jar
Ex08test/proguard-project.txt
Ex08test/project.properties
Ex08test/res/drawable-hdpi/ic_action_search.png
Ex08test/res/drawable-hdpi/ic_launcher.png
Ex08test/res/drawable-ldpi/ic_launcher.png
Ex08test/res/drawable-mdpi/ic_action_search.png
Ex08test/res/drawable-mdpi/ic_launcher.png
Ex08test/res/drawable-xhdpi/ic_action_search.png
Ex08test/res/drawable-xhdpi/ic_launcher.png
Ex08test/res/layout/activity_main.xml
Ex08test/res/layout/list_item.xml
Ex08test/res/menu/activity_main.xml
Ex08test/res/values/dimens.xml
Ex08test/res/values/strings.xml
Ex08test/res/values/styles.xml
Ex08test/res/values-large/dimens.xml
Ex08test/src/com/example/ex08/MainActivity.java
Ex08test/bin/classes/com/example/ex08
Ex08test/bin/classes/com/example
Ex08test/gen/com/example/ex08
Ex08test/src/com/example/ex08
Ex08test/bin/classes/com
Ex08test/bin/res/drawable-hdpi
Ex08test/bin/res/drawable-ldpi
Ex08test/bin/res/drawable-mdpi
Ex08test/bin/res/drawable-xhdpi
Ex08test/gen/com/example
Ex08test/src/com/example
Ex08test/bin/classes
Ex08test/bin/res
Ex08test/gen/com
Ex08test/res/drawable-hdpi
Ex08test/res/drawable-ldpi
Ex08test/res/drawable-mdpi
Ex08test/res/drawable-xhdpi
Ex08test/res/layout
Ex08test/res/menu
Ex08test/res/values
Ex08test/res/values-large
Ex08test/src/com
Ex08test/assets
Ex08test/bin
Ex08test/gen
Ex08test/libs
Ex08test/res
Ex08test/src
Ex08test
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.