GoogleMapを使ってみる
- キーの作成
Android Maps APIキーにサインアップしていただき、ありがとうございます。 あなたのキーは次のとおりです: **-************************************ このキーは、以下のフィンガープリントによる認証を使用したすべてのアプリケーションで有効です: **:**:**:**:**:**:**:**:**:**:**:**:**:**:**:** 以下に、地図を活用するためのxmlレイアウトの例を示します: <com.google.android.maps.MapView android:layout_width="fill_parent" android:layout_height="fill_parent" android:apiKey="**-************************************" /> 詳細については、APIのドキュメントを参照してください。
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <com.google.android.maps.MapView android:id="@+id/mapview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:enabled="true" android:clickable="true" android:apiKey="**-************************************" /> </LinearLayout>
で、PCの電源を忘れバッテリーがなくなったので終了。。。