I have developed a file explorer (Android Tuner if you want to test this) 
and got report that file moved/copied did not appear in gallery or other 
apps, (starting with ICS I think).

So I added the scanning/deleting of all files manipulated by the file 
explorer, so that they would also appear in MTP on my computer.
But now, Gallery gets updated no matter what, as explained in this issue: 
http://code.google.com/p/android/issues/detail?id=24162

Obviously the ".nomedia" is no longer working as it should. Media scanner 
is now registering all files on storage (for MTP purposes), but forget to 
remove the nomedia content from the media section. A media DB containing 
non media files, is this a joke?

I personally find very odd to leave apps responsible for updating OS data 
structure. And again, dev will take the blame for one more bug in the OS, 
because there's no win-win here for us: either we scan all content and 
gallery apps get messed up, or we don't and MTP get messed up!


On Tuesday, August 14, 2012 1: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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to