Reputation: 21877
An app named Downloads is present in the GINGERBREAD version of Android. It lists the files downloaded. Where are these files stored and are there any standard APIs to access the downloaded files?
Upvotes: 1
Views: 603
Reputation: 790
os.Environment
has a method called getDownloadCacheDirectory()
You can get a list of all the files in this directory as follows:
File downloadFolder = Environment.getDownloadCacheDirectory();
File[] downloadFiles = downloadFolder.listFiles();
Documentation from the Android developers site.
Upvotes: 1