Praveen Kumar

Results 44 comments of Praveen Kumar

@vksBhardwaj Try using Android service. If you use Kotlin, Please tell me I will update the code [Sample Code](https://raw.githubusercontent.com/Hacker437/AppDownload/main/DownloadService.java) Still any doubts, Please Ask

Here is the gist in kotlin [Gist](https://gist.github.com/Hacker437/0b6c2ae1a513f4711bff182f6a0aa941)

@DavidKmn Otherwise, I cannot pause, resume, cancel the download when the button is clicked. I don't know if it can be done in a single instance only @tonyofrancis can tell.

@passmanagerapp Yes you can use Fetch in a fragment.

@passmanagerapp Do you need background downloading?

Instead of using Fetch DefaultFetchNotificationManager(context).Use a notification of your own. I will provide gist for that [Gist](https://gist.github.com/Hacker437/23b9b9c060f99eb1586814c404ff4684). If you any doubt, please ask

@rahul5629 There is a problem with Default Fetch Notification Manager

Hey, Try using fetch.cancel() if you want to stop in onDestroy() method.

Can u share the file that you are making