Google Cloud Platformの設定。 Translator APIを使用します。アプリケーションを接続する段階で停止します。 そこコードGoogle Cloud Platformを設定してAndroidアプリでAPIを使用するにはどうすればよいですか?
// If you don't specify credentials when constructing the client, the
// client library will look for credentials in the environment.
Storage storage = StorageOptions.getDefaultInstance().getService();
Page<Bucket> buckets = storage.list();
for (Bucket bucket : buckets.iterateAll()) {
// do something with the info
}
の作品がありますイムは、その後、私は私のWindows 10
を揃えた、私のステップへのimgですが、何を理解していません私はそれと一緒にすべきです。そして私の次のステップは何ですか?また、Google Cloud APIをアプリにどのように添付することができますか。それは単にライブラリを追加するのと同じですか?いくつかのいずれかがAndroid向けGoogleのクラウドプラットフォームでの認証のためのステップバイステップガイドを参照してくださいました
ガイドhttps://cloud.google.com/docs/authentication/getting-started#auth-cloud-implicit-javaためのリンクがあります
?