@rjvir The source for the Android app and the web server that serves the tablet data is here: https://github.com/awiss/webcam
On the Rift side, you just need to ping the server at / to get an array of the most recent swipes and gestures from the tablet or /rift to get the tablet's position with respect to the headset.