Chromecast with multiple activity
问题 I'm developing an application supporting both Chromecast and ActionbarSherlock. In every activity, I create a MediaRouteButton in the ActionBar. My problem is, I didn't connect to the Chromecast device in the first Activity, and go to the second Activity. In the second one, I connect to the Chromecast device. It runned into the onRouteSelected() of the second Activity, then runned into onDeviceAvailable() -> openSession() of the first Activity. I don't know why it didn't run into