title: geolocation doesn't work with android after building with phonegap
body: <p>i am workin on application for android that will use watch position but it didnt work with android i dont now the problem 
  i am bulding the app from the phonegap.com website not from eclips .
  this is my code </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Device Properties Example&lt;/title&gt;
  
  &lt;script type="text/javascript" src="phonegap.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" charset="utf-8"&gt;
  
  // Wait for Cordova to load
  //
  document.addEventListener("deviceready", onDeviceReady, false);
  
  var watchID = null;
  
  // Cordova is ready
  //
  function onDeviceReady() {
      // Get the most accurate position updates available on the
      // device.
      var options = { enableHighAccuracy: true };
      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;
  }
  
  // clear the watch that was started earlier
  // 
  function clearWatch() {
      if (watchID != null) {
          navigator.geolocation.clearWatch(watchID);
          watchID = null;
      }
  }
  
  // onError Callback receives a PositionError object
  //
  function onError(error) {
    alert('code: '    + error.code    + '\n' +
          'message: ' + error.message + '\n');
  }
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;p id="geolocation"&gt;Watching geolocation...&lt;/p&gt;
  &lt;button onclick="clearWatch();"&gt;Clear Watch&lt;/button&gt;     
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and this is my config file
      
      http://www.w3.org/ns/widgets"
          xmlns:gap = "<a href="http://phonegap.com/ns/1.0" rel="nofollow">http://phonegap.com/ns/1.0</a>"
          id        = "com.phonegap.hello-world"
          version   = "2.2.0">
      Makanak</p>
  
  <pre><code>&lt;description&gt;
      Makanak is a location based application heple u to fin places in Egypt.
  &lt;/description&gt;
  
  &lt;author&gt;
      Makanak Team
  &lt;/author&gt;
  
  &lt;feature name="http://api.phonegap.com/1.0/device" /&gt;
  
  &lt;preference name="phonegap-version" value="2.2.0" /&gt;
  &lt;preference name="orientation"      value="default" /&gt;
  &lt;preference name="target-device"    value="universal" /&gt;
  &lt;preference name="fullscreen"       value="false" /&gt;
  
  &lt;icon src="icon.png" /&gt;
  &lt;icon src="res/icon/android/icon-36-ldpi.png"   gap:platform="android"            gap:density="ldpi" /&gt;
  &lt;icon src="res/icon/android/icon-48-mdpi.png"   gap:platform="android"    gap:density="mdpi" /&gt;
  &lt;icon src="res/icon/android/icon-72-hdpi.png"   gap:platform="android"    gap:density="hdpi" /&gt;
  &lt;icon src="res/icon/android/icon-96-xhdpi.png"  gap:platform="android"    gap:density="xhdpi" /&gt;
  &lt;icon src="res/icon/blackberry/icon-80.png"     gap:platform="blackberry" /&gt;
  &lt;icon src="res/icon/blackberry/icon-80.png"     gap:platform="blackberry" gap:state="hover"/&gt;
  &lt;icon src="res/icon/ios/icon-57.png"            gap:platform="ios"        width="57"    height="57" /&gt;
  &lt;icon src="res/icon/ios/icon-72.png"            gap:platform="ios"        width="72" height="72" /&gt;
  &lt;icon src="res/icon/ios/icon-57-2x.png"         gap:platform="ios"        width="114" height="114" /&gt;
  &lt;icon src="res/icon/ios/icon-72-2x.png"         gap:platform="ios"        width="144" height="144" /&gt;
  &lt;icon src="res/icon/webos/icon-64.png"          gap:platform="webos" /&gt;
  &lt;icon src="res/icon/windows-phone/icon-48.png"  gap:platform="winphone" /&gt;
  &lt;icon src="res/icon/windows-phone/icon-173.png" gap:platform="winphone"   gap:role="background" /&gt;
  
  &lt;gap:splash src="res/screen/android/screen-ldpi-portrait.png"  gap:platform="android" gap:density="ldpi" /&gt;
  &lt;gap:splash src="res/screen/android/screen-mdpi-portrait.png"  gap:platform="android" gap:density="mdpi" /&gt;
  &lt;gap:splash src="res/screen/android/screen-hdpi-portrait.png"  gap:platform="android" gap:density="hdpi" /&gt;
  &lt;gap:splash src="res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:density="xhdpi" /&gt;
  &lt;gap:splash src="res/screen/blackberry/screen-225.png"         gap:platform="blackberry" /&gt;
  &lt;gap:splash src="res/screen/ios/screen-iphone-portrait.png"    gap:platform="ios"     width="320" height="480" /&gt;
  &lt;gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios"     width="640" height="960" /&gt;
  &lt;gap:splash src="res/screen/ios/screen-ipad-portrait.png"      gap:platform="ios"     width="768" height="1024" /&gt;
  &lt;gap:splash src="res/screen/ios/screen-ipad-landscape.png"     gap:platform="ios"     width="1024" height="768" /&gt;
  &lt;gap:splash src="res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone" /&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>do i have to write Permissions when building from phonegap website ?!!!</p>
  
  <p>Android</p>
  
  <p>app/res/xml/config.xml</p>
  
  <p>
  app/AndroidManifest.xml</p>
  
  <p>
  
  </p>