You don't have permission to access this content For access, try contacting the group's owners and managers If you are subscribed to this group and have noticed abuse, report abusive group.
You don't have permission to access this content For access, try contacting the group's owners and managers If you are subscribed to this group and have noticed abuse, report abusive group.
先日の記事、「Android ApiキーをRelease版とDebug版で切り替える方法」にてコード内でリリースキーとデバックキーの切り替え方法を記載したが、ViewStubを用いることで、MapViewの生成をコード内から追い出す事が可能になる。 簡単な画面であればコード内でMapViewを生成してしまっても問題はないが、個人的にはlayoutファイル内に入れるのが好きなのでViewStubによるapiキーの切り離しを行った。 ViewStubの使用方法Android SDKのViewStubの説明ページに総て書いてあるので特に説明をする事はないのでソースコードのみ記載する。 ViewStub stub = (ViewStub) findViewById(R.id.mapview_stub);if(isDebugAble(this)){Log.v("debug");stub.setLay
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く