Geolocation Phonegap Android not working
===

I have tried everything to get geolocation working on my emulator (target 2.2), I have used telnet and issued a 'geo fix ' followed by the longitude and latitude. I have edited my Android manifest to give me permission but I am not sure why it will not show me the google map which is centered around my location. If I put any coordinates into the setcentered function for the map but when I put in my coordinates it doesn't show up.
This is the code I have been examining for hours:

    <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=AIzaSyBrnId8UIeAeDTMr2sVi-g86izgdb2KhVo&sensor=true"
    type="text/javascript"></script>
    <script type="text/javascript">
    // Wait for PhoneGap to load
    // PhoneGap is ready
    document.addEventListener("deviceready", onDeviceReady, false);
    navigator.geolocation.getCurrentPosition(geolocationSuccess, [maximumAge: 3000, timeout:          5000, enableHighAccuracy: 
    <!--position.coords.latitude-->
    initialize() 
    (GBrowserIsCompatible()) 
    map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(position.coords.latitude,position.coords.longitude), 13)
    map.setUIToDefault();
    // Add 10 markers to the map at random locations
    var bounds = map.getBounds();
    var southWest = bounds.getSouthWest();
    var northEast = bounds.getNorthEast();
    var lngSpan = northEast.lng() - southWest.lng();
    var latSpan = northEast.lat() - southWest.lat();
    }
    }      
    </script>
    </head>
    <body onload="initialize()" onunload="GUnload()">
    <div id="map_canvas" style="width: 500px; height: 300px"></div>
    </body>
    </html> 
                   
Thank you in advance, I have been trying to solve this for so many hours, what I need is for google maps to appear and the centre of google maps is my location.