file system monitoring?

by MannyNS » Mon, 12 May 2008 23:48:00 GMT

Sponsored Links
 Is there a way to subscribe to (all) file system notifications from
Android? I know there is android.os.FileObserver, but unless one
instance is created and linked for every single folder on the phone,
it is useless.
Is there anything like SHChangeNotifyRegister? How did Android
creators fulfill the need for a feature of this kind?


file system monitoring?

by hackbod » Tue, 13 May 2008 07:02:57 GMT

 Sorry, there is no way to do this.  Monitoring all of the files on a
file system is expensive, so it is something we made sure we didn't
need to do.


Sponsored Links

file system monitoring?

by MannyNS » Tue, 13 May 2008 17:39:21 GMT

 Thanks for the reply from where the action is. You should really
consider adding a feature of that kind.
For instance, Windows Mobile team may also find it heavy, but they do
have a neat functionality with SHChangeNotifyRegister(). By not
providing an optimized mechanisms to do this, you will not suppress
the need to have it, and developers will find even more expensive
mechanism to get that eventually. Same rule applies to browsing the
folder "/data".

p.s. that red dot on the emulator... some BSG fans out there?


Other Threads

1. how to implement handler pause on another activity running this activity finish next continue handler

hi i am implementing gallery application in this gallery circular order
draging left to right and right to left scrolling i am using one handler on
gallery rotation another activity is gallery item clicking handler
automatically running display the gallery image another action is click the
gallery image display the clicked image my problem gallery image clicking
and scorring stop handler and not scrolling clicking next continue to
handler this functionality how can implemented please some suggestion its
urgent some solution

class RefreshHandler extends Handler {

public void handleMessage(Message msg) {

public void sleep(long delayMillis) {

sendMessageDelayed(obtainMessage(0), delayMillis);
public void updateUI(){
getImages();// this method is gallery rotation in circular manner


Thanks & Regards,

KVL Narasimha Rao.


2. Store Bitmap in Device, hence creating a file

Hi there,

I'm trying to upload an image to a Webserver. The examples I find
around mention to send a file that is stored in the device.

Does anyone know how to work this around with a Bitmap I got from the
internet for example? Instead of a file? Or maybe how to convert a
Bitmap to a File, store it on the device, and then send it? Is that

Thank you


3. Unable to run monkey for 40 Packages

4. Problem in SimpleDateFormat MMM return month number

5. Services doubt

6. USB notification issue with Android Froyo and 2.6.35 kernel

7. Working MSM7201 usb host driver v2