<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>google maps tutorial Archives - Truiton</title>
	<atom:link href="https://www.truiton.com/tag/google-maps-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Technology Reaching Us In Time - Online</description>
	<lastBuildDate>Mon, 25 Nov 2019 12:18:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.truiton.com/wp-content/uploads/2022/11/cropped-truiton_new_logo_half_white.png?fit=32%2C32&#038;ssl=1</url>
	<title>google maps tutorial Archives - Truiton</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">54534495</site>	<item>
		<title>Android SupportMapFragment Example</title>
		<link>https://www.truiton.com/2013/05/android-supportmapfragment-example/</link>
					<comments>https://www.truiton.com/2013/05/android-supportmapfragment-example/#comments</comments>
		
		<dc:creator><![CDATA[Mohit Gupt]]></dc:creator>
		<pubDate>Fri, 03 May 2013 15:30:19 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Google Maps Android API v2]]></category>
		<category><![CDATA[google maps tutorial]]></category>
		<guid isPermaLink="false">http://blog.truiton.com/?p=285</guid>

					<description><![CDATA[<p>Now days almost all Android apps have some sort of interaction with Google Maps Android API v2. This tutorial Android SupportMapFragment Example, is a part of my series of three on Google Maps Android API v2. In my previous tutorial on Android MapFragment, I mentioned a drawback of MapFragment, that it cannot be used on&#8230;&#160;<a href="https://www.truiton.com/2013/05/android-supportmapfragment-example/" rel="bookmark">Read More &#187;<span class="screen-reader-text">Android SupportMapFragment Example</span></a></p>
<p>The post <a href="https://www.truiton.com/2013/05/android-supportmapfragment-example/">Android SupportMapFragment Example</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="640" height="427" data-attachment-id="291" data-permalink="https://www.truiton.com/2013/05/android-supportmapfragment-example/reasons-only-knew/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/6843489092_12a7b5411f_z.jpg?fit=640%2C427&amp;ssl=1" data-orig-size="640,427" data-comments-opened="1" data-image-title="Reasons Only Knew" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/6843489092_12a7b5411f_z.jpg?fit=640%2C427&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/6843489092_12a7b5411f_z.jpg?resize=640%2C427" alt="Android SupportMapFragment Example" class="wp-image-291" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/6843489092_12a7b5411f_z.jpg?w=640&amp;ssl=1 640w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/6843489092_12a7b5411f_z.jpg?resize=300%2C200&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" /></figure></div>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Now days almost all Android apps have some sort of interaction with Google Maps Android API v2. This tutorial <a title="Android SupportMapFragment Example" href="http://www.truiton.com/2013/05/android-supportmapfragment-example/">Android SupportMapFragment Example</a>, is a part of my series of three on <a title="Google Maps Android API v2 – Introduction" href="http://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/" target="_blank" rel="noopener noreferrer">Google Maps Android API v2</a>. In my previous tutorial on <a title="Android MapFragment Example" href="http://www.truiton.com/2013/05/android-mapfragment-example/" target="_blank" rel="noopener noreferrer">Android MapFragment</a>, I mentioned a drawback of <a title="Android MapFragment" href="http://developer.android.com/reference/com/google/android/gms/maps/MapFragment.html" target="_blank" rel="noopener noreferrer">MapFragment</a>, that it cannot be used on devices running Android API below version 12. The answer to this problem is Android <a title="Android SupportMapFragment" href="http://developer.android.com/reference/com/google/android/gms/maps/SupportMapFragment.html" target="_blank" rel="noopener noreferrer">SupportMapFragment</a>. At <a title="Truiton" href="http://www.truiton.com" target="_blank" rel="noopener noreferrer">Truiton</a>&nbsp;I was developing an app in which we used Android SupportMapFragment class, so thought of sharing it with community. I was developing that app for Android Gingerbread &nbsp;v2.3.3 i.e. API 10, but since MapFragment class cant be used, I used Android SupportMapFragment class.</p>



<p class="wp-block-paragraph">The usage of Android SupportMapFragment is same as its sibling, the only difference is that, instead of using <em>Activity</em> class we would have to use <em>FragmentActivity</em>&nbsp;class. The reason for doing this is, we need to use a method&nbsp;<em>getSupportFragmentManager()</em>, and this method can be called in <em>FragmentActivity</em>&nbsp;class only.</p>



<p class="wp-block-paragraph">In this&nbsp;<a title="Android SupportMapFragment Example" href="http://www.truiton.com/2013/05/android-supportmapfragment-example/" target="_blank" rel="noopener noreferrer">Android SupportMapFragment Example</a> I will not be explaining on how to generate a Google Maps Android API v2 key or how to create a project with Google Play Services SDK library. If you need to understand how to do these tasks please read my tutorial on&nbsp;<a title="Android MapFragment Example" href="http://www.truiton.com/2013/05/android-mapfragment-example/" target="_blank" rel="noopener noreferrer">Android MapFragment</a>.</p>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Android SupportMapFragment Example</h2>



<p class="wp-block-paragraph">I assume, by now you have a project set up with Google Play Services SDK and generated a Google Maps Android API v2 key, refer <a title="Android MapFragment Example" href="http://www.truiton.com/2013/05/android-mapfragment-example/" target="_blank" rel="noopener noreferrer">this article</a>&nbsp;if you have not. Lets proceed with AndroidManifest.xml:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="xml" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;?xml version="1.0" encoding="utf-8"?>
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.truiton.supportmapfragment"
    android:versionCode="1"
    android:versionName="1.0" >

    &lt;uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="17" />

    &lt;permission
        android:name="com.truiton.supportmapfragment.permission.MAPS_RECEIVE"
        android:protectionLevel="signature" />

    &lt;uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />

    &lt;uses-permission android:name="com.truiton.supportmapfragment.permission.MAPS_RECEIVE" />
    &lt;uses-permission android:name="android.permission.INTERNET" />
    &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    &lt;!--
     The following two permissions are not required to use
     Google Maps Android API v2, but are recommended.
    -->
    &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

    &lt;application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        &lt;meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

        &lt;activity
            android:name="com.truiton.supportmapfragment.SupportMapFragmentActivity"
            android:label="@string/app_name" >
            &lt;intent-filter>
                &lt;action android:name="android.intent.action.MAIN" />

                &lt;category android:name="android.intent.category.LAUNCHER" />
            &lt;/intent-filter>
        &lt;/activity>

        &lt;meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="Input-API-Key-Here" />
    &lt;/application>

&lt;/manifest></pre>



<p class="wp-block-paragraph">lets discuss the marked lines in above Android SupportMapFragment Example manifest. In lines 7-9 you can see minimum sdk version 8 is specified as this is an Android SupportMapFragment example. Next in lines 11-13 we are defining a permission with our app package to access Google Maps Android API v2, and using the same in line 19. To display Google Maps on your device please specify your API key at line 48.</p>



<p class="wp-block-paragraph">Next lets have a look at the layout file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="xml" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".SupportMapFragmentActivity" >

    &lt;fragment
        android:id="@+id/map"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        class="com.google.android.gms.maps.SupportMapFragment" />

&lt;/RelativeLayout></pre>



<p class="wp-block-paragraph">Here in the&nbsp;activity_support_map_fragment.xml I defined a fragment with class <em>com.google.android.gms.maps.SupportMapFragment</em>, this fragment is used to display Android <em>SupportMapFragment</em>.</p>



<p class="wp-block-paragraph">The main class which displays map is :</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">package com.truiton.supportmapfragment;

import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.SupportMapFragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.view.Menu;

public class SupportMapFragmentActivity extends FragmentActivity {

 @Override
 protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.activity_support_map_fragment);

 FragmentManager fmanager = getSupportFragmentManager();
        Fragment fragment = fmanager.findFragmentById(R.id.map);
        SupportMapFragment supportmapfragment = (SupportMapFragment)fragment;
        GoogleMap supportMap = supportmapfragment.getMap();

 }

 @Override
 public boolean onCreateOptionsMenu(Menu menu) {
 // Inflate the menu; this adds items to the action bar if it is present.
 getMenuInflater().inflate(R.menu.support_map, menu);
 return true;
 }

}</pre>



<p class="wp-block-paragraph">In this SupportMapFragmentActivity.java, I extended <em>FragmentActivity</em> as we are using Android <em>SupportMapFragment</em>. And as I stated before to use&nbsp;Android <em>SupportMapFragment</em> class we need to call&nbsp;<em>getSupportFragmentManager()</em> method. Therefore we need to extend <em>FragmentActivity</em>&nbsp;class.</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">By now you might have guessed that its pretty much same as <a title="Android MapFragment Example" href="http://www.truiton.com/2013/05/android-mapfragment-example/" target="_blank" rel="noopener noreferrer">Android MapFragment</a>. Therefore I&#8217;d like to conclude the tutorial <a title="Android SupportMapFragment Example" href="http://www.truiton.com/2013/05/android-supportmapfragment-example/" target="_blank" rel="noopener noreferrer">Android SupportMapFragment Example</a>, and conclude my series on <a title="Google Maps Android API v2 – Introduction" href="http://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/" target="_blank" rel="noopener noreferrer">Google Maps Android API v2</a>. In this tutorial I gave an overview of&nbsp;Android SupportMapFragment class and explained how to display Google Maps on Android device with an API version lower than 12. Hope this helped you, if it did please like and share this on Google+ and Facebook also like our Facebook page for updates.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='Mohit Gupt' src='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://www.truiton.com/author/mohitgupt/" class="vcard author" rel="author"><span class="fn">Mohit Gupt</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Born in New Delhi, India. A software engineer by profession, an android enthusiast and mobile development evangelist. My motive here is to create a group of skilled engineers, who can build better software. Reason being programming is my passion, and also it feels good to make a device do something you want. Professionally I have worked with many software engineering and product development firms. As of now too, I am employed as a senior engineer in a leading tech company. In total I may have worked on more than 20 projects professionally, but whenever I get spare time I share my thoughts here at Truiton.</p>
</div></div><div class="saboxplugin-web "><a href="http://www.truiton.com" target="_self" >www.truiton.com</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Wordpress" target="_blank" href="https://www.truiton.com/author/mohitgupt/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-wordpress" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><path fill="currentColor" d="M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8.9 0 1.8.1 2.8.2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7.3 13.7.3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"></path></svg></span></a><a title="Twitter" target="_blank" href="http://twitter.com/mohitgupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Facebook" target="_blank" href="https://www.facebook.com/Mr.Mohit.Gupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a></div></div></div><p>The post <a href="https://www.truiton.com/2013/05/android-supportmapfragment-example/">Android SupportMapFragment Example</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.truiton.com/2013/05/android-supportmapfragment-example/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">285</post-id>	</item>
		<item>
		<title>Android MapFragment Example</title>
		<link>https://www.truiton.com/2013/05/android-mapfragment-example/</link>
					<comments>https://www.truiton.com/2013/05/android-mapfragment-example/#comments</comments>
		
		<dc:creator><![CDATA[Mohit Gupt]]></dc:creator>
		<pubDate>Thu, 02 May 2013 15:30:14 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Google Maps Android API v2]]></category>
		<category><![CDATA[google maps tutorial]]></category>
		<guid isPermaLink="false">http://blog.truiton.com/?p=270</guid>

					<description><![CDATA[<p>Google rolled out its second version for maps API on android called Google Maps Android API v2. As I introduced Google Maps Android API v2 in my previous article, in this&#160;Android MapFragment Example tutorial I will be following up with an introduction to Android MapFragment class by an example. At Truiton we were working on&#8230;&#160;<a href="https://www.truiton.com/2013/05/android-mapfragment-example/" rel="bookmark">Read More &#187;<span class="screen-reader-text">Android MapFragment Example</span></a></p>
<p>The post <a href="https://www.truiton.com/2013/05/android-mapfragment-example/">Android MapFragment Example</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" decoding="async" width="640" height="427" data-attachment-id="277" data-permalink="https://www.truiton.com/2013/05/android-mapfragment-example/contemplando-en-el-iztaccihuatl/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/1163032842_1a5d7e9f03_z.jpg?fit=640%2C427&amp;ssl=1" data-orig-size="640,427" data-comments-opened="1" data-image-title="contemplando en el Iztaccihuatl" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/1163032842_1a5d7e9f03_z.jpg?fit=640%2C427&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/1163032842_1a5d7e9f03_z.jpg?resize=640%2C427" alt="Android MapFragment Example" class="wp-image-277" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/1163032842_1a5d7e9f03_z.jpg?w=640&amp;ssl=1 640w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/1163032842_1a5d7e9f03_z.jpg?resize=300%2C200&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" /></figure></div>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Google rolled out its second version for maps API on android called Google Maps Android API v2. As I introduced<a title="Google Maps Android API v2 – Introduction" href="http://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/" target="_blank" rel="noopener noreferrer"> Google Maps Android API v2</a> in my previous article, in this&nbsp;<a title="Android MapFragment Example" href="http://www.truiton.com/2013/05/android-mapfragment-example/" target="_blank" rel="noopener noreferrer">Android MapFragment Example</a> tutorial I will be following up with an introduction to Android MapFragment class by an example. At <a title="Truiton" href="http://www.truiton.com" target="_blank" rel="noopener noreferrer">Truiton</a> we were working on an Android app which was using Google Maps, hence I thought of writing a tutorial about it.</p>



<p class="wp-block-paragraph">Earlier to use Google Maps on Android we had to extend MapActivity class. But for new <a title="Google Maps Android API v2" href="https://developers.google.com/maps/documentation/android/" target="_blank" rel="noopener noreferrer">Google Maps Android API v2</a>, we have to use Android MapFragment class, which could be instantiated in any Activity. This poses as a great advantage over version 1 of this API. Since this tutorial focuses on Android MapFragment Example, we would not be discussing first version of this API.</p>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Creating a project with Google Play Services SDK library</h2>



<p class="wp-block-paragraph">As Google Maps Android API v2 is bundled in <a title="Google Play Services SDK" href="http://developer.android.com/google/play-services/index.html" target="_blank" rel="noopener noreferrer">Google Play Services SDK</a>, therefore to show Google maps on android we need to include Google Play Services Library in our project. To do so please follow steps below :</p>



<ol class="wp-block-list"><li>Open Android SDK Manager -&gt; Extras -&gt; Google Play Services -&gt; Install Packages.</li><li>In Eclipse File-&gt; Import -&gt; Android -&gt; Existing Android Code into Workspace -&gt; Browse to your Android SDK Folder -&gt; /Extras/google/google_play_services/libproject -&gt; Finish.</li><li>Create new android project -&gt; After creating project right click on its folder and select properties.</li><li>Goto “Android” property -&gt; click add button below -&gt; select “google-play-services_lib” -&gt; hit Ok and you’re all set.</li></ol>



<p class="wp-block-paragraph">Now that we have a project with Google Play Services Lib included, we can move on to Android MapFragment part of it. To display maps in a MapFragment, many permissions are to be granted to the application. But since Google Maps on Android are in a form of an API, before granting permissions we have to generate an API access key.</p>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Generating a Google Maps Android API v2 Key</h2>



<p class="wp-block-paragraph">To Access Google Maps Android API v2 by Android MapFragment Example we need to create an Android API key via <a title="Google API Console" href="https://code.google.com/apis/console/" target="_blank" rel="noopener noreferrer">Google API Console</a>. The steps for doing so are:</p>



<ol class="wp-block-list"><li>Login to API console</li><li>Create a Project -> Goto Services -> Turn on the switch for Google Maps Android API v2</li><li>Goto API Access -> Create new Android Key-> In popup enter one SHA1 certificate fingerprint and package name (separated by a semicolon) per line.</li><li>To get SH1 certificate of your app open command prompt, navigate to your Java bin folder and enter this command:</li><li> <pre class="lang:default decode:true" title="Command"><code>keytool.exe -V -list -alias androiddebugkey -keystore "C:\Users\ABC\.android\debug.keystore" -storepass android -keypass android</code></pre> </li><li>From here copy Sh1 certificate and also copy your package name from eclipse</li><li>Now enter these values in the API Console popup in the desired format, you key will be generated.</li></ol>



<h2 class="wp-block-heading">&nbsp;Android MapFragment Example</h2>



<p class="wp-block-paragraph">As of now we have fulfilled all the prerequisites to display&nbsp;Google Maps Android API v2 in Android MapFragment. So lets start with app manifest :</p>



<pre class="EnlighterJSRAW" data-enlighter-language="xml" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;?xml version="1.0" encoding="utf-8"?>
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.truiton.mapfragment"
    android:versionCode="1"
    android:versionName="1.0" >

    &lt;uses-sdk
        android:minSdkVersion="12"
        android:targetSdkVersion="17" />

    &lt;permission
        android:name="com.truiton.mapfragment.permission.MAPS_RECEIVE"
        android:protectionLevel="signature" />

    &lt;uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />

    &lt;uses-permission android:name="com.truiton.mapfragment.permission.MAPS_RECEIVE" />
    &lt;uses-permission android:name="android.permission.INTERNET" />
    &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    &lt;!--
     The following two permissions are not required to use
     Google Maps Android API v2, but are recommended.
    -->
    &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

    &lt;application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        &lt;activity
            android:name="com.truiton.mapfragment.TruitonMapFragmentActivity"
            android:label="@string/app_name" >
            &lt;intent-filter>
                &lt;action android:name="android.intent.action.MAIN" />

                &lt;category android:name="android.intent.category.LAUNCHER" />
            &lt;/intent-filter>
        &lt;/activity>

        &lt;meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="Input-API-Key-Here" />
    &lt;/application>

&lt;/manifest></pre>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">In this Android mapfragment example manifest have a look at highlighted lines 11-13 and 19, here I have defined a custom permission and used it. As you might remember from steps above, we mentioned our package in Google API console. Therefore to receive maps from API we need to create a permission with our package i.e.&nbsp;<em>com.truiton.mapfragment</em>. In your app just change this package name in permission to you app&#8217;s package name to make this work. Later in this&nbsp;Android mapfragment example manifest line 48 you need to specify you API key.</p>



<p class="wp-block-paragraph">Moving on to layout where&nbsp;Android MapFragment would be placed:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;?xml version="1.0" encoding="utf-8"?>
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

    &lt;fragment
        android:id="@+id/map"
        android:name="com.google.android.gms.maps.MapFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

&lt;/RelativeLayout></pre>



<p class="wp-block-paragraph">As you can see here I have added a fragment tag which calls&nbsp;com.google.android.gms.maps.MapFragment .</p>



<p class="wp-block-paragraph">Since this is a beginner tutorial for&nbsp;Android MapFragment, in the main activity below I have not called any google maps methods to modify it:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">package com.truiton.mapfragment;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class TruitonMapFragmentActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_truiton_map_fragment);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_truiton_map_fragment, menu);
		return true;
	}

}</pre>



<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="338" height="600" data-attachment-id="507" data-permalink="https://www.truiton.com/2013/05/android-mapfragment-example/android-mapfragment/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/Android-MapFragment.jpg?fit=338%2C600&amp;ssl=1" data-orig-size="338,600" data-comments-opened="1" data-image-title="Android MapFragment" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/Android-MapFragment.jpg?fit=338%2C600&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/Android-MapFragment.jpg?resize=338%2C600" alt="Android MapFragment" class="wp-image-507" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/Android-MapFragment.jpg?w=338&amp;ssl=1 338w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/Android-MapFragment.jpg?resize=169%2C300&amp;ssl=1 169w" sizes="auto, (max-width: 338px) 100vw, 338px" /></figure></div>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">With this I can conclude my tutorial on <a title="Android MapFragment Example" href="http://www.truiton.com/2013/05/android-mapfragment-example/" target="_blank" rel="noopener noreferrer">Android MapFragment Example</a>. This tutorial was my second post in the series of three about&nbsp;Google Maps Android API v2. In my previous article I gave an introduction to <a title="Google Maps Android API v2 – Introduction" href="http://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/" target="_blank" rel="noopener noreferrer">Google Maps Android API v2</a>. My next tutorial would be about <a title="Android SupportMapFragment Example" href="http://www.truiton.com/2013/05/android-supportmapfragment-example/" target="_blank" rel="noopener noreferrer">Android SupportMapFragment</a>. As the MapFragments have a drawback i.e. they are not compatible with devices running android API lower than 12. Hope this tutorial helped you out, if it did please like and share this with your friends on Google+ and Facebook, also please like our Facebook page.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='Mohit Gupt' src='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://www.truiton.com/author/mohitgupt/" class="vcard author" rel="author"><span class="fn">Mohit Gupt</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Born in New Delhi, India. A software engineer by profession, an android enthusiast and mobile development evangelist. My motive here is to create a group of skilled engineers, who can build better software. Reason being programming is my passion, and also it feels good to make a device do something you want. Professionally I have worked with many software engineering and product development firms. As of now too, I am employed as a senior engineer in a leading tech company. In total I may have worked on more than 20 projects professionally, but whenever I get spare time I share my thoughts here at Truiton.</p>
</div></div><div class="saboxplugin-web "><a href="http://www.truiton.com" target="_self" >www.truiton.com</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Wordpress" target="_blank" href="https://www.truiton.com/author/mohitgupt/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-wordpress" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><path fill="currentColor" d="M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8.9 0 1.8.1 2.8.2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7.3 13.7.3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"></path></svg></span></a><a title="Twitter" target="_blank" href="http://twitter.com/mohitgupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Facebook" target="_blank" href="https://www.facebook.com/Mr.Mohit.Gupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a></div></div></div><p>The post <a href="https://www.truiton.com/2013/05/android-mapfragment-example/">Android MapFragment Example</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.truiton.com/2013/05/android-mapfragment-example/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">270</post-id>	</item>
		<item>
		<title>Google Maps Android API v2 &#8211; Introduction</title>
		<link>https://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/</link>
					<comments>https://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/#respond</comments>
		
		<dc:creator><![CDATA[Mohit Gupt]]></dc:creator>
		<pubDate>Wed, 01 May 2013 15:30:55 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[google maps tutorial]]></category>
		<category><![CDATA[MapFragment]]></category>
		<category><![CDATA[SupportMapFragment]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">http://blog.truiton.com/?p=250</guid>

					<description><![CDATA[<p>Recently in late 2012 Google released a new version of its flagship maps API, Google Maps Android API v2. Initially Google Maps Android API v2, was released with humongous amount of bugs, which were later on fixed in Feb 2013 release. Google Maps Android API v2 is not released as a part of Android APIs,&#8230;&#160;<a href="https://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/" rel="bookmark">Read More &#187;<span class="screen-reader-text">Google Maps Android API v2 &#8211; Introduction</span></a></p>
<p>The post <a href="https://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/">Google Maps Android API v2 &#8211; Introduction</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="640" height="458" data-attachment-id="257" data-permalink="https://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/a-great-day-at-the-google-hq/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/4323977677_46ff6d70e0_z.jpg?fit=640%2C458&amp;ssl=1" data-orig-size="640,458" data-comments-opened="1" data-image-title="A Great Day at the Google HQ!" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/4323977677_46ff6d70e0_z.jpg?fit=640%2C458&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/4323977677_46ff6d70e0_z.jpg?resize=640%2C458" alt="Google Maps Android API v2 - A Great Day at the Google HQ!" class="wp-image-257" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/4323977677_46ff6d70e0_z.jpg?w=640&amp;ssl=1 640w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/05/4323977677_46ff6d70e0_z.jpg?resize=300%2C214&amp;ssl=1 300w" sizes="auto, (max-width: 640px) 100vw, 640px" /></figure></div>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Recently in late 2012 Google released a new version of its flagship maps API, <a title="Google Maps Android API v2" href="https://developers.google.com/maps/documentation/android/" target="_blank" rel="noopener noreferrer">Google Maps Android API v2</a>. Initially Google Maps Android API v2, was released with humongous amount of bugs, which were later on fixed in <a title="Release Notes" href="https://developers.google.com/maps/documentation/android/releases" target="_blank" rel="noopener noreferrer">Feb 2013 release</a>. Google Maps Android API v2 is not released as a part of Android APIs, instead its released as a part of <a title="Google Play Services SDK" href="http://developer.android.com/google/play-services/index.html" target="_blank" rel="noopener noreferrer">Google Play Services SDK</a>. Therefore to use the features of Google Maps Android API v2, we need to include Google Play Services SDK in our project, this article <a title="Google Maps Android API v2 – Introduction" href="http://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/" target="_blank" rel="noopener noreferrer">Google Maps Android API v2 &#8211; Introduction</a>, focuses on general feature introduction as well as creating a project with Google Maps Android API v2.</p>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Google Maps Android API v2 Tutorials</h2>



<p class="wp-block-paragraph">Google Maps Android API v2 can be displayed in an android app via two classes MapFragment and SupportMapFragment. This article is the first of three, to explain the process of displaying Google Maps on Android. In this <a title="Google Maps Android API v2 – Introduction" href="http://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/" target="_blank" rel="noopener noreferrer">Google Maps Android API v2 &#8211; Introduction</a>, I will be discussing basic features and lay foundation of Google Maps Android API v2 by explaining on how to include Google Play Services Library in our project. This article would be followed by 2 tutorials in this series:</p>



<ol class="wp-block-list"><li><a title="Android MapFragment Example" href="http://www.truiton.com/2013/05/android-mapfragment-example/" target="_blank" rel="noopener noreferrer">Android MapFragment Tutorial</a></li><li><a title="Android SupportMapFragment Example" href="http://www.truiton.com/2013/05/android-supportmapfragment-example/" target="_blank" rel="noopener noreferrer">Android SupportMapFragment Tutorial</a></li></ol>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Including Google Play Services SDK Library</h2>



<p class="wp-block-paragraph">As I stated earlier Google Maps Android API v2 is not included in Android API, its bundled with Google Play Services SDK. Therefore to use Google Maps on Android we need to include Google Play Services SDK Library in our project. At <a title="Truiton" href="http://www.truiton.com" target="_blank" rel="noopener noreferrer">Truiton</a> I followed these steps to create a project:</p>



<ol class="wp-block-list"><li>Open Android SDK Manager -&gt; Extras -&gt; Google Play Services -&gt; Install Packages.</li><li>In Eclipse File-&gt; Import -&gt; Android -&gt; Existing Android Code into Workspace -&gt; Browse to your Android SDK Folder -&gt; /Extras/google/google_play_services/libproject -&gt; Finish.</li><li>Create new android project -&gt; After creating project right click on its folder and select properties.</li><li>Goto &#8220;Android&#8221; property -&gt; click add button below -&gt; select &#8220;google-play-services_lib&#8221; -&gt; hit Ok and you&#8217;re all set.</li></ol>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Google Maps Android API v2 Emulator Issue</h2>



<p class="wp-block-paragraph">It has been a topic of discussion on various forums, some people confirmed that they installed Google Play Store by vending.apk and gms.apk via ADB. But when I tried none of them worked for my config of emulator. I searched about it and found that Google has stated that Google Play Services SDK wont run on emulator, you can read it&nbsp;<a title="Setup Google Play Services SDK" href="http://developer.android.com/google/play-services/setup.html" target="_blank" rel="noopener noreferrer">here</a>.</p>



<h2 class="wp-block-heading">Google Maps Android API v2 &#8211; Features</h2>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">One of the features that I like about Google Maps Android API v2 is that it displays maps in 3D, you can pan and tilt the screen to view the buildings in 3D on your mobile device. Another good feature is that we can rotate the map according to out convenience. Also Google Maps Android API v2 has advantages from a developers perspective. For e.g. to display maps on an android device now, we have to use <a title="MapFragment" href="https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/MapFragment" target="_blank" rel="noopener noreferrer">MapFragment</a> and <a title="SupportMapFragment" href="https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/SupportMapFragment" target="_blank" rel="noopener noreferrer">SupportMapFragment</a> classes, over the previous method of using MapActivity. This way we can include a MapFragment in an Activity which could have some other functionality as well. This functionality alone can benefit many in many ways. With this I can conclude first part of my series on Google Maps Android API v2. If this tutorial helped you in some way please like and share this with your friends on Google+ and Facebook, also like our Facebook page for updates.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='Mohit Gupt' src='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://www.truiton.com/author/mohitgupt/" class="vcard author" rel="author"><span class="fn">Mohit Gupt</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Born in New Delhi, India. A software engineer by profession, an android enthusiast and mobile development evangelist. My motive here is to create a group of skilled engineers, who can build better software. Reason being programming is my passion, and also it feels good to make a device do something you want. Professionally I have worked with many software engineering and product development firms. As of now too, I am employed as a senior engineer in a leading tech company. In total I may have worked on more than 20 projects professionally, but whenever I get spare time I share my thoughts here at Truiton.</p>
</div></div><div class="saboxplugin-web "><a href="http://www.truiton.com" target="_self" >www.truiton.com</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Wordpress" target="_blank" href="https://www.truiton.com/author/mohitgupt/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-wordpress" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><path fill="currentColor" d="M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8.9 0 1.8.1 2.8.2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7.3 13.7.3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"></path></svg></span></a><a title="Twitter" target="_blank" href="http://twitter.com/mohitgupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Facebook" target="_blank" href="https://www.facebook.com/Mr.Mohit.Gupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a></div></div></div><p>The post <a href="https://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/">Google Maps Android API v2 &#8211; Introduction</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.truiton.com/2013/05/google-maps-android-api-v2-introduction/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">250</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.truiton.com @ 2026-06-28 08:43:10 by W3 Total Cache
-->