开发者

Chrometophone example

开发者 https://www.devze.com 2023-03-27 02:59 出处:网络
I have been going through the ChromeToPhone example. There are intents com.google.ctp.UPDATE_UI com.google.ctp.AUTH_PERMISSION

I have been going through the ChromeToPhone example. There are intents

com.google.ctp.UPDATE_UI

com.google.ctp.AUTH_PERMISSION

Are they built in android intents or custom for the application. If custom, where are the activities that resp开发者_开发知识库ond to them in the Chrometophone example.


Those are custom intents defined by the Chrome to Phone app, as is hinted by the package name in the action strings: com.google.ctp.

SetupActivity.java programmatically registers a listener for this broadcast action. There isn't a receiver registered in the manifest for this because it's only ever relevant to the particular activity.

0

精彩评论

暂无评论...
验证码 换一张
取 消