[android-developers] Re: MediaScannerConnectionClient which content provider?

2009-08-01 Thread Sonja_android

Thank you very much for the insights Marco.

On Jul 31, 6:09 am, Marco Nelissen marc...@android.com wrote:
 That is determined by the location of the file you're scanning.

 On Thu, Jul 30, 2009 at 11:38 AM, Sonja_android pubmoonm...@gmail.comwrote:



  Sounds good.  Is there a way to specify which database I'd like the
  MediaScannerConnectionClient to use?

  On Jul 29, 6:56 pm, Marco Nelissen marc...@android.com wrote:
   On Wed, Jul 29, 2009 at 8:26 AM, Sonja_android pubmoonm...@gmail.com
  wrote:

I am using the MediaScannerConnection and corresponding
MediaScannerConnectionClient to scan and add an audio file to the
MediaStore content provider.  How do I know which database the file
will be added to?  Will it use the INTERNAL_CONTENT_URI or
EXTERNAL_CONTENT_URI?

   The Uri that you get back will tell you which database it was added to.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: MediaScannerConnectionClient which content provider?

2009-07-30 Thread Sonja_android

Sounds good.  Is there a way to specify which database I'd like the
MediaScannerConnectionClient to use?

On Jul 29, 6:56 pm, Marco Nelissen marc...@android.com wrote:
 On Wed, Jul 29, 2009 at 8:26 AM, Sonja_android pubmoonm...@gmail.comwrote:



  I am using the MediaScannerConnection and corresponding
  MediaScannerConnectionClient to scan and add an audio file to the
  MediaStore content provider.  How do I know which database the file
  will be added to?  Will it use the INTERNAL_CONTENT_URI or
  EXTERNAL_CONTENT_URI?

 The Uri that you get back will tell you which database it was added to.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: MediaScannerConnectionClient which content provider?

2009-07-29 Thread Marco Nelissen
On Wed, Jul 29, 2009 at 8:26 AM, Sonja_android pubmoonm...@gmail.comwrote:


 I am using the MediaScannerConnection and corresponding
 MediaScannerConnectionClient to scan and add an audio file to the
 MediaStore content provider.  How do I know which database the file
 will be added to?  Will it use the INTERNAL_CONTENT_URI or
 EXTERNAL_CONTENT_URI?


The Uri that you get back will tell you which database it was added to.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---