Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How to use MediaStore to get content URI of audio file saved

How to use MediaStore to get content URI of audio file saved

All your problems with Audio, Video and Images.

How to use MediaStore to get content URI of audio file saved

Postby hnmapara » Tue Sep 15, 2009 8:31 pm

Hi All,

I searched this , but can't find any related info.
Here is what I want to do:

In /sdcard/downloads folder, there is a xyz.mp3 file.
I want to save the content URI of xyz.mp3 file into my database. xyz.mp3 is huge, so it can't be saved in database, but I want to save it's URI in database with other records in row. So always I can get the URI string and using content resolver I can get the xyz.mp3 file by providing its content URI. ( I guess using openOuputStream method of contentResolver)

So the question is, how do I do this?? how can I get content URI of xyz.mp3 ? I guess it can be done using MediaStore, but I don't get enough help from documentation to accomplish this.

Please help
Thanks
Harshit
hnmapara
Freshman
Freshman
 
Posts: 9
Joined: Wed Jul 22, 2009 8:19 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests