What to do when any media files are deleted?

by skan95 » Wed, 20 Jan 2010 19:19:33 GMT

Sponsored Links

I am testing Bluetooth file transfer.

When any files are transfered by FTP via BT,
mMediaScanner.scanFiles(mFiles, null);  is used to notify MedisScanner
adding new media files.

But if any files are deleted by FTP, what api should be called?

To sum it up, current problem is that,
1. When new media files are added, MediaScanner is notified through
2. but how should MediaScanner be notified when any files are deleted
on SD card?

Please share your suggestion.


Other Threads

1. problem downloading source

Is anyone else seeing this problem:

$ repo sync
fatal: read error (Connection reset by peer)
error: Cannot fetch platform/external/webkit

Al Hopper


2. Is BrowserCallback missing in my SDK or does it not exist?

Hi, guys.

I apologize for the rather dumb question.
I'm trying to use WebView with the BrowserCallback to handle URL
I see tons of examples and documentation on the internet, but I don't
see this class in my SDK.
I tried to find out whether this is newest addition or it's been
removed, but no luck so far.
So I decided to ask you, guys.

I'm using the SDK from the following archive:
and it doesn't have that class.
There's something with similar API called CallbackProxy, but it's
package local and not used in public WebView API.

Thank you in advance.

  Andriy Trubka.


3. mime handler with inline content disposition

4. how to read the trace file

5. Somehow get RandomAccessFile from getAsset

6. MediaPlayer video playback problem

7. access to getprop from Java?