Android all downloads disappeared






















If we figure out that there has been an update to that file we delete the local version and re-queue a download from the DownloadManager.

This only runs when you fully kill and re-start the app timely updates to files are not the priority, just that we have all the files and that they get updated whenever we notice it. This system works perfectly on all of my personal testing devices, however, when testing in the api 19 emulator or on my co-worker's HTC One the files will download and then disappear no longer in the app's external data folder. I've figured out that both are version 4.

It's weird because they will stick around for a time, but then random files will disappear. So I decided to elaborate on this a bit more with my testing for this and how the issue manifests itself in the hopes that it will make the picture that much more clear! I start by loading the app via Android Studio and letting it run long enough to know that all the downloads finish and then I look through the app to see which images are there and which are missing.

Most images are there normally. Next I exit the app and use the android task manager to fully kill it. Then I re-launch the app via Android Studio. I then wait to make sure that the downloads finish and watch the LogCat to see what files get deleted manually normally a couple at maximum. It seems that every time new images appear AND new images disappear And normally the ones that get marked as manually deleted actually get replaced via download properly i.

NOT "disappeared". First of all this is the first time I've used a FileObserver so if I've done something stupid please point it out. Here is my observer code:. I'm using the handler because at first I didn't have the startWatching override in and wasn't getting any logging at all and the docs say that onEvent happens on its own thread and therefore you should use a handler.

It's simply this in the class:. Use null instead of "" in your call to getExternalFilesDirs see if that helps. All albums, all playlists -- everything.

Now that I am back above ground and have an internet connection, my library is back but none of my albums are downloaded any more. What the hell happened to my music? I've lost a lot of trust that Spotify's downloaded music will be there when I need it. What do I do when this happens at the beginning of a five hour flight?

She works to help teach others how to get the most from their devices, systems, and apps. She stays on top of the latest trends and is always finding solutions to common tech problems. You've decided to leave a comment. That's fantastic! Check out our comment policy here. Let's have a personal and meaningful conversation. Save my name, email, and website in this browser for the next time I comment. Notify me of follow-up comments by email.

Affiliate Disclosure: Make Tech Easier may earn commission on products purchased through our links, which supports the work we do for our readers. Is this article useful? Yes No. Never Miss Out Receive updates of our latest tutorials. Sign up for all newsletters. I would like to receive newsletters via email.

But whatever or wherever it is located, I have never lost a file that I downloaded. And, as Leo suggests, if it is an important download, I move it to a separate, distinct folder and back it up! Makes typing these entries into various open and save dialog boxes MUCH easier.

Some programs have their own default Downloads folder which is can be changed inside the program. You can move the Downloads or any folder using Windows File Explorer. This article explains how to move the My Documents folder but it works for any folder. I moved Documents, Downloads, Pictures, Music, and Videos inside the OneDrive folder so all my personal files are synchronized on the cloud and are on all of my computers. I have two Download folders.

Other files in my Download folders are installation files for various programs. Never know if I might need or want it. Everything else I download goes into the appropriate folder. When I set up a new machine, I can often bring over the dozens of programs that the old one used; and in some cases I can use the same setup files used in the original machine.

Image backups are pretty big, and sooner or later you run out of space for the old ones…. Eventually you do, yes, but you get to choose how large a window of recoverability you want or need. This may seem simplistic but I have never deleted any downloads. I was never sure what to delete. Any ideas on how to proceed? Some you might keep move to a different folder others you might delete. Most browsers, as lew b noted, most browsers have a setting for where to download files, and even to ask where to download them.

I have the same problem but with my mobile. Recently I download some video files. But one or two days latter they are gone from the chrome. So I upgrade it, but facing the same problem.

Comments violating those rules will be removed.



0コメント

  • 1000 / 1000