在哪里可以找到APPLICATION_ID [英] Where i can find APPLICATION_ID

查看:486
本文介绍了在哪里可以找到APPLICATION_ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我学习铸API为Android和我'停留在这一部分:

I'm learning cast api for android and I'am stuck at this part:

mMediaRouteSelector = new MediaRouteSelector.Builder()
  .addControlCategory(CastMediaControlIntent.categoryForCast("YOUR_APPLICATION_ID"))
  .build();

在哪里可以找到这种APPLICATION_ID又是什么呢?

Where i can find this APPLICATION_ID and what is it?

推荐答案

不幸的是,在做的时候谷歌演员Android的发件人应用教程,你应该做不在现场很好地描述多个步骤来开发应用程序的Chromecast:

Unfortunately, when doing Google Cast Android Sender Application tutorial, you should do multiple steps not described well on site to develop Chromecast applications:


  1. 您必须注册(是的,支付$ 5)对谷歌演员SDK

  2. 在这个过程之后,我建议你添加的谷歌演员SDK开发者控制台的<设备序列号/ A>,因为它的1500分钟长的过程。这个过程中,你可以找到关于谷歌演员报名页面
  3. 更详细信息
  4. 在等待设备注册,在谷歌演员SDK开发者控制台通过添加应用程序点击添加新的应用程序。选择样式化媒体接收器在接下来的步骤,你可以把任何东西的应用程序名

  5. 将保存应用程序,你会得到 YO​​UR_APPLICATION_ID

  6. 15分钟后(或添加设备准备好时),千万不要忘记做步骤6和7,从的谷歌演员报名页面

    • 在Chromecast设置应用,选择您的Chromecast并检查中,检查更新时发送此Chromecast的序列号。

    • 重新启动Cast设备:从设备断开电源或USB电缆,然后重新连接(或者你可以直接点击Chromecast设置应用程序重新启动)

  1. You must sign up (yes, pay 5$) for Google Cast SDK
  2. After this process, I suggest you to add your device serial number in Google Cast SDK Developer Console since it's 15 minute long process. More details about this process you can find on Google Cast Registration page
  3. While waiting for device registration, add your application on Google Cast SDK Developer Console by clicking on Add new Application. Choose Styled Media Receiver in next step, and you can put anything in Application Name
  4. By saving application, you'll get YOUR_APPLICATION_ID
  5. After 15 minutes (or when adding device is ready), don't forget to do step 6. and 7. from Google Cast Registration page
    • In the Chromecast setup app, select your Chromecast and check the box, Send this Chromecast's serial number when checking for updates.
    • Restart your Cast device: disconnect the power or USB cable from the device, then reconnect it (or you can simply click reboot on Chromecast setup app)

这篇关于在哪里可以找到APPLICATION_ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆