Android で Google Map を使ったアプリを作成しようとしたのですが、ライブラリに癖があって結構苦労しました。そこで LocationManager を使って MapView(Google Map) 上に位置情報を表示させる簡単なサンプルプログラムを作成してみました。 サンプルプログラムの機能は以下です。 位置情報取得 地図にピンを描画 ピンをタップすると取得した位置情報を表示 事前準備 まずプロジェクトのビルドターゲットを Google APIs ライブラリに変更します。そのあとで Google Map 用の API Key を用意します。 なお Android で Google Map を使うための事前準備に関してこちらの記事がとても参考になりました。 AndroidでGoogle Mapsを使う最も簡単なサンプル レイアウト XML Activity で直接 MapVi