title: Why my phone-gap app has not been able to find geolocation on some of the Android device
body: <p>I have created one app which locates the GeoLocation coordinates on iPad/iPhone but fails to do so on some of Android device even when the device is GPS enabled.It works on some of the Android Device(e.g Samsung Galaxy tab SCH-I800) and fails on some other(e.g Samsung Galaxy tab GT-P5113).</p>
  
  <p>Any idea what could be the possible reason for the issue?</p>
  
  <p>Sample code snippet:</p>
  
  <pre><code> &lt;script type="text/javascript" 
   src="http://maps.google.com/maps/api/js?sensor=true"&gt;&lt;/script&gt;
   &lt;script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=true"&gt;   &lt;/script&gt;
      &lt;script type="text/javascript" charset="utf-8" src="phonegap-1.4.1.js"&gt;&lt;/script&gt;
  
  function onDeviceReady()
  {  
  navigator.geolocation.getCurrentPosition(onSuccess, onError);
  }
  
  var onSuccess = function(position) {
  
              pos = new google.maps.LatLng(position.coords.latitude,
                                           position.coords.longitude);
              lat=position.coords.latitude;
              lng=position.coords.longitude;
              alert("lat: "+lat+" long "+lng); //i should get the lat/long here which i need to use further in my code   
           }
  </code></pre>
  
  <p>for devices where the app is not working it's going to onError function.</p>
  
  <pre><code>function onError(error) {
  
        alert("error code is: "+error.code);//it gives error code 3 when on such devices
  
  
          }
  </code></pre>