开发者

android download files problem

i wanna 开发者_运维问答download files in my application ,

so i used threads to download ,

but i found that if i close application , the downloading stopped.

should i use 「service」 to implement downloading?? or something else ??

could someone give me suggestions?


Yes. You should use service with new thread running on it. If you implement service downloading will not crashed when you close app.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜