Closed HAKASHUN closed 9 years ago
The Android 5.0 web view (that's the control which runs your games in native apps, as used by PhoneGap) now also supports WebGL, Web Audio, and (going further than iOS 8) WebRTC. That's three key technologies to make HTML5 games work smoothly. Only a few weeks ago I highlighted Google's stated plan to auto-update the web view, and it turns out they've already done it for Android 5!
https://www.scirra.com/blog/ashley/13/chrome-and-android-push-html5-further
Android アプリのアクティビティとして WEB のコンテンツを表示できる「WebView」の Android 向けコンポーネントが Android 5.0 (Lollipop)でシステムから切り離され、Google Play ストア経由でアップデートされるよう実装方法が変更されました。
Android 5.0 からは Chromium をベースとした WebView が 「Android System WebView」として Google Play で OS や Chrome ブラウザとは別に配布されるようになりました。また Androd 5.0 の WebView (WebView 36.0.0.0) からは WebGL, WebAudio, WebRTC がサポートされるようになりました。
WebView v30 | WebView v33 | WebView v36 | |
---|---|---|---|
WebGL | x | x | ✓ |
WebRTC | x | x | ✓ |
WebAudio | x | x | ✓ |
Fullscreen API | x | x | x |
Form validation | x | ✓ | ✓ |
Filesystem API | x | x | x |
File input type | x | x | x |
x | ✓ | ✓ |