views:

14

answers:

0

I want store a file audio in my personal content provider. i save record:

Uri uri = getContentResolver().insert(CONTENT_URI, values); OutputStream os = getContentResolver().openOutputStream(uri);

but getContentResolver().openOutputStream(uri); throws:

10-13 19:44:53.903: ERROR/TAB(5679): No files supported by provider at content://com.memento.data.provider.MementoProvider/audionotes/6 10-13 19:44:53.903: ERROR/TAB(5679): java.io.FileNotFoundException: No files supported by provider at content://com.memento.data.provider.MementoProvider/audionotes/6 10-13 19:44:53.903: ERROR/TAB(5679): at android.content.ContentProvider.openFile(ContentProvider.java:585)

I have a column named _data for that purpose.