Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(ps:几次提交中有一两次写太快题目写错了,统一为#6,#342)




(再次ps:提交中出现json和xml文件乃之前测试项目,为获取文件服务器网址上传的,与本次上交实验无关,仅以最后一次commit为准,多余文件已删除)
选题:选做2
————————分割线
功能介绍:本次实验主要实现获取网络图片的URL,并进行浏览,实现设置书籍封面的一部分功能
1.设置点击事件按钮和EditText,设置默认网址,并在AndroidManifest.xml添加网络权限:
2.点击button,将默认网络图片显示出来:
3.修改网络图片地址(当EditText为空时、网络不通或请求失败等,都会有Toast提示):
4.再次点击button,将新输入的网址图片显示出来: