Upload to Appengine Blobstore in Android

前端 未结 2 985
再見小時候
再見小時候 2020-12-18 06:17

I\'m working on a simple multimedia messaging app for Android, and I was trying to use Google AppEngine\'s BlobStore as my cloud storage for the various image, video, and au

相关标签:
2条回答
  • 2020-12-18 06:33

    You could go with something like this:

    1. On Google App Engine, create a Web Handler that calling blobstore.create_upload_url() returns an action_POST_URL

    2. On Android, post the image to the action_POST_URL using HttpClient and MultipartEntity.

    0 讨论(0)
  • 2020-12-18 06:40

    for Java

        BlobstoreService blobstoreService = 
                                 BlobstoreServiceFactory.getBlobstoreService();
        String action_POST_URL= blobstoreService.createUploadUrl(redirect_URL);
    
    0 讨论(0)
提交回复
热议问题