android - A way to detect if Chromecast is on same WLAN -


is there way detect chromecast device on same wlan-network? have android app, plays video on current activity or launches seperate activity casting on chromecast.

all need ist implementing logic "is there chromecast device connect to?" , "am connected chromecast device?" start playback on corresponding activity.

starting reciever app , thereafter implemented , working fine far, it's little questions tripping on @ moment.

media router scan discover chromecast devices on same network, if doesn't discover device, there none on network. can hook media router callbacks notified when device discovered (mediarouter.callback has callback onrouteadded()).


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -