Paste the code in a phonegap project in order to be able to test in the tablet.