[android-developers] Re: Notifications from file system

2008-11-06 Thread CJ
anybody has an example? On Sep 17, 5:02 pm, hackbod <[EMAIL PROTECTED]> wrote: > TheFileObserverclass allows you to monitor filesystem changes: > > http://code.google.com/android/reference/android/os/FileObserver.html > > It does need to be better documented, but it works. :) > > On Sep 17, 2:56

[android-developers] Re: Notifications from file system

2008-09-17 Thread hackbod
The FileObserver class allows you to monitor filesystem changes: http://code.google.com/android/reference/android/os/FileObserver.html It does need to be better documented, but it works. :) On Sep 17, 2:56 am, indra <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any way out by which we can get t

[android-developers] Re: Notifications from file system

2008-09-17 Thread Megha Joshi
This feature is not implemented, please log a feature request in the public issue tracker. As a workaround, you could use a ContentProvider for the files you are interested in. Set ContentObserver on the ContentProvider. Every time the file is added/deleted, add/delete the corresponding _data entry