You are supposed to tell the media scanner about the new file yourself, or
else it might only be scanned after the next reboot.
14.08.2012 0:56 пользователь "Nathan" <[email protected]> написал:

> Has anyone else seen this behavior? It is 100 percent reproducible. I
> write a file using a FileOutputStream.
> I use a file explorer on the device and I see the file. It has 9 files in
> the folder.
> I browse the folder from My Computer where it says "Galaxy Nexus". The
> same folder has 8 files. The file in question is not there.
>
> What is happening?
>
> Nathan
>
> On Monday, August 13, 2012 11:28:52 AM UTC-7, Nathan wrote:
>>
>> If I save a file to the external storage on ICS, how soon should I be
>> able to see it from my computer?
>> Two or three weeks is what I am seeing.
>>
>> And what if include a .nomedia file in a folder above this one? Does that
>> mean I will never ever see it?
>>
>> Perhaps I missed it, but I am not seeing good documentation about the
>> media scanner. Nowhere do I see it mentioned that the media scanner scans
>> any non media files, but that fact has been mentioned in this forum by
>> reputable individuals.
>>
>> I see this note in storage options:
>>
>> Hiding your files from the Media Scanner
>>
>> Include an empty file named.nomedia in your external files directory
>> (note the dot prefix in the filename). This will prevent Android's media
>> scanner from reading your media files and including them in apps like
>> Gallery or Music.
>>
>> This note does not say "this will prevent you from seeing any new files
>> when browsing the storage from your desktop computer". But does it?
>>
>> I really do want to hide files from showing up in Gallery or Music, and I
>> certainly don't want to make the media scanner work overtime on my non
>> media files. But I don't fully understand the consequences of having a
>> .nomedia file, or any other reason why these files would be invisible.
>>
>> Nathan
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to