getContentResolver().openOutputStream(uri) No files supported by provider

前端 未结 1 1433

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

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

相关标签:
1条回答
  • 2021-01-24 09:23

    You are a little sparse here. I presume you have a custom ContentProvider?

    In any case take a look at How to store large blobs in an android content provider?

    (I answered my own question there so I won't reproduce it here.)

    It sounds like your ContentProvider isn't matching the uri.

    0 讨论(0)
提交回复
热议问题