title: Finding Current Location in android
body: <p>I am trying to find current location, and this is my code.</p>
  
  <pre><code> LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);        
          Location location =new Location(mlocManager.GPS_PROVIDER);      
  
   System.out.println("***longitude **"+location.getLongitude());
          System.out.println("***latitude **"+location.getLatitude());
  </code></pre>
  
  <p>but when i run app it always display 0.0 
  can anyone see the problem?</p>