-
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
Showing
4 changed files
with
103 additions
and
2 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 @@ | ||
第五次实验 | ||
|
||
1.实验目标 | ||
|
||
(1)掌握在Android App中存储数据 | ||
|
||
2.实验步骤 | ||
|
||
(1)打开已建好的项目soft1614080902217 | ||
|
||
(2)在SecondActivity中加入存储功能,每一次下载都把下载地址记录到外部txt文件并且刷新记录,每次打开该界面时读入txt中的记录数据 | ||
|
||
(3)在activity_Second_xml中加入一个文本框用于显示历史记录 | ||
|
||
(4)完成并运行成功 | ||
|
||
(5)用git上交 | ||
|
||
## 3.实验结果 | ||
![image](https://github.com/curtain2017xxxx/android-labs-2018/blob/master/soft1614080902217/shiyan5/1.jpg) | ||
|
||
## 4.实验体会 | ||
|
||
这次实验比较有意思,学会了简单的存储,利用java.io类提供的方法简单读写数据来存储历史记录,以后要更深入学习。 |