问题
How can I upload video from my android app to Vimeo.
- I created Vimeo app.
- Granted upload privilege.
- Generated access token.
- Checked quota available.
Now I want to upload video to vimeo, so please provide sample code to generating the ticket and to upload.
回答1:
You need to download the vimeo-networking.
By doing so you'll import new pre-built (by vimeo) classes to your project that will handle all the authentication and data transfer between your android app and your Vimeo app
you just created.
I would highly recommend to follow the step-by-step guide under the Github library.(If you having issues look under the Github issue tab because people probably had same problems already)
回答2:
There is no official Vimeo Android library for you to use at the moment to assist in the upload process. For the public, it is currently a 4-step process to upload, outlined here. There is currently a 2-step process in closed beta. Once that is released to the public we will release an official Android library to support uploading to Vimeo. Unfortunately for now you must follow the API docs and make the requests yourself.
See a similar answer here.
来源:https://stackoverflow.com/questions/38699521/vimeo-video-upload-from-my-android-app