Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You should use <code>Support Fragment</code> since your min sdk is 8. </p> <p><a href="https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/SupportMapFragment" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/SupportMapFragment</a></p> <pre><code>&lt;fragment class="com.google.android.gms.maps.SupportMapFragment" android:id="@+id/map" android:layout_width="match_parent" android:layout_height="match_parent"/&gt; </code></pre> <p>Your activity must extend <code>FragmentActivity</code> and to initialize GoogleMap object use the below.</p> <pre><code>SupportMapFragment fm = (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map); GoogleMap mMap = fm.getMap(); </code></pre> <p>Make sure you have added support library</p> <p>Also make sure you imported the below</p> <pre><code>import android.support.v4.app.FragmentActivity; import com.google.android.gms.maps.SupportMapFragment; </code></pre> <p>Check if you have <strong>enabled maps for android in google api console under services tab</strong>.</p> <p>Check if you have followed all the steps mentioned in the docs</p> <p><a href="https://developers.google.com/maps/documentation/android/start" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/android/start</a></p> <p>You can also check a similar question i answered.</p> <p><a href="https://stackoverflow.com/questions/16944232/app-shows-grid-screen-instead-of-google-map/17089871#17089871">App shows grid screen instead of google map</a></p> <blockquote> <p>When i run my application, on emulator displays only magnification controls and rest screen is white</p> </blockquote> <p>You should test it on a real device.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload