简体   繁体   中英

Record video from camera and upload on server android

I am developing an android app and recording a video and uploading it on server is one feature of it. I have been researching alot how to upload the recorded video on server but all the answers on SO and all the articles that I have read are using MultipartEntity . Now, what I have been wondering is that MultipartEntity is deprecated quite a while ago and I couldn't find any other way to upload a video on server so is there any library or something that android has introduced for uploading the video on server after deprecating MultipartEntity? If yes, please send me a link. Secondly, if I still use MultipartEntity in my android app, will it cause any problems/bugs in the future?

recorded video is also a file, sou you can use for example retrofit 2 to upload a file to server

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM