what if I have to observe 2 or more folders (or paths)? even then threads are not required?
how to register callbacks? On Feb 4, 11:03 pm, Dianne Hackborn <hack...@android.com> wrote: > You don't need to create any threads to use FileObserver -- it is > callback-based. > > On Tue, Feb 3, 2009 at 11:27 PM, pradeep <pradeep...@gmail.com> wrote: > > > i need to observe a sdcard i.e all the folders inside. i am creating > > fileobservers for each folder in saparate threads, but i don't think > > it is efficient. is there any other method for do so? > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---