My location coordinates in android

view story

http://stackoverflow.com – im trying to get my current location got from gps coordinates.. i saw lots of examples of how should i do that. When i try to merge my code with sample code, i get an eror on this line : lm.requestLocationUpdates(provider, 1, 0, locationListener); and it says : The method requestLocationUpdates(String, long, float, LocationListener) in the type LocationManager is not applicable for the arguments (String, int, int, LocationListener) Where could be a problem..? Spend hours looking for problem.. public class MyLocationDemoActivity extends FragmentActivity implements ConnectionCall (HowTos)