scanDirectories() using MediaScanner when media files are deleted like BlueTooth?

by skan95 » Thu, 21 Jan 2010 20:31:17 GMT

Sponsored Links
If media files are deleted using the BlueTooth, how should I handle
Should scanDirectories() be called?
In the case that new media files are transferred via BT,  scanFile()
is called.
But if media files are deleted, what should be done?
Please let me know the process.


Other Threads

1. Is it necessary to know the Java APIs to create Android Applications?

I have studied core Java very well but very little of the Java APIs.
Should I learn them before I start programming in Android or will
knowing the Android APIs be enough? Is there any benefit to using the
Java APIs in an Android app. If so, can someone give me an example?


2. DDMS use - allocated memory not freed when BACK pressed?

When hitting back, the application that was at the front is simply
paused. It is not destroyed or quit.

This allows the app to "restart" instantly if you launch it again.
However if the system needs more memory (to run new app) it can get
killed automatically.

You should read the lifecycle documentation at



3. KML maps activity

4. How to change the normal behaviour of a listview

5. Spica v.LK2.02 - Root, Recovery, Apps2SD, Busybox, Wifi tether etc [04/15/2010]

6. Setalah Upgrade Ke I570EDXJC4

7. How to send KeyEvents through an input method service to a Dialog, or a Spinner menu?