title: android geolocation using phonegap code: 3 error
body: <p>I'm trying to use geolocation using PhoneGap API doc but getting below error message,</p>
  
  <p>Alert
  code:3
  message: Timeout expired</p>
  
  <p>My code is,</p>
  
  <pre><code>    &lt;script&gt;
  
  // Wait for Cordova to load
  //
  document.addEventListener("deviceready", onDeviceReady, false);
  
  var watchID = null;
  
  // Cordova is ready
  //
  function onDeviceReady() {
      // Throw an error if no update is received every 30 seconds
      var options = { timeout: 10000 };
      watchID = navigator.geolocation.watchPosition(onSuccess, onError, options);
  }
  
  // onSuccess Geolocation
  //
  function onSuccess(position) {
      var element = document.getElementById('geolocation');
      element.innerHTML = 'Latitude: ' + position.coords.latitude + '&lt;br /&gt;' +
                      'Longitude: ' + position.coords.longitude + '&lt;br /&gt;' +
                      '&lt;hr /&gt;' + element.innerHTML;
  }
  
  // onError Callback receives a PositionError object
  //
  function onError(error) {
      alert('code: ' + error.code + '\n' +
        'message: ' + error.message + '\n');
  }
  </code></pre>
  
  <p></p>
  
  <p>Please advice me what I am missing.</p>