Using media scanner

by ivan » Thu, 30 Apr 2009 06:54:00 GMT


Sponsored Links
 Hello,

I'm trying to use the MediaScannerConnection class to update my
external audio content provider.

I download an MP3 file to:

/sdcard/Music/

When the download is complete I successfully scan it, but the file is
scanned to the internal audio content provider...

the uri looks like "/internal/audio/media/55".

Is there a way to control the content provider that the media scanner
scans to?

-Ivan
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Proxy settings using Android SDK 1.6

Hi

I'm not able to browse throush emulator.
Tried /adb shell sqlite3 /data/data/
com.google.android.providers.settings/databases/settings.db NSERT
INTO system VALUES(99,ttp_proxy[host_or_IP]:[port];\quot;
but it shows error at (


Can any one help me please

--~--~---------~--~----~------------~-------~--~----~

2. App not running

Hi!
I'm about to get a G2, so I decided to start developing for it.
I decided to go for nbAndroid (Android plugin for NetBeans) as I'm a
NetBeans user. No success.
I tried to use ADT (for Eclipse). No success.
I created the AVD and then a project. I run the project but the app is not
shown. I only get the ANDROID_ message.

On windows I get from compiler the message "Result: -1". On linux "Result:
255"

What I get: http://img246.imageshack.us/img246/2192/android.png

Is there anyone who could help me?

Thanks!

-- 
Eros Eduardo Stein
Tcnico de Informtica / Em breve analista.
USE >> http://www.ekaaty.org
http://www.erosstein.info

--~--~---------~--~----~------------~-------~--~----~

3. for the General Public

4. Camera picture path in Android Application

5. complex sample application

6. Code protection

7. Android for Joggers & Walkers