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 Announcing App Inventor Extension Components
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 event block 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 attached to the 'file' socket.
This may be a bug.
Share - Error 2001: "The File could not be found on your device"
--
댓글 없음:
댓글 쓰기