「場所の詳細」のコードを実装していますが、次のコードの最後の行でエラーが発生します。
if (locationListener != null && (bestTime < minTime || bestAccuracy > minDistance)) {
IntentFilter locIntentFilter = new IntentFilter(SINGLE_LOCATION_UPDATE_ACTION);
context.registerReceiver(singleUpdateReceiver, locIntentFilter);
locationManager.requestSingleUpdate(criteria, singleUpatePI);
サンプル コードにはあるのですが、LocationManager に対して requestSingleUpdate が定義されていないようで、このコードを実装したという人もいます。