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. - Feature Requests -

Request 1: I made this request to HTC but they said to try here as
well. My Iphone TomTom gps used to fade back to itunes when it was not
activly speaking. I use the bluetooth on my mazda 3 for music and
routing instead of owning an exspensive NAV system. Please enable the
Sprint Nav to do so. This would be the ONLY thing I miss from the
iPhone at this time.

Request 2.  The headphones hiss when a song fades out. Is this a HTC
hardware issue or something that can be addressed with a firmware
patch? Please fix this if possible. I hear I can get headphones that
come out of the bottom port but the hero touted the 3.5 jack and I
should not have to do so.

Many thanks to Sprint, HTC, and Google for helping me dump my bloated
ATT plan!


2. this.getApplication() returns NULL pointer

I'm running the following line in an Activity, which is within the
same application, but in a different package:
AppObject appObj = (AppObject)this.getApplication();  // FYI:
AppObject is my extension class of Application.

It returns only a null pointer, while when I move it to the "main"
package and run it from there it returns the application reference as

I've defined the activity in my AndroidManifest.xml  with the full
qualified class name, since it is in another package: <activity

Any ideas of what I've to do different?



3. Possibility of Android on older Archos devices

4. Possibility of Android on older Archos devices

5. Looking to network to find an Android Developer for a project in San Jose, CA

6. Possible to hide the virtual keyboard if a certain key is pressed? (EditText)

7. Criteria of marking a test @SmallTest OR @MediumTest OR @LargeTest