<?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-4381934092600536803</id><updated>2024-10-04T19:59:21.564-07:00</updated><category term="android"/><category term="android application development"/><category term="android getting started"/><category term="android sdk"/><category term="android sqlite usage"/><category term="mysql to sqlite"/><category term="sqlite"/><title type='text'>Android Smartphone Mobile Applications, Learn Android Programming,  Android Application Free codes</title><subtitle type='html'>Android Applications Programming Tutorials, Android application programming, free android source code, latest news in smartphone industry, smartphones reviews, jobs in mobile applications, top smartphones</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://androidfreecodes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://androidfreecodes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17448033174628270928</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>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4381934092600536803.post-4190288987395432177</id><published>2012-10-16T23:11:00.001-07:00</published><updated>2012-10-16T23:17:31.491-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android application development"/><category scheme="http://www.blogger.com/atom/ns#" term="android sqlite usage"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql to sqlite"/><title type='text'>How to convert Mysql database to mysqlite</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many times you would like to use your mysql database in your android application. For this, you would need to convert it to sqlite as Android uses sqlite database.&lt;br /&gt;
&lt;br /&gt;
First save the script below in a file and name it as mysqltosqlite.sh.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;if [ &quot;x$1&quot; == &quot;x&quot; ]; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;echo &quot;Usage: $0 &lt;dumpname&gt;&quot;&lt;/dumpname&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;cat $1 &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;grep -v &#39; KEY &quot;&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;grep -v &#39; UNIQUE KEY &quot;&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;grep -v &#39; PRIMARY KEY &#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;/^SET/d&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ unsigned / /g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ auto_increment/ primary key autoincrement/g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ smallint([0-9]*) / integer /g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ tinyint([0-9]*) / integer /g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ int([0-9]*) / integer /g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ character set [^ ]* / /g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ enum([^)]*) / varchar(255) /g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/ on update [^,]*//g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/\\r\\n/\\n/g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sed &#39;s/\\&quot;/&quot;/g&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;perl -e &#39;local $/;$_=&amp;lt;&amp;gt;;s/,\n\)/\n\)/gs;print &quot;begin;\n&quot;;print;print &quot;commit;\n&quot;&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;perl -pe &#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;if (/^(INSERT.+?)\(/) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;$a=$1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;s/\\&#39;\&#39;&#39;/&#39;\&#39;\&#39;&#39;/g;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;s/\\n/\n/g;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;s/\),\(/\);\n$a\(/g;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&#39; &amp;gt; $1.sql&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;cat $1.sql &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;sqlite3 $1.db &amp;gt; $1.err&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;ERRORS=`cat $1.err &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;wc -l`&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;if [ $ERRORS == 0 ]; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;echo &quot;Conversion completed without error. Output file: $1.db&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;rm $1.sql&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;rm $1.err&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;echo &quot;There were errors during conversion. Please review $1.err and $1.sql for details.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Now take a dump of your database:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;mysqldump -u root -p --&lt;span style=&quot;color: #007800;&quot;&gt;compatible=&lt;/span&gt;ansi --skip-opt generator &amp;gt; dumpfile&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;And now finally run the conversion :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;mysql-to-sqlite.&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sh&lt;/span&gt; dumpfile&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;If the command executes successfully, you should have a dumpfile.db which can be used with sqlite3.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidfreecodes.blogspot.com/feeds/4190288987395432177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/how-to-convert-mysql-database-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/4190288987395432177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/4190288987395432177'/><link rel='alternate' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/how-to-convert-mysql-database-to.html' title='How to convert Mysql database to mysqlite'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17448033174628270928</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-4381934092600536803.post-7508853527369892457</id><published>2012-10-16T22:27:00.000-07:00</published><updated>2012-10-16T22:31:33.403-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android application development"/><category scheme="http://www.blogger.com/atom/ns#" term="android getting started"/><category scheme="http://www.blogger.com/atom/ns#" term="android sqlite usage"/><category scheme="http://www.blogger.com/atom/ns#" term="sqlite"/><title type='text'>How to Use your SQlite Database in Android Applications</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Most of the tutorials found on the web assumes that you want to create and populate&amp;nbsp;your own SQlite database at run time and use it in your application. But there are cases when you would like to use your own existing SQLite database in android application.&lt;br /&gt;
&lt;br /&gt;
In this article, I will provide you a step by step guide to use your own SQLite database in android applications. The SQlite database should be kept in the &quot;assets&quot; folder of your application and this databse needs to be copied in the system database path of the application. This will enable the application to open and access it normally using the SQLiteDatabase API of android.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Step 1 : Preparing the SQlite Database File&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
In order to use the SQLite database in Android, some minor modifications are requried. You can use any opensource &lt;a href=&quot;http://sourceforge.net/projects/sqlitebrowser/&quot; target=&quot;_blank&quot;&gt;SQLite Database Browser&lt;/a&gt; or sqlite manager &amp;nbsp;for this purpose.&lt;br /&gt;
&lt;br /&gt;
Add a new table to your database &quot;android_metadata&quot; using the following SQL command:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;CREATE&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;TABLE&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&quot;android_metadata&quot;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;locale&quot;&lt;/span&gt; TEXT &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;DEFAULT&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;en_US&#39;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;Now add a single row in this table with text &quot;en_US&quot; in the android_metadata table.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;&lt;span style=&quot;color: #660000;&quot;&gt;INSERT INTO&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&quot;android_metadata&quot;&lt;/span&gt; &lt;span style=&quot;color: #660000;&quot;&gt;VALUES&lt;/span&gt;(&lt;span style=&quot;color: red;&quot;&gt;&#39;en_US&#39;&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&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/AVvXsEjlrta5UW40shSwHSjKPUmsNmBLj1sh_nKzzTqT-TfPFrAEWiL6x5LmtMUAyz61I8IisEWzaSS_B0Okk4xWfOSQoTKCbKjng8-nIPzyYCzQX6TBv6TiWm96ceCJtjwibUDYj8LCMfo1qpw/s1600/android_sqlite_metadata_table.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; nea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlrta5UW40shSwHSjKPUmsNmBLj1sh_nKzzTqT-TfPFrAEWiL6x5LmtMUAyz61I8IisEWzaSS_B0Okk4xWfOSQoTKCbKjng8-nIPzyYCzQX6TBv6TiWm96ceCJtjwibUDYj8LCMfo1qpw/s400/android_sqlite_metadata_table.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;The next important step is to rename all the primary fields of your table to &lt;span style=&quot;color: #660000;&quot;&gt;&quot;_id&quot; . &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;This helps Android bind the id fields of your tables.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
﻿﻿﻿ &lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvUDDUzp-nsrdG82MSlr2SFzpZr7RYA-4V1dZ-2OOin88nTySZehaVfnp18uKnfUmNJJdPqeiR9bQVi1_e9SH-obKjOXOEFpN3msIiMqP_Itz7M1vyJHbjAZiswqkLe44O_-jVim7eGWQ/s1600/android_sqlite_primary_field_table.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;193&quot; nea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvUDDUzp-nsrdG82MSlr2SFzpZr7RYA-4V1dZ-2OOin88nTySZehaVfnp18uKnfUmNJJdPqeiR9bQVi1_e9SH-obKjOXOEFpN3msIiMqP_Itz7M1vyJHbjAZiswqkLe44O_-jVim7eGWQ/s400/android_sqlite_primary_field_table.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Rename Primary Field of your sqlite tables to _id&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Renaming of the primary field can be easily done by pressing the &quot;Modify Table&quot; button in SQlite﻿﻿﻿ Database Browser and then choosing the field you want to rename.&lt;br /&gt;
&lt;br /&gt;
Once the above steps are done, your database is ready to use in your application.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Step 2: Using the Sqlite Database in Android Application&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Copy the sqlite database file in &quot;assets&quot; folder and create a DatabaseHelper class by extending the SQLiteOpenHelper class from the &quot;android.database.sqlite&quot; package.&lt;br /&gt;
&lt;br /&gt;
The DatabaseHelper class should look like this:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;color: #7f0055; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #7f0055; font-size: x-small;&quot;&gt;&lt;div align=&quot;left&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;package com.da.db;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;import java.io.File;&lt;br /&gt;import java.io.FileOutputStream;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.InputStream;&lt;br /&gt;import java.io.OutputStream;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;import android.content.ContentValues;&lt;br /&gt;import android.content.Context;&lt;br /&gt;import android.database.Cursor;&lt;br /&gt;import android.database.SQLException;&lt;br /&gt;import android.database.sqlite.SQLiteDatabase;&lt;br /&gt;import android.database.sqlite.SQLiteException;&lt;br /&gt;import android.database.sqlite.SQLiteOpenHelper;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;//http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;public class DatabaseHelper extends SQLiteOpenHelper{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //The Android&#39;s default system path of your application database.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static String DB_PATH = &quot;/data/data/YOUR_PACKAGE/databases/&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //YOUR_PACKAGE should be replaced by your package name e.g. com.da&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static String DB_NAME = &quot;da.db&quot;;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private SQLiteDatabase myDataBase; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private final Context myContext;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private Cursor favCursor = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private final static int version = 1;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Constructor&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Takes and keeps a reference of the passed context in order to access to the application assets and resources.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param context&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public DatabaseHelper(Context context) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; super(context, DB_NAME, null, version);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.myContext = context;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp; /**&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Creates a empty database on the system and rewrites it with your own database.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void createDataBase() throws IOException{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean dbExist = checkDataBase();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(dbExist){&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; //do nothing - database already exist&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }else{&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; //By calling this method and empty database will be created into the default system path&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; //of your application so we are gonna be able to overwrite that database with our database.&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; this.getReadableDatabase();&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; try {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copyDataBase();&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; } catch (IOException e) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Error(&quot;Error copying database&quot;);&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; }&lt;br /&gt;&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; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Check if the database already exist to avoid re-copying the file each time you open the application.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return true if it exists, false if it doesn&#39;t&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public boolean checkDataBase(){&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQLiteDatabase checkDB = null;&lt;br /&gt;&lt;br /&gt;&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; String myPath = DB_PATH + DB_NAME;&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; checkDB = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }catch(SQLiteException e){&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; //database does&#39;t exist yet.&lt;br /&gt;&lt;br /&gt;&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; if(checkDB != null){&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; checkDB.close();&lt;br /&gt;&lt;br /&gt;&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; return checkDB != null ? true : false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Copies your database from your local assets-folder to the just created empty database in the&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * system folder, from where it can be accessed and handled.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * This is done by transfering bytestream.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void copyDataBase() throws IOException{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Open your local db as the input stream&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InputStream myInput = myContext.getAssets().open(DB_NAME);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Path to the just created empty db&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String outFileName = DB_PATH + DB_NAME;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Open the empty db as the output stream&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutputStream myOutput = new FileOutputStream(outFileName);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //transfer bytes from the inputfile to the outputfile&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte[] buffer = new byte[1024];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int length;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((length = myInput.read(buffer))&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; myOutput.write(buffer, 0, length);&lt;br /&gt;&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; //Close the streams&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myOutput.flush();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myOutput.close();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myInput.close();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void deleteDataBase()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean exists = checkDataBase();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(exists)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //delete&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; File file = new File(DB_PATH + DB_NAME);&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; file.delete();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void openDataBase() throws SQLException{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Open the database&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String myPath = DB_PATH + DB_NAME;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myDataBase = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READWRITE);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void openDataBase(int mode) throws SQLException{&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; //Open the database&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String myPath = DB_PATH + DB_NAME;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myDataBase = SQLiteDatabase.openDatabase(myPath, null, mode);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public synchronized void close() {&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; if(myDataBase != null)&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; myDataBase.close();&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; super.close();&lt;br /&gt;&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; public void onCreate(SQLiteDatabase db) {&lt;br /&gt;&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; public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {&lt;br /&gt;&lt;br /&gt;&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; // Add your public helper methods to access and get content from the database.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // You could return cursors by doing &quot;return myDataBase.query(....)&quot; so it&#39;d be easy&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // to you to create adapters for your views.&lt;br /&gt;&lt;br /&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;Now your database is ready for use. Just create an instance of this DataBaseHelper class and call its createDataBase() and openDataBase() methods. &lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;u&gt;&lt;strong&gt;Point to Remember :&lt;/strong&gt; &lt;/u&gt;Make sure you rename the &lt;strong&gt;YOUR_PACKAGE&lt;/strong&gt; in &lt;strong&gt;DB_PATH&lt;/strong&gt; to your application packge e.g. com.da&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/code&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: #999999; color: black;&quot;&gt;DataBaseHelper myDbHelper = new DataBaseHelper(); &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; myDbHelper = new DataBaseHelper(this);&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; 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; myDbHelper.createDataBase();&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; } catch (IOException ioe) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Error(&quot;Unable to create database&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; try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myDbHelper.openDataBase();&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; }catch(SQLException sqle){&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; throw sqle;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidfreecodes.blogspot.com/feeds/7508853527369892457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/how-to-use-your-sqlite-database-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/7508853527369892457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/7508853527369892457'/><link rel='alternate' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/how-to-use-your-sqlite-database-in.html' title='How to Use your SQlite Database in Android Applications'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17448033174628270928</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/AVvXsEjlrta5UW40shSwHSjKPUmsNmBLj1sh_nKzzTqT-TfPFrAEWiL6x5LmtMUAyz61I8IisEWzaSS_B0Okk4xWfOSQoTKCbKjng8-nIPzyYCzQX6TBv6TiWm96ceCJtjwibUDYj8LCMfo1qpw/s72-c/android_sqlite_metadata_table.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4381934092600536803.post-3423887219030058582</id><published>2012-10-07T01:57:00.001-07:00</published><updated>2012-10-07T08:26:46.364-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android application development"/><category scheme="http://www.blogger.com/atom/ns#" term="android getting started"/><category scheme="http://www.blogger.com/atom/ns#" term="android sdk"/><title type='text'>What is Dalvik Virtual Machine?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Dalvik is an Open Source Software originally written by Dan Bornstein who named it after the fishing village of Dalvik in Iceland.&lt;br /&gt;
&lt;br /&gt;
Dalvik Virtual Mahcine is a process virtual machine (VM) in Android Operating System. It is a software that runs the applications on Android Devices. Dalvik is used primarily in smartphones and tablets but recently it is also being used in smart Tvs and media streamers.&lt;br /&gt;
&lt;br /&gt;
Programs are written in Java and compiled to java bytecode. They are then converted from Java Virtual Machine .class files to Dalvik compatible .dex (Dalvik Executable)files. The compatc Dalvik Executable format is suitable for systems that are constrained in terms of memory and processor speed.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Salient Features of Dalvik VM &lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Dalvik VM uses a register based architecture instead of stack based architecture used by Java Virtual Machine.&lt;/li&gt;
&lt;li&gt;VM is trimmed down to limit memory space requirement.&lt;/li&gt;
&lt;li&gt;The constant pool has been modified to use only 32-bit indices to simplify the interpreter&lt;/li&gt;
&lt;li&gt;Standard Java bytecode executes 8-bit stack instructions. Local variables must be copied to or from the operand stack by separate instructions. Dalvik instead uses its own 16-bit instruction set that works directly on local variables. The local variable is commonly picked by a 4-bit &#39;virtual register&#39; field. This lowers Dalvik&#39;s instruction count and raises its interpreter speed.&lt;/li&gt;
&lt;li&gt;Dalvik has the capacity to compress resources that you have in your application there by reducing the final apk size and makes the device run multiple instances of the VM efficiently&lt;/li&gt;
&lt;/ul&gt;
&lt;strong&gt;&lt;u&gt;Difference between Dalvik VM and Java VM&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;strong&gt;Dalvik&lt;/strong&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; &lt;strong&gt;JVM&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong&gt;Architecture&lt;/strong&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; Register&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong&gt;OS Support&lt;/strong&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; Android&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Many&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong&gt;Executables&lt;/strong&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; APK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JAR&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong&gt;Constant Pool&lt;/strong&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; Per Application&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Per Class&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;strong&gt;Memory Reqt&lt;/strong&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; Low&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; High&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Licenses&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Dalvik is said to be a clean-room implementation rather than a development on top of a standard Java runtime, which would mean it does not inherit copyright-based license restrictions from either the standard-edition or open-source-edition Java runtimes. Dalvik is published under the Apache 2 license. &lt;br /&gt;
(&lt;a href=&quot;http://en.wikipedia.org/wiki/Dalvik_%28software%29&quot; rel=&quot;nofollow&quot;&gt;Source: wikipedia&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidfreecodes.blogspot.com/feeds/3423887219030058582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/what-is-dalvik-virtual-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/3423887219030058582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/3423887219030058582'/><link rel='alternate' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/what-is-dalvik-virtual-machine.html' title='What is Dalvik Virtual Machine?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17448033174628270928</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-4381934092600536803.post-3599787682278614686</id><published>2012-10-07T01:03:00.001-07:00</published><updated>2012-10-07T08:27:19.050-07:00</updated><title type='text'>Basic Difference between Android and Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Android consists of a kernel based on the Linux kernel 2.6 and Linux Kernel 3.x (Android 4.0 onwards), with middleware, libraries and APIs written in C and application software running on an application framework which includes Java-compatible libraries based on Apache Harmony. Android uses the Dalvik virtual machine with just-in-time compilation to run Dalvik dex-code (Dalvik Executable), which is usually translated from Java bytecode.The main hardware platform for Android is the ARM architecture.&lt;br /&gt;
&lt;br /&gt;
﻿ &lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIfBNFKGOxah9iPTImsWoJOcEeYWor0BH-wjjzr2NOzCQM4izc0P3W3zQTI5056Q8yecjjrWV_uvV3vYFoPxxvU3OBDtFTDKtfUdcjKru7n-7BqSqzsDIr6vDCH2HcjS3cD_NYbF9EI8/s1600/Android-System-Architecture.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;259&quot; mea=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIfBNFKGOxah9iPTImsWoJOcEeYWor0BH-wjjzr2NOzCQM4izc0P3W3zQTI5056Q8yecjjrWV_uvV3vYFoPxxvU3OBDtFTDKtfUdcjKru7n-7BqSqzsDIr6vDCH2HcjS3cD_NYbF9EI8/s320/Android-System-Architecture.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Android System Architecture&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Google has made many changes in Android&#39;s Linux Kernel. Android does not support the full set of standard GNU libraries making it difficult to port existing Linux applications or libraries to Android.&lt;br /&gt;
&lt;br /&gt;
Linux included the autosleep and wakelocks capabilities in the 3.5 kernel, after many previous attempts at merger. The interfaces are the same but the upstream Linux implementation allows for two different suspend modes: to memory (the traditional suspend that android uses), and to disk (hibernate, as it is known on the desktop).In August 2011, Linus Torvalds said that &quot;eventually Android and Linux would come back to a common kernel, but it will probably not be for four to five years&quot;.In December 2011, Greg Kroah-Hartman announced the start of the Android Mainlining Project, which aims to put some Android drivers, patches and features back into the Linux kernel, starting in Linux 3.3. further integration being expected for Linux Kernel 3.4.&lt;br /&gt;
&lt;br /&gt;
Android devices users are not given root access to the operating system due to security reasons. Many sensitive partitions like /system are read only for the device owners. To get root access to the device , one can use security flaws in android but this should be done carefully as the important files may get corrupt. Open Source community uses these flaws to enhance the device capabilities. These can also be used to install malicious software or virus.&lt;br /&gt;
&lt;br /&gt;
Reference: &lt;a href=&quot;http://en.wikipedia.org/wiki/Android_(operating_system)&quot; target=&quot;_blank&quot;&gt;Wikipedia&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidfreecodes.blogspot.com/feeds/3599787682278614686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/basic-difference-between-android-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/3599787682278614686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/3599787682278614686'/><link rel='alternate' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/basic-difference-between-android-and.html' title='Basic Difference between Android and Linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17448033174628270928</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/AVvXsEgBIfBNFKGOxah9iPTImsWoJOcEeYWor0BH-wjjzr2NOzCQM4izc0P3W3zQTI5056Q8yecjjrWV_uvV3vYFoPxxvU3OBDtFTDKtfUdcjKru7n-7BqSqzsDIr6vDCH2HcjS3cD_NYbF9EI8/s72-c/Android-System-Architecture.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4381934092600536803.post-5037806096660210238</id><published>2012-10-06T09:20:00.002-07:00</published><updated>2012-10-07T08:27:54.416-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android application development"/><category scheme="http://www.blogger.com/atom/ns#" term="android getting started"/><category scheme="http://www.blogger.com/atom/ns#" term="android sdk"/><title type='text'>Android Application Development - Getting Started</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;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;All Android Applications are developed in Java Language. You must know Java in order to be able to develop any android application.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You need to have the set up of android development environment. You would require the following:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Download the&lt;a href=&quot;http://developer.android.com/sdk/index.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt; Android SDK&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Install the latest version of &amp;nbsp;&lt;a href=&quot;http://developer.android.com/sdk/installing/installing-adt.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;ADT plugin for Eclipse&lt;/span&gt;&lt;/a&gt;&amp;nbsp;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Download the &lt;a href=&quot;http://developer.android.com/sdk/installing/adding-packages.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;latest SDK tools and platforms&lt;/span&gt;&lt;/a&gt; using the &lt;a href=&quot;http://developer.android.com/sdk/installing/adding-packages.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;SDK Manager&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Follow the &lt;a href=&quot;http://developer.android.com/sdk/installing/index.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;installation instructions&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The&amp;nbsp;&lt;/span&gt; &lt;a href=&quot;http://developer.android.com/sdk/index.html&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;&amp;nbsp;Android SDK&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;is composed of modular packages that you can download separately using the Android&amp;nbsp;&lt;/span&gt; &lt;a href=&quot;http://developer.android.com/sdk/installing/adding-packages.html&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;SDK Manager&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Whenever there is a new release for SDK tools or platforms , you can use the&amp;nbsp;&lt;/span&gt; &lt;a href=&quot;http://developer.android.com/sdk/installing/adding-packages.html&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 19px;&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;SDK Manager&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;to quickly download them to your environment.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Once your environment is ready, you can start creating your apps. Lets develop our first project &quot;Hello World&quot; and learn how to create and run a project/application in Eclipse.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidfreecodes.blogspot.com/feeds/5037806096660210238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/android-application-development-getting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/5037806096660210238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/5037806096660210238'/><link rel='alternate' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/android-application-development-getting.html' title='Android Application Development - Getting Started'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17448033174628270928</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-4381934092600536803.post-1894080417859124587</id><published>2012-10-06T09:17:00.002-07:00</published><updated>2012-10-07T08:28:16.080-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android application development"/><category scheme="http://www.blogger.com/atom/ns#" term="android getting started"/><category scheme="http://www.blogger.com/atom/ns#" term="android sdk"/><title type='text'>What is Android - An Introduction</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinqHJltKsSXACObQPSf-djmjoncu_nQ9NhNke6zk-qdq7JSo0wbdUUPHjajJab04wFjUm41OEN-5JowyhsqukAlmJol9w2iIaozycE8fbsk1clhfK7WbuvFaRZnOQmTgZuElF7NcCSxl3Z/s1600/Android.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hea=&quot;true&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinqHJltKsSXACObQPSf-djmjoncu_nQ9NhNke6zk-qdq7JSo0wbdUUPHjajJab04wFjUm41OEN-5JowyhsqukAlmJol9w2iIaozycE8fbsk1clhfK7WbuvFaRZnOQmTgZuElF7NcCSxl3Z/s320/Android.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;Android is a Linux-based operating system designed primarily for touchscreen mobile devices such as smartphones and tablet computers, developed by &lt;a href=&quot;http://www.google.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Google&lt;/span&gt;&lt;/a&gt; in conjunction with the &lt;a href=&quot;http://www.openhandsetalliance.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Open Handset Alliance&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;div style=&quot;border: currentColor;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: currentColor;&quot;&gt;
Just like we have Windows operating system for PCs, Android is an operating system for smartphones and tablets which soon will be extended to other products like cars, TVs etc.&lt;/div&gt;
&lt;div style=&quot;border: currentColor;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;border: currentColor; text-align: left;&quot;&gt;
Why Android is so popular?&lt;/h3&gt;
&lt;div style=&quot;border: currentColor;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: currentColor;&quot;&gt;
You go to any mobile shop today and you will find majority of smartphones with Android operating system.&lt;/div&gt;
&lt;br /&gt;
Some of the major reasons for its huge popularity are:&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
1. Android is Free&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Android is and will always be free to use. That is one of the biggest reason for its huge popularity and adoption among the phone manufacturers. Why pay a royalty to any company for using the OS when you can get Android for free? This also made possible for the phone manufacturers to come out with smartphones at low cost and still having high end features. You could see many companies like Micromax, Lava , Spice and many others offering low cost smart phones.&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;
Would you buy a normal feature phone when you can get a smartphone at roughly the same price? Probably, NOT. This has in turn benefitted normal feature phone buyers as well because their prices have come down drastically. A WIN WIN situation for all.&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
2. Android is Open Source and Open for customization&amp;nbsp;&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
You get the full source code of Android without paying any royalty to &lt;a href=&quot;http://www.google.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Google&lt;/span&gt;&lt;/a&gt;. This enables the phone manufacturers to customize the OS according to their requirements. With many brains working on the system, newer and newer ideas were incorporated, which in turn helped in making Android a preferred choice.&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
3. Huge number of Mobile Applications&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://play.google.com/store?hl=en&amp;amp;tab=w8&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Android Market&lt;/span&gt;&lt;/a&gt; created an opportunity for millions of application developers around the globe to show their skills and come up with newer applications for Android phones. Its users therefore have a wide variety of applications to choose from and can customise their phones for a personal experience. It has attracted millions of developers around the world as they can now earn by selling their applications on &lt;a href=&quot;https://play.google.com/store?hl=en&amp;amp;tab=w8&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Android Market&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
4. Excellent tools for developers&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Google has provided complete &lt;a href=&quot;http://developer.android.com/tools/index.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;toolset&lt;/span&gt;&lt;/a&gt; for developing applications for free. Applications are usually developed in the &lt;a href=&quot;http://en.wikipedia.org/wiki/Java_(programming_language)&quot; title=&quot;Java (programming language)&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Java&lt;/span&gt;&lt;/a&gt; language using the &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Android_SDK&quot; title=&quot;Android SDK&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Android Software Development Kit&lt;/span&gt;&lt;/a&gt;, but other development tools are available, including a &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Android_NDK&quot; title=&quot;Android NDK&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;Native Development Kit&lt;/span&gt;&lt;/a&gt; for applications or extensions in C or C++.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Market Share of Android&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Here are IDC&#39;s figures for worldwide smartphone unit sales and market share in the second quarter of 2012, by operating system.&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;
— Android (Google Inc.) — 104.8 million units, 68.1 percent share (46.9 percent a year earlier)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
— iOS (Apple Inc.&#39;s iPhone) — 26.0 million units, 16.9 percent share (18.8 percent a year earlier)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
— BlackBerry (Research in Motion Ltd.) — 7.4 million units, 4.8 percent share (11.5 percent a year earlier)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
— Symbian (mostly used by Nokia Corp.) — 6.8 million units, 4.4 percent share (16.9 percent a year earlier)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
— Windows (Microsoft Corp.) — 5.4 million units, 3.5 percent share (2.3 percent a year earlier)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
— Linux — 3.5 million units, 2.3 percent share (3.0 percent a year earlier)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
— Others — 0.1 million units, 0.1 percent share (0.5 percent a year earlier)&amp;nbsp;&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;
Source : &lt;a href=&quot;http://www.huffingtonpost.com/2012/09/18/android-market-share-q3-2012_n_1893292.html?utm_hp_ref=technology&quot;&gt;&lt;span style=&quot;color: #009eb8;&quot;&gt;http://www.huffingtonpost.com/2012/09/18/android-market-share-q3-2012_n_1893292.html?utm_hp_ref=technology&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #009eb8;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Future of Android&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;As per market research, Android is here to stay atleast till 2015. With android set to come in TVs, cars and other appliances, there is a huge scope for android usage.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;Cars&lt;/strong&gt; - Till now cars are provided with multimedia facilities such as GPS, Bluetooth etc. But in future Android, QNX, Linux operating systems will provide additional facilities in cars. Operating system will control all the things such as&amp;nbsp; nearby garages, air condition, seats suspension, climate control etc. It will also give the information such as the location, details of the accidents that happened nearby and traffic. It will also be possible to know the details of the hotels in the route the car is travelling.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;TVs&lt;/strong&gt; - Televisions are already coming with operating system. Google television is one of the examples. Net can be browsed with Chrome browser that is installed. Applications and multimedia content in Chrome can be utilized as in system. Lenovo and Onida have designed televisions that run with android operating system. All the television channels available in net can be watched. With the new features that will be available. Televisions can be connected to the mobile.&lt;br /&gt;
&lt;br /&gt;
Our life will change drastically in future when most of the products like Car, TV, Refrigerator, Mirror, Ovens will go SMART.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Application developers can start thinking on ideas they would like&amp;nbsp;their home products to have.&amp;nbsp;Lets share our ideas and thoughts&amp;nbsp;about future andriod applications.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://androidfreecodes.blogspot.com/feeds/1894080417859124587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/what-is-android-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/1894080417859124587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4381934092600536803/posts/default/1894080417859124587'/><link rel='alternate' type='text/html' href='http://androidfreecodes.blogspot.com/2012/10/what-is-android-introduction.html' title='What is Android - An Introduction'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17448033174628270928</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/AVvXsEinqHJltKsSXACObQPSf-djmjoncu_nQ9NhNke6zk-qdq7JSo0wbdUUPHjajJab04wFjUm41OEN-5JowyhsqukAlmJol9w2iIaozycE8fbsk1clhfK7WbuvFaRZnOQmTgZuElF7NcCSxl3Z/s72-c/Android.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>