Enabling AllShare Cast in an Android App

Alice picture Alice · Mar 4, 2013 · Viewed 9.4k times · Source

I'm developing a very simple application where I have a button .. OnClicking that button the screen of my mobile phone should be shared with my Smart Samsung TV. The question now is how can I enable AllShare Cast feature onClicking that button??

from what I read, I should create an AllShare app from the beginning (see: http://developer.samsung.com/allshare-framework/start) .. but I want to implement this using a normal Android Application.

Appreciate your tips

Answer

tomrozb picture tomrozb · Mar 12, 2013

I'm using the activateManagerUI() method to enable the AllShare Cast.

Link to the activateManagerUI() javadoc.

I know that it is not the solution you asked for, but as far I know you can't enable the AllShare Cast without asking user to do that.