NULL von 'getLastKnownLocation' im SDK erhalten

Ich habe ein Problem mit der Standort-API.

Ich habe den folgenden Code ausprobiert:

LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
Location loc = getLastKnownLocation(LocationManager.GPS_PROVIDER);

loc ist immernull, wanngetLastKnownLocation() wird genannt.

Was ist falsch?