Filedownloader: stable downloading

Created on 22 Aug 2016  ·  12Comments  ·  Source: lingochamp/FileDownloader

hey mr jak
First : how i can control downloading task from servic ? my point is start , pause and resume from servic and get donloading task from activity
Second : also i whant to get all downloading task in a diffrent activity how i can?
please help
thanx alot

question

All 12 comments

  1. start、pause、resume, Please Ref the demo project or wiki.
  2. You can manage tasks by yourself, Ref: https://github.com/lingochamp/FileDownloader/issues/103#issuecomment-209173124 , or Ref the TaskManageDemo.

@mohamadrezash any problem, this issue will be reopened.

i try to made stable download by this downloader but i have problem yet :(

OK... What problem?

You can test the demo project first. I test hundreds of tasks, even thousands of tasks in the demo project, to make sure how it work stabled.

my first problem is how manage download in service? its mean i want to create service that implement FileDownloadListener but i dont know how handle it?

i know mr jack everything in demo project is prefect It is possible i cant to undrestand because im beginer

com.liulishuo.filedownloader.services could helpfull?

Yes, you can manage download in service feel free, just manage listeners in service (https://github.com/lingochamp/FileDownloader/issues/103#issuecomment-209173124) and wrap the downloading function method in your service.

Wiki.

No, Classes in com.liulishuo.filedownloader.services the package is for the internal mechanism to execute tasks in the FileDownloadService.

i try again:)
if you put example of download from service in your demo everything Was completed
this downloader is amazing
thanx for this

Thanks.

But the FileDownloader doesn't bound any component(Such as Activity) of the upper layer. You can simply replace any Activity in the demo project with the Service, and display the downloading information in another way.

If you find any problem when you downloading task in Service, please let me know, I will help you.

Was this page helpful?
0 / 5 - 0 ratings