获得API密钥与谷歌云消息传递使用密钥、消息、API、谷歌云

2023-09-05 01:46:20 作者:゛余溫

我开发一个Android应用程序,我想开始测​​试了推送通知。从code的角度来看,我都准备好。我现在的挑战是,我根本不知道如何从谷歌谷歌的云消息传递API密钥。

有负载和负载的教程和视频在线展示如何能在10秒内完成,但谷歌最近更新它的开发中心< /一>,没有的教程似乎适用了。当前进程似乎很繁琐,并不像我所网上看到。

我知道这仅仅通过一个编程的问题(如果有的话),但也没有办法,我要去甚至开始能够在不从谷歌API密钥来开发任何东西。

时有人能够指出我朝着正确的方向?

解决方案   

但谷歌最近更新它的开发中心,并没有一个教程似乎适用于任何更多的

::叹息::

这是还没有更多的工作,为我的下一本书的更新...

  

当前进程似乎很繁琐,并不像我所网上看到。

铭记我已经设置了密钥,因此可能会看到比有些不同的东西会有人不带键:

如何获取Google地图API密钥 翻译版

步骤#1:登录到 https://cloud.google.com/console 与您的谷歌帐户

步骤2:在左侧导航,进入原料药及放大器;权威性>的API

第三步:找到谷歌云消息传递为Android,然后单击关闭按钮旁边(注意:这可能涉及然后同意服务的附加条款)

第四步:在左侧导航,进入原料药及放大器;身份验证>注册应用程序

步骤#5:等待很长一段时间,显然

步骤#6:单击红色注册APP按钮

步骤#7:给应用程序的名称,然后选择Web应用程序,然后点击注册

步骤#8:单击服务器密钥部分为你的服务器密钥

I am developing an Android app and I'd like to start testing out push notifications. From a code perspective, I'm all set. My current challenge is that I simply do not know how to get a Google Cloud Messaging API key from Google.

There are loads and loads of tutorials and videos online showing how this can be done in about 10 seconds but Google has recently updated it's developer center and none of the tutorials seem to apply any more. The current process seems very cumbersome and not at all similar to what I've seen online.

I realize that this barely passes as a programming question (if at all) but there is no way that I'm going to even begin to be able to develop anything without an API key from Google.

Is someone able to point me in the right direction?

解决方案

but Google has recently updated it's developer center and none of the tutorials seem to apply any more

:: sigh ::

That's yet more work for my next book update...

The current process seems very cumbersome and not at all similar to what I've seen online.

Bearing in mind that I am already set up with keys, and therefore may be seeing somewhat different stuff than would somebody with no keys:

Step #1: Log into https://cloud.google.com/console with your Google account

Step #2: In the navigation on the left, go into "APIs & auth > APIs"

Step #3: Find "Google Cloud Messaging for Android" and click the "OFF" button next to it (note: this might involve then agreeing to additional terms of service)

Step #4: In the navigation on the left, go into "APIs & auth > Registered apps"

Step #5: Wait a really long time, apparently.

Step #6: Click the red REGISTER APP button.

Step #7: Give the app a name and choose Web Application, then click Register

Step #8: Click the "Server Key" section for your server key