<?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-3025480310592656813</id><updated>2024-08-29T18:01:16.664-07:00</updated><category term="Basics of Android"/><category term="widget"/><category term="Intent"/><category term="Listview"/><category term="MAP integration"/><category term="Android Emulator"/><category term="Context menu in android"/><category term="Display map in android"/><category term="Long press menu"/><category term="menu"/><category term="AbsoluteLayout"/><category term="Activities"/><category term="Activity"/><category term="Adapters"/><category term="Android API Levels"/><category term="Android Notifications"/><category term="AndroidManifes"/><category term="Basic Building blocks"/><category term="Broadcast Receivers and Content providers"/><category term="Bundle for Sharing"/><category term="Calculator"/><category term="Call"/><category term="DDMS"/><category term="Dalvik virtual machine and apk Extention"/><category term="Debugger"/><category term="Double to String"/><category term="Emulator"/><category term="Emulator shortcuts"/><category term="Example for Context menu in android"/><category term="FrameLayout"/><category term="HTML5 integration in android"/><category term="IPhone Tutorials"/><category term="Image switcher in android"/><category term="Input Events"/><category term="Installing the SDK"/><category term="Integer to String"/><category term="Intents and Intent Filters"/><category term="Layout"/><category term="Layout Tutorial"/><category term="LinearLayout"/><category term="ListView with Context menu in android"/><category term="Load image dynamically"/><category term="Map route between two geopoint in android"/><category term="Menus"/><category term="New Activity on button click"/><category term="No tittle bar"/><category term="RelativeLayout"/><category term="Road drawing in android"/><category term="Services"/><category term="Setting up development environment of Android in WINDOWS"/><category term="Shared preference"/><category term="Sms"/><category term="Spinner"/><category term="Splash screen in android"/><category term="String to Double"/><category term="String to Integer"/><category term="TableLayout"/><category term="Toast"/><category term="UI Components"/><category term="What is android"/><category term="Widgets"/><category term="assets in Android"/><category term="browsing in Android"/><category term="dynamic image loading from drawable"/><category term="logcat"/><category term="menu in andriod"/><category term="option menu in android"/><category term="string array in android"/><category term="url hitting"/><category term="uses-permission"/><title type='text'>Android-Code+</title><subtitle type='html'>Introducing ANDROID CODE+ An integrated digital code destination where users Edit and Comment all of their favorite content in one place. It&#39;s the new destination for Android Developers!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-6574348065841139955</id><published>2013-09-02T07:59:00.001-07:00</published><updated>2013-09-02T07:59:04.078-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Notifications"/><title type='text'>How can we generate the Notifications In android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
private static void generateNotification(Context context, String message,int receiverId) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int icon = R.drawable.on;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; long when = System.currentTimeMillis();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NotificationManager notificationManager = (NotificationManager)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; context.getSystemService(Context.NOTIFICATION_SERVICE);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Notification notification = new Notification(icon, message, when);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String title = context.getString(R.string.title);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Intent notificationIntent = new Intent(context, Activity_name.class);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // set intent so it does not start a new activity&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notificationIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP );&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PendingIntent intent =PendingIntent.getActivity(context, 0, notificationIntent,PendingIntent.FLAG_UPDATE_CURRENT);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notification.setLatestEventInfo(context, title, message, intent);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notification.flags |= Notification.FLAG_AUTO_CANCEL; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Play default notification sound&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notification.defaults |= Notification.DEFAULT_SOUND;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notification.defaults |= Notification.DEFAULT_VIBRATE;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; notificationManager.notify(receiverId, notification); &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/6574348065841139955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2013/09/how-can-we-generate-notifications-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/6574348065841139955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/6574348065841139955'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2013/09/how-can-we-generate-notifications-in.html' title='How can we generate the Notifications In android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-2283249597568884879</id><published>2013-06-09T06:39:00.001-07:00</published><updated>2013-06-09T06:39:27.534-07:00</updated><title type='text'>Getting Device width / height in android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Display dispDefault = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int&amp;nbsp; &amp;nbsp; &amp;nbsp;totalwidth = dispDefault.getWidth();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int&amp;nbsp; &amp;nbsp; &amp;nbsp; totalheight = dispDefault.getHeight();&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/2283249597568884879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2013/06/getting-device-width-height-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/2283249597568884879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/2283249597568884879'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2013/06/getting-device-width-height-in-android.html' title='Getting Device width / height in android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-9021104664930902350</id><published>2013-06-09T06:32:00.000-07:00</published><updated>2013-06-09T06:40:17.526-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dynamic image loading from drawable"/><category scheme="http://www.blogger.com/atom/ns#" term="Load image dynamically"/><title type='text'>Load Images dynamically from drawable folder </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
private ImageView imge;&lt;br /&gt;
imge=(ImageView) findViewById(R.id.img); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//image&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
String Img_Name = Image_name dynamically; &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; try {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;background-color: orange;&quot;&gt;int id = R.drawable.class.getField(Img_Name).getInt(null);&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;span style=&quot;background-color: orange;&quot;&gt;imge.setImageResource( id );&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;} catch (IllegalArgumentException e) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;// TODO Auto-generated catch block&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;e.printStackTrace();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;} catch (SecurityException e) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;// TODO Auto-generated catch block&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;e.printStackTrace();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;} catch (IllegalAccessException e) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;// TODO Auto-generated catch block&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;e.printStackTrace();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;} catch (NoSuchFieldException e) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;// TODO Auto-generated catch block&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;e.printStackTrace();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/9021104664930902350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2013/06/load-images-dynamically-from-drawable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/9021104664930902350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/9021104664930902350'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2013/06/load-images-dynamically-from-drawable.html' title='Load Images dynamically from drawable folder '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-7768511234719906204</id><published>2012-11-28T04:48:00.003-08:00</published><updated>2012-11-28T04:50:37.931-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="No tittle bar"/><title type='text'>Remove Tittle bar</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Add following code to the manifest file :-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;android:theme=&quot;@android:style/Theme.NoTitleBar&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&amp;lt;&lt;span style=&quot;color: red;&quot;&gt;application&lt;/span&gt; android:icon=&quot;@drawable/app_icon&quot; &lt;span style=&quot;color: red;&quot;&gt;android:theme=&quot;@android:style/Theme.NoTitleBar&quot;&lt;/span&gt; android:label=&quot;@string/app_name&quot; &amp;gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/7768511234719906204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/11/remove-tittle-bar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7768511234719906204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7768511234719906204'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/11/remove-tittle-bar.html' title='Remove Tittle bar'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-7107784418989645472</id><published>2012-07-10T03:10:00.001-07:00</published><updated>2012-11-28T04:51:11.077-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="url hitting"/><title type='text'>URL Hitting in android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
In android URL hitting mainly use 4-Connection Varibles&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;DefaultHttpClient&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;HttpPost&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;HttpResponse&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;HttpEntity&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;! &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;background-color: #cfe2f3;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;DefaultHttpClient &amp;nbsp;&lt;/span&gt;it use to establish the connection between server and android&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: red;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&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: orange;&quot;&gt;DefaultHttpClient&lt;/span&gt;&amp;nbsp;&amp;nbsp;varible_name&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;=&amp;nbsp;&lt;span style=&quot;color: orange;&quot;&gt;new DefaultHttpClient();&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;background-color: white; color: red;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: red;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;! &amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&lt;b style=&quot;color: red;&quot;&gt;HttpPost &amp;nbsp;&lt;/b&gt;&lt;b&gt;which is used to communicate the php file(Server) with android.during the http post time varibles\values are posted.&lt;/b&gt;&lt;/span&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;&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: orange;&quot;&gt;HttpPost&lt;/span&gt;&amp;nbsp; varible_name&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;=&amp;nbsp;&lt;span style=&quot;color: orange;&quot;&gt;new HttpPost(&lt;/span&gt;&quot;http://server/projectlocation/phpfile.php?username=&quot;+mainusername+&quot;&amp;amp;password=&quot;+mainpass&lt;span style=&quot;color: orange;&quot;&gt;)&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In the above web address username and password are 2 field in php file&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;!&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: #9fc5e8;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;HttpResponse&amp;nbsp;&lt;/span&gt;this&amp;nbsp;variable&amp;nbsp;used to get the&amp;nbsp;response&amp;nbsp;from the server.&amp;nbsp;Commonly&amp;nbsp;the response in JSON(Java script object notation).&lt;/b&gt;&lt;/div&gt;
&lt;br /&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; try&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&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; &amp;nbsp; &amp;nbsp;&lt;b&gt; &amp;nbsp; DefaultHttpClient httpClient&lt;/b&gt; = new DefaultHttpClient();&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;HttpPost httpPost&lt;/b&gt; = new HttpPost(&quot;http://projects.jishocom/rahulrk/locAdsLogin.php?username=&quot;+mainusername+&quot;&amp;amp;password=&quot;+mainpass);&lt;br /&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; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; HttpResponse httpResponse&lt;/b&gt; = httpClient.execute(httpPost);&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;HttpEntity httpEntity&lt;/b&gt; = httpResponse.getEntity();&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;&amp;nbsp; &amp;nbsp; String &amp;nbsp;line = EntityUtils.toString(httpEntity);&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(&quot;the res&quot;+line);&lt;br /&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; &amp;nbsp; } catch (UnsupportedEncodingException e) {&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; line = &quot;&amp;lt;results status=\&quot;error\&quot;&amp;gt;&amp;lt;msg&amp;gt;Can&#39;t connect to serverlllllllll&amp;lt;/msg&amp;gt;&amp;lt;/results&amp;gt;&quot;;&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; &amp;nbsp;} catch (MalformedURLException e) {&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; line = &quot;&amp;lt;results status=\&quot;error\&quot;&amp;gt;&amp;lt;msg&amp;gt;Can&#39;t connect to server&amp;lt;/msg&amp;gt;&amp;lt;/results&amp;gt;&quot;;&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; &amp;nbsp; } catch (IOException e) {&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; line = &quot;&amp;lt;results status=\&quot;error\&quot;&amp;gt;&amp;lt;msg&amp;gt;Can&#39;t connect to serverjjjjjjjj&amp;lt;/msg&amp;gt;&amp;lt;/results&amp;gt;&quot;;&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; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/7107784418989645472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/07/url-hitting-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7107784418989645472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7107784418989645472'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/07/url-hitting-in-android.html' title='URL Hitting in android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-4572878229153276031</id><published>2012-06-24T21:37:00.000-07:00</published><updated>2012-06-24T21:37:24.599-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Image switcher in android"/><title type='text'>image switcher in android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Image switcher which &amp;nbsp;help to Switch between images in android.&lt;br /&gt;
&lt;br /&gt;
public class ImageswitcherActivity extends Activity implements &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;ViewFactory&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Here ViewFactory is the interface used in Image Switcher and also the interface provides the so many properties for images transaction like FADE IN FADE OUT etc...&lt;br /&gt;
&lt;br /&gt;
The following Code illustrate how can we implement Image Switcher in android..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
package a.b;&lt;br /&gt;
&lt;br /&gt;
import android.app.Activity;&lt;br /&gt;
import android.content.Context;&lt;br /&gt;
import android.os.Bundle;&lt;br /&gt;
import android.provider.ContactsContract.CommonDataKinds.Event;&lt;br /&gt;
import android.view.View;&lt;br /&gt;
import android.view.ViewGroup;&lt;br /&gt;
import android.view.Window;&lt;br /&gt;
import android.view.animation.AnimationUtils;&lt;br /&gt;
import android.widget.AdapterView;&lt;br /&gt;
import android.widget.AdapterView.OnItemSelectedListener;&lt;br /&gt;
import android.widget.BaseAdapter;&lt;br /&gt;
import android.widget.Gallery;&lt;br /&gt;
import android.widget.ImageSwitcher;&lt;br /&gt;
import android.widget.ImageView;&lt;br /&gt;
import android.widget.ViewSwitcher.ViewFactory;&lt;br /&gt;
&lt;br /&gt;
import android.app.Activity;&lt;br /&gt;
import android.os.Bundle;&lt;br /&gt;
import android.os.Handler;&lt;br /&gt;
import android.view.View;&lt;br /&gt;
import android.view.ViewGroup.LayoutParams;&lt;br /&gt;
import android.view.animation.Animation;&lt;br /&gt;
import android.view.animation.AnimationUtils;&lt;br /&gt;
import android.widget.ImageSwitcher;&lt;br /&gt;
import android.widget.ImageView;&lt;br /&gt;
import android.widget.ViewSwitcher.ViewFactory;&lt;br /&gt;
&lt;br /&gt;
public class ImageswitcherActivity extends Activity implements &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;ViewFactory&lt;/span&gt;&lt;/b&gt; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // A reference to the images contained into the drawable folder&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Integer[] m_ImageIds&lt;/span&gt;&lt;/b&gt; = {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; R.drawable.ttttt,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; R.drawable.tttttt,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; R.drawable.gg,R.drawable.imagemmm,R.drawable.imagesh,R.drawable.imageww,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; R.drawable.ff,R.drawable.ffff,R.drawable.fgg&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // The ImageSwitcher&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;ImageSwitcher m_ImageSwitcher;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // The Handler used for manage the Runnable that switch the images&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;Handler m_Handler = new Handler();&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // The index of the current image&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int m_imageIndex = 0;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; /** Called when the activity is first created. */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onCreate(Bundle savedInstanceState) {&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;b&gt; requestWindowFeature(Window.FEATURE_NO_TITLE);&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setContentView(R.layout.main);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // assign the ImageSwitcher&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_ImageSwitcher = (ImageSwitcher)findViewById(R.id.img);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_ImageSwitcher.setFactory(this);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Create the Fade in animation&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; &lt;span style=&quot;color: orange;&quot;&gt;Animation fadeIn = AnimationUtils.loadAnimation(this, android.R.anim.fade_in);&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fadeIn.setDuration(4000);&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Create the Fade out animation&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; Animation fadeOut = AnimationUtils.loadAnimation(this, android.R.anim.fade_out);&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fadeOut.setDuration(4000);&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Assign the two animations to the ImageSwitcher&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&amp;nbsp; m_ImageSwitcher.setInAnimation(fadeIn);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_ImageSwitcher.setOutAnimation(fadeOut);&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Start the Runnable&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; m_Handler.post(m_UpdateTimeTask);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public View makeView() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ImageView i = new ImageView(this);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;i.setBackgroundColor(0xFF000000);&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i.setScaleType(ImageView.ScaleType.FIT_CENTER);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i.setLayoutParams(new ImageSwitcher.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return i;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* Set the image to show into the ImageSwitcher, then post his execution after 5 seconds&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Runnable m_UpdateTimeTask = new Runnable() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void run() {&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;// Set the Image to 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; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_ImageSwitcher.setImageResource(m_ImageIds[m_imageIndex]);&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;// Increment the index&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;m_imageIndex++;&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;// if necessary restart from the first image&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;if(m_imageIndex &amp;gt; (m_ImageIds.length-1)){&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;m_imageIndex = 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; &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;// Set the execution after 5 seconds&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;m_Handler.postDelayed(this, (5 * 1000));&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; };&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android application */
google_ad_slot = &quot;5812510584&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Xml file which describe how can we Implement switcher in Xml:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_height=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:orientation=&quot;vertical&quot; &amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;ImageSwitcher android:layout_margin=&quot;10dp&quot;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_width=&quot;fill_parent&quot;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;android:id=&quot;@+id/img&quot; android:layout_height=&quot;212dp&quot;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ImageSwitcher&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;lt;/LinearLayout&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-size: large;&quot;&gt;&lt;a href=&quot;https://www.box.com/s/4b37374e62a10fed04c9&quot;&gt;DOWNLOAD THE FULL CODE&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/4572878229153276031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/06/image-switcher-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4572878229153276031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4572878229153276031'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/06/image-switcher-in-android.html' title='image switcher in android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-4260595857804894786</id><published>2012-05-17T12:01:00.000-07:00</published><updated>2012-05-18T21:28:27.010-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Emulator"/><category scheme="http://www.blogger.com/atom/ns#" term="Emulator"/><category scheme="http://www.blogger.com/atom/ns#" term="Emulator shortcuts"/><title type='text'>Emulator shortcuts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h1 itemprop=&quot;name&quot; style=&quot;border: 0px; color: #435a6e; font-family: arial, sans-serif; font-size: 1.7em; margin: 0px 0px 10px; padding: 8px 0px 0px; text-align: -webkit-auto;&quot;&gt;




Android Emulator Shortcuts&lt;/h1&gt;
&lt;h1 itemprop=&quot;name&quot; style=&quot;border: 0px; color: #435a6e; font-family: arial, sans-serif; font-size: 1.7em; margin: 0px 0px 10px; padding: 8px 0px 0px; text-align: -webkit-auto;&quot;&gt;




&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android Tab */
google_ad_slot = &quot;0574718303&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/h1&gt;
&lt;h2 id=&quot;KeyMapping&quot; style=&quot;background-color: white; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-width: 2px 0px 0px; color: #111111; font-family: arial, sans-serif; font-size: 1.45em; margin: 2em 0px 1em; padding: 0.5em 0px 0px; text-align: -webkit-auto;&quot;&gt;




Keyboard Commands&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;table-caption&quot; style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.5em; margin-left: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; style=&quot;background-color: white; border-collapse: collapse; border: 0px; clear: left; color: #333333; empty-cells: show; font-family: arial, sans-serif; font-size: 13px; margin: 0px 0px 1em 1em; padding: 0px;&quot;&gt;&lt;tbody style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;th style=&quot;background-color: #dee8f1; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;Emulated Device Key&lt;/th&gt;&lt;th style=&quot;background-color: #dee8f1; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;Keyboard Key&lt;/th&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Home&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;HOME&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Menu (left softkey)&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F2&amp;nbsp;&lt;em&gt;or&lt;/em&gt;&amp;nbsp;Page-up button&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Star (right softkey)&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;Shift-F2&amp;nbsp;&lt;em&gt;or&amp;nbsp;&lt;/em&gt;Page Down&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Back&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;ESC&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Call/dial button&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F3&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Hangup/end call button&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F4&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Search&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F5&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Power button&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F7&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Audio volume up button&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;KEYPAD_PLUS, Ctrl-F5&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Audio volume down button&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;KEYPAD_MINUS, Ctrl-F6&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Camera button&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;Ctrl-KEYPAD_5, Ctrl-F3&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Switch to previous layout orientation (for example, portrait, landscape)&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;KEYPAD_7, Ctrl-F11&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Switch to next layout orientation (for example, portrait, landscape)&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;KEYPAD_9, Ctrl-F12&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Toggle cell networking on/off&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F8&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Toggle code profiling&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F9 (only with&amp;nbsp;&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;-trace&lt;/code&gt;&amp;nbsp;startup option)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Toggle fullscreen mode&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;Alt-Enter&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Toggle trackball mode&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;F6&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Enter trackball mode temporarily (while key is pressed)&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;Delete&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;DPad left/up/right/down&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;KEYPAD_4/8/6/2&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;DPad center click&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;KEYPAD_5&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Onion alpha increase/decrease&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 6px 12px; text-align: left; vertical-align: top;&quot;&gt;KEYPAD_MULTIPLY(*) / KEYPAD_DIVIDE(/)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/4260595857804894786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/emulator-shortcuts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4260595857804894786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4260595857804894786'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/emulator-shortcuts.html' title='Emulator shortcuts'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-7448595437096233785</id><published>2012-05-17T11:53:00.000-07:00</published><updated>2012-05-18T23:52:01.131-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="logcat"/><title type='text'>logcat</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;The Android logging system provides a mechanism for collecting and viewing system debug output. Logs from various applications and portions of the system are collected in a series of circular buffers, which then can be viewed and filtered by the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #007000; font-size: 13px; line-height: 1em; text-align: -webkit-auto;&quot;&gt;logcat&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;command. You can use&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #007000; font-size: 13px; line-height: 1em; text-align: -webkit-auto;&quot;&gt;logcat&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;from an ADB shell to view the log messages.&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px; text-align: -webkit-auto;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android Tab */
google_ad_slot = &quot;0574718303&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/7448595437096233785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/logcat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7448595437096233785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7448595437096233785'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/logcat.html' title='logcat'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-1590851078513298739</id><published>2012-05-17T11:43:00.000-07:00</published><updated>2012-05-18T02:44:35.599-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DDMS"/><category scheme="http://www.blogger.com/atom/ns#" term="Debugger"/><title type='text'>DDMS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
Android ships with a debugging tool called the Dalvik Debug Monitor Server (DDMS), which provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more. This page provides a modest discussion of DDMS features; it is not an exhaustive exploration of all the features and capabilities.&lt;/div&gt;
&lt;h2 id=&quot;running&quot; style=&quot;background-color: white; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-width: 2px 0px 0px; color: #111111; font-family: arial, sans-serif; font-size: 1.45em; margin: 2em 0px 1em; padding: 0.5em 0px 0px; text-align: -webkit-auto;&quot;&gt;


Running DDMS&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
DDMS is integrated into Eclipse and is also shipped in the&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;tools/&lt;/code&gt;&amp;nbsp;directory of the SDK. DDMS works with both the emulator and a connected device. If both are connected and running simultaneously, DDMS defaults to the emulator.&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin: 0px 0px 0.8em; padding: 0px 0px 0px 2em; text-align: -webkit-auto;&quot;&gt;
&lt;li style=&quot;border: 0px; line-height: 1.3em; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;From Eclipse: Click&amp;nbsp;&lt;strong&gt;Window &amp;gt; Open Perspective &amp;gt; Other... &amp;gt; DDMS&lt;/strong&gt;.&lt;/li&gt;
&lt;li style=&quot;border: 0px; line-height: 1.3em; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;From the command line: Type&amp;nbsp;&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;ddms&lt;/code&gt;&amp;nbsp;(or&amp;nbsp;&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;./ddms&lt;/code&gt;&amp;nbsp;on Mac/Linux) from the&amp;nbsp;&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;tools/&lt;/code&gt;&amp;nbsp;directory.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;how-ddms-works&quot; style=&quot;background-color: white; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-width: 2px 0px 0px; color: #111111; font-family: arial, sans-serif; font-size: 1.45em; margin: 2em 0px 1em; padding: 0.5em 0px 0px; text-align: -webkit-auto;&quot;&gt;


How DDMS Interacts with a Debugger&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
On Android, every application runs in its own process, each of which runs in its own virtual machine (VM). Each VM exposes a unique port that a debugger can attach to.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
When DDMS starts, it connects to&amp;nbsp;&lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/DDMS&quot; style=&quot;color: #006699;&quot;&gt;adb&lt;/a&gt;. When a device is connected, a VM monitoring service is created between&amp;nbsp;&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;adb&lt;/code&gt;&amp;nbsp;and DDMS, which notifies DDMS when a VM on the device is started or terminated. Once a VM is running, DDMS retrieves the the VM&#39;s process ID (pid), via&amp;nbsp;&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;adb&lt;/code&gt;, and opens a connection to the VM&#39;s debugger, through the adb daemon (adbd) on the device. DDMS can now talk to the VM using a custom wire protocol.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android squre text */
google_ad_slot = &quot;0098445252&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
DDMS assigns a debugging port to each VM on the device. Typically, DDMS assigns port 8600 for the first debuggable VM, the next on 8601, and so on. When a debugger connects to one of these ports, all traffic is forwarded to the debugger from the associated VM. You can only attach a single debugger to a single port, but DDMS can handle multiple, attached debuggers.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
By default, DDMS also listens on another debugging port, the DDMS &quot;base port&quot; (8700, by default). The base port is a port forwarder, which can accept VM traffic from any debugging port and forward it to the debugger on port 8700. This allows you to attach one debugger to port 8700, and debug all the VMs on a device. The traffic that is forwarded is determined by the currently selected process in the DDMS Devices view.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
The following screenshot shows a typical DDMS screen in Eclipse. If you are starting DDMS from the command line, the screen is slightly different, but much of the functionality is identical. Notice that the highlighted process,&lt;code style=&quot;color: #007000; line-height: 1em;&quot;&gt;com.android.email&lt;/code&gt;, that is running in the emulator has the debugging port 8700 assigned to it as well as 8606. This signifies that DDMS is currently forwarding port 8606 to the static debugging port of 8700.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/1590851078513298739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/ddms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/1590851078513298739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/1590851078513298739'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/ddms.html' title='DDMS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-8031989245775831442</id><published>2012-05-17T11:14:00.001-07:00</published><updated>2012-05-21T05:21:06.313-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Emulator"/><title type='text'>Android Emulator</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;The &lt;b&gt;emulator&lt;/b&gt; which act as an&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; line-height: 1.3em;&quot;&gt;android OS devices.Our application can run only the Emulator.Emulator is the Interface between our android program or application.During the call,message services to emulator can communicate to each other.Emulator property can edit using AVD manager.New Emulator is also can start using AVD manager.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Arial, Helvetica, sans-serif; line-height: 1.3em;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android Tab */
google_ad_slot = &quot;0574718303&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In Eclipse AVD manager can easily lunched by Eclipse-&amp;gt;windows-&amp;gt;Android SDK and AVD manager.And also during the cration of new AVD\Emulator we have to mention the SD card space. .&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/8031989245775831442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/android-emulator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/8031989245775831442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/8031989245775831442'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/android-emulator.html' title='Android Emulator'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-2884603913884997199</id><published>2012-05-17T10:29:00.000-07:00</published><updated>2012-05-21T05:11:02.274-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AbsoluteLayout"/><category scheme="http://www.blogger.com/atom/ns#" term="FrameLayout"/><category scheme="http://www.blogger.com/atom/ns#" term="Layout Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="LinearLayout"/><category scheme="http://www.blogger.com/atom/ns#" term="RelativeLayout"/><category scheme="http://www.blogger.com/atom/ns#" term="TableLayout"/><title type='text'>Android Layout Tutorial</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;An &lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/What%20is%20android&quot;&gt;Android&lt;/a&gt; layout is a class that handles arranging the way its children appear on the screen.&amp;nbsp; Anything that is a View (or inherits from &lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/UI%20Components&quot;&gt;View&lt;/a&gt;) can be a child of a layout. All of the layouts inherit from ViewGroup (which inherits from View) so you can nest layouts.&amp;nbsp; You could also create your own custom layout by making a class that inherits from ViewGroup&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;h1&gt;




&lt;script language=&quot;JavaScript1.2&quot;&gt;
var message=&quot;Download Layout Sample Project!&quot;
var neonbasecolor=&quot;gray&quot;
var neontextcolor=&quot;blue&quot;
var neontextcolor2=&quot;#FFFFA8&quot;
var flashspeed=100      // speed of flashing in milliseconds
var flashingletters=5      // number of letters flashing in neontextcolor
var flashingletters2=1      // number of letters flashing in neontextcolor2 (0 to disable)
var flashpause=0      // the pause between flash-cycles in milliseconds

///No need to edit below this line/////

var n=0
if (document.all||document.getElementById){
document.write(&#39;&lt;font color=&quot;&#39;+neonbasecolor+&#39;&quot;&gt;&#39;)
for (m=0;m&lt;message.length;m++)
document.write(&#39;&lt;span id=&quot;neonlight&#39;+m+&#39;&quot;&gt;&#39;+message.charAt(m)+&#39;&lt;/span&gt;&#39;)
document.write(&#39;&lt;/font&gt;&#39;)
}
else
document.write(message)

function crossref(number){
var crossobj=document.all? eval(&quot;document.all.neonlight&quot;+number) : document.getElementById(&quot;neonlight&quot;+number)
return crossobj
}

function neon(){

//Change all letters to base color
if (n==0){
for (m=0;m&lt;message.length;m++)
crossref(m).style.color=neonbasecolor
}

//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor

if (n&gt;flashingletters-1) crossref(n-flashingletters).style.color=neontextcolor2 
if (n&gt;(flashingletters+flashingletters2)-1) crossref(n-flashingletters-flashingletters2).style.color=neonbasecolor


if (n&lt;message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout(&quot;beginneon()&quot;,flashpause)
return
}
}

function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval(&quot;neon()&quot;,flashspeed)
}
beginneon()
&lt;/script&gt;&lt;/h1&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;AbsoluteLayou&lt;/a&gt;t&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;FrameLayout&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;LinearLayout&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;RelativeLayout&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;TableLayout&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;b&gt;&lt;u&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android */
google_ad_slot = &quot;5334199707&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;AbsoluteLayout&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;AbsoluteLayout is based on the simple idea of placing each control at an absolute position.&amp;nbsp; You specify the exact x and y coordinates on the screen for each control.&amp;nbsp; This is not recommended for most UI development (in fact AbsoluteLayout is currently deprecated) since absolutely positioning every element on the screen makes an inflexible UI that is much more difficult to maintain.&amp;nbsp; Consider what happens if a control needs to be added to the UI. You would have to change the position of every single element that is shifted by the new control.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: arial, helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;xml&quot; style=&quot;background-color: #f9f9f9; 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;&amp;lt;AbsoluteLayout&lt;/span&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 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;&amp;lt;Button&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/backbutton&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;Back&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_x&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;10px&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_y&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;5px&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;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 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;&amp;lt;TextView&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_x&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;10px&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_y&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;110px&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;First Name&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;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 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;&amp;lt;EditText&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_x&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;150px&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_y&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100px&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100px&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;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 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;&amp;lt;TextView&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_x&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;10px&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_y&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;160px&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;Last Name&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;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 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;&amp;lt;EditText&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:layout_x&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;150px&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_y&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;150px&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100px&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;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 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;&amp;lt;/AbsoluteLayout&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;FrameLayout&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;FrameLayout is designed to display a single item at a time. You can have multiple elements within a FrameLayout but each element will be positioned based on the top left of the screen. Elements that overlap will be displayed overlapping. I have created a simple XML layout using FrameLayout that shows how this works.&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;xml&quot; style=&quot;background-color: #f9f9f9; 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;&amp;lt;FrameLayout&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;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 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;&amp;lt;ImageView&lt;/span&gt; &lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;android:src&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:scaleType&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;fitCenter&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:layout_width&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;&amp;lt;TextView&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;Learn-Android.com&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;android:textSize&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;24sp&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;  &lt;span style=&quot;color: #000066;&quot;&gt;android:textColor&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;#000000&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: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:gravity&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;center&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;&amp;lt;/FrameLayout&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: georgia, times, serif; font-size: 1.4em; line-height: 28px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;LinearLayout&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;LinearLayout organizes elements along a single line. You specify whether that line is &lt;i&gt;verticle&lt;/i&gt; or &lt;i&gt;horizontal&lt;/i&gt; using android:orientation. Here is a sample Layout XML using LinearLayout.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
&lt;/div&gt;
&lt;pre class=&quot;xml&quot; style=&quot;background-color: #f9f9f9; 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;&amp;lt;LinearLayout&lt;/span&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;horizontal&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;&amp;lt;Button&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/backbutton&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;Back&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;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 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;&amp;lt;TextView&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;First Name&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;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 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;&amp;lt;EditText&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100px&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;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 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;&amp;lt;TextView&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;Last Name&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;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 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;&amp;lt;EditText&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;span style=&quot;color: #000066;&quot;&gt;android:width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100px&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;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 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;&amp;lt;/LinearLayout&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;TableLayout&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;TableLayout organizes content into rows and columns. The rows are defined in the layout XML, and the columns are determined automatically by Android. This is done by creating at least one column for each element. So, for example, if you had a row with two elements and a row with five elements then you would have a layout with two rows and five columns.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
You can specify that an element should occupy more than one column using android:layout_span. This can increase the total column count as well, so if we have a row with two elements and each element has android:layout_span=”3″ then you will have at least six columns in your table.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
By default, Android places each element in the first unused column in the row. You can, however, specify the column an element should occupy using android:layout_column.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
Here is some sample XML using TableLayout.&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; color: #110000; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 21px; margin: 0px 0px 1.5em; overflow-x: auto; overflow-y: hidden; width: 728px;&quot;&gt;
&lt;div class=&quot;code&quot; style=&quot;padding: 2px 4px; vertical-align: top;&quot;&gt;
&lt;pre class=&quot;xml&quot; style=&quot;clear: none; float: none; 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;&amp;lt;TableLayout&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;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 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;&amp;lt;TableRow&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;&amp;lt;Button&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/backbutton&quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;      &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;Back&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;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 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;&amp;lt;/TableRow&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;&amp;lt;TableRow&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;&amp;lt;TextView&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;      &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;First Name&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;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:layout_column&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;1&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;&amp;lt;EditText&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;      &lt;span style=&quot;color: #000066;&quot;&gt;android:width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100px&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;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 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;&amp;lt;/TableRow&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;&amp;lt;TableRow&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;&amp;lt;TextView&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;      &lt;span style=&quot;color: #000066;&quot;&gt;android:text&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;Last Name&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;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:layout_column&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;1&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;&amp;lt;EditText&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;      &lt;span style=&quot;color: #000066;&quot;&gt;android:width&lt;/span&gt;=&lt;span style=&quot;color: red;&quot;&gt;&quot;100px&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;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 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;&amp;lt;/TableRow&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;&amp;lt;/TableLayout&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/2884603913884997199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/android-layout-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/2884603913884997199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/2884603913884997199'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/android-layout-tutorial.html' title='Android Layout Tutorial'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-1551830202199213261</id><published>2012-05-16T06:20:00.001-07:00</published><updated>2012-05-21T05:07:29.550-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="assets in Android"/><title type='text'>assets in Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;Android&lt;/a&gt; offers one more directory where you can keep files which also will be included in package. This directory called&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;/assets&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;. The difference between&lt;/span&gt;&lt;strong style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;/res&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;/assets&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;is that Android doesn’t generate&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;IDs&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;for&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;assets&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;content. You need to specify relative path and name for files inside&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/&quot;&gt;/assets&lt;/a&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;.&lt;/span&gt;&lt;span id=&quot;more-478&quot; style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android */
google_ad_slot = &quot;5334199707&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/1551830202199213261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/assets-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/1551830202199213261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/1551830202199213261'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/assets-in-android.html' title='assets in Android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-321399141046193901</id><published>2012-05-16T03:56:00.000-07:00</published><updated>2012-05-21T05:06:45.342-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="uses-permission"/><title type='text'>uses-permission</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Uses Permission&lt;/span&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android */
google_ad_slot = &quot;5334199707&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;dt style=&quot;background-color: white; border-width: 0px; font-variant: small-caps; line-height: 1.3em; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Syntax&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; border-width: 0px; font-variant: small-caps; line-height: 1.3em; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; border-width: 0px; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-variant: small-caps; line-height: 24px;&quot;&gt;&lt;b&gt;&amp;lt;uses-permission android:name=&quot;string&quot; /&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; border-width: 0px; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-variant: small-caps; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; border-width: 0px; font-variant: small-caps; line-height: 1.3em; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;contained in&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd style=&quot;background-color: white; border-width: 0px; line-height: 16px; margin: 0px 0px 1em; padding: 0px 0px 0px 2em; text-align: -webkit-auto;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;manifest&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/dd&gt;
&lt;dt style=&quot;background-color: white; border-width: 0px; font-variant: small-caps; line-height: 1.3em; margin: 0px; padding: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Explanation&lt;/b&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd style=&quot;background-color: white; border-width: 0px; margin: 0px 0px 1em; padding: 0px 0px 0px 2em; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;Permission which allow to run the application&amp;nbsp;correctly.Manifest file which describe what permissions are used in the android application.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android squre text */
google_ad_slot = &quot;0098445252&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border-width: 0px; color: #333333; line-height: 1.3em; margin-top: 1em; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/dd&gt;
&lt;dt style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: arial, sans-serif; font-size: 1.2em; font-variant: small-caps; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/321399141046193901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/uses-permission.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/321399141046193901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/321399141046193901'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/uses-permission.html' title='uses-permission'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-4067406885666144452</id><published>2012-05-16T02:26:00.000-07:00</published><updated>2012-05-21T04:55:48.046-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AndroidManifes"/><title type='text'>The AndroidManifest.xml File</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;All android project contains the Manifest file in the root directory,The manifest file which keep the essential details about the application.The Manifest file which explain the following facts:-&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border-width: 0px; margin: 0px 0px 0.8em; padding: 0px 0px 0px 2em; text-align: -webkit-auto;&quot;&gt;
&lt;li style=&quot;border-width: 0px; color: #333333; line-height: 1.3em; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It keep the application name and Image thump&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-width: 0px; color: #333333; line-height: 1.3em; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It give the information about the package of the application&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-width: 0px; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 1.3em;&quot;&gt;It mainly provide the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;components used in the&amp;nbsp;Application&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-width: 0px; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 16px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;And also define the permissions used in the application.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-width: 0px; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It provide the API level of the application.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-width: 0px; margin: 0px; padding: 0px 0px 0.5em;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;And then manifest file provide the information about the libraries used in the application.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android squre text */
google_ad_slot = &quot;0098445252&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/4067406885666144452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/androidmanifestxml-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4067406885666144452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4067406885666144452'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/androidmanifestxml-file.html' title='The AndroidManifest.xml File'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-5690358274384619865</id><published>2012-05-16T00:23:00.000-07:00</published><updated>2012-05-21T04:48:23.347-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android API Levels"/><title type='text'>Android API Levels</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 1.7em;&quot;&gt;Android API Levels&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android application */
google_ad_slot = &quot;5812510584&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h1 itemprop=&quot;name&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.7em; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 8px;&quot;&gt;





&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; line-height: 1.3em;&quot;&gt;&amp;nbsp;API which means &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.3em;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;application program interface&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; line-height: 1.3em;&quot;&gt;.API useful to understand the platform&#39;s &amp;nbsp;approach to API change management. It&#39;s also important to understand the API Level identifier and the role it plays in ensuring your application&#39;s compatibility with devices on which it may be installed.&lt;/span&gt;&lt;/h1&gt;
&lt;span style=&quot;background-color: white; color: blue; font-size: 1.45em; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;What is API Level?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; border-width: 0px; color: #333333; font-size: 13px; line-height: 1.3em; margin: 0px 0px 0.8em; padding: 0px 0px 0px 2em; text-align: -webkit-auto;&quot;&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It is the core set of packages and classes&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Set of XML elements and attributes for declaring a manifest file&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It is set of XML elements and attributes for declaring and accessing resources&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Set of Intents&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;And also the &amp;nbsp;set of permissions that applications can request, as well as permission enforcements included in the system&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; color: #333333; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table style=&quot;background-color: white; border-collapse: collapse; border-width: 0px; color: #333333; empty-cells: show; font-size: 13px; margin: 0px 0px 1em 1em; padding: 0px;&quot;&gt;&lt;tbody style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;th style=&quot;background-color: #dee8f1; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Version&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;background-color: #dee8f1; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;API Level&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;background-color: #dee8f1; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;VERSION_CODE&lt;/span&gt;&lt;/th&gt;&lt;th style=&quot;background-color: #dee8f1; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Notes&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 4.0.3&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;15&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;ICE_CREAM_SANDWICH_MR1&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 4.0, 4.0.1, 4.0.2&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;ICE_CREAM_SANDWICH&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 3.2&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;13&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;HONEYCOMB_MR2&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 3.1.x&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;12&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;HONEYCOMB_MR1&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 3.0.x&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;11&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;HONEYCOMB&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Android 2.3.4&lt;span id=&quot;goog_1008586494&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1008586495&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 2.3.3&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;10&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;GINGERBREAD_MR1&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1008586497&quot;&gt;Android 2.3.2&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1008586497&quot;&gt;Android 2.3.1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 2.3&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;9&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;GINGERBREAD&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 2.2.x&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;8&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;FROYO&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 2.1.x&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;7&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;ECLAIR_MR1&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td rowspan=&quot;3&quot; style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 2.0.1&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;6&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;ECLAIR_0_1&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 2.0&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;5&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;ECLAIR&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 1.6&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;DONUT&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 1.5&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;CUPCAKE&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Platform Highlights&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 1.1&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;BASE_1_1&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android 1.0&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;code style=&quot;line-height: 1em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;BASE&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;background-color: inherit; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 6px; padding-left: 12px; padding-right: 12px; padding-top: 6px; text-align: left; vertical-align: top;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 id=&quot;uses&quot; style=&quot;background-color: white; border-width: 2px 0px 0px; font-size: 1.45em; margin: 2em 0px 1em; padding: 0.5em 0px 0px; text-align: -webkit-auto;&quot;&gt;




&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android squre text */
google_ad_slot = &quot;0098445252&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/5690358274384619865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/android-api-levels.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/5690358274384619865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/5690358274384619865'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/android-api-levels.html' title='Android API Levels'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-7298986893720742795</id><published>2012-05-15T23:41:00.000-07:00</published><updated>2012-05-21T03:46:48.257-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Intent"/><category scheme="http://www.blogger.com/atom/ns#" term="Intents and Intent Filters"/><title type='text'>Intents and Intent Filters</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;In android mainly it have three&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 15px;&quot;&gt;components&lt;/span&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&amp;nbsp; Activity,&lt;/span&gt;&lt;span style=&quot;line-height: 15px;&quot;&gt;&amp;nbsp;services&lt;/span&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;,broadcast receiver the are activated through the Intent.Intent for activity is represent as follows:-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #7f0055; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #7f0055; font-weight: bold;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;b&gt;&amp;nbsp;Activity1&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;color: #222222; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;Activity&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;implements&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;b style=&quot;color: #222222; font-weight: bold;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;b style=&quot;color: #222222; font-weight: bold;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;To down load the Sample code click the below link&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;b style=&quot;color: #222222; font-weight: bold;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;b style=&quot;color: #222222; font-weight: bold;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android Tab */
google_ad_slot = &quot;0574718303&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;b style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;b&gt;&lt;b&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/New%20Activity%20on%20button%20click&quot;&gt;New Activity on Button Click&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/7298986893720742795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/intents-and-intent-filters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7298986893720742795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/7298986893720742795'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/intents-and-intent-filters.html' title='Intents and Intent Filters'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-4257259569703336497</id><published>2012-05-15T21:36:00.000-07:00</published><updated>2012-05-21T03:35:34.591-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adapters"/><category scheme="http://www.blogger.com/atom/ns#" term="Input Events"/><category scheme="http://www.blogger.com/atom/ns#" term="Layout"/><category scheme="http://www.blogger.com/atom/ns#" term="Menus"/><category scheme="http://www.blogger.com/atom/ns#" term="UI Components"/><category scheme="http://www.blogger.com/atom/ns#" term="Widgets"/><title type='text'>UI Components  Views and notifications</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;h1 itemprop=&quot;name&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 1.7em; line-height: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 8px;&quot;&gt;









&lt;span style=&quot;color: blue;&quot;&gt;User Interface&lt;/span&gt;&lt;/h1&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;In android user interface is mainly built using View and ViewGroup objects.View objects are the basic units of user interface and also View object is a data structure whose properties store the layout parameters and content for a specific rectangular area of the screen&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 1.3em;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android text */
google_ad_slot = &quot;4069083876&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;jd-descr&quot; itemprop=&quot;articleBody&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;h2 id=&quot;ViewHierarchy&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 2px; font-size: 1.45em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;








&lt;span style=&quot;color: blue;&quot;&gt;View Hierarchy&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
On the Android platform, you define an Activity&#39;s UI using a hierarchy of View and ViewGroup nodes,&amp;nbsp;&lt;/div&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;http://developer.android.com/images/viewgroup.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 1em; margin-left: 1em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 1.3em;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;h2 id=&quot;Layout&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 2px; font-size: 1.45em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;








&lt;span style=&quot;color: blue;&quot;&gt;Layout&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The most common way to define your layout and express the view hierarchy is with an&lt;b&gt;&lt;u&gt; &lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/Layout%20Tutorial&quot;&gt;XML layout&lt;/a&gt;&lt;/u&gt;&lt;/b&gt; file.&amp;nbsp;&lt;/div&gt;
&lt;h2 id=&quot;Widgets&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 2px; font-size: 1.45em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;








&lt;span style=&quot;color: blue;&quot;&gt;Widgets&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Widget is a user interface which input the user value.mainly used widgets are button,check box,Text field are the mainly used widgets.&lt;/div&gt;
&lt;h2 id=&quot;Menus&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 2px; font-size: 1.45em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;








&lt;span style=&quot;color: blue;&quot;&gt;Menus&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Menu is one of the another UI.which also input the value from the user.Context menu.Optional menu are the mainly used UI menus used in android.&lt;/div&gt;
&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/4257259569703336497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/ui-components-views-and-notifications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4257259569703336497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4257259569703336497'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/ui-components-views-and-notifications.html' title='UI Components  Views and notifications'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-5040615664330010442</id><published>2012-05-15T21:17:00.000-07:00</published><updated>2012-05-20T05:53:34.717-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Activities"/><category scheme="http://www.blogger.com/atom/ns#" term="Basic Building blocks"/><category scheme="http://www.blogger.com/atom/ns#" term="Basics of Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Broadcast Receivers and Content providers"/><category scheme="http://www.blogger.com/atom/ns#" term="Services"/><title type='text'>Basic Building blocks  Activities Services Broadcast Receivers and Content providers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Basic Building blocks&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; line-height: 1.3em; text-align: -webkit-auto;&quot;&gt;Android application is written in java program.But android phone tabs&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;&quot;&gt;cant&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; line-height: 1.3em; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;be execute the java file directly.Android os supporting devices like phone and Tabs contain &amp;nbsp;Dalvik Virtual machine.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; line-height: 1.3em; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; line-height: 16px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Android program is mainly run on the Dalvik environment that is DALVIK VIRTUAL MACHINE.Dalvik Virtual Machine is &amp;nbsp;register based virtual machine,designed and written by Dan Borstin with the contribution of Google engineers.Features DVM is mainly optimized for low memory requirements and It designed to multiple VM instance to run at once,It also support for process isolation and Memmory management and Threading support.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; line-height: 1.3em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; color: #333333; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 1.3em; text-align: -webkit-auto;&quot;&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android text */
google_ad_slot = &quot;4069083876&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; line-height: 16px;&quot;&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 id=&quot;Components&quot; style=&quot;background-color: white; border-width: 2px 0px 0px; margin: 2em 0px 1em; padding: 0.5em 0px 0px; text-align: -webkit-auto;&quot;&gt;










&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Application Components&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; line-height: 1.3em; margin-bottom: 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;
&lt;ul style=&quot;color: #333333; text-align: left;&quot;&gt;
&lt;li&gt;&lt;b style=&quot;background-color: white; color: black; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Activities&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;background-color: white; color: black; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;color: black; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Services&lt;/span&gt;&lt;/b&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;background-color: white; color: black; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b style=&quot;color: black; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Content providers&lt;/span&gt;&lt;/b&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;background-color: white; color: black; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b style=&quot;color: black; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Broadcast receivers&lt;/span&gt;&lt;/b&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #333333;&quot;&gt;
&lt;b style=&quot;background-color: white; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Activities&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;dl style=&quot;background-color: white; border-width: 0px; margin: 0px 0px 1em; padding: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;dd style=&quot;border-width: 0px; margin: 0px 0px 1em; padding: 0px 0px 0px 2em;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;Activity represent a single screen with a user interface.Each of the screen are independent to each other.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;To extend the features of the Activity we have to extend the class as follows:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #222222; line-height: 18px; text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #222222; line-height: 18px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;class&lt;/span&gt;&amp;nbsp;Activity1&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;Activity&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;implements&amp;nbsp;&lt;/span&gt;OnClickListener&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border-width: 0px; color: #333333; line-height: 1.3em; margin-top: 1em; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;b style=&quot;background-color: white; line-height: 1.3em;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Services&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/dd&gt;
&lt;dd style=&quot;border-width: 0px; margin: 0px 0px 1em; padding: 0px 0px 0px 2em;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;service also a componet that run in the Background to perform long running action.musuc player is the one of the example for Services.Service need to declard &amp;nbsp;in the androidmanifest.xml as follows:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&amp;lt;service android:name=&quot;yourclasss&quot;&amp;gt; &amp;lt;/service&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;and also mention the running services as &amp;nbsp;&lt;b&gt;android:process=&quot;:process_description&quot;&lt;/b&gt; attribute.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/dd&gt;
&lt;dt style=&quot;border-width: 0px; line-height: 1.3em; margin: 0px; padding: 0px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Content providers&lt;/span&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd style=&quot;border-width: 0px; margin: 0px 0px 1em; padding: 0px 0px 0px 2em;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;Content provider which manages a shared set of application of data.&lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/Shared%20preference&quot;&gt;Shared&amp;nbsp;pref referenc&lt;/a&gt;e&amp;nbsp;and &lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/Bundle%20for%20Sharing&quot;&gt;bundle&lt;/a&gt; mainly handle the Content provider services&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 1.3em;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;
&lt;dt style=&quot;border-width: 0px; line-height: 1.3em; margin: 0px; padding: 0px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Broadcast receivers&lt;/span&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd style=&quot;border-width: 0px; margin: 0px 0px 1em; padding: 0px 0px 0px 2em;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;Broadcast component that respond to system wide broadcast announcent-for example during the low battery time we cant take the snap using camera function this is because the camera application get the system status through the Broadcast receiver&lt;/span&gt;&lt;/span&gt;&lt;/dd&gt;&lt;/dl&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/5040615664330010442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/basic-building-blocks-activities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/5040615664330010442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/5040615664330010442'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/basic-building-blocks-activities.html' title='Basic Building blocks  Activities Services Broadcast Receivers and Content providers'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-4415494889806822551</id><published>2012-05-15T11:51:00.000-07:00</published><updated>2012-05-20T05:14:37.900-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basics of Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Dalvik virtual machine and apk Extention"/><title type='text'>Dalvik virtual machine and apk Extention</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;
&lt;strong&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;Dalvik virtual machine&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;b&gt;Android&lt;/b&gt; program is mainly run on the Dalvik environment that is DALVIK VIRTUAL MACHINE. Dalvik Virtual Machine is &amp;nbsp;register based virtual machine,designed and written by &lt;b&gt;Dan Borstin &lt;/b&gt;with the contribution of Google engineers.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;Features&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;It is optimized for low memory requirements.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;It designed to multiple VM instance to run at once&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;It also support for process isolation&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;Memmory management and Threading support&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif; text-align: -webkit-auto;&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android application */
google_ad_slot = &quot;5812510584&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
A tool named&amp;nbsp;&lt;strong&gt;dx&lt;/strong&gt;, included in the Android SDK, transforms the Java Class files of Java classes compiled by a regular Java compiler into another class file format (the .dex format).&lt;/div&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h1 class=&quot;firstHeading&quot; id=&quot;firstHeading&quot; style=&quot;background-image: none; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; font-family: sans-serif; font-size: 1.6em; font-weight: normal; line-height: 1.2em; margin: 0px 0px 0.1em; overflow: hidden; padding-bottom: 0px; padding-top: 0px;&quot;&gt;





&lt;span dir=&quot;auto&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;APK&lt;/span&gt; &lt;/a&gt;(Android application package)&lt;/span&gt;&lt;/h1&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;APK is the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;file format&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&amp;nbsp;used to distribute and install&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;application software&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;middleware&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&amp;nbsp;onto Google&#39;s&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;Android&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;operating system that is android devices like phone and tabs. To build an APK file, a program for Android is first compiled, and then all of its parts are packaged into one file that file which hold the apk&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;extension&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;. and also holds all of that program&#39;s code such as (.dex files), resources, assets, certificates, and manifest file. As is the case with many file formats, APK files can have any name needed, but must end with the four character, three letter extension, .apk.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/4415494889806822551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/dalvik-virtual-machine-and-apk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4415494889806822551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4415494889806822551'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/dalvik-virtual-machine-and-apk.html' title='Dalvik virtual machine and apk Extention'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-113297373889453587</id><published>2012-05-15T11:24:00.000-07:00</published><updated>2012-05-18T21:24:54.494-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basics of Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Setting up development environment of Android in WINDOWS"/><title type='text'>Setting up development environment of Android in WINDOWS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;











&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&lt; u=&quot;&quot;&gt;&lt;/u&lt;&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;Setting up development environment of Android in &lt;/u&gt;&lt;/span&gt;&lt;b style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;For Windows XP&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android */
google_ad_slot = &quot;5334199707&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div&gt;
&lt;embed allowfullscreen=&quot;true&quot; allowscriptaccess=&quot;always&quot; height=&quot;1500&quot; src=&quot;https://www.box.com/embed/18cptg7xopbnook.swf&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;500&quot; wmode=&quot;opaque&quot;&gt;&lt;/embed&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/113297373889453587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/setting-up-development-environment-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/113297373889453587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/113297373889453587'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/setting-up-development-environment-of.html' title='Setting up development environment of Android in WINDOWS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-4431592817693559846</id><published>2012-05-15T07:58:00.000-07:00</published><updated>2012-05-20T04:54:09.766-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basics of Android"/><category scheme="http://www.blogger.com/atom/ns#" term="What is android"/><title type='text'>Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h1 itemprop=&quot;name&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #435a6e; font-family: arial, sans-serif; font-size: 1.7em; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 8px; text-align: -webkit-auto;&quot;&gt;



&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;What is Android?&lt;/a&gt;&lt;/h1&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot;&gt;
    &lt;tbody&gt;
&lt;tr&gt;
        &lt;td&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android text */
google_ad_slot = &quot;4069083876&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://www.box.com/s/cadd0632b1be8ff3f905&quot; target=&quot;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Context menu&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;It is long press menu.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&amp;nbsp;&lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/Context%20menu%20in%20android&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;view Contex menu code&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://www.box.com/s/02e458cfd8f549432603&quot; target=&quot;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;List View in android&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;List view which provide List of content.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&amp;nbsp;&lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/Listview&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;view List View code&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://www.box.com/s/5e2f381bad413fd93702&quot; target=&quot;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;List View + Context menu &amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;List view and context menu&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&amp;nbsp;&lt;a href=&quot;http://androidcodeplus.blogspot.in/search/label/Listview&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;view List View code&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15px;&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://www.box.com/s/6cdf3b82a8ba53a63c7f&quot; target=&quot;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Display Google Map in Android&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;Display the map in android phone&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&amp;nbsp;&lt;a href=&quot;http://androidcodeplus.blogspot.in/p/android.html&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;view map code&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif; font-size: 13px; line-height: 15px; text-align: justify;&quot;&gt;There are different mobiles and computers operating systems like different models of computers and mobiles.&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif; font-size: 13px; line-height: 15px; text-align: justify;&quot;&gt;Android&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif; font-size: 13px; line-height: 15px; text-align: justify;&quot;&gt;&amp;nbsp;is one of the operating systems using by the smart phones.&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif; font-size: 13px; line-height: 15px; text-align: justify;&quot;&gt;Android&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif; font-size: 13px; line-height: 15px; text-align: justify;&quot;&gt;&amp;nbsp;is not simply an operating system rather hardware and programming languages are also use this Android Technology.&lt;/span&gt;
&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Android&lt;/a&gt; is a mobile software stack for mobile ,Tab devices. It also includes an operating system, middleware and key applications. The&lt;/span&gt;Android SDK&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&amp;nbsp;provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border-width: 0px; font-size: 13px; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;strong style=&quot;color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif; line-height: 15px; text-align: justify;&quot;&gt;Android&lt;/strong&gt;&lt;span style=&quot;color: #4b4b4b; font-family: arial, tahoma, verdana, sans-serif; line-height: 15px; text-align: justify;&quot;&gt;&amp;nbsp;was invented by an anonymous company but later on Google has taken its copyrights reserved and is now doing further development in this technology. It is Linux based technology that uses Unix as an operating system. Linux is the most recent technology in the field of communication and computing. It is therefore Android is demanded by most of the users to have it their operating system. &amp;nbsp;However it is also a fact that Google is offering an open choice for the users to modify and add any new application without even bring on the notice of Google. Anyone can upload a new application on the Android platform as App Store to either free or payable. These application uploads by the users can be easily download by the users and enjoy more features like additional games, interactive media and business plan.&lt;/span&gt;
&lt;/div&gt;
&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr&gt;
        &lt;td colspan=&quot;2&quot;&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: arial, sans-serif; font-size: 1.45em; text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue; font-family: arial, sans-serif; font-size: 1.45em; text-align: left;&quot;&gt;&lt;a href=&quot;http://androidcodeplus.blogspot.com/&quot;&gt;Features&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 1.3em; margin-bottom: 0.8em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 2em; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Fast and easy application development&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Application framework(Eclipse IDE basecdevelopment)&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Dalvik virtual machine&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;b&gt;AVD managenent&lt;/b&gt;&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Integrated browser&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Optimized graphics&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;SQLite&lt;/strong&gt;&amp;nbsp;for structured data storage&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Media support&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;GSM Telephony&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Bluetooth, EDGE, 3G, and WiFi&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Camera, GPS, compass, and accelerometer&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Rich development environment,more editable and updateable&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 1.3em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.5em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong&gt;Breaking down the application boundries&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=3025480310592656813&quot; id=&quot;os_architecture&quot; name=&quot;os_architecture&quot; style=&quot;background-color: white; color: #006699; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/4431592817693559846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/what-is-android-context-menu-is-long.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4431592817693559846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4431592817693559846'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/what-is-android-context-menu-is-long.html' title='Android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-6949208578220876298</id><published>2012-05-11T08:53:00.003-07:00</published><updated>2012-05-11T08:53:48.286-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IPhone Tutorials"/><title type='text'>IPhone Tutorials</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://iostutorialgenerator.blogspot.in/p/ios.html&quot; target=&quot;_blank&quot;&gt;IPhone Tutorials&lt;/a&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* android1 */
google_ad_slot = &quot;2335198479&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/6949208578220876298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/iphone-tutorials.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/6949208578220876298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/6949208578220876298'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/iphone-tutorials.html' title='IPhone Tutorials'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-824182427659761830</id><published>2012-05-11T08:32:00.001-07:00</published><updated>2012-05-11T08:32:59.578-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5 integration in android"/><title type='text'>HTML5 Integration in android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android tutorial */
google_ad_slot = &quot;5924352848&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;span style=&quot;color: orange; font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;HTML5 Integra&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;color: orange; font-size: xx-large;&quot;&gt;&lt;u&gt;tion&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;1, Open New android project&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2,Add &quot;&lt;span style=&quot;background-color: orange;&quot;&gt;WebView&lt;/span&gt;&quot; web kit in xml file&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: orange;&quot;&gt;&amp;lt;WebView&lt;/span&gt; &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;background-color: orange;&quot;&gt;android:layout_width=&quot;fill_parent&quot;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;background-color: orange;&quot;&gt;android:layout_height=&quot;fill_parent&quot;&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;background-color: orange;&quot;&gt;android:id=&quot;@+id/webview&quot;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &lt;span style=&quot;background-color: orange;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;3,&amp;nbsp;Refer&amp;nbsp;the WebView in Activity file&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: orange;&quot;&gt;Webview webview = (WebView) findViewById(R.id.webview);&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;4, Add Html file to the assets folder-&amp;gt; Right click the assets folder -&amp;gt;create new folder name www &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; then Right click www folder and add file with html extention&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;5,Refer the html with as following&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: orange;&quot;&gt;webview.loadUrl(&quot;file:///android_asset/www/index.html&quot;);&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: orange;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android tutorial */
google_ad_slot = &quot;5924352848&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;background-color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://www.box.com/s/402c2c4cdc68113110b4&quot; style=&quot;background-color: white;&quot; target=&quot;_blank&quot;&gt;Down load the Example Project&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;h2&gt;





&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;
&lt;script language=&quot;JavaScript1.2&quot;&gt;
/*
Neon Lights Text
By JavaScript Kit (http://javascriptkit.com)
For this script, TOS, and 100s more DHTML scripts,
Visit http://www.dynamicdrive.com
*/

var message=&quot;CLICK HERE TO DOWNLOAD!&quot;
var neonbasecolor=&quot;gray&quot;
var neontextcolor=&quot;red&quot;
var flashspeed=100  //in milliseconds

///No need to edit below this line/////

var n=0
if (document.all||document.getElementById){
document.write(&#39;&lt;font color=&quot;&#39;+neonbasecolor+&#39;&quot;&gt;&#39;)
for (m=0;m&lt;message.length;m++)
document.write(&#39;&lt;span id=&quot;neonlight&#39;+m+&#39;&quot;&gt;&#39;+message.charAt(m)+&#39;&lt;/span&gt;&#39;)
document.write(&#39;&lt;/font&gt;&#39;)
}
else
document.write(message)

function crossref(number){
var crossobj=document.all? eval(&quot;document.all.neonlight&quot;+number) : document.getElementById(&quot;neonlight&quot;+number)
return crossobj
}

function neon(){

//Change all letters to base color
if (n==0){
for (m=0;m&lt;message.length;m++)
//eval(&quot;document.all.neonlight&quot;+m).style.color=neonbasecolor
crossref(m).style.color=neonbasecolor
}

//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor

if (n&lt;message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout(&quot;beginneon()&quot;,1500)
return
}
}

function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval(&quot;neon()&quot;,flashspeed)
}
beginneon()
&lt;/script&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* androplus map */
google_ad_slot = &quot;5691878042&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/824182427659761830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/html5-integration-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/824182427659761830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/824182427659761830'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/html5-integration-in-android.html' title='HTML5 Integration in android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-6122864675681012287</id><published>2012-05-07T00:19:00.000-07:00</published><updated>2012-05-07T00:19:13.259-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Display map in android"/><category scheme="http://www.blogger.com/atom/ns#" term="MAP integration"/><category scheme="http://www.blogger.com/atom/ns#" term="Map route between two geopoint in android"/><category scheme="http://www.blogger.com/atom/ns#" term="Road drawing in android"/><title type='text'>Map route between two geopoint in android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;1,MapRouteActivity.java&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android */
google_ad_slot = &quot;5334199707&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
package e.eg;&lt;br /&gt;
import java.io.IOException;&lt;br /&gt;
import java.io.InputStream;&lt;br /&gt;
import java.net.MalformedURLException;&lt;br /&gt;
import java.net.URL;&lt;br /&gt;
import java.net.URLConnection;&lt;br /&gt;
import java.util.ArrayList;&lt;br /&gt;
import java.util.List;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
import android.graphics.Bitmap;&lt;br /&gt;
import android.graphics.Canvas;&lt;br /&gt;
import android.graphics.Color;&lt;br /&gt;
import android.graphics.Paint;&lt;br /&gt;
import android.graphics.Point;&lt;br /&gt;
import android.graphics.Bitmap.Config;&lt;br /&gt;
import android.os.Bundle;&lt;br /&gt;
import android.os.Handler;&lt;br /&gt;
import android.os.Message;&lt;br /&gt;
import android.widget.LinearLayout;&lt;br /&gt;
import android.widget.TextView;&lt;br /&gt;
import android.widget.Toast;&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;
public class MapRouteActivity extends MapActivity {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LinearLayout linearLayout;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MapView mapView;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private Road mRoad;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MapController mc;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.onCreate(savedInstanceState);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setContentView(R.layout.main);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapView.setBuiltInZoomControls(true);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// mc=mapView.getController();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// mc.setZoom(20);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new Thread() {&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; @Override&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; public void run() {&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; double fromLat = 8.575229, fromLon = 76.837585, toLat = 9.520574, toLon = 76.941980;&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; String url = RoadProvider.getUrl(fromLat, fromLon, toLat, toLon);&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; InputStream is = getConnection(url);&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; mRoad = RoadProvider.getRoute(is);&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; mHandler.sendEmptyMessage(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; &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; &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; &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; &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; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }.start();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Handler mHandler = new Handler() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void handleMessage(android.os.Message msg) {&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; TextView textView = (TextView) findViewById(R.id.description);&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; textView.setText(mRoad.mName + &quot; &quot; + mRoad.mDescription);&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;// System.out.print(mRoad.mDescription);&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(), mRoad.mDescription, Toast.LENGTH_LONG).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; &amp;nbsp; &amp;nbsp; MapOverlay mapOverlay = new MapOverlay(mRoad, mapView);&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&amp;lt;Overlay&amp;gt; listOfOverlays = mapView.getOverlays();&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; listOfOverlays.clear();&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; listOfOverlays.add(mapOverlay);&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; &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; &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; &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; mapView.invalidate();&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; };&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private InputStream getConnection(String url) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InputStream is = null;&lt;br /&gt;
&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; &amp;nbsp; &amp;nbsp; URLConnection conn = new URL(url).openConnection();&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; is = conn.getInputStream();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (MalformedURLException e) {&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; } catch (IOException e) {&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; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return is;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected boolean isRouteDisplayed() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class MapOverlay extends com.google.android.maps.Overlay {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Road mRoad;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ArrayList&amp;lt;GeoPoint&amp;gt; mPoints;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public MapOverlay(Road road, MapView mv) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mRoad = road;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (road.mRoute.length &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; mPoints = new ArrayList&amp;lt;GeoPoint&amp;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; for (int i = 0; i &amp;lt; road.mRoute.length; 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; mPoints.add(new GeoPoint((int) (road.mRoute[i][1] * 1000000),&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; (int) (road.mRoute[i][0] * 1000000)));&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Banner */
google_ad_slot = &quot;3121247541&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&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; }&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; int moveToLat = (mPoints.get(0).getLatitudeE6() + (mPoints.get(&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; mPoints.size() - 1).getLatitudeE6() - mPoints.get(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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getLatitudeE6()) / 2);&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; int moveToLong = (mPoints.get(0).getLongitudeE6() + (mPoints.get(&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; mPoints.size() - 1).getLongitudeE6() - mPoints.get(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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .getLongitudeE6()) / 2);&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; GeoPoint moveTo = new GeoPoint(moveToLat, moveToLong);&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;
&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; MapController mapController = mv.getController();&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; mapController.animateTo(moveTo);&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; mapController.setZoom(12);&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; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&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 mv, boolean shadow, long when) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.draw(canvas, mv, shadow);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; drawPath(mv, canvas);&lt;br /&gt;
&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; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void drawPath(MapView mv, Canvas canvas) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int x1 = -1, y1 = -1, x2 = -1, y2 = -1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Paint paint = new Paint();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paint.setColor(Color.RED);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paint.setStyle(Paint.Style.STROKE);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paint.setStrokeWidth(3);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; mPoints.size(); 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; Point point = new Point();&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; mv.getProjection().toPixels(mPoints.get(i), point);&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; x2 = point.x;&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; y2 = point.y;&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 (i &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; canvas.drawLine(x1, y1, x2, y2, paint);&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; x1 = x2;&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; &amp;nbsp; &amp;nbsp; y1 = y2;&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; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
2, &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Point.java&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
package e.eg;&lt;br /&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;public class Point {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String mName;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String mDescription;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String mIconUrl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double mLatitude;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; double mLongitude;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
3,&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Road.java&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
package e.eg;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class Road {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; public String mName;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;public String mDescription;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;public int mColor;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;public int mWidth;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;public double[][] mRoute = new double[][] {};&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;public Point[] mPoints = new Point[] {};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;div style=&quot;color: red; font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
4, &lt;span style=&quot;color: red;&quot;&gt;RoadProvider.java&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
package e.eg;&lt;/div&gt;
&lt;div&gt;
import java.io.IOException;&lt;/div&gt;
&lt;div&gt;
import java.io.InputStream;&lt;/div&gt;
&lt;div&gt;
import java.util.Arrays;&lt;/div&gt;
&lt;div&gt;
import java.util.Stack;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
import javax.xml.parsers.ParserConfigurationException;&lt;/div&gt;
&lt;div&gt;
import javax.xml.parsers.SAXParser;&lt;/div&gt;
&lt;div&gt;
import javax.xml.parsers.SAXParserFactory;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
import org.xml.sax.Attributes;&lt;/div&gt;
&lt;div&gt;
import org.xml.sax.SAXException;&lt;/div&gt;
&lt;div&gt;
import org.xml.sax.helpers.DefaultHandler;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
public class RoadProvider {&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static Road getRoute(InputStream is) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KMLHandler handler = new KMLHandler();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;/div&gt;
&lt;div&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; SAXParser parser = SAXParserFactory.newInstance().newSAXParser();&lt;/div&gt;
&lt;div&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; parser.parse(is, handler);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (ParserConfigurationException e) {&lt;/div&gt;
&lt;div&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;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (SAXException e) {&lt;/div&gt;
&lt;div&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;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (IOException e) {&lt;/div&gt;
&lt;div&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;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return handler.mRoad;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static String getUrl(double fromLat, double fromLon, double toLat,&lt;/div&gt;
&lt;div&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; double toLon) {// connect to map web service&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringBuffer urlString = new StringBuffer();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(&quot;http://maps.google.com/maps?f=d&amp;amp;hl=en&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(&quot;&amp;amp;saddr=&quot;);// from&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(Double.toString(fromLat));&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(&quot;,&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(Double.toString(fromLon));&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(&quot;&amp;amp;daddr=&quot;);// to&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(Double.toString(toLat));&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(&quot;,&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(Double.toString(toLon));&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlString.append(&quot;&amp;amp;ie=UTF8&amp;amp;0&amp;amp;om=0&amp;amp;output=kml&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return urlString.toString();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
class KMLHandler extends DefaultHandler {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Road mRoad;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boolean isPlacemark;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boolean isRoute;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boolean isItemIcon;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private Stack mCurrentElement = new Stack();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private String mString;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public KMLHandler() {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mRoad = new Road();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void startElement(String uri, String localName, String name,&lt;/div&gt;
&lt;div&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; Attributes attributes) throws SAXException {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mCurrentElement.push(localName);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (localName.equalsIgnoreCase(&quot;Placemark&quot;)) {&lt;/div&gt;
&lt;div&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; isPlacemark = true;&lt;/div&gt;
&lt;div&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; mRoad.mPoints = addPoint(mRoad.mPoints);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (localName.equalsIgnoreCase(&quot;ItemIcon&quot;)) {&lt;/div&gt;
&lt;div&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 (isPlacemark)&lt;/div&gt;
&lt;div&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; isItemIcon = true;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mString = new String();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void characters(char[] ch, int start, int length)&lt;/div&gt;
&lt;div&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; throws SAXException {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String chars = new String(ch, start, length).trim();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mString = mString.concat(chars);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void endElement(String uri, String localName, String name)&lt;/div&gt;
&lt;div&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; throws SAXException {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (mString.length() &amp;gt; 0) {&lt;/div&gt;
&lt;div&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 (localName.equalsIgnoreCase(&quot;name&quot;)) {&lt;/div&gt;
&lt;div&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; if (isPlacemark) {&lt;/div&gt;
&lt;div&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; isRoute = mString.equalsIgnoreCase(&quot;Route&quot;);&lt;/div&gt;
&lt;div&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; if (!isRoute) {&lt;/div&gt;
&lt;div&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; mRoad.mPoints[mRoad.mPoints.length - 1].mName = mString;&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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; } else {&lt;/div&gt;
&lt;div&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; mRoad.mName = mString;&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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; } else if (localName.equalsIgnoreCase(&quot;color&quot;) &amp;amp;&amp;amp; !isPlacemark) {&lt;/div&gt;
&lt;div&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; mRoad.mColor = Integer.parseInt(mString, 16);&lt;/div&gt;
&lt;div&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; } else if (localName.equalsIgnoreCase(&quot;width&quot;) &amp;amp;&amp;amp; !isPlacemark) {&lt;/div&gt;
&lt;div&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; mRoad.mWidth = Integer.parseInt(mString);&lt;/div&gt;
&lt;div&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; } else if (localName.equalsIgnoreCase(&quot;description&quot;)) {&lt;/div&gt;
&lt;div&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; if (isPlacemark) {&lt;/div&gt;
&lt;div&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; String description = cleanup(mString);&lt;/div&gt;
&lt;div&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; if (!isRoute)&lt;/div&gt;
&lt;div&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; mRoad.mPoints[mRoad.mPoints.length - 1].mDescription = description;&lt;/div&gt;
&lt;div&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; else&lt;/div&gt;
&lt;div&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; mRoad.mDescription = description;&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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; } else if (localName.equalsIgnoreCase(&quot;href&quot;)) {&lt;/div&gt;
&lt;div&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; if (isItemIcon) {&lt;/div&gt;
&lt;div&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; mRoad.mPoints[mRoad.mPoints.length - 1].mIconUrl = mString;&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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; } else if (localName.equalsIgnoreCase(&quot;coordinates&quot;)) {&lt;/div&gt;
&lt;div&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; if (isPlacemark) {&lt;/div&gt;
&lt;div&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; if (!isRoute) {&lt;/div&gt;
&lt;div&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; String[] xyParsed = split(mString, &quot;,&quot;);&lt;/div&gt;
&lt;div&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; double lon = Double.parseDouble(xyParsed[0]);&lt;/div&gt;
&lt;div&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; double lat = Double.parseDouble(xyParsed[1]);&lt;/div&gt;
&lt;div&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; mRoad.mPoints[mRoad.mPoints.length - 1].mLatitude = lat;&lt;/div&gt;
&lt;div&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; mRoad.mPoints[mRoad.mPoints.length - 1].mLongitude = lon;&lt;/div&gt;
&lt;div&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; } else {&lt;/div&gt;
&lt;div&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; String[] coodrinatesParsed = split(mString, &quot; &quot;);&lt;/div&gt;
&lt;div&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; int lenNew = coodrinatesParsed.length;&lt;/div&gt;
&lt;div&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; int lenOld = mRoad.mRoute.length;&lt;/div&gt;
&lt;div&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; double[][] temp = new double[lenOld + lenNew][2];&lt;/div&gt;
&lt;div&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; for (int i = 0; i &amp;lt; lenOld; i++) {&lt;/div&gt;
&lt;div&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; temp[i] = mRoad.mRoute[i];&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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; for (int i = 0; i &amp;lt; lenNew; i++) {&lt;/div&gt;
&lt;div&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; String[] xyParsed = split(coodrinatesParsed[i], &quot;,&quot;);&lt;/div&gt;
&lt;div&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; for (int j = 0; j &amp;lt; 2 &amp;amp;&amp;amp; j &amp;lt; xyParsed.length; j++)&lt;/div&gt;
&lt;div&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; temp[lenOld + i][j] = Double&lt;/div&gt;
&lt;div&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; .parseDouble(xyParsed[j]);&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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; mRoad.mRoute = temp;&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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; }&lt;/div&gt;
&lt;div&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;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mCurrentElement.pop();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (localName.equalsIgnoreCase(&quot;Placemark&quot;)) {&lt;/div&gt;
&lt;div&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; isPlacemark = false;&lt;/div&gt;
&lt;div&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 (isRoute)&lt;/div&gt;
&lt;div&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; isRoute = false;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (localName.equalsIgnoreCase(&quot;ItemIcon&quot;)) {&lt;/div&gt;
&lt;div&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 (isItemIcon)&lt;/div&gt;
&lt;div&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; isItemIcon = false;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private String cleanup(String value) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String remove = &quot;&amp;lt;br/&amp;gt;&quot;;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int index = value.indexOf(remove);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (index != -1)&lt;/div&gt;
&lt;div&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; value = value.substring(0, index);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remove = &quot;&amp;amp;#160;&quot;;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; index = value.indexOf(remove);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int len = remove.length();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (index != -1) {&lt;/div&gt;
&lt;div&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; value = value.substring(0, index).concat(&lt;/div&gt;
&lt;div&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; value.substring(index + len, value.length()));&lt;/div&gt;
&lt;div&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; index = value.indexOf(remove);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return value;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Point[] addPoint(Point[] points) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Point[] result = new Point[points.length + 1];&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; points.length; i++)&lt;/div&gt;
&lt;div&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; result[i] = points[i];&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result[points.length] = new Point();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return result;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* androide squre */
google_ad_slot = &quot;9958811831&quot;;
google_ad_width = 200;
google_ad_height = 200;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private static String[] split(String strString, String strDelimiter) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] strArray;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int iOccurrences = 0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int iIndexOfInnerString = 0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int iIndexOfDelimiter = 0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int iCounter = 0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (strString == null) {&lt;/div&gt;
&lt;div&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; throw new IllegalArgumentException(&quot;Input string cannot be null.&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (strDelimiter.length() &amp;lt;= 0 || strDelimiter == null) {&lt;/div&gt;
&lt;div&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; throw new IllegalArgumentException(&lt;/div&gt;
&lt;div&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; &quot;Delimeter cannot be null or empty.&quot;);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (strString.startsWith(strDelimiter)) {&lt;/div&gt;
&lt;div&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; strString = strString.substring(strDelimiter.length());&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strString.endsWith(strDelimiter)) {&lt;/div&gt;
&lt;div&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; strString += strDelimiter;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while ((iIndexOfDelimiter = strString.indexOf(strDelimiter,&lt;/div&gt;
&lt;div&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; iIndexOfInnerString)) != -1) {&lt;/div&gt;
&lt;div&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; iOccurrences += 1;&lt;/div&gt;
&lt;div&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; iIndexOfInnerString = iIndexOfDelimiter + strDelimiter.length();&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strArray = new String[iOccurrences];&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iIndexOfInnerString = 0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iIndexOfDelimiter = 0;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while ((iIndexOfDelimiter = strString.indexOf(strDelimiter,&lt;/div&gt;
&lt;div&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; iIndexOfInnerString)) != -1) {&lt;/div&gt;
&lt;div&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; strArray[iCounter] = strString.substring(iIndexOfInnerString,&lt;/div&gt;
&lt;div&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; iIndexOfDelimiter);&lt;/div&gt;
&lt;div&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; iIndexOfInnerString = iIndexOfDelimiter + strDelimiter.length();&lt;/div&gt;
&lt;div&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; iCounter += 1;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return strArray;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/6122864675681012287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/map-route-between-two-geopoint-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/6122864675681012287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/6122864675681012287'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/05/map-route-between-two-geopoint-in.html' title='Map route between two geopoint in android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3025480310592656813.post-4951170997936520661</id><published>2012-04-27T12:32:00.001-07:00</published><updated>2013-06-09T06:26:52.952-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Display map in android"/><category scheme="http://www.blogger.com/atom/ns#" term="MAP integration"/><title type='text'>Display Map in Android</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;


&lt;b&gt;&lt;u style=&quot;color: orange;&quot;&gt;MAP INTEGRATION IN ANDROID&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;Step 1:-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
package m.l;&lt;br /&gt;
&lt;br /&gt;
import com.google.android.maps.MapView;&lt;br /&gt;
&lt;br /&gt;
import com.google.android.maps.MapActivity;&lt;br /&gt;
import com.google.android.maps.MapController;&lt;br /&gt;
&lt;br /&gt;
import android.os.Bundle;&lt;br /&gt;
&lt;br /&gt;
public class MaplocationActivity extends &lt;span style=&quot;color: red;&quot;&gt;MapActivity&lt;/span&gt; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /** Called when the activity is first created. */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;MapView mv;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;MapController mc;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; super.onCreate(savedInstanceState);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setContentView(R.layout.main);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mv = (MapView) findViewById(R.id.mapView);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mv.setTraffic(true);&lt;br /&gt;
&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; mv.setBuiltInZoomControls(true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mc = mv.getController();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mc.setZoom(6); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; protected boolean isRouteDisplayed() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO Auto-generated method stub&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* androide squre */
google_ad_slot = &quot;9958811831&quot;;
google_ad_width = 200;
google_ad_height = 200;
//&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt; 
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;Step 2:-&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:id=&quot;@+id/main&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:layout_width=&quot;fill_parent&quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:layout_height=&quot;fill_parent&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;com.google.android.maps.MapView&lt;br /&gt;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:layout_width=&quot;fill_parent&quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:enabled=&quot;true&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:clickable=&quot;true&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:apiKey=&quot;0FVuJdedqG3ZiifLPJ3EoevkIAYeuKPO3JBKPHQ&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;gt;&lt;br /&gt;&amp;lt;/LinearLayout&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;background-color: red;&quot;&gt;Step3:-&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;&amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; package=&quot;m.l&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:versionCode=&quot;1&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:versionName=&quot;1.0&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;uses-sdk android:minSdkVersion=&quot;8&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt; &amp;lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;&amp;gt;&amp;lt;/uses-permission&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Android */
google_ad_slot = &quot;5334199707&quot;;
google_ad_width = 468;
google_ad_height = 15;
//&lt;/script&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;application android:icon=&quot;@drawable/icon&quot; android:label=&quot;@string/app_name&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt; &amp;lt;uses-library android:name=&quot;com.google.android.maps&quot; /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activity android:name=&quot;.MaplocationActivity&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; android:label=&quot;@string/app_name&quot;&amp;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;lt;intent-filter&amp;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;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;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;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;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;lt;/intent-filter&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activity&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/application&amp;gt;&lt;br /&gt;
&amp;lt;/manifest&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-5008065463455719&quot;;
/* Banner */
google_ad_slot = &quot;3121247541&quot;;
google_ad_width = 468;
google_ad_height = 60;
//&lt;/script&gt;
&lt;/span&gt;&lt;/span&gt;--&amp;gt;

&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;


&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidcodeplus.blogspot.com/feeds/4951170997936520661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidcodeplus.blogspot.com/2012/04/display-map-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4951170997936520661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3025480310592656813/posts/default/4951170997936520661'/><link rel='alternate' type='text/html' href='http://androidcodeplus.blogspot.com/2012/04/display-map-in-android.html' title='Display Map in Android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05551597989805088615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>