![]() I have created a test app that demonstrates the problem. ![]() The issues seem to be caused because MediaScanner is adding the Images to the system database even though I have not asked it to. tDestinationInExternalFilesDir(myActivity, Environment.DIRECTORY_DOWNLOADS, myFilename) tNotificationVisibility(Request.VISIBILITY_HIDDEN) Request myRequest = new Request(Uri.parse(episodeArtLink)) Any help would be appreciated! DownloadManager myDownloadManager = (DownloadManager) myActivity.getSystemService(Context.DOWNLOAD_SERVICE) nomedia files to the directories are they are created. ![]() ![]() I cannot figure out how to have them not show up in the Gallery application. The download works great however, the jpgs are visible in the Gallery application, which I don't want since they are just assets for my application. My application downloads jpgs from a website using DownloadManager and store them in the /sdcard/Android/name.app/ directory to be used in several Fragments in the application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |