Binding events in WebView on Andriod 2.2 (Froyo)

Binding events in WebView on Andriod 2.2 (Froyo)

I'm not able to bind tap and swipe events to in my App using a WebView (ChromeWebViewer) with a simple sample code that works fine in the browser. Any ideas?
 
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>jQuery Mobile Events</title> 
  5.    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
  6.    <script src="http://code.jquery.com/jquery-1.5.min.js"></script>
  7.    <script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
  8. <script type="text/javascript">
  9. $( function() {
  10.   $('body').bind( 'taphold', function( e ) {
  11.     alert( 'You tapped and held!' );
  12.     e.stopImmediatePropagation();
  13.     return false;
  14.   } ); 
  15.   $('body').bind( 'swipe', function( e ) {
  16.     alert( 'You swiped!' );
  17.     e.stopImmediatePropagation();
  18.     return false;
  19.   } ); 
  20. } );
  21. </script>  
  22.  
  23. </head>
  24. <body>
  25. <div data-role="page" id="home">
  26.   <div data-role="header">
  27.     <h1>jQuery Mobile Events</h1>
  28.   </div>
  29.   <div data-role="content"> 
  30.     <p>Try:</p>
  31.     <ul>
  32.       <li>Tapping and holding</li>
  33.       <li>Swiping</li>
  34.     </ul>
  35.   </div>
  36. </div>
  37. </body>
  38. </html>