-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad047bd
commit 1ebca6e
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 第五次实验报告 | ||
|
||
## 一、实验目标: | ||
|
||
掌握在Android App中存储数据 | ||
|
||
## 二、实验步骤: | ||
|
||
1、打开已建好的项目soft1614080902102 | ||
|
||
2、在Main1Activity中加入跳转代码跳转到Main2Activity,在Main2Activity中加入存储功能 | ||
|
||
3、参考实验要求五文件操作的代码,选择外部存储的方式,修改Main2Activity中的代码,添加监听器以及文件输入输出流 | ||
|
||
4、运行程序并截图 | ||
|
||
5、使用git将代码提交到自己的库里 | ||
|
||
6、在自己的GitHub库上创建和发送Pull Request | ||
|
||
7、在GitHub中使用Markdown文件编写实验报告 | ||
|
||
## 三、实验结果: | ||
|
||
![image](https://github.com/1614080902102/android-labs-2018/blob/ad047bdbb974655c2ad45d1a0a8053d3182c4fac/soft1614080902102/shiyan5.jpg?raw=true) | ||
|
||
## 四、实验体会: | ||
|
||
1、尝试了虚拟机安卓7、安卓8、安卓9,都没有找到已经保存的文件,查了一下发现要用安卓5.0以下的版本才能够看到保存的文件。 | ||
|
||
2、另外虚拟机上没有下载输入法,所以输入的宿舍舍友名字是一串英文字母。 | ||
|
||
3、通过这几次实验,我学会了自己解决遇到的各种问题,百度也好,请教师兄也罢,最终还是要学会转化为自己的知识。 | ||
|
||
4、谢谢老师的教导,受益匪浅,以后还是会勤加练习的! |