简体   繁体   English

如何从Google Blobstore下载文件到Android

[英]how to download file from google blobstore to android

I can't find any example shows how to download blob file from google blob store using blob key. 我找不到任何示例显示如何使用Blob键从Google Blob存储区下载Blob文件。 I can upload file to blob store and get blob key I wonder how to use this blob key to download this file ? 我可以将文件上传到Blob存储并获取Blob密钥,我想知道如何使用此Blob密钥下载此文件吗?

Check here if this is what you are talking about I would also suggest contacting support: https://cloud.google.com/appengine/docs/java/blobstore/ 检查此处是否是您在谈论的内容,我也建议您与支持人员联系: https : //cloud.google.com/appengine/docs/java/blobstore/

Also check this question out it discusses, the Blob store more: Google App Engine Use Blobkey private BlobInfoFactory infoFactory = new BlobInfoFactory(); 还要检查讨论的这个问题,Blob存储更多: Google App Engine使用Blobkey私有BlobInfoFactory infoFactory = new BlobInfoFactory();

I also retrieved this from here check it out : Using Google BlobStore with an Android application 我还从这里检索了此内容进行检查: 将Google BlobStore与Android应用程序配合使用

BlobKey blobKey = new BlobKey(req.getParameter("blob-key")); BlobKey blobKey =新的BlobKey(req.getParameter(“ blob-key”)); BlobInfo info = infoFactory.loadBlobInfo(blobKey); BlobInfo info = infoFactory.loadBlobInfo(blobKey);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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