我已经集成了vimeo android api并使用我的Android应用程序将视频上传到vimeo,每次我获得成功的上传消息但我需要获取视频的视频。我怎么能得到它?
答案 0 :(得分:-1)
链接:api.vimeo.com/users/23550690/tickets/29acf0c117debaf7a944b310a5d7aebe video_file_id = 587909747&安培;升级=真安培;签名= 9b1ffcc48c88dd7a4b5bd0f9ab2794b2
URL urls = new URL(url);
connection = (HttpURLConnection) urls.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty(
"Content-Type", "application/x-www-form-urlencoded" );
connection.setRequestMethod("DELETE");
int responseCode = connection.getResponseCode();
AppLog.e("Delete","===responseCode==="+responseCode);
if (responseCode != 401) {
InputStream inputStream = connection.getInputStream();
if (inputStream != null) {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
String jsons = bufferedReader.readLine();
return new Object[]{jsons, requestCode};
}
}