简体   繁体   中英

Read File from Google Cloud Storage within Android App

I want to read the content of a text-file that's in my Google Cloud Storage. How can I accomplish this within my Android app?

Do I need to publish my app to Google App Engine in order to do so? If not, will it be easier to access my file if I publish it to Google App Engine?

Currently, there isn't any official API for Android, but the XML API will work on any platform : https://developers.google.com/storage/docs/xml-api-overview

You don't need to create an app on Google App Engine, but it depends on what you want to do, if it's just to get static files it's really not necessary.

您可以在设备上实现移动后端状态器。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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