android - Don't use default Player Control page when initializing Cast Companion Library -
The documentation says that you should specify the class of activity that you want to show when you call the initial method If you leave it blank, the default player control page will be shown. However, the default player control page is also shown, even if I have set the third parameter to that action from which I am casting:
mCastMgr = VideoCastManager.initialize (reference, APPLICATION_ID, com.square radio activity category, "palaise: x-cast: com.square.radio"); Please help.
Do you still have startCastControllerActivity (..) ? If so, then no. Since you want to start your own activity, you should start it in the desired size and there is no magic in it ( startCastControllerActivity () , this one Creates intentions, sets some extra sets and starts activity). Parameters that you have initially passed, are used by (a) minicin controller and (b) notification; In those two places, you can click on the icon and start your own activity which you had declared. Take a look at those two places so that they are being passed in those places, so that you take your activity up to those extras. I »¿
Comments
Post a Comment