2017년 4월 14일 금요일

error 2001


..need to share the camcorder file after camcorder records but i keep getting error 2001



--
the result from the camcorder unfortunately is a video content uri, but not a path to the recorded clip and for the sharing coponent you wil need the path to the file
and unfortunately there also is no conversion block available, which converts a video content uri into a path to the file

however you could write your own extension and create a block yourself...

more information about how to create an extension see here https://groups.google.com/d/msg/mitappinventortest/Ip2AX036d0U/5NJlAEbFCgAJ
however that will be more advanced and will require some Java skills...

I also can offer to write that conversion block for you. In case you like to be the sponsor of that block, please contact me by email. Thank you.

--
The correct path to the video clip is content://media/external/video/media/7290
The Sharing component ShareFileWithMessage procedure is adding a file:// prefix to that path which is causing an error.
That results in the incorrect file://content://media/external/video/media/7290 path.
This may be a bug.

--

댓글 없음:

댓글 쓰기