适用于Android 4.4的基于WebView的应用的Chromecast发送器API

时间:2013-11-05 19:38:38

标签: android webview chromecast android-4.4-kitkat

我读到Android 4.4中的WebView组件基于Chrome: https://developers.google.com/chrome/mobile/docs/webview/overview#does_the_webview_support_the_chrome_apps_apis

但是,仍然不支持Chrome Apps API。这是否意味着我的基于WebView的应用无法使用Chromecast Sender API?

2 个答案:

答案 0 :(得分:4)

这是正确的,您没有所需的扩展和API来使用(纯)chrome WebView与chromecast设备进行通信。作为旁注,您无法在Android上的完整Chrome中执行此操作。

答案 1 :(得分:0)

我认为Chromecast是Chromium(Chrome所基于的开源项目)没有附带的东西之一,Android使用Chromium作为webview,而不是Chrome :)