title: Google maps not obtaining current position
body: <p>I am trying to center the map on my current position, but it is not working.</p>
  
  <p>I have:
      myLocationOverlay.enableMyLocation();</p>
  
  <p>and the pin is shown correctly in my current position, but I am not able to animate/center de map to that point.</p>
  
  <p>What I have is:</p>
  
  <pre><code>(...)
  GeoPoint g = myLocationOverlay.getMyLocation();
  
  if (g != null)
  {
      //it never comes to this part
  mapController.animateTo(g);
  mapController.setZoom(17);
  }
  </code></pre>
  
  <p>but <code>g</code> is always null.}
  I have tried changing the IF into a WHILE (and updating g of course) para its and infinite loop.</p>
  
  <p>Should I get my current position some other way?</p>
  
  <p>In my manifest I have the following permissions:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
  </code></pre>
  
  <p>I am testing in a Nexus One 2.3.6</p>
  
  <p>Any help is appreciated</p>