开发者

Chrometophone example

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜