What to do when any media files are deleted?

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


Sponsored Links
 Dear.

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
MediaScanner.scanFiles(mFiles).
2. but how should MediaScanner be notified when any files are deleted
on SD card?

Please share your suggestion.

Thanks.



Other Threads

1. Market comments disappearing over last few days

Hi, every time I have looked at the market comments for my app over
the last few days some more comments have disappeared. This is whether
I look on the phone or on the developer console.

Unfortunately the comments that Google has chosen to 'lose' are my
most favourable comments leaving several "This app suxss" type
comments by the usual Neanderthals who like to be abusive. I have
checked with a helpful user who left a positive comment and they have
not removed them themselves or de-installed so what is going on?

It is seriously hurting my downloads/sales and the impression that
potential users of my app see when they look on the market.
I have emailed Google but no reply yet.

Is anyone else seeing this?
Paul

-- 

2. internet connection on android emulator

Is anyone here has successfully run internet on 2.2 froyo(on windows)
if yes please tell me how.
thanks in advance

-- 

3. dithering gradient on different devices

4. My MapActivity is not showing the map

5. getCellLocation() returns null

6. how to capture log messages to String

7. Can someone please post the steps to debug the Android kernel?