<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8443792662167256632</id><updated>2024-11-01T00:17:14.411-07:00</updated><category term="N.P.Prabakaran"/><category term="android map"/><category term="prabakaran131."/><category term="Bundle"/><category term="Kongu"/><category term="Null point exception."/><category term="Pass value using bundle"/><category term="REVERSE GEO CODING"/><category term="REVERSE GEO POINT"/><category term="android"/><category term="android gps-map"/><category term="force close android"/><category term="geo base application"/><category term="gps for beginers"/><category term="how to show current location in map"/><category term="prabakaran"/><title type='text'>studyskill</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://studentstudyskill.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://studentstudyskill.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Prabakaran</name><uri>http://www.blogger.com/profile/00098484787044228432</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkqUqFi3sN7rcaKZw4DvWPupZFyOmIT2Bbqd4GNWiXoFyQHlLkpeQxjCqv-3z3pdp_Tg1Gai2H67GpLBGt1yQzKHscvF5vs8-vN9KyF75EBcfvRy6hK-zDfJjw6yq8Yiw/s220/DSC04357.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8443792662167256632.post-6829326871877553438</id><published>2012-08-14T23:42:00.000-07:00</published><updated>2012-08-14T23:45:56.232-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android map"/><category scheme="http://www.blogger.com/atom/ns#" term="geo base application"/><category scheme="http://www.blogger.com/atom/ns#" term="how to show current location in map"/><category scheme="http://www.blogger.com/atom/ns#" term="N.P.Prabakaran"/><category scheme="http://www.blogger.com/atom/ns#" term="prabakaran131."/><title type='text'></title><content type='html'>&lt;b&gt;&lt;u&gt;Showing current location map&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;
&lt;b&gt;&lt;u&gt;map.java&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;java&quot; style=&quot;background-color: #f9f9f9; clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; text-align: justify; width: auto;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;android.os.Bundle&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;android.view.View&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;android.widget.LinearLayout&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.google.android.maps.MapActivity&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.google.android.maps.MapView&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.google.android.maps.MyLocationOverlay&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;class&lt;/span&gt; LocationBasedServicesV1 &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;extends&lt;/span&gt; MapActivity &lt;span style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;private&lt;/span&gt; MapView myMap&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: green; font-style: italic; font-weight: bold;&quot;&gt;/** Called when the activity is first created. */&lt;/span&gt;
	@Override
	&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;void&lt;/span&gt; onCreate&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;Bundle savedInstanceState&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;
		&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;super&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;onCreate&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;savedInstanceState&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		setContentView&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;R.&lt;span style=&quot;color: #006633;&quot;&gt;layout&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;main&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
		initMap&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		initMyLocation&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: green; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Initialise the map and adds the zoomcontrols to the LinearLayout.
	 */&lt;/span&gt;
	&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;void&lt;/span&gt; initMap&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;
		myMap &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;MapView&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; findViewById&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;R.&lt;span style=&quot;color: #006633;&quot;&gt;id&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;mymap&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
		&lt;span style=&quot;color: #003399;&quot;&gt;View&lt;/span&gt; zoomView &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; myMap.&lt;span style=&quot;color: #006633;&quot;&gt;getZoomControls&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		LinearLayout myzoom &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;LinearLayout&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; findViewById&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;R.&lt;span style=&quot;color: #006633;&quot;&gt;id&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;myzoom&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		myzoom.&lt;span style=&quot;color: #006633;&quot;&gt;addView&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;zoomView&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		myMap.&lt;span style=&quot;color: #006633;&quot;&gt;displayZoomControls&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: green; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Initialises the MyLocationOverlay and adds it to the overlays of the map
	 */&lt;/span&gt;
	&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;void&lt;/span&gt; initMyLocation&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;
		MyLocationOverlay myLocOverlay &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt; MyLocationOverlay&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;this&lt;/span&gt;, myMap&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		myLocOverlay.&lt;span style=&quot;color: #006633;&quot;&gt;enableMyLocation&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		myLocOverlay.&lt;span style=&quot;color: #006633;&quot;&gt;enableCompass&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		myMap.&lt;span style=&quot;color: #006633;&quot;&gt;getOverlays&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;myLocOverlay&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;
&amp;nbsp;
	@Override
	&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;boolean&lt;/span&gt; isRouteDisplayed&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;
		&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;java&quot; style=&quot;background-color: #f9f9f9; clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; text-align: justify; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;java&quot; style=&quot;background-color: #f9f9f9; clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; text-align: justify; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;java&quot; style=&quot;background-color: #f9f9f9; clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; text-align: justify; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;b&gt;&lt;u&gt;
&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;java&quot; style=&quot;background-color: #f9f9f9; clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; text-align: justify; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;b&gt;&lt;u&gt;main layout:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;java&quot; style=&quot;background-color: #f9f9f9; clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; text-align: justify; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;b&gt;&lt;u&gt;
&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;java&quot; style=&quot;background-color: #f9f9f9; clear: none; overflow: visible; text-align: justify; width: auto;&quot;&gt;&lt;span style=&quot;color: #110000;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 1.333;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;pre class=&quot;xml&quot; style=&quot;clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;relativelayout span=&quot;span&quot;&gt;&lt;/relativelayout&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;xmlns:android&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;android:orientation&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;vertical&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_height&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;fill_parent&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;com .google.android.maps.mapview=&quot;.google.android.maps.mapview&quot; span=&quot;span&quot;&gt;&lt;/com&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;xmlns:android&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_height&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:clickable&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:enabled&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:id&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;@+id/mymap&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:apiKey&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot; mapskey&quot;&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;linearlayout span=&quot;span&quot;&gt;&lt;/linearlayout&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;wrap_content&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_height&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;wrap_content&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:id&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;@+id/myzoom&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_alignParentBottom&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;    &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_centerHorizontal&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; overflow: visible; width: auto;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 1.333;&quot;&gt;&lt;b&gt;set user &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; line-height: 15px;&quot;&gt;&lt;b&gt;permission:&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; overflow: visible; width: auto;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 1.333;&quot;&gt;&lt;b&gt;  INTERNET &lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; overflow: visible; width: auto;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 1.333;&quot;&gt;&lt;b&gt;   LOCATION.&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; overflow: visible; width: auto;&quot;&gt;&lt;pre class=&quot;xml&quot; style=&quot;clear: none; color: #110000; font-size: 12px; line-height: 1.333; overflow: visible; width: auto;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt; &lt;span style=&quot;color: #000066;&quot;&gt;version&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;1.0&quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;encoding&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;utf-8&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;manifest span=&quot;span&quot;&gt;&lt;/manifest&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;	&lt;span style=&quot;color: #000066;&quot;&gt;xmlns:android&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;	&lt;span style=&quot;color: #000066;&quot;&gt;package&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;de.itemis.frey.blog.lbsv1&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;	&lt;span style=&quot;color: #000066;&quot;&gt;android:versionCode&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;	&lt;span style=&quot;color: #000066;&quot;&gt;android:versionName&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;1.0.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;application span=&quot;span&quot;&gt;&lt;/application&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;		&lt;span style=&quot;color: #000066;&quot;&gt;android:icon&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;@drawable/icon&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;		&lt;span style=&quot;color: #000066;&quot;&gt;android:label&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;@string/app_name&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
		&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;activity span=&quot;span&quot;&gt;&lt;/activity&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;			&lt;span style=&quot;color: #000066;&quot;&gt;android:name&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;.LocationBasedServicesV1&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;			&lt;span style=&quot;color: #000066;&quot;&gt;android:label&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;@string/app_name&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
			&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;intent -filter=&quot;-filter&quot;&gt;&lt;/intent&gt;&lt;/span&gt;&lt;/span&gt;
				&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;action span=&quot;span&quot;&gt; &lt;span style=&quot;color: #000066;&quot;&gt;android:name&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;android.intent.action.MAIN&quot;&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/action&gt;&lt;/span&gt;
				&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;category span=&quot;span&quot;&gt; &lt;span style=&quot;color: #000066;&quot;&gt;android:name&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;android.intent.category.LAUNCHER&quot;&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/category&gt;&lt;/span&gt;
			&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
		&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;uses -library=&quot;-library&quot; span=&quot;span&quot;&gt; &lt;span style=&quot;color: #000066;&quot;&gt;android:name&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;com.google.android.maps&quot;&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/uses&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;uses -permission=&quot;-permission&quot; span=&quot;span&quot;&gt; &lt;span style=&quot;color: #000066;&quot;&gt;android:name&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;android.permission.INTERNET&quot;&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/uses&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;uses -permission=&quot;-permission&quot; span=&quot;span&quot;&gt; &lt;span style=&quot;color: #000066;&quot;&gt;android:name&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;android.permission.ACCESS_FINE_LOCATION&quot;&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/uses&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;Screen shot:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; overflow: visible; width: auto;&quot;&gt;&lt;b&gt;&lt;u&gt;
&lt;/u&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMklORFfJTHW8NWM-qkJ8amEP78l_1e8CODBsPTHTOo1-c8s7wQ0R1PxF7hIy0UM3Q8pb1hCY0EDSXBhYzt29_krEygCwZo_LC0irpaY4ZGLZwwuX2wwRnFByY7wQgGrJF0RsaY3TtVBo/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMklORFfJTHW8NWM-qkJ8amEP78l_1e8CODBsPTHTOo1-c8s7wQ0R1PxF7hIy0UM3Q8pb1hCY0EDSXBhYzt29_krEygCwZo_LC0irpaY4ZGLZwwuX2wwRnFByY7wQgGrJF0RsaY3TtVBo/s320/Untitled.png&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; overflow: visible; width: auto;&quot;&gt;&lt;b&gt;&lt;u&gt;
&lt;/u&gt;&lt;/b&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://studentstudyskill.blogspot.com/feeds/6829326871877553438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/showing-current-location-map-map.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/6829326871877553438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/6829326871877553438'/><link rel='alternate' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/showing-current-location-map-map.html' title=''/><author><name>Prabakaran</name><uri>http://www.blogger.com/profile/00098484787044228432</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkqUqFi3sN7rcaKZw4DvWPupZFyOmIT2Bbqd4GNWiXoFyQHlLkpeQxjCqv-3z3pdp_Tg1Gai2H67GpLBGt1yQzKHscvF5vs8-vN9KyF75EBcfvRy6hK-zDfJjw6yq8Yiw/s220/DSC04357.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMklORFfJTHW8NWM-qkJ8amEP78l_1e8CODBsPTHTOo1-c8s7wQ0R1PxF7hIy0UM3Q8pb1hCY0EDSXBhYzt29_krEygCwZo_LC0irpaY4ZGLZwwuX2wwRnFByY7wQgGrJF0RsaY3TtVBo/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8443792662167256632.post-5736728207860769711</id><published>2012-08-08T04:04:00.000-07:00</published><updated>2012-08-08T04:04:35.580-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bundle"/><category scheme="http://www.blogger.com/atom/ns#" term="N.P.Prabakaran"/><category scheme="http://www.blogger.com/atom/ns#" term="Pass value using bundle"/><category scheme="http://www.blogger.com/atom/ns#" term="prabakaran131."/><title type='text'></title><content type='html'>&lt;u&gt;&lt;b&gt;Passing value between activity:&lt;/b&gt;&lt;/u&gt;&lt;div&gt;
&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
Class1.java&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; Intent intt=new Intent();&lt;/div&gt;
&lt;div&gt;
intt.putExtra(&quot;keyto call&quot;,value to pass);&lt;/div&gt;
&lt;div&gt;
startAcivity(intt);&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
key : which used to refer value in another actvity.&lt;/div&gt;
&lt;div&gt;
Class2.java&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Bundle bun=Intent.getExtra();&lt;/div&gt;
&lt;div&gt;
String gh=bun.toString(&quot;Keyto call&quot;);&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://studentstudyskill.blogspot.com/feeds/5736728207860769711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/passing-value-between-activity-class1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/5736728207860769711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/5736728207860769711'/><link rel='alternate' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/passing-value-between-activity-class1.html' title=''/><author><name>Prabakaran</name><uri>http://www.blogger.com/profile/00098484787044228432</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkqUqFi3sN7rcaKZw4DvWPupZFyOmIT2Bbqd4GNWiXoFyQHlLkpeQxjCqv-3z3pdp_Tg1Gai2H67GpLBGt1yQzKHscvF5vs8-vN9KyF75EBcfvRy6hK-zDfJjw6yq8Yiw/s220/DSC04357.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8443792662167256632.post-7854009788147198162</id><published>2012-08-05T08:57:00.000-07:00</published><updated>2012-08-05T08:57:27.939-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="REVERSE GEO CODING"/><category scheme="http://www.blogger.com/atom/ns#" term="REVERSE GEO POINT"/><title type='text'></title><content type='html'>REVERSE&amp;nbsp;GEO POINT:&lt;br /&gt;
&lt;br /&gt;
YOU MAY FACE THE PROBLEM IN AVD: BECAUSE THIS THROW SERVICE UNAVAILABLE EXCEPTION.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
package com.map.touch;&lt;br /&gt;
&lt;br /&gt;
import java.io.IOException;&lt;br /&gt;
import java.util.List;&lt;br /&gt;
import java.util.Locale;&lt;br /&gt;
&lt;br /&gt;
import com.google.android.maps.GeoPoint;&lt;br /&gt;
import com.google.android.maps.MapActivity;&lt;br /&gt;
import com.google.android.maps.MapController;&lt;br /&gt;
import com.google.android.maps.MapView;&lt;br /&gt;
import com.google.android.maps.Overlay;&lt;br /&gt;
&lt;br /&gt;
//import COM.ARUN.ex.MyLocationListener;&lt;br /&gt;
//import COM.ARUN.ex;&lt;br /&gt;
import android.content.Context;&lt;br /&gt;
import android.graphics.Bitmap;&lt;br /&gt;
import android.graphics.BitmapFactory;&lt;br /&gt;
import android.graphics.Canvas;&lt;br /&gt;
import android.graphics.Point;&lt;br /&gt;
import android.location.Address;&lt;br /&gt;
import android.location.Geocoder;&lt;br /&gt;
import android.location.Location;&lt;br /&gt;
import android.location.LocationListener;&lt;br /&gt;
import android.location.LocationManager;&lt;br /&gt;
import android.os.Bundle;&lt;br /&gt;
import android.view.MotionEvent;&lt;br /&gt;
import android.view.View;&lt;br /&gt;
import android.widget.LinearLayout;&lt;br /&gt;
import android.widget.Toast;&lt;br /&gt;
&lt;br /&gt;
import com.google.android.maps.MapView.LayoutParams;&lt;br /&gt;
&lt;br /&gt;
public class toucj extends MapActivity&lt;br /&gt;
{ &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; /** Called when the activity is first created. */&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;double lat;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;double lon;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; MapView mapView;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; &amp;nbsp; &amp;nbsp;MapController mc;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; &amp;nbsp; &amp;nbsp;GeoPoint p;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onCreate(Bundle savedInstanceState)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.onCreate(savedInstanceState);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setContentView(R.layout.main);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LocationManager lm=(LocationManager)getSystemService(Context.LOCATION_SERVICE);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;LocationListener ll=new MyLocationListener();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;lm.requestLocationUpdates(LocationManager.GPS_PROVIDER,0,0,ll);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapView = (MapView) findViewById(R.id.mapView);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LinearLayout zoomLayout = (LinearLayout)findViewById(R.id.zoom); &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; View zoomView = mapView.getZoomControls();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zoomLayout.addView(zoomView,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new LinearLayout.LayoutParams(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LayoutParams.WRAP_CONTENT,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LayoutParams.WRAP_CONTENT));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapView.displayZoomControls(true);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mc = mapView.getController();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String coordinates[] = {&quot;1.352566007&quot;, &quot;103.78921587&quot;};&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double lat = Double.parseDouble(coordinates[0]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double lng = Double.parseDouble(coordinates[1]);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p = new GeoPoint(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (int) (lat * 1E6),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (int) (lng * 1E6));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mc.animateTo(p);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mc.setZoom(17);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MapOverlay mapOverlay = new MapOverlay();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&lt;overlay&gt; listOfOverlays = mapView.getOverlays();&lt;/overlay&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listOfOverlays.clear();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listOfOverlays.add(mapOverlay);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapView.invalidate();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; protected boolean isRouteDisplayed() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; private class MyLocationListener implements LocationListener {&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;public void onLocationChanged(Location arg0) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;// TODO Auto-generated method stub&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;Geocoder geocoder = new Geocoder(toucj.this, Locale.ENGLISH); &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt; lat=(double) arg0.getLatitude();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lon=(double) arg0.getLongitude();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;public void onProviderDisabled(String provider) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;// TODO Auto-generated method stub&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;public void onProviderEnabled(String provider) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;// TODO Auto-generated method stub&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;public void onStatusChanged(String provider, int status, Bundle extras) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;// TODO Auto-generated method stub&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;} &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; class MapOverlay extends com.google.android.maps.Overlay&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public boolean draw(Canvas canvas, MapView mapView,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boolean shadow, long when)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.draw(canvas, mapView, shadow); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //---translate the GeoPoint to screen pixels---&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Point screenPts = new Point();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapView.getProjection().toPixels(p, screenPts);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //---add the marker---&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Bitmap bmp = BitmapFactory.decodeResource(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getResources(), R.drawable.icon); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; canvas.drawBitmap(bmp, screenPts.x, screenPts.y-50, null); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public boolean onTouchEvent(MotionEvent event, MapView mapView)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //---when user lifts his finger---&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (event.getAction() == 1) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GeoPoint p = mapView.getProjection().fromPixels(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (int) event.getX(),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (int) event.getY());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Toast.makeText(getBaseContext(),&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.getLatitudeE6() / 1E6 + &quot;,&quot; +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.getLongitudeE6() /1E6 ,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Toast.LENGTH_SHORT).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Geocoder geoCoder = new Geocoder(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getBaseContext(), Locale.getDefault());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&lt;address&gt;
 addresses = geoCoder.getFromLocation(&lt;/address&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.getLatitudeE6() &amp;nbsp;/ 1E6,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.getLongitudeE6() / 1E6, 1);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String add = &quot;&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (addresses.size() &amp;gt; 0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i=0; i&lt;addresses .get=&quot;.get&quot; getmaxaddresslineindex=&quot;getmaxaddresslineindex&quot; nbsp=&quot;nbsp&quot; p=&quot;p&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;add += addresses.get(0).getAddressLine(i) + &quot;\n&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Toast.makeText(getBaseContext(), add, Toast.LENGTH_SHORT).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (IOException e) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Toast.makeText(getApplicationContext(), e.toString()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;, Toast.LENGTH_SHORT).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;return false;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/addresses&gt;</content><link rel='replies' type='application/atom+xml' href='http://studentstudyskill.blogspot.com/feeds/7854009788147198162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/reverse-point-you-may-face-problem-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/7854009788147198162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/7854009788147198162'/><link rel='alternate' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/reverse-point-you-may-face-problem-in.html' title=''/><author><name>Prabakaran</name><uri>http://www.blogger.com/profile/00098484787044228432</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkqUqFi3sN7rcaKZw4DvWPupZFyOmIT2Bbqd4GNWiXoFyQHlLkpeQxjCqv-3z3pdp_Tg1Gai2H67GpLBGt1yQzKHscvF5vs8-vN9KyF75EBcfvRy6hK-zDfJjw6yq8Yiw/s220/DSC04357.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8443792662167256632.post-8951855945307605755</id><published>2012-08-05T08:41:00.000-07:00</published><updated>2012-08-05T08:41:01.993-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="force close android"/><category scheme="http://www.blogger.com/atom/ns#" term="Null point exception."/><title type='text'></title><content type='html'>&lt;u&gt;&lt;b&gt;Class cannot initiated in activity:&lt;/b&gt;&lt;/u&gt;&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Check for activity in manifest.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;May be due to the declaration of &amp;nbsp;normal variable in class before oncreate function.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;clean the project and run.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;version miss-match(emulator).&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;I face similar problem for declaring variable in class like&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;class dim extends Activity&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;{&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;button btn;//this create me problems.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;oncreate()&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;{&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;}&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;ERROR DETAIL:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): FATAL EXCEPTION: main&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{COM.ARUN/COM.ARUN.ex}: java.lang.NullPointerException&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.ActivityThread.access$2300(ActivityThread.java:125)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.os.Handler.dispatchMessage(Handler.java:99)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.os.Looper.loop(Looper.java:123)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.ActivityThread.main(ActivityThread.java:4627)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at java.lang.reflect.Method.invokeNative(Native Method)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:521)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at dalvik.system.NativeStart.main(Native Method)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): Caused by: java.lang.NullPointerException&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.Activity.findViewById(Activity.java:1637)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at COM.ARUN.ex.&lt;init&gt;(ex.java:24)&lt;/init&gt;&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at java.lang.Class.newInstanceImpl(Native Method)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at java.lang.Class.newInstance(Class.java:1429)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.Instrumentation.newActivity(Instrumentation.java:1021)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)&lt;/div&gt;
&lt;div&gt;
08-05 16:39:36.371: ERROR/AndroidRuntime(279): &amp;nbsp; &amp;nbsp; ... 11 more&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://studentstudyskill.blogspot.com/feeds/8951855945307605755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/class-cannot-initiated-in-activity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/8951855945307605755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/8951855945307605755'/><link rel='alternate' type='text/html' href='http://studentstudyskill.blogspot.com/2012/08/class-cannot-initiated-in-activity.html' title=''/><author><name>Prabakaran</name><uri>http://www.blogger.com/profile/00098484787044228432</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkqUqFi3sN7rcaKZw4DvWPupZFyOmIT2Bbqd4GNWiXoFyQHlLkpeQxjCqv-3z3pdp_Tg1Gai2H67GpLBGt1yQzKHscvF5vs8-vN9KyF75EBcfvRy6hK-zDfJjw6yq8Yiw/s220/DSC04357.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8443792662167256632.post-4099640924765051969</id><published>2011-08-27T10:41:00.000-07:00</published><updated>2012-05-21T04:23:36.482-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android map"/><category scheme="http://www.blogger.com/atom/ns#" term="gps for beginers"/><category scheme="http://www.blogger.com/atom/ns#" term="Kongu"/><category scheme="http://www.blogger.com/atom/ns#" term="N.P.Prabakaran"/><category scheme="http://www.blogger.com/atom/ns#" term="prabakaran"/><title type='text'>Map for Beginners</title><content type='html'>Sample map:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create new project,(&lt;strong&gt;file-&amp;gt;new-&amp;gt;androis project&lt;/strong&gt;).&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add permission to access internet in manifestXml.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;&lt;uses-library android:name=&quot;com.google.android.maps&quot;&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;u&gt;Next edit main.xml:&lt;/u&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
RelativeLayout&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;xmlns:android&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&quot;http://schemas.android.com/apk/res/android&quot;&amp;gt;&lt;/span&gt;&amp;nbsp; &lt;relativelayout &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&quot;&quot; &lt;=&quot;&quot; android:id=&quot;@+id/mainlayout&quot; p=&quot;&quot; xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt;&lt;br /&gt;
android:orientation=&quot;vertical&quot; &lt;br /&gt;
android:layout_width=&quot;fill_parent&quot; &lt;br /&gt;
android:layout_height=&quot;fill_parent&quot;&amp;gt; &lt;br /&gt;
com.google.android.maps.MapView&amp;gt;&lt;br /&gt;
&lt;com.google.android.maps.mapview &lt;=&quot;&quot; p=&quot;&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:id=&quot;@+id/mapview&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:layout_width=&quot;fill_parent&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:layout_height=&quot;fill_parent&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:clickable=&quot;true&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; android:apiKey=&quot;Your Maps API Key&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Iam Sure your u have Api key...&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. &lt;strong&gt;public &lt;/strong&gt;&lt;strong&gt;&lt;span class=&quot;kwd&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;HelloMapView&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;extends&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MapActivity&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;pun&quot;&gt;&lt;strong&gt;{&lt;/strong&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;pun&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- extend mapActivity instead od Activity .&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;pun&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&lt;strong&gt; &lt;span class=&quot;kwd&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;boolean&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; isRouteDisplayed&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;pun&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;strong&gt;{&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;//override this into false&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;pun&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;u&gt;3.initialize below in oncreate(&lt;strike&gt;)&lt;/strike&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;pun&quot;&gt;&lt;span class=&quot;pun&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt; &lt;span class=&quot;pln&quot;&gt;mapView &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MapView&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; findViewById&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;R&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;mapview&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapView&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;setBuiltInZoomControls&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;pun&quot;&gt;&lt;span class=&quot;pun&quot;&gt;NOW RUN IT....&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;pun&quot;&gt;&lt;span class=&quot;pun&quot;&gt;you seem to get like this&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW-54GW40ZiVEqSyeFCXA0rP1XcN_0sMIuYEe1xJ1YdB6LeBcnbEYGCs8hqtHnJZbn-qUBMX4nQJk6OdCgjGvdnVFhD2AgnUUBkvYIIAxbxTfncwmp8F-LJFRe8Dmz2PZypBxOTrnXl_I/s1600/hello-mapview.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; qaa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW-54GW40ZiVEqSyeFCXA0rP1XcN_0sMIuYEe1xJ1YdB6LeBcnbEYGCs8hqtHnJZbn-qUBMX4nQJk6OdCgjGvdnVFhD2AgnUUBkvYIIAxbxTfncwmp8F-LJFRe8Dmz2PZypBxOTrnXl_I/s1600/hello-mapview.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Generally Map Load from USA and BRASIL.you can change the to your location....&lt;br /&gt;
for your query post me here,&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=prabakaran131&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0002L5R78&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://studentstudyskill.blogspot.com/feeds/4099640924765051969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://studentstudyskill.blogspot.com/2011/08/map-for-beginners.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/4099640924765051969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/4099640924765051969'/><link rel='alternate' type='text/html' href='http://studentstudyskill.blogspot.com/2011/08/map-for-beginners.html' title='Map for Beginners'/><author><name>Prabakaran</name><uri>http://www.blogger.com/profile/00098484787044228432</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkqUqFi3sN7rcaKZw4DvWPupZFyOmIT2Bbqd4GNWiXoFyQHlLkpeQxjCqv-3z3pdp_Tg1Gai2H67GpLBGt1yQzKHscvF5vs8-vN9KyF75EBcfvRy6hK-zDfJjw6yq8Yiw/s220/DSC04357.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW-54GW40ZiVEqSyeFCXA0rP1XcN_0sMIuYEe1xJ1YdB6LeBcnbEYGCs8hqtHnJZbn-qUBMX4nQJk6OdCgjGvdnVFhD2AgnUUBkvYIIAxbxTfncwmp8F-LJFRe8Dmz2PZypBxOTrnXl_I/s72-c/hello-mapview.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8443792662167256632.post-6409942815776941757</id><published>2011-08-27T04:30:00.000-07:00</published><updated>2011-08-27T04:48:43.476-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android gps-map"/><category scheme="http://www.blogger.com/atom/ns#" term="android map"/><title type='text'>gps-map</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyQjxZeZOD2sSJ7q2BK6qnZ_C7Ob_vhfzITJ46C_tATgTeLey4V216zRpAi9hBajoYVW9F2Akahpnj7C7DH4_Iiyza1yBU4Z_i8AiIvHDmWixXC14lRb8j2hNgqNiaXeVADY9dl1BBy-k/s1600/transparent_panel_mapview_01.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; qaa=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyQjxZeZOD2sSJ7q2BK6qnZ_C7Ob_vhfzITJ46C_tATgTeLey4V216zRpAi9hBajoYVW9F2Akahpnj7C7DH4_Iiyza1yBU4Z_i8AiIvHDmWixXC14lRb8j2hNgqNiaXeVADY9dl1BBy-k/s320/transparent_panel_mapview_01.gif&quot; width=&quot;172&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Creating a Custom Layout as a Transparent Panel&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wanted our transparent panel to hold children so we looked for the most natural Android view to extend and selected Linear Layout because we wanted our &lt;strong&gt;TransparentPanel&lt;/strong&gt; class to layout its children horizontally. We could just as easily chosen to extend &lt;strong&gt;RelativeLayout&lt;/strong&gt; of any other layout class.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&lt;span style=&quot;vertical-align: top;&quot;&gt;TransparentPanel &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;extends&lt;/span&gt; LinearLayout&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The ‘magic’ of &lt;strong&gt;TransparentPanel &lt;/strong&gt;happens in the &lt;strong&gt;dispathDraw()&lt;/strong&gt; method. For those of you that have already created their own custom Views, you might wonder why we override &lt;strong&gt;dispatchDraw()&lt;/strong&gt; instead of &lt;strong&gt;onDraw()&lt;/strong&gt;. For some reason, &lt;strong&gt;LinearLayout &lt;/strong&gt;does not call it’s own &lt;strong&gt;onDraw()&lt;/strong&gt; method…apparently because its developer assumes a &lt;strong&gt;LinearLayout&lt;/strong&gt; would never have anything to draw. BUT we want our &lt;strong&gt;TransparentPanel &lt;/strong&gt;to draw a background so we override&lt;strong&gt; dispatchDraw()&lt;/strong&gt; to draw the background and then let &lt;strong&gt;super.dispatchDraw(canvas)&lt;/strong&gt; render any child components.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;pre style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;          protected&lt;/span&gt; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;void&lt;/span&gt; dispatchDraw&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3Acanvas+java.sun.com&amp;amp;btnI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #003399;&quot;&gt;Canvas&lt;/span&gt;&lt;/a&gt; canvas&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;	           RectF drawRect &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt; RectF&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;	           drawRect.&lt;span style=&quot;color: #006633;&quot;&gt;set&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;,&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;, getMeasuredWidth&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;, getMeasuredHeight&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;	           canvas.&lt;span style=&quot;color: #006633;&quot;&gt;drawRoundRect&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;drawRect, &lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;, innerPaint&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;	           canvas.&lt;span style=&quot;color: #006633;&quot;&gt;drawRoundRect&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;drawRect, &lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;, borderPaint&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;	           &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;super&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;dispatchDraw&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;canvas&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;strong&gt;For those new to drawing their own graphics, let’s review a few items here. First, we populate a RectF with the coordinates of the background that we want to draw. Next we make to calls to drawRoundRect(). The 1st call passes innerPaint to draw the transparent gray background while the 2nd call passes the white border that we want to paint. Lastly we call super.dispatchDraw(canvas) to render our child components (in this case a Button).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;The gray background is rendered with an alpha (transparency ) == 225. This allows just enough of the map to show through.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: black;&quot;&gt;1 innerPaint.setARGB(225, 75, 75, 75);&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;And borderPaint allows us to render a white border with a Stroke of width = 2.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;                   borderPaint &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3Apaint+java.sun.com&amp;amp;btnI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #003399;&quot;&gt;Paint&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;                   borderPaint.&lt;span style=&quot;color: #006633;&quot;&gt;setARGB&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;255&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;                   borderPaint.&lt;span style=&quot;color: #006633;&quot;&gt;setAntiAlias&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;                   borderPaint.&lt;span style=&quot;color: #006633;&quot;&gt;setStyle&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3Astyle+java.sun.com&amp;amp;btnI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #003399;&quot;&gt;Style&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;STROKE&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;vertical-align: top;&quot;&gt;                   borderPaint.&lt;span style=&quot;color: #006633;&quot;&gt;setStrokeWidth&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;As we did above, make sure to setAntiAlias(true) so the borders of your paint blend seamlessly with its surroundings. Set this option to false to see how your borders would have jagged edges otherwise.&lt;/span&gt;


&lt;strong&gt;&lt;span style=&quot;color: black;&quot;&gt;Adding our custom TransparentPanel class as a declarations in the layout XML.&lt;/span&gt;&lt;/strong&gt;


&lt;span style=&quot;color: black;&quot;&gt;Now we’re ready to insert the TransparentPanel into our layout XML class and to add a button. To reference our new class, we simply provide the full classpath to our the TransparentPanel and then provide layout parameters as we would for any LinearLayout. In this case, we provide padding so our Button does not rest against the edges of our TransparentPanel’s border.&lt;/span&gt;




xml layout:
&lt;span style=&quot;color: black;&quot;&gt;       &lt;com.pocketjourney.view.transparentpanel &lt;=&quot;&quot; android:id=&quot;”@+id/transparent_panel”&quot; font=&quot;&quot;&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;        &lt;com.pocketjourney.view.transparentpanel android:id=&quot;”@+id/transparent_panel”&quot; android:layout_height=&quot;”wrap_content”&quot; android:layout_width=&quot;”fill_parent”&quot; android:paddingbottom=&quot;”5px”&quot; android:paddingleft=&quot;”5px”&quot; android:paddingright=&quot;”5px”&quot; android:paddingtop=&quot;”5px”&quot;&gt; &lt;button android:id=&quot;”@+id/button_click_me”&quot; android:layout_height=&quot;”wrap_content”&quot; android:layout_width=&quot;”wrap_content”&quot; android:text=&quot;”Click&quot; me!”=&quot;&quot; type=&quot;submit&quot;&gt; &lt;/com.pocketjourney.view.transparentpanel&gt;&lt;span&gt;&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=prabakaran131&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0056UOUC8&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;pre&gt;&lt;/pre&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;
&lt;/div&gt;&lt;div style=&quot;background: none transparent scroll repeat 0% 0%; font-size: 12px; margin: 0px; padding-bottom: 0px; padding-left: 4px; padding-right: 4px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;span style=&quot;vertical-align: top;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=prabakaran131&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0056UOUC8&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/button&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://studentstudyskill.blogspot.com/feeds/6409942815776941757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://studentstudyskill.blogspot.com/2011/08/gps-map.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/6409942815776941757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8443792662167256632/posts/default/6409942815776941757'/><link rel='alternate' type='text/html' href='http://studentstudyskill.blogspot.com/2011/08/gps-map.html' title='gps-map'/><author><name>Prabakaran</name><uri>http://www.blogger.com/profile/00098484787044228432</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkqUqFi3sN7rcaKZw4DvWPupZFyOmIT2Bbqd4GNWiXoFyQHlLkpeQxjCqv-3z3pdp_Tg1Gai2H67GpLBGt1yQzKHscvF5vs8-vN9KyF75EBcfvRy6hK-zDfJjw6yq8Yiw/s220/DSC04357.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyQjxZeZOD2sSJ7q2BK6qnZ_C7Ob_vhfzITJ46C_tATgTeLey4V216zRpAi9hBajoYVW9F2Akahpnj7C7DH4_Iiyza1yBU4Z_i8AiIvHDmWixXC14lRb8j2hNgqNiaXeVADY9dl1BBy-k/s72-c/transparent_panel_mapview_01.gif" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>coimbatore</georss:featurename><georss:point>10.372072 79.850375999999983</georss:point><georss:box>10.354986499999999 79.835333999999989 10.3891575 79.865417999999977</georss:box></entry></feed>