Android, by design, explicitly does not contain a file manager. While
nothing prevents a third-party from writing one, the UI experience
out-of-the-box must explicitly not rely on having a file manager.

JBQ

On Sun, May 10, 2009 at 7:19 PM, Yangqing <w20...@gmail.com> wrote:
>
> Android uses a different way than the traditional desktop operating
> system to store data - through the content provider, and Android does
> not provide a built-in file manager. But there is still a demand on
> file manager on Android device, for example, deleting files on the SD
> card to free space, etc.
>
> While trying to develop a file manager, we do find that deleting files
> from the file manager may break some applications data integrity, for
> example, for the media files(audio/video), besides the media file in
> the file system, Android media provider also record some meta-data in
> the media provider database, deleting the file from the file system
> will not automatically update the records in the media database, the
> consequence is that the user can still see the content in the music or
> gallery application though the file associated with it has already
> been removed. One possible solution would be to broadcast the message
> and let the appropriate application, for example, the media scanner,
> to update the database, or another way - let the file manager call
> media content provider interface to delete the content.
>
> We are wondering whether it is a correct decision to develop a file
> manager for an Android device from the software architecture point of
> view. Anything to care about from the security perspective? How about
> if we limit the access only to the SD card?
>
> Thanks,
> Yangqing.
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to