title: HTML 5 geolocation POSITION UNAVAILABLE error in mobile
body: <p>i am trying to get user current position in mobile web application 
  my app work in all android telephone device except samsung galaksy s2 telephone device ..
  it give errror  POSITION UNAVAILABLE error<br>
  this is <a href="http://f.hybridsoftware.net/KonuDetail.htm?q=1378" rel="nofollow">demo</a>  link.you can view source 
  this is code</p>
  
  <pre><code>navigator.geolocation.getCurrentPosition(handle_geolocation_query1, handle_errors) ;
         function handle_errors(error) {
              switch (error.code) {
                      case error.PERMISSION_DENIED: alert("user did not share geolocation data");
                          break;
                      case error.POSITION_UNAVAILABLE: alert("could not detect current position");
                          break;
                      case error.TIMEOUT: alert("retrieving position timed out");
                          break;
                      default: alert("unknown error");
                          break;
                  }
              } 
         function handle_geolocation_query1(position) {
  
  
  
                 $('#map_canvas').gmap('addMarker', {
                       'id':'m_1',
                      'position': new google.maps.LatLng(position.coords.latitude,position.coords.longitude),
                      'bounds': true,
                      'icon': 'http://google-maps-utility-library-v3.googlecode.com/svn/trunk/geolocationmarker/images/gpsloc.png'
                  }).click(function () {
             $('#map_canvas').gmap('openInfoWindow',{ 'content': '&lt;font color="#2a2a2a" size="4"&gt;Location &lt;/font&gt;&lt;br/&gt;&lt;font color="#4a4a4a"&gt;Your current location&lt;/font&gt;' }, this);
                  });
                   var map = $('#map_canvas').gmap('get', 'map');
                  map.setZoom(14);
                  map.setCenter(new google.maps.LatLng(41.01802007732287, 28.971880674362183));
                  map.setMapTypeId(google.maps.MapTypeId.ROADMAP);
  
  
  
              }
  </code></pre>
  
  <p>edited:
  i used phonegap to produce android apk file 
  when i work this apk file application it give error POSITION UNAVAILABLE error  but when i call this page from web it works it does not give error  ... this is web <a href="http://f.hybridsoftware.net/KonuDetail.htm?q=1365" rel="nofollow">link</a> and you can download apk from <a href="https://play.google.com/store/apps/details?id=com.hybridsoftware.istanbulluxguide" rel="nofollow">here</a> </p>