<?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-1597191321877896255</id><updated>2024-08-31T04:38:39.019-07:00</updated><title type='text'>Android </title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://androidprogramingtutorials.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://androidprogramingtutorials.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05920259426184876257</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>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1597191321877896255.post-6516038085453718471</id><published>2012-09-22T12:23:00.001-07:00</published><updated>2012-09-22T12:23:38.913-07:00</updated><title type='text'>Android Application Architecture </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;color: #e69138;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Manifest File&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #3d85c6;&quot;&gt;
The manifest file glues everything together. It is this file that explains what the application&lt;br /&gt;consists of, what all its main building blocks are, what permissions it requires,&lt;br /&gt;and so on&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&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;package=&quot;android.programing.tutorials&quot; android:versionCode=&quot;1&quot; android:versionName=&quot;1.0&quot;&amp;gt;&lt;br /&gt;&amp;lt;application android:icon=&quot;@drawable/icon&quot; android:label=&quot;@string/app_name&quot;&amp;gt;&lt;br /&gt;&amp;lt;activity android:name=&quot;.HelloWorld&quot; android:label=&quot;@string/app_name&quot;&amp;gt;&lt;br /&gt;&amp;lt;intent-filter&amp;gt;&lt;br /&gt;&amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;&lt;br /&gt;&amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/intent-filter&amp;gt;&lt;br /&gt;&amp;lt;/activity&amp;gt;&lt;br /&gt;&amp;lt;/application&amp;gt;&lt;br /&gt;&amp;lt;uses-sdk android:minSdkVersion=&quot;8&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/manifest&amp;gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Layout XML Code&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;The layout file specifies the layout of your screen. In this case, shown in Example,&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;we have only one screen, and it’s loaded by the HelloWorld.java code seen in Example&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;Example&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;res/layout/main.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;color: #6aa84f;&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;android:orientation=&quot;vertical&quot; android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;android:layout_height=&quot;fill_parent&quot;&amp;gt;&lt;br /&gt;&amp;lt;TextView android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;android:layout_height=&quot;wrap_content&quot; android:text=&quot;@string/hello&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/LinearLayout&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;&amp;nbsp;Strings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;This is another XML file that contains all the text that your application uses. For example,&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;the names of buttons, labels, default text, and similar types of strings go into&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;this file. This is the best practice for separating the concerns of various files, even if they&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;are XML files. In other words, layout XML is responsible for the layout of widgets, but&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;strings XML is responsible for their textual content (see Example).&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Example&amp;nbsp; res/values/strings.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;&amp;lt;resources&amp;gt;&lt;br /&gt;&amp;lt;string name=&quot;hello&quot;&amp;gt;Hello World, HelloWorld!&amp;lt;/string&amp;gt;&lt;br /&gt;&amp;lt;string name=&quot;app_name&quot;&amp;gt;Hello, World!!!&amp;lt;/string&amp;gt;&lt;br /&gt;&amp;lt;/resources&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;The R File&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;The R file is the glue between the world of Java and the world of resources (see Example&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;). It is an automatically generated file, and as such, you never modify it. It is&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;recreated every time you change anything in the res directory, for example, when you&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;add an image or XML file.&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;You don’t need to look at this file much. We will use the data in it quite a bit, but we’ll&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;use Eclipse to help us refer to values stored in this file.&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Example&amp;nbsp; R.java&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/* AUTO-GENERATED FILE. DO NOT MODIFY.&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;*&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;* This class was automatically generated by the&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;* aapt tool from the resource data it found. It&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;* should not be modified by hand.&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;*/&lt;/span&gt;&lt;br /&gt;package android.programing.tutorial;&lt;br /&gt;public final class R {&lt;br /&gt;public static final class attr {&lt;br /&gt;}&lt;br /&gt;public static final class drawable {&lt;br /&gt;public static final int icon=0x7f020000;&lt;br /&gt;}&lt;br /&gt;public static final class layout {&lt;br /&gt;public static final int main=0x7f030000;&lt;br /&gt;}&lt;br /&gt;public static final class string {&lt;br /&gt;public static final int app_name=0x7f040001;&lt;br /&gt;public static final int hello=0x7f040000;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;Java Source Code&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;The Java code is what drives everything. This is the code that ultimately gets converted&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;to a Dalvik executable and runs your application (see Example ).&lt;/span&gt;&lt;br style=&quot;color: #3d85c6;&quot; /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;Example&amp;nbsp; HelloWorld.java&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
package android.programing.tutorial;&lt;br /&gt;import android.app.Activity;&lt;br /&gt;import android.os.Bundle;&lt;br /&gt;public class HelloWorld extends Activity {&lt;br /&gt;/** Called when the activity is first created. */&lt;br /&gt;@Override&lt;br /&gt;public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;super.onCreate(savedInstanceState);&lt;/div&gt;
&lt;div style=&quot;color: #6aa84f;&quot;&gt;
&amp;nbsp;setContentView(R.layout.main);&lt;br /&gt;}&lt;br /&gt;}&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidprogramingtutorials.blogspot.com/feeds/6516038085453718471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-application-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/6516038085453718471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/6516038085453718471'/><link rel='alternate' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-application-architecture.html' title='Android Application Architecture '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05920259426184876257</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-1597191321877896255.post-8097544150502170220</id><published>2012-09-22T11:22:00.002-07:00</published><updated>2012-09-22T11:22:50.490-07:00</updated><title type='text'>Android and Java</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;color: #6fa8dc;&quot;&gt;
In Java, you write your Java source file, compile it into a Java byte code using the Java&lt;br /&gt;compiler, and then run this byte code on the Java VM. In Android, things are different.&lt;br /&gt;You still write the Java source file, and you still compile it to Java byte code using the&lt;br /&gt;same Java compiler. But at that point, you recompile it once again using the Dalvik&lt;br /&gt;compiler to Dalvik byte code. It is this Dalvik byte code that is then executed on the&lt;br /&gt;Dalvik VM. Figure illustrates this comparison between standard Java (on the left)&lt;br /&gt;in Android using Dalvik (on the right).&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVsktXk21SLzO0qvkTOY37TVPRFxqJwH0k-5AvP_TIKbO3G7BDbKHxHK1jiSbix7H1ZKXKVHydiiRAh-i-axUzds36XAz_ihQu5Ev3xVZUqyNkHQjWHTSBKWM9qn1-z-_2YiG1QatVKzFE/s1600/dl.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVsktXk21SLzO0qvkTOY37TVPRFxqJwH0k-5AvP_TIKbO3G7BDbKHxHK1jiSbix7H1ZKXKVHydiiRAh-i-axUzds36XAz_ihQu5Ev3xVZUqyNkHQjWHTSBKWM9qn1-z-_2YiG1QatVKzFE/s320/dl.jpg&quot; width=&quot;299&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidprogramingtutorials.blogspot.com/feeds/8097544150502170220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-and-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/8097544150502170220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/8097544150502170220'/><link rel='alternate' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-and-java.html' title='Android and Java'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05920259426184876257</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVsktXk21SLzO0qvkTOY37TVPRFxqJwH0k-5AvP_TIKbO3G7BDbKHxHK1jiSbix7H1ZKXKVHydiiRAh-i-axUzds36XAz_ihQu5Ev3xVZUqyNkHQjWHTSBKWM9qn1-z-_2YiG1QatVKzFE/s72-c/dl.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1597191321877896255.post-3248577686385465574</id><published>2012-09-22T10:25:00.000-07:00</published><updated>2012-09-22T10:25:00.304-07:00</updated><title type='text'>Android Architecture</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5KlQ4ylH0V9mEIzJ84_Zq4sWYcJzf97RXUiDqOD2F3rWcG9NLvqfxnxboxfh5n23bSbq7E3QpWtxyvOqnE-K02LoL4rBveri5XlOYr6ONrGwGAtEE5_Se-bcQWUouY-HcJzlqPn2yojrP/s1600/Architec.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5KlQ4ylH0V9mEIzJ84_Zq4sWYcJzf97RXUiDqOD2F3rWcG9NLvqfxnxboxfh5n23bSbq7E3QpWtxyvOqnE-K02LoL4rBveri5XlOYr6ONrGwGAtEE5_Se-bcQWUouY-HcJzlqPn2yojrP/s320/Architec.jpg&quot; width=&quot;310&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #e69138;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Linux Kernel&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;At the root of this architecture is the Linux Kernel 2.6. As known to everyone, Linux is a fully open source operating system, thus Android is also a totally open source system. Any individual or company can get the source code at &lt;a href=&quot;http://developer.android.com/%20&quot; target=&quot;_blank&quot;&gt;http://developer.android.com/ &lt;/a&gt;. The Linux kernel provided the core components for interaction with mobile phone hardware. Well, like the operating system for PC, it provides management for many resources, memory, process, network, etc. However, the Android version of Linux distinguishes itself from the normal Linux in that: it provides customized management for handset hardware which are greatly differ from PC. The following lists some aspects requiring special attention when customize Linux for Handset mobile.&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #6fa8dc;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;color: #6fa8dc; text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Power&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flash Memory&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Keypad&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wifi&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #e69138;&quot;&gt;&lt;span style=&quot;background-color: white; color: #9fc5e8;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;System Library&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;span style=&quot;color: #e69138;&quot;&gt;&lt;span style=&quot;background-color: white; color: #9fc5e8;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #6fa8dc; font-family: Calibri; font-size: 11pt; margin: 0in;&quot;&gt;
Stacked on the Linuxe Kernel, Google integrated many libraries into Android, tailored to mobile handset needs:&lt;/div&gt;
&lt;ul style=&quot;color: #6fa8dc; direction: ltr; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;SQLite,
 a lightweight      database engine used a lot in Google&#39;s applications 
to store data. For      example, all cookie and history information of 
Chrome browser use SQLite      to store cache locally.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;color: #6fa8dc; direction: ltr; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;WebKit, a browser engine that      is also used in Chrome. &lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;SSL: for certification and      encryption. &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;color: #6fa8dc; direction: ltr; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;OpenGL: for 2D and 3D      graphic.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;color: #6fa8dc; direction: ltr; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;&quot; type=&quot;disc&quot;&gt;
&lt;li style=&quot;margin-bottom: 0; margin-top: 0; vertical-align: middle;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;Media Framework: photos,      video, etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Applications&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&amp;nbsp;At this top layer, you will find applications that ship with the Android device&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;(such as Phone, Contacts, Browser, etc.), as well as applications that you download and install&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;from the Android Market. Any applications that you write are located at this layer.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;Dalvik&lt;/span&gt; &lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;Virtual Machine&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;color: #6fa8dc;&quot;&gt;
Dalvik is a purpose-built virtual machine designed specifically for Android, developed&lt;br /&gt;by Dan Bornstein and his team at Google.&lt;br /&gt;The Java virtual machine (VM) was designed to be a one-size-fits-all solution, and the&lt;br /&gt;Dalvik team felt they could do a better job by focusing strictly on mobile devices. They&lt;br /&gt;looked at which constraints specific to a mobile environment are least likely to change&lt;br /&gt;in the near future. One of these is battery life, and the other is processing power. Dalvik&lt;br /&gt;was built from the ground up to address those constraints.&lt;/div&gt;
&lt;div style=&quot;color: #6fa8dc;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #6fa8dc;&quot;&gt;
&amp;nbsp;Another side effect of replacing the Java VM with the Dalvik VM is the licensing.&lt;br /&gt;Whereas the Java language, Java tools, and Java libraries are free, the Java virtual machine&lt;br /&gt;is not. This was more of an issue back in 2005 when the work on Dalvik started.&lt;br /&gt;Nowadays, there are open source alternatives to Sun’s Java VM, namely the&lt;br /&gt;OpenJDK and Apache Harmony projects.&lt;br /&gt;By developing a truly open source and license-friendly virtual machine, Android yet&lt;br /&gt;again provides a full-featured platform that others are encouraged to adopt for a variety&lt;br /&gt;of devices without having to worry about the license&lt;/div&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #e69138;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Application Framework&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;The application framework is a rich environment that provides numerous services to&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;help you, the app developer, get your job done. This is the best-documented and most&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;extensively covered part of the platform because it is this layer that empowers developers&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;to get creative and bring fantastic applications to the market.&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;In the application framework layer, you will find numerous Java libraries specifically&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;built for Android. You will also find many services (or managers) that provide the ecosystem&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;of capabilities your application can tap into, such as location, sensors, WiFi,&lt;/span&gt;&lt;br style=&quot;color: #6fa8dc;&quot; /&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;telephony, and so on.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidprogramingtutorials.blogspot.com/feeds/3248577686385465574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/3248577686385465574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/3248577686385465574'/><link rel='alternate' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-architecture.html' title='Android Architecture'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05920259426184876257</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5KlQ4ylH0V9mEIzJ84_Zq4sWYcJzf97RXUiDqOD2F3rWcG9NLvqfxnxboxfh5n23bSbq7E3QpWtxyvOqnE-K02LoL4rBveri5XlOYr6ONrGwGAtEE5_Se-bcQWUouY-HcJzlqPn2yojrP/s72-c/Architec.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1597191321877896255.post-6878357252796711889</id><published>2012-09-21T21:58:00.002-07:00</published><updated>2012-09-21T21:58:36.769-07:00</updated><title type='text'>Android Versions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Android has gone through quite a number of updates since its first release. &lt;br /&gt;versions of Android and their codenames.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3oUuYzI0c0FVxqvVYWZtMQT6DrAMZOI-39K9KsbKtd8fB7-_BV2gcLj5T44MgXWWohuPrj0EZfrbzJTamq_N9StYiKAyX4Y8O5YTdik9dJgn0t03S9ziYlAmiLWwWMA09v1NRYZIisaH-/s1600/Android+versions.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;295&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3oUuYzI0c0FVxqvVYWZtMQT6DrAMZOI-39K9KsbKtd8fB7-_BV2gcLj5T44MgXWWohuPrj0EZfrbzJTamq_N9StYiKAyX4Y8O5YTdik9dJgn0t03S9ziYlAmiLWwWMA09v1NRYZIisaH-/s320/Android+versions.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidprogramingtutorials.blogspot.com/feeds/6878357252796711889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-versions_21.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/6878357252796711889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/6878357252796711889'/><link rel='alternate' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-versions_21.html' title='Android Versions'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05920259426184876257</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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3oUuYzI0c0FVxqvVYWZtMQT6DrAMZOI-39K9KsbKtd8fB7-_BV2gcLj5T44MgXWWohuPrj0EZfrbzJTamq_N9StYiKAyX4Y8O5YTdik9dJgn0t03S9ziYlAmiLWwWMA09v1NRYZIisaH-/s72-c/Android+versions.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1597191321877896255.post-7361456928288122317</id><published>2012-09-21T11:14:00.000-07:00</published><updated>2012-09-22T13:24:21.057-07:00</updated><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;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;Android&lt;/b&gt;
 is a Linux-based operating system designed primarily for touchscreen 
mobile devices such as smartphones and tablet computers, developed by 
Google in conjunction with the Open Handset Alliance.&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
Open
 Handset Alliance, a consortium of 86 hardware, software, and 
telecommunication companies devoted to advancing open standards for 
mobile devices.&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&amp;nbsp;Android, Inc. was founded in Palo Alto, California, United States in October 2003 by Andy Rubin (co-founder of Danger),&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-AndyRubin_19-0&quot;&gt;&lt;/sup&gt;&amp;nbsp; Rich Miner (co-founder of Wildfire Communications, Inc.) &lt;sup class=&quot;reference&quot; id=&quot;cite_ref-autogenerated1_20-0&quot;&gt;&lt;/sup&gt; Nick Sears&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-21&quot;&gt;&lt;/sup&gt; (once VP at T-Mobile)&lt;sup&gt; &lt;/sup&gt;&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-Nick_22-0&quot;&gt;&lt;/sup&gt; and Chris White (headed design and interface development at WebTV)&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
Google acquired Android Inc. on August 17, 2005, making Android Inc. a 
wholly owned subsidiary of Google. Key employees of Android Inc., 
including Andy Rubin, Rich Miner and Chris White, stayed at the company 
after the acquisition.&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
At
 Google, the team led by Rubin developed a mobile device platform 
powered by the Linux kernel. Google marketed the platform to handset 
makers and carriers
 on the promise of providing a flexible, upgradable system. Google had 
lined up a series of hardware component and software partners and 
signaled to carriers that it was open to various degrees of cooperation 
on their part&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
On November 5, 2007, the Open Handset Alliance, a consortium of technology companies including Google, device manufacturers such as HTC and Samsung, wireless carriers such as Sprint Nextel and T-Mobile, and chipset makers such as Qualcomm and Texas Instruments, unveiled itself. The goal of the Open Handset Alliance is to develop open standards for mobile devices.&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-AndroidAnnouncement_9-1&quot;&gt;&lt;/sup&gt;
 On the same day, the Open Handset Alliance unveiled Android as its 
first product, a mobile device platform built on the Linux kernel 
version 2.6.&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #6fa8dc; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;
&amp;nbsp;The first commercially available phone to run Android was the HTC Dream, released on October 22, 2008.&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-HTC_30-0&quot;&gt;&lt;/sup&gt; In early 2010 Google collaborated with HTC to launch its flagship&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-31&quot;&gt;&lt;/sup&gt; Android device, the Nexus One. This was followed later in 2010 with the Samsung-made Nexus S and in 2011 with the Galaxy Nexus.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidprogramingtutorials.blogspot.com/feeds/7361456928288122317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-is-linux-based-operating-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/7361456928288122317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1597191321877896255/posts/default/7361456928288122317'/><link rel='alternate' type='text/html' href='http://androidprogramingtutorials.blogspot.com/2012/09/android-is-linux-based-operating-system.html' title='Android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05920259426184876257</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>