WebView Bridge used for Android YouTube Remote
What do you get when you mix an Android WebView with some AngularJS and sprinkle on some SignalR and a little native to boot? A new way to watch YouTube using YouTube Remote.
The YouTube Remote project, recently developed at the Tikal FuseDay Hackathon on December 24th 2013, allows users to select videos from their PC and play those videos on any connected (application running) Android device.
How does it work (See diagram)? An Android WebView is connected remotely to an Angular application that utilizes SignalR to communicate between the Android devices and the desktop clients. A light WebView bridge was built in order to connect the signals recieved from the WebView (running an Angular application utilizing SignalR) to a native YouTubePlayerView in order to play videos upon request.
The light Android bridge allows code re-use on the remotely hosted Angular application. This offers two main advantages:
1) Quick updates to through application by pushing updates to remote server hosting the Angular application.
2) Share code by hosting the communication code on a shared remote server.
We will contact you as soon as possible.