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. Couldn't update SDK to 2.0

Today I tried to download Platform 2.0 via Android SDK and AVD
Manager. I chose it in "Available Packages" and started download.
After it was finished SDK Manager showed a message
"Downloading SDK Platform Android 2.0, API 5, revision 1
SSL peer shut down incorrectly"

Folder "Android-2.0" didn't appear in "platforms" folder.

I use Windows Vista.

Does anybody have any idea what is the matter?


2. taking a screen shot of whatever is drawn on the view...

I am trying to take a screen shot of whatever is drawn on my custom
view's canvas. I use the following lines for the same:

//enable drawing cache
// use the drawing on the cache to create a Bitmap Object
Bitmap screenshot = Bitmap.createBitmap(this.getDrawingCache());
// disable the cache


The getDrawingCache() call returns null sometimes.
Any pointers to what I am doing wrong here?



3. taking a screenshot...of whatever is drawn on the view

4. ADB shell exiting abnormally

5. I get the "unable to start wifi"

6. OpenGL ES 2.0?

7. Any suggestions on how to save and XML DOM back to a file?