开发者

Download File with Notification

I've been trying to complete th开发者_运维问答is for the past week, but i can't seem to get it to work!

I have successfully created a notification that has a ProgressBar, and i have it incrementing across (in a seperate thread) with Sleep(1000); I also have a method downloadFile(String url) which successfully downloads a file in a separate thread (with no UI), but i can't seem to be able to integrate them at all!

Any help would be appreciated, Cheers


You could use AsyncTask for it.

Examples are on the link itself

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜