Search code examples
javaandroidgoogle-app-engineblobblobstore

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. I can upload file to blob store and get blob key I wonder how to use this blob key to download this file ?


Solution

  • Check here if this is what you are talking about I would also suggest contacting support: 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();

    I also retrieved this from here check it out :Using Google BlobStore with an Android application

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