Im making a client application for my ZTE Blade Android phone, which receives a image file from a PC through a socket. The problem is that when I have saved it to my SD card through the application and want to view it, the image is just black for about 40 seconds, then it appears. If I try again later, it still takes that long. If I restart my phone, the problem is gone.
What could be the cause of this?
I found it, it seems like I needed to refresh the SD-card. This thread used a sendBroadcast method which solved my problem.