①在Manifest中注册服务,添加Internet、Write_External_Storage两个权限 ②服务在主线程工作,因此需要添加一个新的线程来下载图片 ③首先声明一个String类型的变量来表示图的网络地址