问题描述
我将图像文件上传到Google Drive SDK,然后尝试下载相同的图像。我查看了Google Drive Developer示例中的文件下载示例,但它们仅向我们展示了如何从文件中下载文本。如何下载图片?该文件是Google云端硬盘上的.JPEG文件。
I am uploading an image file to the Google Drive SDK and then trying to download the same image back. I looked at the examples for downloading files from the Google Drive Developer examples, but they only show us how to download text from the files. How do I go about downloading an image? The file is .JPEG file on Google Drive.
推荐答案
Google Drive SDK文档显示了如何使用给定路径下载文件用户的驱动器:
The Google Drive SDK documentation shows how to download files with a given path in user's drive:
我相信你可以下载图像就像互联网上的任何其他图像文件。将其保存到设备,使其中的位图等。
I am sure you can download the images just like any other image file on the internet. Save it to device, make a bitmap out of it, etc.
这篇关于从Google云端硬盘下载图像文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!