从 Android 个客户端连接到 Google 云存储的正确方法
Correct way to connect to Google Cloud Storage from Android clients
我一直在搜索并找到了几个从 Android 客户端连接到云存储的方法示例,但这些方法现在已经很老了。这通常使用 p12 文件,较新的示例显示 .json 文件来保存设置。
我看过这个...https://cloud.google.com/storage/docs/json_api/v1/json-api-java-samples 它说 "Note: This client library is separate from the Google Cloud Storage client library, another option for interfacing with the the JSON API using Java." 提供了多种选择!
所以我的问题是..实施云存储客户端 (Android) 的正确方法是什么?
Cloud Storage JSON API Client Library for Java is an older, auto-generated client that is used as the underpinnings for the newer, under-development Google Cloud Java Client for Storage. The latter is part of the google-cloud
project,旨在减少与服务交互所需的样板代码量。如果您有指向需要更新的 Android 示例的指针,我们可以查看。
移动开发的另一种选择是使用Firebase Storage, which ultimately writes into Google Cloud Storage. Firebase is all about mobile and untrusted clients, and provides additional security rules that allow you to provide access to users that do not have a Google account。
我一直在搜索并找到了几个从 Android 客户端连接到云存储的方法示例,但这些方法现在已经很老了。这通常使用 p12 文件,较新的示例显示 .json 文件来保存设置。
我看过这个...https://cloud.google.com/storage/docs/json_api/v1/json-api-java-samples 它说 "Note: This client library is separate from the Google Cloud Storage client library, another option for interfacing with the the JSON API using Java." 提供了多种选择!
所以我的问题是..实施云存储客户端 (Android) 的正确方法是什么?
Cloud Storage JSON API Client Library for Java is an older, auto-generated client that is used as the underpinnings for the newer, under-development Google Cloud Java Client for Storage. The latter is part of the google-cloud
project,旨在减少与服务交互所需的样板代码量。如果您有指向需要更新的 Android 示例的指针,我们可以查看。
移动开发的另一种选择是使用Firebase Storage, which ultimately writes into Google Cloud Storage. Firebase is all about mobile and untrusted clients, and provides additional security rules that allow you to provide access to users that do not have a Google account。