我在 Android 应用程序中使用 Google Speech API。自述文件指出:
In this sample, we load the credential from a JSON file stored in a raw resource folder of this client app. You should never do this in your app. Instead, store the file in your server and obtain an access token from there.
是否有关于如何正确获取生产应用程序的访问令牌的示例?
从我收集的信息来看,我似乎可以使用通过 Compute Engine 或 GAE 提供的应用程序默认凭据,但我不知道如何使用访问令牌实际响应我的应用程序。