While a content provider is the preferred way to control access to data your app has, it won't do what the original poster was asking for. There is no way to intercept access to any random file.
On Tue, Mar 3, 2009 at 1:34 AM, Philipp Stecher <p...@hexdust.net> wrote: > Hi > > I think what you are looking for is a ContentProvider. > > Be sure to read the document on Datastorage too. (in your SDK directory at > docs/guide/topics/data/data-storage.html) > > good luck, > > philipp > >> Hello guys. > >> Am I able to hook file system on Android? > >> that means before a file is opened by other application, a registered > >> function by the third application is invoked, and in the registered > >> function, it can decide whether permit other application to open that >> file. > >> > >> Thanks in advance. > >> > >> -Jiang > >> > >> > >> > >> ___________________________________________________________ > >> 好玩贺卡等你发,邮箱贺卡全新上线! > >> http://card.mail.cn.yahoo.com/ > >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---