Thursday, March 15, 2012

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

It would be nice if there was at least some kind of developer tool/option that sits in between the app and the filesystem and takes care of refreshing/notifying changes etc...

2012/3/15 Kostya Vasilyev <kmansoft@gmail.com>
15 марта 2012 г. 11:27 пользователь Mark Carter
<mjc1904@googlemail.com> написал:
> One thing (and it's really annoying) I have noticed on the Galaxy Nexus is
> that when viewing its files from Windows 7, I am not seeing the latest
> file/directory structure. I guess this is something related to MTP. I
> usually end up using AirDroid instead.

Right, a file or directory won't be visible until seen by the Media Scanner.

Starting with 4.0 (IIRC), this applies to all files, not just images, as before.

> Anyway, to the point, so it could be that it seems the directory does not
> exist, but actually it does.

If you were checking the directory for existence from the computer,
that could easily give a false negative.

A side note: it seems really weird to make 3-rd party applications
responsible for the internal consistency of OS data (bringing the MTP
database in sync with the file system).

-- Kostya

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment