Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Downloaded files not appearing in the Downloads App in android

I am building an application in android where users can download remote files and save them to the external storage downloads directory. It works well and I am able to view files through Es File Explorer and other file explorer tools. But those files are not appearing in Downloads App in my Nexus 4 device. Please note that I am not using DownloadManager, instead I am creating HttpUrlConnection to remote server and downloading files.

Can anybody please tell me how to make the downloaded files appear in Downloads App without using DownloadManager?

like image 507
Vivek Avatar asked Oct 01 '13 10:10

Vivek


People also ask

Where are my downloaded files on Android?

All of your downloaded files can be found in this folder. The process is even easier if you’re using the “Files by Google” app. First, open the app on your Android device. Make sure you’re on the “Browse” tab. Tap the “Downloads” option and then you’ll see all of your downloaded documents and files. That’s it!

Why can't I download files from the Google App?

If so, go to Settings>Apps, select Google, then Permissions, then make sure Storage is turned on. The Google app should now download files to the /Download directory, instead of the protected system directory /documents. Welcome to Android Central! Is this problem occurring only when you try to download something using the Google app?

Why can’t I see downloaded apps on my Android?

Allow launcher to add downloaded apps On the other hand, if you are not seeing newly-installed apps on your home screen, the launcher is the one to blame. There’s an option which allows or disables adding icons to the home screen. So, basically, what you need to do is toggle the option to allow your launcher to add new icons.

How to add downloaded files to the app GUI?

You have to use DownloadManager to make the files show up in the app, but that doesn't mean you have to download them with DownloadManager. From API 12 onwards you can call DownloadManager.addCompletedDownload to add a file you've already downloaded to the downloads ContentProvider and therefore also to the GUI.


1 Answers

You have to use DownloadManager to make the files show up in the app, but that doesn't mean you have to download them with DownloadManager. From API 12 onwards you can call DownloadManager.addCompletedDownload to add a file you've already downloaded to the downloads ContentProvider and therefore also to the GUI.

like image 105
Dan Hulme Avatar answered Sep 28 '22 07:09

Dan Hulme