我有它的后续段代码一个简单的活动:如何知道Google地图是否可以使用?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="horizontal"
android:id="@+id/title_complex">
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.MapFragment"
tools:context=".MainActivity" />
</LinearLayout>
- 如何MainActivity.java检查地图全负荷并且准备好了?
你好@MaciejGórski,感谢您快速的答案,但请你提供一个简单的用法,因为我已经检查了联系,但没有一个例子。 – 2013-05-10 10:09:04
@YordanYanakiev请参阅[这里](https://github.com/mg6maciej/android-maps-v2-demo/blob/master/NewMapsDemo/src/pl/mg6/newmaps/demo/GooglePlayServicesErrorDialogFragment.java)第51行。 – 2013-05-10 10:14:21