Anyone one know a simple way to use / intergrate a chromecast sender for my Air for Android Apps so they can cast directly to a TV.
I've done a few successful tests on webpages.
but as for intergrating the code into an entirely AS3 project, I don't know were to begin? and I can't seem to find any docs on how to do this.
Thank you in advance for your help.
There in an Air Native Extension that handles this: ANE-Chromecast on Github
The ANE on Github is not a solution (line 19 of
AirCast.as
specifically excludes Android).More fundamentally, even after re-engineering the ANE to get around the original block, it is currently not possible to get a reference to
android.os.Bundle
(which is required) as the class is not reachable, no matter how many SDK jars you build into the ANE.Until there is a means to get the bundle, then this call will always fail:
With:
But if anybody can get around this, please let me know as I would dearly like to get there...