I have an application that reads and writes files during onCreate . The problem is that when the application is installed through the Market and launched for the first time, the files that it needs to receive do not have access to them. I get FileNotFound exceptions, although there is a file. If I return from the application and open it again, the files will be read.
This is not the same behavior when clicking apk from eclipse or adb. Actually, I was able to reproduce the problem using eclipse and thought that I fixed it by doing adb uninstalls and installing eclipse, but the problem remains for users who are pulling the update from the market.
source share