Home android downloadManager pause or stop when activity not in foreground
Reply: 0

android downloadManager pause or stop when activity not in foreground

Android User
1#
Android User Published in 2018-02-14 09:42:30Z

I am using DownloadManager for downloading learge file download from internet

downloadManager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);



registerReceiver(onComplete,
                new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE));

I can download data but my queue is can i stop or pause downloadManager when my activity not in forground? if yes than how? please guide

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.299151 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO