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.
精彩评论