Chromecast sender APIs for WebView based app on Android 4.4

帅比萌擦擦* 提交于 2020-01-14 14:20:28

问题


I read that WebView component in Android 4.4 is based on Chrome: https://developers.google.com/chrome/mobile/docs/webview/overview#does_the_webview_support_the_chrome_apps_apis

However, support for Chrome Apps API is still not there. Does this mean that my WebView based app cannot use Chromecast Sender APIs ?


回答1:


That is correct, you do not have the needed extension and APIs to use the (pure) chrome WebView to communicate with a chromecast device. As a side note, you cannot do that in the full Chrome on Android either.




回答2:


I think Chromecast is one of those things that doesn't come with Chromium (the opensource project where Chrome is based upon) and Android uses Chromium for the webview, not Chrome :)



来源:https://stackoverflow.com/questions/19797403/chromecast-sender-apis-for-webview-based-app-on-android-4-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!