To monitor files and directories, you can simply use a FileObserver: http://d.android.com/reference/android/os/FileObserver.html
On Sun, Jul 11, 2010 at 8:25 PM, perumal316 <perumal...@gmail.com> wrote: > Hi All, > > Is it possible to do polling in Android? > > For example, I want my application to monitor a directory > continuously. If there is for example a new folder created in that > directory I want to log it down. > > Is it possible to acheive this by polling? Or is there any other way > to do this? > > Thanks in Advance, > Perumal > > -- > 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 > -- Romain Guy Android framework engineer romain...@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