Quantcast
Channel: OKWAVE 閲覧数の多い質問(Java/253)【本日】
Viewing all articles
Browse latest Browse all 68675

AndroidのgetSystemService

$
0
0
AndroidでGPS取得するプログラムを作成しています。 一度GPSの受信が正しくできたので、一部をクラス化しようと思いましたが 外だしすると、以下のコードでエラーになります。 mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); これは何が悪いのでしょうか?

Viewing all articles
Browse latest Browse all 68675

Trending Articles