<?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-7303694485815798090</id><updated>2024-11-01T15:26:52.156+06:00</updated><category term="Inspiration"/><category term="Android"/><category term="motivational"/><category term="Entrepreneurship"/><category term="Eclipse"/><category term="artificial intelligence"/><category term="AB pruning"/><category term="ADB Commands"/><category term="AR"/><category term="AR Android"/><category term="Alpha Beta Pruning"/><category term="Android ADB"/><category term="Android Device Drivers"/><category term="Android HttpClient"/><category term="Android HttpConnection"/><category term="Android Mysql"/><category term="Android Storage Problem"/><category term="Android requires compiler compliance level 5.0 or 6.0. Found &#39;1.7&#39; instead.Android requires compiler compliance"/><category term="Attribute in mysql"/><category term="Banglalion"/><category term="Binary Attribute"/><category term="Camera Intent Android"/><category term="Choose_Yourself"/><category term="Class"/><category term="Cloud Computing"/><category term="Common Errors In Java"/><category term="ENUM Attribute"/><category term="Github"/><category term="How to use Camera Intent In Android"/><category term="INSTALL_FAILED_INSUFFICIENT_STORAGE"/><category term="Insert data android to Mysql"/><category term="Inspirational"/><category term="Install Failed"/><category term="James_Altucher"/><category term="Java"/><category term="Java Errors"/><category term="LIKE Attribute Database"/><category term="LIKE Attribute Mysql"/><category term="LIKE Attribute instate of loop"/><category term="LIKE to fetch data in php"/><category term="MiniMax"/><category term="Mysql and Android Connection"/><category term="Object"/><category term="PDO in PHP"/><category term="Parameter Marker in PHP"/><category term="Picture Take In Android"/><category term="Placeholder in PHP"/><category term="SVN"/><category term="Server on android"/><category term="Slideshare"/><category term="Sql Injection Preventation by PDO"/><category term="TIMESTAMP Attribute"/><category term="Take Picture In Android"/><category term="Ubuntu"/><category term="Unable to install app"/><category term="Version Controlling On github"/><category term="android.os.NetworkOnMainThreadException"/><category term="augmented reality"/><category term="compliance level 5.0 or 6.0. Found &#39;1.7&#39; instead."/><category term="localhost on android"/><category term="motivate"/><category term="startup"/><title type='text'>Thirsty To Know And Learn</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-5592375527446958079</id><published>2014-09-24T23:58:00.000+06:00</published><updated>2014-09-24T23:58:41.265+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Choose_Yourself"/><category scheme="http://www.blogger.com/atom/ns#" term="Inspirational"/><category scheme="http://www.blogger.com/atom/ns#" term="James_Altucher"/><category scheme="http://www.blogger.com/atom/ns#" term="motivational"/><title type='text'>12 Things I&#39;ve Learnt   Reading   “CHOOSE YOURSELF” by James Altucher</title><content type='html'>&lt;iframe src=&quot;//www.slideshare.net/slideshow/embed_code/39471919&quot; width=&quot;425&quot; height=&quot;355&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;&quot; allowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;//www.slideshare.net/Shaon_sikdar/12-things-ive-learnt&quot; title=&quot;12 Things I&amp;#x27;ve Learnt   Reading   “CHOOSE YOURSELF” by James Altucher&quot; target=&quot;_blank&quot;&gt;12 Things I&amp;#x27;ve Learnt   Reading   “CHOOSE YOURSELF” by James Altucher&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;//www.slideshare.net/Shaon_sikdar&quot; target=&quot;_blank&quot;&gt;Siddiq Abu Bakkar&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/5592375527446958079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2014/09/12-things-ive-learnt-reading-choose.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/5592375527446958079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/5592375527446958079'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2014/09/12-things-ive-learnt-reading-choose.html' title='12 Things I&#39;ve Learnt   Reading   “CHOOSE YOURSELF” by James Altucher'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-2891703459936021154</id><published>2014-03-10T12:06:00.000+06:00</published><updated>2014-03-10T12:06:40.729+06:00</updated><title type='text'>Lets start to use GITHUB !</title><content type='html'>Why use something like Git? Say you and a coworker are both updating pages on the same website. You make your changes, save them, and upload them back to the website. So far, so good. The problem comes when your coworker is working on the same page as you at the same time. One of you is about to have your work overwritten and erased.&lt;br /&gt;
&lt;br /&gt;
A &lt;a href=&quot;http://git-scm.com/video/what-is-version-control&quot;&gt;version control&lt;/a&gt; application like Git keeps that from happening. You and your coworker can each upload your revisions to the same page, and Git will save two copies. Later, you can merge your changes together without losing any work along the way. You can even revert to an earlier version at any time, because Git keeps a “snapshot” of every change ever made.&lt;br /&gt;
&lt;br /&gt;
You have to&amp;nbsp;&lt;a href=&quot;https://github.com/&quot;&gt;Download GitHub&lt;/a&gt;&amp;nbsp;at first.&lt;br /&gt;
&lt;br /&gt;
Here is all common command of Github bash. So have a look before starting work. Don&#39;t need to afraid seeing lots of command !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;CREATE&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Clone and existing repository&lt;br /&gt;
$ git clone ssh://user@domain.com/repo.git&lt;br /&gt;
&lt;br /&gt;
Create a new local repository&lt;br /&gt;
$ git init&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;LOCAL CHANGES&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
Changes files in your working directory&lt;br /&gt;
$&amp;nbsp;git status [Get used to this command after every action]&lt;br /&gt;
&lt;br /&gt;
Add all current changes to the next &amp;nbsp;commit&lt;br /&gt;
$ git add .&lt;br /&gt;
&lt;br /&gt;
Add some changes in &amp;lt;file&amp;gt; to the next commit&lt;br /&gt;
$ git add -p &amp;lt;file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Commit all local changes in tracked files&lt;br /&gt;
$ git commit -a&lt;br /&gt;
&lt;br /&gt;
Commit previously staged changes&lt;br /&gt;
$ git commit&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;COMMIT HISTORY&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Show all commits, starting with newest&lt;br /&gt;
$ git log&lt;br /&gt;
&lt;br /&gt;
Show changes over time for a specific file&lt;br /&gt;
$ git log -p &amp;lt;file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Who changed what and when in &amp;lt;file&amp;gt;&lt;br /&gt;
$ git blame &amp;lt;file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Branches &amp;amp; tags&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
List all existing branches&lt;br /&gt;
$ git branch&lt;br /&gt;
&lt;br /&gt;
Switch HEAD branch&lt;br /&gt;
$ git checkout &amp;lt;branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a new branch based on y our current HEAD&lt;br /&gt;
&lt;br /&gt;
$ git branch &amp;lt;new-branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a new tracking branch based on a remote branch&lt;br /&gt;
$ git branch --track &amp;lt;new-branch&amp;gt; &amp;lt;remote-branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Delete a local branch&lt;br /&gt;
$ git branch -d &amp;lt;branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mark the current commit with a tag&lt;br /&gt;
$ git tag &amp;lt;tag-name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update &amp;amp; Publish&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
List all currently configured remotes&lt;br /&gt;
$ git remote -v&lt;br /&gt;
&lt;br /&gt;
Show information about a remote&lt;br /&gt;
$ git remote show &amp;lt;remote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add new remote repository , named &amp;lt;remote&amp;gt;&lt;br /&gt;
$ git remote add &amp;lt;remote&amp;gt; &amp;lt;url&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download all changes from &amp;lt;remote&amp;gt;, but &amp;nbsp;don‘t integrate into HEAD&lt;br /&gt;
$ git fetch &amp;lt;remote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download changes and directly merge/ integrate into HEAD&lt;br /&gt;
$ git pull &amp;lt;remote&amp;gt; &amp;lt;branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Publish local changes on a remote&lt;br /&gt;
$ git push &amp;lt;remote&amp;gt; &amp;lt;branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Delete a branch on the remote&lt;br /&gt;
$ git push &amp;lt;remote&amp;gt; :&amp;lt;branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Publish y our tags&lt;br /&gt;
$ git push --tags&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Merge &amp;amp; Rebase&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Merge &amp;lt;branch&amp;gt; into y our current HEAD&lt;br /&gt;
$ git merge &amp;lt;branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rebase y our current HEAD onto &amp;lt;branch&amp;gt;&lt;br /&gt;
Don‘t rebase published commits!&lt;br /&gt;
$ git rebase &amp;lt;branch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Abort a rebase&lt;br /&gt;
$ git rebase --abort&lt;br /&gt;
&lt;br /&gt;
Continue a rebase after resolving conflicts&lt;br /&gt;
$ git rebase --continue&lt;br /&gt;
&lt;br /&gt;
Use y our configured merge tool to solve conflicts&lt;br /&gt;
$ git mergetool&lt;br /&gt;
&lt;br /&gt;
Use y our editor to manually solve conflicts and (after resolving) mark file as resolved&lt;br /&gt;
&lt;br /&gt;
$ git add &amp;lt;resolved-file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ git rm &amp;lt;resolved-file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Undo&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Discard all local changes in y our working directory &lt;br /&gt;
$ git reset --hard HEAD&lt;br /&gt;
Discard local changes in a specific file&lt;br /&gt;
$ git checkout HEAD &amp;lt;file&amp;gt;&lt;br /&gt;
Revert a commit (by producing a new commit with contrary changes)&lt;br /&gt;
$ git revert &amp;lt;commit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reset y our HEAD pointer to a previous commit&lt;br /&gt;
…and discard all changes since then&lt;br /&gt;
$ git reset --hard &amp;lt;commit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
…and preserve all changes as unstaged&lt;br /&gt;
changes&lt;br /&gt;
$ git reset &amp;lt;commit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
…and preserve uncommitted local&lt;br /&gt;
changes&lt;br /&gt;
$ git reset --keep &amp;lt;commit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How you will use GitHub bash :&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/AVvXsEg0OAB_wSKGyrGYSc8RUQlX9hR0RnB-O1IS3lHOq1flImIT0DyuLHorNdAjjyP9y6I_BtZIlMnRSwnJRFG-dq8A-92oPnnIPPiLVuMXw2tm32T1pEuAPm7jfo7h5ezWTwZfONKOWsOadM7I/s1600/1.+Init+Git+Path+.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0OAB_wSKGyrGYSc8RUQlX9hR0RnB-O1IS3lHOq1flImIT0DyuLHorNdAjjyP9y6I_BtZIlMnRSwnJRFG-dq8A-92oPnnIPPiLVuMXw2tm32T1pEuAPm7jfo7h5ezWTwZfONKOWsOadM7I/s1600/1.+Init+Git+Path+.PNG&quot; height=&quot;258&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
After installing go to the directory where you want to keep the source control of your project. Press your mouse right option and press git bash. Write down&amp;nbsp;&lt;b&gt;&quot; git init &quot; .&amp;nbsp;&lt;/b&gt;It will create git initialize for that folder.&lt;br /&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/AVvXsEiY6K5IKLxP_asUQTWyBhYZxTbCJohhezIj1xbAnQaZmIPONALydTh4TkNHKrBnqOnuJxGkVySdudUjzfOcJYSKm4kgJYand-t-g7J53_L_VYBJ6UCkJSAZvjV7BMjzNUCuQrVBH2FNNwZL/s1600/2.+Check+branch+and+checkout+branch.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY6K5IKLxP_asUQTWyBhYZxTbCJohhezIj1xbAnQaZmIPONALydTh4TkNHKrBnqOnuJxGkVySdudUjzfOcJYSKm4kgJYand-t-g7J53_L_VYBJ6UCkJSAZvjV7BMjzNUCuQrVBH2FNNwZL/s1600/2.+Check+branch+and+checkout+branch.PNG&quot; height=&quot;195&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Now write down &lt;b&gt;&quot;&amp;nbsp;git status&lt;/b&gt;&amp;nbsp;&lt;b&gt;&quot;&lt;/b&gt;you will see you are on the master branch.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&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/AVvXsEg74T_v9nnkw8J9z_9c-oO9CgGx_aQbOdBW9VJx-63MEp-cbXFqwtltkOeqwBxXXDKFaDRHNPRSQBitiWXtv5CGUyxv1Kmkakyh3-W8Tbf85jMFmZcvCR1uvDCBKMK4PPt9qXrrpzEzg6GJ/s1600/3.+Open+a+new+project+on+git+initialization+path.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg74T_v9nnkw8J9z_9c-oO9CgGx_aQbOdBW9VJx-63MEp-cbXFqwtltkOeqwBxXXDKFaDRHNPRSQBitiWXtv5CGUyxv1Kmkakyh3-W8Tbf85jMFmZcvCR1uvDCBKMK4PPt9qXrrpzEzg6GJ/s1600/3.+Open+a+new+project+on+git+initialization+path.PNG&quot; height=&quot;400&quot; width=&quot;390&quot; /&gt;&lt;/a&gt;&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/AVvXsEhYDm5h6oWoW9V1JDzIc4EdSxbGqvOfEbeXvmyA2LDgU1shgaVLW3ohBpeRWVO_dO_xRZgWexyDRcQ_TPEhcTTRCt9VAg8uI1bmOliJ_GTGrnmMVM-waSwq6idn9JNoX4Wxiu6hghbs23wK/s1600/4.+After+adding+project+untracked+code.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYDm5h6oWoW9V1JDzIc4EdSxbGqvOfEbeXvmyA2LDgU1shgaVLW3ohBpeRWVO_dO_xRZgWexyDRcQ_TPEhcTTRCt9VAg8uI1bmOliJ_GTGrnmMVM-waSwq6idn9JNoX4Wxiu6hghbs23wK/s1600/4.+After+adding+project+untracked+code.PNG&quot; height=&quot;195&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEh5jaosefBVdPs4VPzxh7uFIx9PbYn2UbysYPQwXvPjQXurC2_dbdNX8ZAa-asBi7Xe4WUvL87ngEEbPiApJnGAVYHGNEUd1MqoJgqYPtlEYbutL2fDictl0MloXxB4FvXKgHTlC_73NJSU/s1600/5.+Add+all+file.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5jaosefBVdPs4VPzxh7uFIx9PbYn2UbysYPQwXvPjQXurC2_dbdNX8ZAa-asBi7Xe4WUvL87ngEEbPiApJnGAVYHGNEUd1MqoJgqYPtlEYbutL2fDictl0MloXxB4FvXKgHTlC_73NJSU/s1600/5.+Add+all+file.PNG&quot; height=&quot;199&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&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/AVvXsEh3W-UQgICexvcKusEcry9duL5lkLMWpVR7TZSxU0VNs49WiRQOY-npNPym5rH0wmgU0ZQOEKvjq2k8FXDeKl7del_P36LPf6_goparn1XoE9If2xDeAEVacFbrg9GHQrVWbGZOkTSndsKn/s1600/6.+Status+After+Using+add+all.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3W-UQgICexvcKusEcry9duL5lkLMWpVR7TZSxU0VNs49WiRQOY-npNPym5rH0wmgU0ZQOEKvjq2k8FXDeKl7del_P36LPf6_goparn1XoE9If2xDeAEVacFbrg9GHQrVWbGZOkTSndsKn/s1600/6.+Status+After+Using+add+all.PNG&quot; height=&quot;218&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now open a new project. After new project write down&amp;nbsp;&lt;b&gt;git status.&amp;nbsp;&lt;/b&gt;As you have create a new project you will see that project untracked. You can add all the file using&amp;nbsp;&lt;b&gt;&quot; git add . &quot;&lt;/b&gt;&amp;nbsp;. Now you can check the status using&amp;nbsp;&lt;b&gt;&quot; git status &quot;.&lt;/b&gt;&amp;nbsp;You will see all files has been added.&lt;br /&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/AVvXsEh9n4UkBNkZ2lozq0DsiTUg_a8TAo9qb3pt9afwhA1tpvdO7e1mbRnk8Zrge54NxdE99VrX_k0DWqQ5xAfktxDsLsMMnZJxUq9Kw4qQycg6yr9p2mOKqO5OTwkZlCvlwNx-pqTrQNXG3cOf/s1600/7.+Message+for+the+commit.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9n4UkBNkZ2lozq0DsiTUg_a8TAo9qb3pt9afwhA1tpvdO7e1mbRnk8Zrge54NxdE99VrX_k0DWqQ5xAfktxDsLsMMnZJxUq9Kw4qQycg6yr9p2mOKqO5OTwkZlCvlwNx-pqTrQNXG3cOf/s1600/7.+Message+for+the+commit.PNG&quot; height=&quot;223&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If its seems to you everything is okay for making one version for the project then write down&amp;nbsp;&lt;b&gt;&quot; git commit &quot;&lt;/b&gt;.&amp;nbsp;You will get prompt for writing message for that specific commit. After completing message&amp;nbsp;&lt;b&gt;press Esc and write down :wq&amp;nbsp;&lt;/b&gt;to go back to the command line.&lt;br /&gt;
&lt;br /&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/AVvXsEj_M34f-O0e9aXMC5VLryKu2mxw5yn3aouPeiJICnvRDMjHRDyLHMm7x0o2X0y7Zib7N2_Ix662k5nPX69SRMZodDW9yrFLyw-clFyzRKKihNCPP5nwP12gkc-o45CZ9Cs3RO8-h5C5Xzlh/s1600/8.+GIT+Log.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_M34f-O0e9aXMC5VLryKu2mxw5yn3aouPeiJICnvRDMjHRDyLHMm7x0o2X0y7Zib7N2_Ix662k5nPX69SRMZodDW9yrFLyw-clFyzRKKihNCPP5nwP12gkc-o45CZ9Cs3RO8-h5C5Xzlh/s1600/8.+GIT+Log.PNG&quot; height=&quot;217&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
You can show all the commits , starting with newest using&amp;nbsp;&lt;b&gt;&quot; git log &quot;&amp;nbsp;&lt;/b&gt;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&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/AVvXsEgZVmUqhibbNjrM8fuaYvoMWnU8LC5C-lI_sUXMnrOCji8hBRIkhMD3wKmXnRexuMxP2u8bSei9TYr2oEqnIXB2b0SZmsZCjvSNyqVoRsJogKkWEH_xc-FJrbdz1IEA-MNHvhqe9VCR4qRF/s1600/9.+Specific+File+Changes.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZVmUqhibbNjrM8fuaYvoMWnU8LC5C-lI_sUXMnrOCji8hBRIkhMD3wKmXnRexuMxP2u8bSei9TYr2oEqnIXB2b0SZmsZCjvSNyqVoRsJogKkWEH_xc-FJrbdz1IEA-MNHvhqe9VCR4qRF/s1600/9.+Specific+File+Changes.PNG&quot; height=&quot;285&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to show changes over time for a specific file&amp;nbsp;&lt;b&gt;&quot; git log -p &amp;lt;filename&amp;gt; &quot;&lt;/b&gt;&amp;nbsp;.&lt;br /&gt;
&lt;your_file_name&gt;&lt;b&gt;Press tab after -p you will get suggestion from cmd prompt for the folder or file. It will save your time to write in down the foldername and filename also it will minimize the error on writing.&lt;/b&gt;&lt;/your_file_name&gt;&lt;br /&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;b&gt;IMPORTANT : To back to the bash command press Esc and write down :wq .&lt;/b&gt;&lt;/your_file_name&gt;&lt;br /&gt;
&lt;your_file_name&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/your_file_name&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;your_file_name&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/your_file_name&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGKBfcuWLCgCEzYvwHlptxT2eD-V4AS8j3FjzITru5mgnUgykdtNjDdDftPz9cSI0UvtKJY9dLhVSvT3FHrRHPCrGyO3j6-5RMeU1vzZEAtY0ETkXwQcUksCqCW_b9L4TLwy-E91t4NLtQ/s1600/10.+Who+changed+specific+file.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGKBfcuWLCgCEzYvwHlptxT2eD-V4AS8j3FjzITru5mgnUgykdtNjDdDftPz9cSI0UvtKJY9dLhVSvT3FHrRHPCrGyO3j6-5RMeU1vzZEAtY0ETkXwQcUksCqCW_b9L4TLwy-E91t4NLtQ/s1600/10.+Who+changed+specific+file.PNG&quot; height=&quot;287&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
If you want to see who changed what file and when use&amp;nbsp;&lt;b&gt;&quot;&amp;nbsp;&lt;/b&gt;&lt;your_file_name&gt;&lt;b&gt;git blame &amp;lt;filename&amp;gt; &quot;&amp;nbsp;&lt;/b&gt;.&lt;/your_file_name&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;&lt;/div&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&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/AVvXsEiL0hmw71l3p2_mPkLMuLbx2xlCjNLgq1_uBhC3oQiN2ZstRYuB_rYLN-JXwMN66rEVVRERakvwKUq-fvzCgh-cmEN2LFwLJNnr7abBAbGK2Xyii3luJgMwbJrm3Y1hEAJN5sq9AfIoBz4e/s1600/11.+Check+branch.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL0hmw71l3p2_mPkLMuLbx2xlCjNLgq1_uBhC3oQiN2ZstRYuB_rYLN-JXwMN66rEVVRERakvwKUq-fvzCgh-cmEN2LFwLJNnr7abBAbGK2Xyii3luJgMwbJrm3Y1hEAJN5sq9AfIoBz4e/s1600/11.+Check+branch.PNG&quot; height=&quot;287&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;&lt;br /&gt;&lt;/your_file_name&gt;
&lt;your_file_name&gt;If you want to&amp;nbsp;&lt;/your_file_name&gt;check all the branches use&amp;nbsp;&lt;b&gt;&quot; git branch &quot;&lt;/b&gt;&amp;nbsp;. If you want to switch to head branch &amp;nbsp;&lt;b&gt;&quot; git checkout master &quot;&lt;/b&gt;&amp;nbsp;.&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;/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/AVvXsEhJDOdpEOuu6RAD7NUl6EjAbJCo8OV8wswFMUngusugJPsW13c2WEWY6qfLyEAoU87PRdnnAl9FVVE1BJmeFDKXn8N3eyssaAPAWA9yJKZAfWPcG0YbFghdvaiwhB5WA40OwYHcHhDAxjGO/s1600/13.+Branches+Visual.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDOdpEOuu6RAD7NUl6EjAbJCo8OV8wswFMUngusugJPsW13c2WEWY6qfLyEAoU87PRdnnAl9FVVE1BJmeFDKXn8N3eyssaAPAWA9yJKZAfWPcG0YbFghdvaiwhB5WA40OwYHcHhDAxjGO/s1600/13.+Branches+Visual.PNG&quot; height=&quot;310&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes its necessary to show branch with details. To show details use&amp;nbsp;&lt;b&gt;&quot; git show-branch --list &quot;&lt;/b&gt;&amp;nbsp;. If you need all commit with details with some excellent color theme you can use&amp;nbsp;&lt;b&gt;&quot; git log --graph git log --graph --full-history --all --pretty=format:&quot;%h%x09%d%x20%s&quot; &quot;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
With colors (if your shell is Bash):&lt;b&gt; &quot; git log --graph --full-history --all --color \ --pretty=format:&quot;%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s&quot; &amp;nbsp;&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;branch_name&gt;&lt;br /&gt;&lt;/branch_name&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/AVvXsEg3WRjqTpj95swbeZ6zUaGt5VaiJg4TdxpzfUuVr6c3ARAXoWgLXmqAVRWIHjaZ-Z2oxFra9mxqmGkqkYX_hsYgeHErYgZd-qpESEWXZavpUVHgEVvYR66qMdrdqXZ6RMkG283MXOJY-lYZ/s1600/14.+Delete+Branch.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3WRjqTpj95swbeZ6zUaGt5VaiJg4TdxpzfUuVr6c3ARAXoWgLXmqAVRWIHjaZ-Z2oxFra9mxqmGkqkYX_hsYgeHErYgZd-qpESEWXZavpUVHgEVvYR66qMdrdqXZ6RMkG283MXOJY-lYZ/s1600/14.+Delete+Branch.PNG&quot; height=&quot;267&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to delete a local branch use&amp;nbsp;&lt;b&gt;&quot; git branch -d &amp;lt;branch-name&amp;gt; &quot;&amp;nbsp;&lt;/b&gt;. You can&amp;nbsp;&lt;branch_name&gt;mark the current commit with a tag. To tag the current commit you have to use&amp;nbsp;&lt;b&gt;&quot; git tag &amp;lt;tag-name&amp;gt; &quot;&amp;nbsp;&lt;/b&gt;.&lt;/branch_name&gt;&lt;br /&gt;
&lt;branch_name&gt;&lt;br /&gt;&lt;/branch_name&gt;
&lt;branch_name&gt;&lt;br /&gt;&lt;/branch_name&gt;
&lt;branch_name&gt;&lt;br /&gt;&lt;/branch_name&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/AVvXsEhaTCPjfkqK1bnYu1kAbq6_TVOSIjmOy7NN1TaubHhgzt_vysEOrE4vIvUYNlW0QCYwgTqH_i2Pbpxza7OlDX5nAYXCO6p5tOoRBaldskrsc-VJrKvR4MZkjtTt_HN4TISAbBufq5o9oIsW/s1600/15.+Repository+create.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaTCPjfkqK1bnYu1kAbq6_TVOSIjmOy7NN1TaubHhgzt_vysEOrE4vIvUYNlW0QCYwgTqH_i2Pbpxza7OlDX5nAYXCO6p5tOoRBaldskrsc-VJrKvR4MZkjtTt_HN4TISAbBufq5o9oIsW/s1600/15.+Repository+create.PNG&quot; height=&quot;212&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a repository on your github account.&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/AVvXsEjSb9APoVNNkfxWpEcan8VpVpDoNlP9sXQBOdS2lWForZbibEi3LAkB0E-ycM-B-2IH0VZngn3nEbMQC918s4Lbp1nbgVLI9y8SiOK9P9-TVDNg5502bfrj3JLzIWNye-11QFJeMUvVoEJO/s1600/16.+Repo+details+.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSb9APoVNNkfxWpEcan8VpVpDoNlP9sXQBOdS2lWForZbibEi3LAkB0E-ycM-B-2IH0VZngn3nEbMQC918s4Lbp1nbgVLI9y8SiOK9P9-TVDNg5502bfrj3JLzIWNye-11QFJeMUvVoEJO/s1600/16.+Repo+details+.PNG&quot; height=&quot;227&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add a new remote repository using&lt;br /&gt;
&lt;b&gt;&lt;remote&gt;&quot; git remote add origin &amp;nbsp;&lt;/remote&gt;https://github.com/SiddiqGoogleGlass/project_test.git &quot;&lt;/b&gt;&lt;br /&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/AVvXsEi0333dsXcZqD4fzLbkeACglg0Cwo6C4cawKesHfPRR1Ny_tvlwQn5s2RkFlVkZ2PqVeR8dUVauqV6CZb__xOqMSSDq2vqKkOJD4mBV2I_aT_PI6BJmr-J_qnV9-F-zv8_IGbwJfF5gcP4W/s1600/17.+Push+Origin.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0333dsXcZqD4fzLbkeACglg0Cwo6C4cawKesHfPRR1Ny_tvlwQn5s2RkFlVkZ2PqVeR8dUVauqV6CZb__xOqMSSDq2vqKkOJD4mBV2I_aT_PI6BJmr-J_qnV9-F-zv8_IGbwJfF5gcP4W/s1600/17.+Push+Origin.PNG&quot; height=&quot;267&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Now you can push your code to the server using &quot; git push -u origin master &quot;&lt;/b&gt;&amp;nbsp;.&amp;nbsp;&lt;b&gt;Make sure you are in same branch name. As you are trying to push origin master so you have to checkout to master branch in local and push from that branch.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;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/AVvXsEh7xSi92Qd1T2p9YDWRsv9k5h61RwvpcKdvaGHRxkbjbuR-Pr-eaQfyDBM98oRVSqQnRnK88i7CcG-einfaDuAiSQQwL9TVSh_7H09GaC6d8to9nZjCTUjIRYWJfsu8xT3o_nqJer0hmokL/s1600/18.+After+pushing.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7xSi92Qd1T2p9YDWRsv9k5h61RwvpcKdvaGHRxkbjbuR-Pr-eaQfyDBM98oRVSqQnRnK88i7CcG-einfaDuAiSQQwL9TVSh_7H09GaC6d8to9nZjCTUjIRYWJfsu8xT3o_nqJer0hmokL/s1600/18.+After+pushing.PNG&quot; height=&quot;237&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you will see the updated code has been pushed to the github server.&lt;br /&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/AVvXsEhXl-aQZkwbKLYwBg36em8-j44YNhJVmEC9iPQyzJgqBuFX8G_mHqumHEWw-2BC8KLV40PziZSXVtE2IV6lw3nubp2NX2WsogVCI2Q6DHUGTIGn5n2u00W088KHv7iOXpNVo1g6iDCwGP0A/s1600/19.+Clone+URL.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXl-aQZkwbKLYwBg36em8-j44YNhJVmEC9iPQyzJgqBuFX8G_mHqumHEWw-2BC8KLV40PziZSXVtE2IV6lw3nubp2NX2WsogVCI2Q6DHUGTIGn5n2u00W088KHv7iOXpNVo1g6iDCwGP0A/s1600/19.+Clone+URL.PNG&quot; height=&quot;382&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;https clone=&quot;&quot; url=&quot;&quot;&gt;&lt;br /&gt;&lt;/https&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYfCivNtRjRXQFd9AD3LOqe3AJQwSu8z7djWaU_LiNiButWcK8E_waC6Cwt9Hxbk88fZoQ95ydFaZve9Fb0wc36-VPKQItXh4L5oTDhyrISSgYGAUYnE5Nuii1GSoPH4Yl6cIuPyM0yoTk/s1600/20.+Second_member_making_clone.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYfCivNtRjRXQFd9AD3LOqe3AJQwSu8z7djWaU_LiNiButWcK8E_waC6Cwt9Hxbk88fZoQ95ydFaZve9Fb0wc36-VPKQItXh4L5oTDhyrISSgYGAUYnE5Nuii1GSoPH4Yl6cIuPyM0yoTk/s1600/20.+Second_member_making_clone.PNG&quot; height=&quot;247&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
You will get the HTTPS clone URL from here the github server. Now another developer of your team can work on this repository. To work on this repository at first&amp;nbsp;&lt;b&gt;need to clone the project&lt;/b&gt;. Your co-developer can clone the project using&amp;nbsp;&lt;b&gt;&quot; git clone &amp;lt;repo-url&amp;gt; &quot;&lt;/b&gt;&lt;https clone=&quot;&quot; url=&quot;&quot;&gt;. &amp;nbsp;&lt;/https&gt;&lt;/div&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/AVvXsEiAy1H41XxqdkGQJc4i29o9vntnzeKf5WWzsb5sAz-jpdYoH_LDj0kPEqEAnk5VWV1YKCFRXfCE9d4AVyhyl5Gjoyhm3QPxAWpjjRKR4ExYlcS6I6fjWbD82yq2eeYcZbgPfxXgZYUiOKxq/s1600/21.+Clone+Success.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAy1H41XxqdkGQJc4i29o9vntnzeKf5WWzsb5sAz-jpdYoH_LDj0kPEqEAnk5VWV1YKCFRXfCE9d4AVyhyl5Gjoyhm3QPxAWpjjRKR4ExYlcS6I6fjWbD82yq2eeYcZbgPfxXgZYUiOKxq/s1600/21.+Clone+Success.PNG&quot; height=&quot;202&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clone successful your team member will get success message. After that what you need to do first is &lt;b&gt;&quot; git status &quot;&lt;/b&gt; .
After that create one branch for local github like &quot; local_development &quot; using &lt;b&gt;&quot; git branch local_development &quot;&lt;/b&gt;. Then checkout to that local_development using &lt;b&gt;&quot; git checkout local_development &quot; &lt;/b&gt;. Now&amp;nbsp;your team member can work on that branch to track his/her code.&lt;br /&gt;
&lt;br /&gt;
If you or your team member need to get the older code that have cloned or coded or other branch code then just checkout to that branch and you will get the exact code of that branch in your source code.&lt;br /&gt;
&lt;br /&gt;
Awesome !!! Now you and your team members can code at same time without any hassle. Happy coding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Best practices&amp;nbsp;you should follow :&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Commit related changes&lt;br /&gt;
Commit often&lt;br /&gt;
Don&#39;t commit half-done work&lt;br /&gt;
Test code before you commit&lt;br /&gt;
Write good commit message&lt;br /&gt;
Use branches&lt;br /&gt;
Agree on a workflow&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Some exception you will get :&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
1. Pushing to Git returning Error Code 403 fatal: HTTP request failed&lt;br /&gt;
&lt;br /&gt;
http://stackoverflow.com/questions/7438313/pushing-to-git-returning-error-code-403-fatal-http-request-failed


clear will clear the cmd prompt screen&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Help &amp;amp; Documentation&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Git help on the command line&lt;br /&gt;
$git help &amp;lt;command&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Official git website&lt;br /&gt;
www.git-scm.com&lt;br /&gt;
&lt;br /&gt;
Free online resources&lt;br /&gt;
www.progit.org&lt;br /&gt;
bookgit.git-scm.org&lt;br /&gt;
www.gitref.org</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/2891703459936021154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2014/03/lets-start-to-use-github.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2891703459936021154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2891703459936021154'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2014/03/lets-start-to-use-github.html' title='Lets start to use GITHUB !'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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/AVvXsEg0OAB_wSKGyrGYSc8RUQlX9hR0RnB-O1IS3lHOq1flImIT0DyuLHorNdAjjyP9y6I_BtZIlMnRSwnJRFG-dq8A-92oPnnIPPiLVuMXw2tm32T1pEuAPm7jfo7h5ezWTwZfONKOWsOadM7I/s72-c/1.+Init+Git+Path+.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-1302926156613725888</id><published>2013-07-22T11:48:00.001+06:00</published><updated>2013-07-22T11:48:30.893+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Inspiration"/><category scheme="http://www.blogger.com/atom/ns#" term="motivational"/><title type='text'>10 Life Lessons From The #Simpsons</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/24438532?rel=0&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/mrcoryjim/10-life-lessons-from-the-simpsons-by-marikachu&quot; title=&quot;10 Life Lessons From The #Simpsons - by @marikachu&quot; target=&quot;_blank&quot;&gt;10 Life Lessons From The #Simpsons - by @marikachu&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/mrcoryjim&quot; target=&quot;_blank&quot;&gt;Empowered Presentations, Presentation Design Firm - Honolulu, HI&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/1302926156613725888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/07/10-life-lessons-from-simpsons.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/1302926156613725888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/1302926156613725888'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/07/10-life-lessons-from-simpsons.html' title='10 Life Lessons From The #Simpsons'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-7406694481947997501</id><published>2013-06-30T17:19:00.002+06:00</published><updated>2013-06-30T17:19:42.702+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Entrepreneurship"/><category scheme="http://www.blogger.com/atom/ns#" term="Inspiration"/><category scheme="http://www.blogger.com/atom/ns#" term="motivational"/><title type='text'>10 Things Entrepreneurs can learn from Children</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/23495150&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/SeanFarrell/10-things-entrepreneurs-can-learn-from-children&quot; title=&quot;10 Things Entrepreneurs can learn from Children&quot; target=&quot;_blank&quot;&gt;10 Things Entrepreneurs can learn from Children&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/SeanFarrell&quot; target=&quot;_blank&quot;&gt;Wallner Marc Eric&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/7406694481947997501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/06/10-things-entrepreneurs-can-learn-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/7406694481947997501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/7406694481947997501'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/06/10-things-entrepreneurs-can-learn-from.html' title='10 Things Entrepreneurs can learn from Children'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-2712715471264001394</id><published>2013-06-30T15:32:00.000+06:00</published><updated>2013-06-30T15:32:02.082+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Entrepreneurship"/><category scheme="http://www.blogger.com/atom/ns#" term="motivational"/><title type='text'>10 Business Lessons from the Battlefield [BUSINESS TIPS]</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/10524813?rel=0&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/mrcoryjim/10-business-lessons-from-the-battlefield-ep&quot; title=&quot;10 Business Lessons from the Battlefield [BUSINESS TIPS] - #business #battlefield #tips&quot; target=&quot;_blank&quot;&gt;10 Business Lessons from the Battlefield [BUSINESS TIPS] - #business #battlefield #tips&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/mrcoryjim&quot; target=&quot;_blank&quot;&gt;Empowered Presentations, Presentation Design Firm - Honolulu, HI&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/2712715471264001394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/06/10-business-lessons-from-battlefield.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2712715471264001394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2712715471264001394'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/06/10-business-lessons-from-battlefield.html' title='10 Business Lessons from the Battlefield [BUSINESS TIPS]'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-128657082927737991</id><published>2013-06-27T18:25:00.000+06:00</published><updated>2013-06-27T18:25:35.217+06:00</updated><title type='text'>Software Development Practices</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/23365549?rel=0&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/lemiorhan/gmoless-software-development-practices&quot; title=&quot;GMO&amp;#39;less Software Development Practices&quot; target=&quot;_blank&quot;&gt;GMO&amp;#39;less Software Development Practices&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/lemiorhan&quot; target=&quot;_blank&quot;&gt;Lemi Orhan Ergin&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/128657082927737991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/06/software-development-practices.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/128657082927737991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/128657082927737991'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/06/software-development-practices.html' title='Software Development Practices'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-8262750641786100923</id><published>2013-05-19T14:18:00.000+06:00</published><updated>2013-05-19T14:18:09.126+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Inspiration"/><category scheme="http://www.blogger.com/atom/ns#" term="motivational"/><title type='text'>iMentor Steve Jobs</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/9022108?rel=0&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/TomasBay/imentor-steve-jobs&quot; title=&quot;iMentor Steve Jobs&quot; target=&quot;_blank&quot;&gt;iMentor Steve Jobs&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/TomasBay&quot; target=&quot;_blank&quot;&gt;Coach Bay&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/8262750641786100923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/imentor-steve-jobs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/8262750641786100923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/8262750641786100923'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/imentor-steve-jobs.html' title='iMentor Steve Jobs'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-548846974724753015</id><published>2013-05-19T12:55:00.000+06:00</published><updated>2013-05-19T12:55:14.315+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Entrepreneurship"/><category scheme="http://www.blogger.com/atom/ns#" term="Inspiration"/><category scheme="http://www.blogger.com/atom/ns#" term="Slideshare"/><title type='text'>The 3 Secrets of Highly Successful Graduates</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/21039424?rel=0&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/reidhoffman/the-3-secrets-of-highly-successful-graduates&quot; title=&quot;The 3 Secrets of Highly Successful Graduates&quot; target=&quot;_blank&quot;&gt;The 3 Secrets of Highly Successful Graduates&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/reidhoffman&quot; target=&quot;_blank&quot;&gt;Reid Hoffman&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/548846974724753015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/the-3-secrets-of-highly-successful.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/548846974724753015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/548846974724753015'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/the-3-secrets-of-highly-successful.html' title='The 3 Secrets of Highly Successful Graduates'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-676634646014974951</id><published>2013-05-17T00:48:00.000+06:00</published><updated>2013-05-17T00:48:10.614+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Inspiration"/><category scheme="http://www.blogger.com/atom/ns#" term="motivate"/><title type='text'>The POWER in a Millionaire’s Mindset</title><content type='html'>&lt;b&gt;1. Anything worth doing is worth doing poorly at first.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
No one is perfect, not now nor ever will be. It’s not practice that makes perfect – it’s imperfect practice that eventually makes perfect. It’s only natural when you start something new that you do it poorly at first. You may feel inadequate and inferior. Don’t be embarrassed, though. There’s always a price to be paid for success. The trick is to stick with it until you succeed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Don’t be below average, and do below average things.&lt;/b&gt;

To develop the right mindset you must make personal excellence part of your DAILY routine and overall mission in life. That means doing what others refuse to do. To get the reward you must be willing to take the risk. Let’s start this lesson with the basic understanding of developing a millionaire mindset.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;3. &quot;You were born to win, but to be a winner, you must plan to win, prepare to win, and expect to win.&quot; Having the right mindset is more important than having the right idea.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. The people who find true success in life are the ones who, instead of spending all night in front of the TELEVISION, are busy working or improving their skills in some way. Don’t be complacent and just get by.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. Focus on your own success first.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Don’t hinder your success by worrying about the political, social, and economic issues the world or those around you face. In life, it’s important you take care of yourself first. Do this before you offer your time or effort to others. You’re not being selfish – you’re being practical. The happier you are and the more peace of mind you have, the better equipped you are to help others. So don’t ignore the most important person in your life.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Don’t compare yourself to others who are doing better than you.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
No matter how successful you become, there will be others “above” you. Don’t waste your time and effort focusing on this sort of thing. It creates jealousy and feelings of inadequacy within you. Focus on yourself.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;7. You can achieve anything you believe if you take enough action.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
There are people who are better than you at certain things, but we all have that area in which we excel. All skills are learn-able. You may not be the best, but you can improve. If you want something bad enough and are prepared to work for it, you can make it happen.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. Accept that it requires hard work and in the trenches commitment.&lt;/b&gt;

It won’t always be 100% enjoyable nothing ever is. “Everybody has talent, but ability takes hard work.” Hard works opens the door to success, and with it comes the freedom to do what you want when you want.&lt;br /&gt;
&lt;br /&gt;
CREDIT &amp;nbsp;: Melissa Krivachek is President of Briella Arion&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/676634646014974951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/the-power-in-millionaires-mindset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/676634646014974951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/676634646014974951'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/the-power-in-millionaires-mindset.html' title='The POWER in a Millionaire’s Mindset'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-6319786624896015584</id><published>2013-05-17T00:27:00.000+06:00</published><updated>2013-05-17T00:27:06.056+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Entrepreneurship"/><category scheme="http://www.blogger.com/atom/ns#" term="startup"/><title type='text'>Start-up of You, Visual Summary</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/16627018?rel=0&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/reidhoffman/startup-of-you-visual-summary&quot; title=&quot;Start-up of You, Visual Summary&quot; target=&quot;_blank&quot;&gt;Start-up of You, Visual Summary&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/reidhoffman&quot; target=&quot;_blank&quot;&gt;Reid Hoffman&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/6319786624896015584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/start-up-of-you-visual-summary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/6319786624896015584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/6319786624896015584'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/05/start-up-of-you-visual-summary.html' title='Start-up of You, Visual Summary'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-2495245538963566913</id><published>2013-03-04T14:18:00.002+06:00</published><updated>2013-03-04T15:19:03.514+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="AR"/><category scheme="http://www.blogger.com/atom/ns#" term="AR Android"/><category scheme="http://www.blogger.com/atom/ns#" term="augmented reality"/><title type='text'>Augmented Reality (AR) &amp; Develop AR APP in Android</title><content type='html'>&lt;b&gt;Augmented reality (AR)&lt;/b&gt; is a live, direct or indirect, view of a physical, real-world environment whose elements are augmented by computer-generated sensory input such as sound, video, graphics or GPS data. It is related to a more general concept called mediated reality, in which a view of reality is modified (possibly even diminished rather than augmented) by a computer. As a result, the technology functions by enhancing one’s current perception of reality. By contrast, virtual reality replaces the real world with a simulated one.Augmentation is conventionally in real-time and in semantic context with environmental elements, such as sports scores on TV during a match. With the help of advanced AR technology (e.g. adding computer vision and object recognition) the information about the surrounding real world of the user becomes interactive and digitally manipulable. Artificial information about the environment and its objects can be overlaid on the real world.
&lt;br&gt;
[Source : Wikipedia] [ &lt;a href=&quot;http://en.wikipedia.org/wiki/Augmented_reality&quot;&gt;More Details&lt;/a&gt;]
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Augmented Reality Research&lt;/b&gt;
&lt;br&gt;
&lt;a href=&quot;https://wiki.smu.edu.sg/w/is480/images/e/e7/CHARIS_ARResearch_v1.pdf&quot;&gt; CHARIS RESEARCH&lt;/a&gt;

&lt;br&gt;&lt;br&gt;

&lt;b&gt;Top Rated Games &amp; Apps in AR&lt;/b&gt;
&lt;br&gt;
&lt;a href=&quot;http://android.appstorm.net/roundups/lifestyle-roundups/the-best-augmented-reality-apps/&quot;&gt;The Best Augmented Reality Apps&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;http://venturebeat.com/2012/12/23/augmented-reality/&quot;&gt;Augmented Reality&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;http://allyouneedislists.com/gaming/mobile/7-kick-ass-augmented-reality-mobile-games/&quot;&gt; Kick Ass Augmented Reality Mobile Games&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mobile-augmented-reality.com/&quot;&gt; Mobile Augmented Reality&lt;/a&gt;

&lt;br&gt;&lt;br&gt;

&lt;b&gt;Video on AR&lt;/b&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.youtube.com/watch?v=GJKwHAvR4uI&quot;&gt;Augmented Reality Thesis Video&lt;/a&gt;

&lt;br&gt;&lt;br&gt;

&lt;b&gt;Developing Apps on AUGMENTED REALITY (AR)&lt;/b&gt;
&lt;br&gt;
&lt;a href=&quot;http://mobile.tutsplus.com/tutorials/android/android_augmented-reality/&quot;&gt;Mobile TutPlus AR TUT&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.junaio.com/develop/&quot;&gt;Junaio AR TUT&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.wikitude.com/developer&quot;&gt;Wikitude AR TUT&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;https://www.layar.com/accounts/register/?next=/publishing/signup/acceptterms/developer?as_dev=1&amp;as_dev=1&quot;&gt;Layar AR TUT&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.google.com/mobile/skymap/&quot;&gt;Google AR TUT&lt;/a&gt;
&lt;br&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/4796658/how-to-develop-augmented-reality-application-for-android&quot;&gt;Stackover AR Thread&lt;/a&gt;

&lt;br&gt;&lt;br&gt;

How to work on Junaio for AR:
&lt;br&gt;

&lt;a href=&quot;http://helpdesk.metaio.com/&quot;&gt; Help Desk&lt;/a&gt;

&lt;br&gt;

&lt;a href=&quot;http://dev.metaio.com/sdk/getting-started/android/running-the-tutorials-app/&quot;&gt;Setting Junaio&lt;/a&gt;

&lt;br&gt;

&lt;a href=&quot;http://dev.metaio.com/junaio/junaio-plugin/android-development/&quot;&gt;Android Development&lt;/a&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/2495245538963566913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2013/03/augmented-reality-ar-develop-ar-app-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2495245538963566913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2495245538963566913'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2013/03/augmented-reality-ar-develop-ar-app-in.html' title='Augmented Reality (AR) &amp; Develop AR APP in Android'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-6318540147473995516</id><published>2012-10-01T09:17:00.001+06:00</published><updated>2012-10-01T09:17:54.809+06:00</updated><title type='text'>Most Presentation Stink!</title><content type='html'>&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/5611769?rel=0&quot; width=&quot;427&quot; height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/mrcoryjim/most-presentations-stink-connect4-ep&quot; title=&quot;Most Presentations Stink! [Presentation Tips] - EP&quot; target=&quot;_blank&quot;&gt;Most Presentations Stink! [Presentation Tips] - EP&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/mrcoryjim&quot; target=&quot;_blank&quot;&gt;Empowered Presentations, Presentation Design Firm - Honolulu, HI&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/6318540147473995516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/10/most-presentation-stink.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/6318540147473995516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/6318540147473995516'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/10/most-presentation-stink.html' title='Most Presentation Stink!'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-4354256672749028599</id><published>2012-08-11T22:33:00.002+06:00</published><updated>2012-08-11T22:33:35.940+06:00</updated><title type='text'>Difference Between Primary key and Unique key</title><content type='html'>&lt;br /&gt;
Primary key and Unique key constraints are important feature in database system. They have some key identity which is important to know.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Unique Key constraints:&lt;/b&gt;&lt;br /&gt;
Unique key constraint will provide you a constraint like the column values should retain &lt;b&gt;uniqueness&lt;/b&gt;.&lt;br /&gt;
It will &lt;b&gt;allow null value&lt;/b&gt; in the column.&lt;br /&gt;
It will &lt;b&gt;create non-clustered index by default&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Any number&lt;/b&gt; of unique constraints can be added to a table.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Primary Key Constraint:&lt;/b&gt;&lt;br /&gt;
Primary key will create &lt;b&gt;column data uniqueness&lt;/b&gt; in the table.&lt;br /&gt;
Primary key will create clustered index by default&lt;br /&gt;
&lt;b&gt;Only one&lt;/b&gt; Primary key can be created for a table&lt;br /&gt;
&lt;b&gt;Multiple columns&lt;/b&gt; can be consolidated to form a single primary key&lt;br /&gt;
It &lt;b&gt;won&#39;t allow null values&lt;/b&gt;.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/4354256672749028599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/08/difference-between-primary-key-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/4354256672749028599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/4354256672749028599'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/08/difference-between-primary-key-and.html' title='Difference Between Primary key and Unique key'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-2896330417358789249</id><published>2012-08-06T00:07:00.001+06:00</published><updated>2012-08-11T22:38:02.981+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Github"/><category scheme="http://www.blogger.com/atom/ns#" term="SVN"/><category scheme="http://www.blogger.com/atom/ns#" term="Version Controlling On github"/><title type='text'>Learn GitHub - Introduction To Git</title><content type='html'>GitHub is a web-based hosting service for software development project that use the Git revision control system.&lt;br /&gt;
It will seems very difficult to co-operate with GitHub with novice people. But after using it, it will seems to you like magic. I hope you know why we will use GitHub!&lt;br /&gt;
If you are new to GitHub then below video will help you to start&amp;nbsp;properly.&lt;br /&gt;
You can start from book also. There have several book but I will&amp;nbsp;prefer you to start with this book&amp;nbsp;&lt;a href=&quot;http://www.amazon.com/Pro-Git-Scott-Chacon/dp/1430218339/ref=sr_1_1?ie=UTF8&amp;amp;qid=1344189920&amp;amp;sr=8-1&amp;amp;keywords=pro+github&quot;&gt;Pro Git&lt;/a&gt;.&lt;br /&gt;
I hope this video and book will help you.&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;http://www.youtube.com/embed/ZDR433b0HJY?fs=1&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/2896330417358789249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/08/learn-github-introduction-to-git.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2896330417358789249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2896330417358789249'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/08/learn-github-introduction-to-git.html' title='Learn GitHub - Introduction To Git'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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://img.youtube.com/vi/ZDR433b0HJY/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-1618532996463379253</id><published>2012-07-11T12:25:00.002+06:00</published><updated>2012-07-11T12:26:56.142+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android.os.NetworkOnMainThreadException"/><title type='text'>Exception &quot;android.os.NetworkOnMainThreadException&quot; !</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This is common in android to get error on http or networking connection with this message &quot;android.os.NetworkOnMainThreadException&quot; .&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
This exception is thrown when an application attempts to perform a networking operation on its main thread .&lt;/div&gt;
&lt;div&gt;
Run your code in AsyncTask that will solve your problem:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Hints:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thread msgThread = new Thread(){&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void run(){&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; http.httpConnectionMsg(nvp,is,msgurl);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
msgThread.start();&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/1618532996463379253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/androidosnetworkonmainthreadexception.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/1618532996463379253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/1618532996463379253'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/androidosnetworkonmainthreadexception.html' title='Exception &quot;android.os.NetworkOnMainThreadException&quot; !'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-7364248623130502868</id><published>2012-07-05T20:28:00.000+06:00</published><updated>2012-07-05T20:52:02.186+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="localhost on android"/><category scheme="http://www.blogger.com/atom/ns#" term="Server on android"/><title type='text'>Access localhost/Server on Android device over wifi</title><content type='html'>&lt;br /&gt;
Recently in one of my android project I have used XAMPP for database. For accessing &amp;nbsp;database/localhost/server from my application I have use ip address 10.0.2.2 . That is the way for getting &amp;nbsp;localhost from android device. But when I have installed that application in my real device that was unable to get the server &amp;nbsp;. How that will get the server? I have use 10.0.2.2 for http connection . So, getting the server we have to make a connection between android device and our server location. We can do it by connecting with connectify software that will help us to communication device with our server. And in this time have to use in this time the ip address create by WIFI connection as we are creating connection with the server by using wifi.&lt;br /&gt;
&lt;br /&gt;
In this situation I have used cracked &quot;Connectify&quot; so that my android device have the access of my laptop&lt;br /&gt;
local network access. In the lite version of connectify you won&#39;t get the options for allowing &quot;Local Network Access &quot; .&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpiNqoMY0abJrsROf257DNSm7IHBCRMZ0OJbOlHudDpOi_nmcIoyrmRbgf1KZCsLIU3QWP1BtKUXeXZL2KUFGLRndxZ2bmzLQv8cV2X-h91Pp1pfEY5MxyfjaCJEdMlQR47WPhTd6uC9D7/s1600/Connectify.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpiNqoMY0abJrsROf257DNSm7IHBCRMZ0OJbOlHudDpOi_nmcIoyrmRbgf1KZCsLIU3QWP1BtKUXeXZL2KUFGLRndxZ2bmzLQv8cV2X-h91Pp1pfEY5MxyfjaCJEdMlQR47WPhTd6uC9D7/s400/Connectify.jpg&quot; width=&quot;243&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After establishing connection have to go command prompt . Write &quot;ipconfig&quot; to get the ipv4 address.&lt;br /&gt;
In the command prompt which ip address is given , you have you use that ip address in your application for getting the server. (Below red marked line : you have to use that ip address)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5lP5uQvcqiuvqLEzv9kGKetMyod7dgJa66SG8pGRH5CHyk9TveQOqFmiXiPemaupl0JvsyrN4oFM-idn9T6Vp5aCPiwUzec85v01i6DAfX2GJp3VeVZcfJVknfqQpiYd2PUfvrZfV3Az/s1600/Cmd.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5lP5uQvcqiuvqLEzv9kGKetMyod7dgJa66SG8pGRH5CHyk9TveQOqFmiXiPemaupl0JvsyrN4oFM-idn9T6Vp5aCPiwUzec85v01i6DAfX2GJp3VeVZcfJVknfqQpiYd2PUfvrZfV3Az/s400/Cmd.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
Before editing your code you can also check from your android device is it working or not . For that you have to go browser then write the ip address in the url then we will get the localhost.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVnmQ2Vgt4DupmlUFZcqJN0scYJvJjQGaTiUVcYDtz3fT9TfXDiTH9D8zTqatLKQZXxusryQ5DUTkhSyYCqfARNU21vDL7sOW46J_9yDHCbmHMfCVd_i_5Ps0ra0rp-GwN4c1PMJCoKvi2/s1600/screenshot.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 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/AVvXsEiVnmQ2Vgt4DupmlUFZcqJN0scYJvJjQGaTiUVcYDtz3fT9TfXDiTH9D8zTqatLKQZXxusryQ5DUTkhSyYCqfARNU21vDL7sOW46J_9yDHCbmHMfCVd_i_5Ps0ra0rp-GwN4c1PMJCoKvi2/s320/screenshot.jpg&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/7364248623130502868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/access-localhostserver-on-android.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/7364248623130502868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/7364248623130502868'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/access-localhostserver-on-android.html' title='Access localhost/Server on Android device over wifi'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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/AVvXsEhpiNqoMY0abJrsROf257DNSm7IHBCRMZ0OJbOlHudDpOi_nmcIoyrmRbgf1KZCsLIU3QWP1BtKUXeXZL2KUFGLRndxZ2bmzLQv8cV2X-h91Pp1pfEY5MxyfjaCJEdMlQR47WPhTd6uC9D7/s72-c/Connectify.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-8147292255122924257</id><published>2012-07-05T19:50:00.000+06:00</published><updated>2012-07-05T19:58:15.890+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADB Commands"/><category scheme="http://www.blogger.com/atom/ns#" term="Android ADB"/><category scheme="http://www.blogger.com/atom/ns#" term="Android Device Drivers"/><title type='text'>Set up ADB/Drivers for android Device and Some important Commands</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;Most people won’t have to use ADB (Android Debug Bridge)
ever, but if you want to learn how or want to get a little more technical with
your Android phone, here’s how to get it set up.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: &#39;Times New Roman&#39;, serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 3.75pt; mso-outline-level: 3; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 15pt;&quot;&gt;I. Setting Up The SDK&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 15pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;1.
Download the Latest Android SDK from Google&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://developer.android.com/sdk/index.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Android SDK&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(Select
the exe version)&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;2.
Once downloaded, double click the exe file to open it. (MAKE SURE you change
the directory that it is installing everything to to c:\android-sdk\)&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;3.
Click on the SDK Manager and it will ask you to install packages. Select the
following and leave all others unchecked:&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;Android SDK Tools&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;Android SDK Platform Tools&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;Google
USB Driver Package, Revision XX&amp;nbsp;(XX being the highest number available)&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;4.
Then click continue and follow the on screen prompts until all of the packages
are installed and it finishes.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;5a.
On your phone, click Settings &amp;gt; Applications &amp;gt; Development and make sure
USB Debugging is on.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;5b.
If using Ice Cream Sandwich (Android 4.0), click on Settings &amp;gt; Developer
Options and make sure USB Debugging is on.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;6.
Plug your phone into your computer via USB cable (it needs to be on). It should
say installing drivers if using Windows.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;7.
Open Windows File Explorer and look for the android-sdk folder inside of the C
drive. Then open the platform-tools folder inside that. Now, hold the shift key
down on your keyboard and right click in any blank area inside that folder.
This will give you the option to open a command window here. Select that and a
command prompt will open saying c:\android-sdk\platform-tools\ &amp;nbsp; &amp;nbsp;
&amp;nbsp;*if using windows XP, this won’t work. So instead open command prompt
first by going to Start &amp;gt; Run &amp;gt; then typing in cmd and hitting enter.
Then type cd c:\android-sdk\platform-tools\ and hit enter, then continue.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;8.
Type the following into the command prompt window (hitting enter at the end of
every line):&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
devices&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;You
should see a serial number pop up, it’s the serial number of your phone. This
means you are all set!&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;If
you do NOT see a serial number, then we need to reinstall the drivers manually
in Section II below.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 3.75pt; mso-outline-level: 3; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 15pt;&quot;&gt;II. IF DRIVERS JUST WON’T AUTOMATICALLY INSTALL, DO IT
MANUALLY HERE&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 15pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;1.
A program called PDANet (used normally to allow you to wired tether your
phone’s internet to your computer) can be used to install the ADB drivers for a
lot of phones. Download it and follow it’s instructions to install it then go
back to step 8 in Section I above and see if that gets you the serial number
(if you do, you are all done). If not, then use one of the device specific
programs below in step 2.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black; color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://www.junefabrics.com/android/download.php&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;PDANet&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;2.
Download your phone’s driver’s below then goto your Device Manager on your
computer, look for the phone and click on it. Then click Properties &amp;gt; Update
Driver &amp;gt; Browse &amp;gt; Let me pick &amp;gt; Computer &amp;gt; Have Disk &amp;gt; Browse
&amp;gt; Then select the driver you downloaded below:&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://www.motorola.com/Support/US-EN/Support-Homepage/Software_and_Drivers/USB-and-PC-Charging-Drivers&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Universal
Motorola Drivers&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(unzip the file once you download it, and run
the program inside to install the drivers)(Updated 09.27.10)&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://www.4shared.com/file/176972457/71b70419/usb_driver.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Motorola
Droid Drivers&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(unzip the file once you download it).&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://developer.motorola.com/docstools/library/Installing_Motorola_Handset_Drivers/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Motorola
Milestone Drivers&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(follow the instructions on the page).&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://developer.motorola.com/docstools/library/Installing_Motorola_Handset_Drivers/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Motorola
CLIQ Drivers&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(follow the instructions on the page).&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://www.getyourdroidon.com/builds/otherstuff/Behold_II_USB.zip&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Samsung
Behold 2 Drivers&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(unzip the file, run the setup.exe) (If you
have Windows 64Bit, you CANNOT install the Behold Drivers. Find someone with a
32Bit system to to any Behold 2 procedures involving ADB).&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://www.yardimage.co.uk/files/i7500/samsungADB.zip&quot; target=&quot;_blank&quot;&gt;&lt;s&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Samsung Galaxy Drivers&lt;/span&gt;&lt;/s&gt;&lt;/a&gt;&amp;nbsp;(unzip
the file, do NOT run setup.exe. Instead follow step 1 in Section II and install
manually.)&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;If
using a Samsung device, try downloading&amp;nbsp;&lt;a href=&quot;http://www.samsung.com/us/kies/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; padding: 0in;&quot;&gt;Samsung Kies&lt;/span&gt;&lt;/a&gt;&amp;nbsp;and installing that then plugging in
your device and trying again.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 3.75pt; mso-outline-level: 3; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 15pt;&quot;&gt;V. Some Common ADB/Fastboot Commands&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 15pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt; padding: 0in;&quot;&gt;ADB Commands&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb devices – lists which
devices are currently attached to your computer&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb install
&amp;lt;packagename.apk&amp;gt; – lets you install an Android application on your phone&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb remount – Remounts your
system in write mode – this lets you alter system files on your phone using ADB&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb push &amp;lt;localfile&amp;gt;
&amp;lt;location on your phone&amp;gt; – lets you upload files to your phones filesystem&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb pull &amp;lt;location on your
phone&amp;gt; &amp;lt;localfile&amp;gt; – lets you download files off your phones
filesystem&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb logcat – starts dumping
debugging information from your handset to the console – useful for debugging
your apps&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb shell &amp;lt;command&amp;gt; –
drops you into a basic linux command shell on your phone with no parameters, or
lets you run commands directly&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
devices – lists which devices are currently attached to your computer&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
install &amp;lt;packagename.apk&amp;gt; – lets you install an Android application on
your phone&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
remount – Remounts your system in write mode – this lets you alter system files
on your phone using ADB&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
push &amp;lt;localfile&amp;gt; &amp;lt;location on your phone&amp;gt; – lets you upload files
to your phones filesystem&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
pull &amp;lt;location on your phone&amp;gt; &amp;lt;localfile&amp;gt; – lets you download files
off your phones filesystem&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
logcat – starts dumping debugging information from your handset to the console
– useful for debugging your apps&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;adb
shell &amp;lt;command&amp;gt; – drops you into a basic linux command shell on your
phone with no parameters, or lets you run commands directly&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;b&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt; padding: 0in;&quot;&gt;Fastboot
Commands&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt; padding: 0in;&quot;&gt;fastboot
devices – lists which devices in fastboot mode are currently attached to your
computer&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt; padding: 0in;&quot;&gt;fastboot
boot &amp;lt;filename&amp;gt; – boots a rom stored on your pc specified by the filename&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt; padding: 0in;&quot;&gt;fastboot flash &amp;lt;partition&amp;gt;
&amp;lt;filename&amp;gt; – flashes a rom stored on your pc, partition can be one
of&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt; padding: 0in;&quot;&gt;{boot, recovery, system, userdata}&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 17.25pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;For
farther information you can visit&amp;nbsp;&lt;a href=&quot;http://developer.android.com/tools/help/adb.html&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;Android Debug Bridge&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;span style=&quot;color: white; font-family: Tahoma, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/8147292255122924257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/set-up-adbdrivers-for-android-device.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/8147292255122924257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/8147292255122924257'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/set-up-adbdrivers-for-android-device.html' title='Set up ADB/Drivers for android Device and Some important Commands'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-8595053703169541220</id><published>2012-07-03T22:44:00.002+06:00</published><updated>2012-07-03T22:57:49.405+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Parameter Marker in PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="PDO in PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Placeholder in PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Sql Injection Preventation by PDO"/><title type='text'>Using Placeholder or parameter markers for preventing sql injection in PHP</title><content type='html'>&lt;br /&gt;
public static function getMembers($startRow,$numRows,$order){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;b&gt;$sql = “SELECT SQL_CALC_FOUND_ROWS * FROM “ . TBL_MEMBERS . “ ORDER BY $order LIMIT :startRow, :numRows”;&lt;/b&gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Here in the above statement &lt;b&gt;SQL_CALC_FOUND_ROWS&lt;/b&gt; is a special MySQL keyword that computes the total number of rows that would be returned by query , assuming &amp;nbsp;the LIMIT clause wasn&#39;t applied. So if the query would return 20 records, but the LIMIT clause limits the returned rows five, SQL_CAL_FOUND_ROWS return a value of 20. This is useful because it enables you to display the records several pages, as you see in a moment.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:startRow and :numRows are called &lt;b&gt;placeholders or parameter markers&lt;/b&gt;.&lt;br /&gt;
They serve two purposes.&lt;br /&gt;
First of all, they let you prepare — that is, get MySQL to parse — a query once, then run it multiple&lt;br /&gt;
times with different values. If you need to run the same query many times using different input&lt;br /&gt;
values -- when inserting many rows of data, for instance -- prepared statement can really speed up execution.&lt;br /&gt;
Secondly, they reduce the risk of so-called SQL injection attacks. For example, an alternative to using&lt;br /&gt;
placeholders might be to write:&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$sql = “SELECT SQL_CALC_FOUND_ROWS * FROM “ . TBL_MEMBERS . “ ORDER BY $order LIMIT $startRow, $numRows”;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
However, imagine that, due to insufficient checking of user input, a malicious user managed to set&lt;span style=&quot;background-color: white; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$numRows to “1; DELETE FROM members”&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;This would run the query as intended, but it would also run the second statement, which would delete all records from your members table!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you use placeholders, you pass data to the query via PDO (as you see shortly), not directly into&lt;br /&gt;
your query string. This allows PDO to &lt;b&gt;check the passed data to ensure that it only contains what it’s supposed to contain(integers in this case).&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
Next, the two :startRow and :numRow placeholders you created earlier are populated with the actual data from the $startRow and $numRow variables:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$st-&amp;gt;bindValue( “:startRow”, $startRow, PDO::PARAM_INT );&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$st-&amp;gt;bindValue( “:numRows”, $numRows, PDO::PARAM_INT );&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The PDOStatement::bindValue() method takes three arguments:&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;the name of the placeholder to bind,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;the value to use instead of the placeholder,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;and the data type of the value (PDO::PARAM_INT, or integer, in this case).&lt;br /&gt;
&lt;br /&gt;
By specifying the data type, PDO can ensure that the correct type of data is passed to MySQL. In addition, &lt;b&gt;PDO automatically escapes any quote marks and other special characters in the data&lt;/b&gt;.(Failing to escape special characters is another common cause of SQL injection vulnerabilities.)&lt;br /&gt;
&lt;br /&gt;
Some other common data types that you can use include:&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; PDO::PARAM_BOOL — A Boolean data type&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; PDO::PARAM_NULL — The NULL data type&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; PDO::PARAM_STR — A string data type. (This is the default if you don’t specify a type.)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; PDO::PARAM_LOB — A LOB data type, such as BLOB or LONGBLOB&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/8595053703169541220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/using-placeholder-or-parameter-markers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/8595053703169541220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/8595053703169541220'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/using-placeholder-or-parameter-markers.html' title='Using Placeholder or parameter markers for preventing sql injection in PHP'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-4797417204909717481</id><published>2012-07-03T22:05:00.002+06:00</published><updated>2012-07-03T22:22:07.507+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LIKE Attribute Database"/><category scheme="http://www.blogger.com/atom/ns#" term="LIKE Attribute instate of loop"/><category scheme="http://www.blogger.com/atom/ns#" term="LIKE Attribute Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="LIKE to fetch data in php"/><title type='text'>Why use LIKE instate of using loop in PHP ?</title><content type='html'>&lt;br /&gt;
We know LIMIT counts from the first row of the results. However, by including two numbers after the&lt;br /&gt;
LIMIT keyword, separated by a comma, you can specify both the row from which to start returning&lt;br /&gt;
results, as well as the number of results to return:&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; SELECT id, username FROM members LIMIT 1, 2;&lt;br /&gt;
&lt;br /&gt;
| id | username |&lt;br /&gt;
-------------------&lt;br /&gt;
&amp;nbsp;2 &amp;nbsp; &amp;nbsp;ron&lt;br /&gt;
&amp;nbsp;3 &amp;nbsp; &amp;nbsp;anjan&lt;br /&gt;
&lt;br /&gt;
Notice that the start row counts from zero, so 1 is actually the second row (ron).&lt;br /&gt;
&lt;br /&gt;
You might be wondering what the point of LIMIT is, because you can always just loop through the result set in PHP to extract only the rows you’re interested in. The main reason to use LIMIT is that it &lt;b&gt;reduces the amount of data that has to flow between MySQL and your PHP script.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Imagine that you want to retrieve the first 100 rows of a million-row table of users. If you use LIMIT&lt;br /&gt;
100, only 100 rows are sent to your PHP script. However, if you don’t use a LIMIT clause (and your&lt;br /&gt;
query also contains no WHERE clause), all 1,000,000 rows of data will be sent to your PHP script, where they will&lt;b&gt; need to be stored inside a PDOStatement object until you loop through them to extract the first 100&lt;/b&gt;. Storing the details of a million users in your &lt;b&gt;script will quickly bring the script to a halt&lt;/b&gt;, due to the large amount of memory required to do so.&lt;br /&gt;
LIMIT is particularly useful when you’re building a paged search function in your PHP application. For example, if the user requests the second page of search results, and you display 10 results per page, you can use SELECT ... LIMIT 10, 10 to retrieve the second page of results.</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/4797417204909717481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/why-use-like-instate-of-using-loop-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/4797417204909717481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/4797417204909717481'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/why-use-like-instate-of-using-loop-in.html' title='Why use LIKE instate of using loop in PHP ?'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-473648783887580565</id><published>2012-07-03T22:01:00.001+06:00</published><updated>2012-07-03T22:23:50.480+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Attribute in mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="Binary Attribute"/><category scheme="http://www.blogger.com/atom/ns#" term="ENUM Attribute"/><category scheme="http://www.blogger.com/atom/ns#" term="TIMESTAMP Attribute"/><title type='text'>Some Important Attributes in Mysql</title><content type='html'>There have some most important attributes in mysql which can solve/get the solution of our faced scenery. So, we should keep in mind that those we can do by using default attribute of mysql.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;BINARY Attribute&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
All character data types have a collation that is used to determine how characters in the field are&lt;br /&gt;
compared. By default, a character field’s collation is case insensitive. This means that, when you sort the column alphabetically (which you learn to do shortly), “a” comes before both “b” and “B”. It also means that queries looking for the text “banana” will match the field values “banana” and “Banana”.&lt;br /&gt;
&lt;br /&gt;
However, by adding the BINARY attribute after the data type definition, you switch the field to a binary collation, which is case sensitive; when sorting, “a” comes before “b”, but “B” comes before “a” (because, generally speaking, uppercase letters come before lowercase letters in a character set). Furthermore, this means that matches are case sensitive too; “banana” will only match “banana”, not “Banana”. In this case, you created the username field of the members table with the BINARY attribute, making it case sensitive:&lt;br /&gt;
&lt;br /&gt;
username VARCHAR(30) &lt;b&gt;BINARY&lt;/b&gt; NOT NULL UNIQUE,&lt;br /&gt;
&lt;br /&gt;
This ensures that there’s no ambiguity over the case of the letters in each user ’s username; for example,&lt;br /&gt;
“shaon” is a different username than “Shaon”. This is important because many people choose usernames where the case of the username’s characters is significant to them. If they created their account with a username of “shaon”, and later found out they could also login using “Shaon”, they might wonder if they were working with one account or two!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ENUM Data Type&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Enumeration&lt;/b&gt; columns is a &amp;nbsp;type of string column where only predefined string values are allowed in the field .&lt;br /&gt;
Suppose we want user can input only &#39;m&#39; or &#39;f&#39; for their gender then we have to use:&lt;br /&gt;
&lt;br /&gt;
gender ENUM (&#39;m&#39;, &#39;f&#39;),&lt;br /&gt;
&lt;br /&gt;
or their favorite subject to read:&lt;br /&gt;
&lt;br /&gt;
subject ENUM( &#39;JAVA&#39;,&#39;PHP&#39;,&#39;CEH&#39;),&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;TIMESTAMP Data Type&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Another most important data type is TIMESTAMP data type which can get the result exactly what you need. It is a bit different from the other date/time types in that it can automatically record the time that certain event occur. For example, when you add a new row to a table containing a TIMESTAMP column, the field stores the time that the insertion took place. Similarly, whenever a row is updated, the TIMESTAMP field is automatically updated with the time of the update.&lt;br /&gt;
&lt;br /&gt;
The other point to remember about TIMESTAMP fields is that they store the date and time in the UTC&lt;br /&gt;
(Universal Coordinated Time) time zone, which is essentially the same as the GMT time zone. This&lt;br /&gt;
probably won’t affect you much, because MySQL automatically converts TIMESTAMP values between UTC and your server ’s time zone as required. However, bear in mind that if you store a TIMESTAMP value in a table, and you later change the server ’s time zone, the value that you get back from the TIMESTAMP field will be different.&lt;br /&gt;
&lt;br /&gt;
A TIMESTAMP field is great for tracking things such as when a record was last created or updated,&lt;br /&gt;
because you don’t have to worry about setting or changing its value; it happens automatically. In this&lt;br /&gt;
example, you created a TIMESTAMP field in the accessLog table to track when the last access was made:&lt;br /&gt;
&lt;br /&gt;
lastAccess &lt;b&gt;TIMESTAMP&lt;/b&gt; NOT NULL,&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/473648783887580565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/some-important-attribute-in-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/473648783887580565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/473648783887580565'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/07/some-important-attribute-in-mysql.html' title='Some Important Attributes in Mysql'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-7232380117199979296</id><published>2012-06-16T14:44:00.001+06:00</published><updated>2012-06-16T14:48:35.209+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android requires compiler compliance level 5.0 or 6.0. Found &#39;1.7&#39; instead.Android requires compiler compliance"/><category scheme="http://www.blogger.com/atom/ns#" term="compliance level 5.0 or 6.0. Found &#39;1.7&#39; instead."/><title type='text'>Android requires compiler compliance level 5.0 or 6.0. Found &#39;1.7&#39; instead. Please use Android Tools &gt; Fix Project Properties</title><content type='html'>I have faced this problem when I have exported my&amp;nbsp;work-space&amp;nbsp;from Windows 7 x64 jvm7 x64 and Imported that project in eclipse on my Ubuntu 12.04.&lt;br /&gt;
&lt;br /&gt;
ERROR: &amp;nbsp;&quot;&amp;nbsp;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Android&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; requires compiler compliance level &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: maroon; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;5.0&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; or &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: maroon; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;6.0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Found&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: maroon; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&#39;1.7&#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; instead&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Please&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; use &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Android&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Tools&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Fix&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Project&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #2b91af; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;Properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
Solution of this problem is to set project compatibility to java 5.0 to java6.0.&lt;br /&gt;
You can do that in two way:&lt;br /&gt;
&lt;br /&gt;
1. right-click on your project and select &quot;Android-Tools -&amp;gt; Fix Project Properties &quot; [If this solution doesn&#39;t work then apply second options ]&lt;br /&gt;
&lt;br /&gt;
2. right-click on your project and select &quot;Properties-&amp;gt;Java Compiler &quot; , Check &quot;Enable project specific settings &quot; and select 1.5 or 1.6 from &quot;Compiler&amp;nbsp;compliance&amp;nbsp;settings&quot; select box.&lt;br /&gt;
&lt;br /&gt;
My problem solved by following the first options. Hope you will get your solution from here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/7232380117199979296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/06/android-requires-compiler-compliance.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/7232380117199979296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/7232380117199979296'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/06/android-requires-compiler-compliance.html' title='Android requires compiler compliance level 5.0 or 6.0. Found &#39;1.7&#39; instead. Please use Android Tools &gt; Fix Project Properties'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-4354364758471358715</id><published>2012-05-27T13:05:00.000+06:00</published><updated>2012-05-27T13:07:37.893+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android Storage Problem"/><category scheme="http://www.blogger.com/atom/ns#" term="Install Failed"/><category scheme="http://www.blogger.com/atom/ns#" term="INSTALL_FAILED_INSUFFICIENT_STORAGE"/><category scheme="http://www.blogger.com/atom/ns#" term="Unable to install app"/><title type='text'>INSTALL_FAILED_INSUFFICIENT_STORAGE error solution</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;This error you will get from the &quot;logcat&quot; of eclipse. The main reason of this error is the storage of emulator. So, if there have shortage of space in emulator you will get this error.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;To solve this problem you have to increase the storage of emulator. So, here the way to do that.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1. &amp;nbsp;Right click the root of your Android Project, go to &quot;Run As&quot; then go to &quot;Run Configurations...&quot; locate the &quot;Android Application&quot; node in the tree at the left, then select your project and go to the &quot;Target&quot; tab on the right side of the window look down for the &quot;Additional Emulator Command Line Options&quot; field (sometimes you&#39;ll need to make the window larger) and finally paste &quot;-partition-size 1024&quot; there. Click Apply and then Run to use your emulator.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2. Go to Eclipse&#39;s Preferences, then Select “Launch” Add “-partition-size 1024” on the “Default emulator option” field, then click “Apply” and use your emulator as usual.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;3. Emulator -avd &quot;Emulator Name&quot; -partition-size 500&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;4. You can also free up memory by removing unwanted apps go to settings-&amp;gt;application-&amp;gt;manageapplication then uninstall the apps which is useless.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;5. &amp;nbsp;Also you can resolve by having android:installLocation=&quot;preferExternal&quot; for &amp;lt;manifest&amp;gt; tag of manifest file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif; font-size: small; line-height: 12px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/4354364758471358715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/installfailedinsufficientstorage-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/4354364758471358715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/4354364758471358715'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/installfailedinsufficientstorage-error.html' title='INSTALL_FAILED_INSUFFICIENT_STORAGE error solution'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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-7303694485815798090.post-1583644741487127964</id><published>2012-05-26T18:05:00.001+06:00</published><updated>2012-05-26T18:05:20.810+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Camera Intent Android"/><category scheme="http://www.blogger.com/atom/ns#" term="How to use Camera Intent In Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Picture Take In Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Take Picture In Android"/><title type='text'>Camera Intent In Android</title><content type='html'>In android there have several application where you need to work with &lt;b&gt;Camera Intent. &lt;/b&gt;There have two ways to complete your task :&lt;br /&gt;
&lt;br /&gt;
1. Use the default camera intent to your application &amp;nbsp;or&lt;br /&gt;
2. Customize your own camera intent .&lt;br /&gt;
&lt;br /&gt;
I have worked with android default camera where capture the Image of user and sent that picture to the server and detect the mood from the image of user. After sending image to the server I need to delete the Image from the Phone Memory. Otherwise, application would take the maximum storage of phone memory and that Image is not necessary for the Users.&lt;br /&gt;
&lt;br /&gt;
So lets start coding. Here is the cameraActivity.java which will do the task.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class cameraActivity extends MainActivity{&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private static final int CAMERA_REQUEST_CODE = 100;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;boolean _taken;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void startCameraActivity() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;startActivityForResult( cameraIntent , CAMERA_REQUEST_CODE);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}//end of startCameraActivity()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/**&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * onActivityResult for capturing image&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * reqestCode is the CAMERA_REQUEST_CODE&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * resultCode is the result of camera&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; public void onActivityResult(int requestCode, int resultCode, Intent intent) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if(requestCode == CAMERA_REQUEST_CODE) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;if(resultCode == RESULT_OK) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;onPhotoTaken(intent);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt; }else {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;Toast.makeText(getApplicationContext(), &quot;Camera request rejected!&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }//end of if else condition&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}//end of if condition&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; }//end of onActivityResult&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; /**&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;* In this method what will do after capturing image&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;* @param i is the image sending from camera intent&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; public void onPhotoTaken(Intent i) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;_taken = true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;serverActivity server = new serverActivity();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Bitmap bitmap = (Bitmap) i.getExtras().get(&quot;data&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;ByteArrayOutputStream bos = new ByteArrayOutputStream();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;bitmap.compress(CompressFormat.JPEG, 0, bos);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;byte[] imageData = bos.toByteArray();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;server.insertImageIntoServer(imageData); //passing image to save image into server&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}//end of onPhotoTaken()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/**&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; * Last Image will be delete from the Image Gallery after Sending Image to the Server&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;public void deleteLastImageFromGallery() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int i=0;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String[] projection = {MediaStore.Images.Media.DATA};&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cursor cursor = this.managedQuery(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, projection, null, null, null);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ArrayList&amp;lt;String&amp;gt; imagePath = new ArrayList&amp;lt;String&amp;gt;();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while(cursor.moveToNext()) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;imagePath.add(cursor.getString(0));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;i++;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}//end of while loop&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cursor.close();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i--;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;File file = new File(imagePath.get(i));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file.delete();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Toast.makeText(getApplicationContext(), &quot;Last image has been deleted!&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}//end of deleteLastImageFromGallery()&lt;br /&gt;
&lt;br /&gt;
}//end of main class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I hope you have got the point how it is working. Let start to code yourself after getting the main theme of using camera intent . In coding time you will face&amp;nbsp;different problem after that you will learn. If you won&#39;t&amp;nbsp;&amp;nbsp;face any bugs/errors then you will not be able to learn because after solving bugs we will learn to solve bugs. And I think this is the best way to learn by solving errors.&lt;br /&gt;
&lt;br /&gt;
This below link will help you to learn in depth of camera intent :&lt;br /&gt;
&lt;a href=&quot;http://developer.android.com/guide/topics/media/camera.html&quot;&gt;&lt;b&gt;Camera Intent Android Developer&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/1583644741487127964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/camera-intent-in-android.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/1583644741487127964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/1583644741487127964'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/camera-intent-in-android.html' title='Camera Intent In Android'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-3763791717052028452</id><published>2012-05-26T13:05:00.000+06:00</published><updated>2012-05-26T13:09:18.038+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android HttpClient"/><category scheme="http://www.blogger.com/atom/ns#" term="Android HttpConnection"/><category scheme="http://www.blogger.com/atom/ns#" term="Android Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="Insert data android to Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="Mysql and Android Connection"/><title type='text'>Android and mySql Interaction</title><content type='html'>Recently I am working on interacting android with Mysql where I have to save every message of user into the mysql server form android.&lt;br /&gt;
So I need to connect mySql database with android activity. Though it is so easy to establish connection with mysql. But for the first time it will take time for the novice programmer.&lt;br /&gt;
Because of time saving I am here writing the method how to connect mysql and android perfectly and in proper way.&lt;br /&gt;
Remember I am just trying to inform you the method how to do it. I am not writing all the code.Sorry for the code formatting it is the problem of writing in blog that is doesn&#39;t if you get your solution.&lt;br /&gt;
&lt;br /&gt;
You have sent message any simple message from edittext field from main activity to this class&lt;br /&gt;
// serverActivity.java&lt;br /&gt;
&lt;br /&gt;
public class serverActivity extends MainActivity{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;static InputStream inputStream;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;static ArrayList&amp;lt;NameValuePair&amp;gt; nameValuePairs;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/**&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * Sent message to the server&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param msg&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; public static void insertMsgIntoServer(String msg) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;try {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;nameValuePairs = new ArrayList&amp;lt;NameValuePair&amp;gt;();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;nameValuePairs.add(new BasicNameValuePair(&quot;UserMessage&quot;, msg));&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//Passing user message with Index Value &quot;UserMessage&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;httpClient.httpConnection(nameValuePairs,inputStream);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;//Calling httpConnection passing arrayList and InputStream &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Log.d(&quot;&amp;lt;&amp;lt;&amp;lt;-Inside insertMsgToServer-&amp;gt;&amp;gt;&amp;gt;&quot;, &quot;Success in saving msg into server&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}catch(Exception ex) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Log.d(&quot;&amp;lt;&amp;lt;&amp;lt;-Inside insertMsgToServer-&amp;gt;&amp;gt;&amp;gt;&quot;, &quot;Error in saving msg into server&quot;);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}//end of exception handling&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; }//end of insertMsg()&lt;br /&gt;
}//end of main class&lt;br /&gt;
&lt;br /&gt;
httpClient.java here you have to sent the nameValuePair arrayList and inputStream for sending data into the mysql.&lt;br /&gt;
&lt;br /&gt;
//httpClient.java&lt;br /&gt;
&lt;br /&gt;
public class httpClient {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/**&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param nameValuePairs passing arraylist with all information added&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * @param inputStream passing inputStream from user request&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void httpConnection(ArrayList&amp;lt;NameValuePair&amp;gt; nameValuePairs,java.io.InputStream inputStream){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;try{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;HttpClient httpClient = new DefaultHttpClient();&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;HttpPost httpPost = new HttpPost(&quot;http://10.0.2.2/android/msg.php&quot;); &amp;nbsp;&lt;br /&gt;
//when you want the emulator client to contact a server running on the same host, use the alias 10.0.2.2 to refer to the host computeres loopback interface. From the emulators perspective, localhost (127.0.0.1) refers to its own loopback interface.So localhost or 127.0.0.1 will not work here.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;httpPost.setEntity(new UrlEncodedFormEntity(nameValuePairs));&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; //Passing nameValuePairs ArrayList to the server&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;HttpResponse response = httpClient.execute(httpPost);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;HttpEntity entity = response.getEntity();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;inputStream = entity.getContent();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Log.d(&quot;&amp;lt;&amp;lt;&amp;lt;-http_log_tag-&amp;gt;&amp;gt;&amp;gt;&quot;,&quot;Succes in Http Connection&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}catch(Exception e){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Log.e(&quot;&amp;lt;&amp;lt;&amp;lt;-http_log_tag-&amp;gt;&amp;gt;&amp;gt;&quot;,&quot;Error in Http Connection&quot; + e.toString());&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}//end of exception handling&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}//end of httpConnection()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
}//end of main class&lt;br /&gt;
&lt;br /&gt;
So here is the end of android portion. Now you have to get this message from&amp;nbsp;&quot;http://10.0.2.2/android/msg.php&quot; . So here is the code how will do that to insert the message into your mysql database.&lt;br /&gt;
&lt;br /&gt;
//msg.php&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$ms=$_REQUEST[&quot;UserMessage&quot;];&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;mysql_select_db(&quot;android&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$query = mysql_query(&quot;insert into msg (message)values(&#39;$ms&#39;)&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if($query&amp;gt;0){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;echo &quot;Data Inserted Seccesfully&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}else{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;echo &quot;Error Occured.&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have done all the things above then start your xampp server then run your AVD emulator. After writing any message in edittext box &amp;nbsp;and pressing the button to chat that will execute event which will sent message to the serverActivity.java class. After processing here message will sent to perform the activity of httpClient which will connect with the server and execute the msg.php . Server will insert your message to your database. Check your database you will get your message into database.&lt;br /&gt;
&lt;br /&gt;
Thanks everyone. If have any problem just comment your problem hope you will get your solution as soon as possible.&lt;br /&gt;
Happy Coding.</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/3763791717052028452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/android-and-mysql-interaction.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/3763791717052028452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/3763791717052028452'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/android-and-mysql-interaction.html' title='Android and mySql Interaction'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7303694485815798090.post-2445128411985876097</id><published>2012-05-25T17:14:00.000+06:00</published><updated>2012-05-25T18:18:47.813+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Common Errors In Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Errors"/><title type='text'>Top Ten Errors Java Programmers Make</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
I read an article on “Top Ten Errors Java Programmers Make“. The author has mentioned the errors which even the most programmers often commit or the New to Java programmers may commit in the future. Not only has he listed the errors but also given the possible solution for the same. I found the article really informative.&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;b&gt;By David Reilly&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
Whether you program regularly in Java, and know it like the back of your hand, or whether you&#39;re new to the language or a casual programmer, you&#39;ll make mistakes. It&#39;s natural, it&#39;s human, and guess what? You&#39;ll more than likely make the same mistakes that others do, over and over again. Here&#39;s my top ten list of errors that we all seem to make at one time or another,&amp;nbsp; how to spot them, and how to fix them.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


10. Accessing non-static member variables from static methods (such as main)&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Many programmers, particularly when first introduced to Java, have problems with accessing member variables from their&amp;nbsp;&lt;em&gt;main&lt;/em&gt;&amp;nbsp;method. The method signature for main is marked static - meaning that we don&#39;t need to create an instance of the class to invoke the main method. For example, a Java Virtual Machine (JVM) could call the class MyApplication like this :-&lt;/div&gt;
&lt;blockquote style=&quot;text-align: -webkit-auto;&quot;&gt;
MyApplication.main ( command_line_args );&lt;/blockquote&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
This means, however, that there isn&#39;t an instance of MyApplication - it doesn&#39;t have any member variables to access! Take for example the following application, which will generate a compiler error message.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;public class StaticDemo
{
        public String my_member_variable = &quot;somedata&quot;;&lt;/pre&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;        public static void main (String args[])
        {
  // Access a non-static member from static method
                System.out.println (&quot;This generates a compiler error&quot; +
   my_member_variable );
        }
}&lt;/pre&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
If you want to access its member variables from a non-static method (like&amp;nbsp;&lt;em&gt;main&lt;/em&gt;), you must create an instance of the object. Here&#39;s a simple example of how to correctly write code to access non-static member variables, by first creating an instance of the object.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;public class NonStaticDemo
{
        public String my_member_variable = &quot;somedata&quot;;

        public static void main (String args[])
        {
                NonStaticDemo demo = new NonStaticDemo();

  // Access member variable of demo
                System.out.println (&quot;This WON&#39;T generate an error&quot; +
                        demo.my_member_variable );
        }
}&lt;/pre&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


9. Mistyping the name of a method when overriding&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Overriding allows programmers to replace a method&#39;s implementation with new code. Overriding is a handy feature, and most OO programmers make heavy use of it. If you use the AWT 1.1 event handling model, you&#39;ll often override listener implementations to provide custom functionality. One easy trap to fall into with overriding, is to mistype the method name. If you mistype the name, you&#39;re no longer overriding a method - you&#39;re creating an entirely new method, but with the same parameter and return type.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;public class MyWindowListener extends WindowAdapter {
 // This should be WindowClose&lt;strong&gt;d&lt;/strong&gt;
 public void WindowClose(WindowEvent e) {
  // Exit when user closes window
  System.exit(0);
 }
});
&lt;/pre&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Compilers won&#39;t pick up on this one, and the problem can be quite frustrating to detect. In the past, I&#39;ve looked at a method, believed that it was being called, and taken ages to spot the problem. The symptom of this error will be that your code isn&#39;t being called, or you think the method has skipped over its code. The only way to ever be certain is to add a println statement, to record a message in a log file, or to use good trace debugger (like Visual J++ or Borland JBuilder) and step through line by line. If your method still isn&#39;t being called, then it&#39;s likely you&#39;ve mistyped the name.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


8. Comparison assignment (&amp;nbsp; = rather than == )&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
This is an easy error to make. If you&#39;re used other languages before, such as Pascal, you&#39;ll realize just how poor a choice this was by the language&#39;s designers. In Pascal, for example, we use the := operator for assignment, and leave = for comparison. This looks like a throwback to C/C++, from which Java draws its roots.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Fortunately, even if you don&#39;t spot this one by looking at code on the screen, your compiler will. Most commonly, it will report an error message like this : &lt;b&gt;&quot;Can&#39;t convert xxx to boolean&quot;&lt;/b&gt;, where xxx is a Java type that you&#39;re assigning instead of comparing.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


7. Comparing two objects ( == instead of .equals)&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
When we use the == operator, we are actually comparing two object references, to see if they point to the same object. We cannot compare, for example, two strings for equality, using the == operator. We must instead use the .equals method, which is a method inherited by all classes from java.lang.Object.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Here&#39;s the correct way to compare two strings.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;String abc = &quot;abc&quot;; String def = &quot;def&quot;;

// Bad way
if ( (abc + def) == &quot;abcdef&quot; )
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; ......
}&lt;/pre&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;// Good way
if ( (abc + def).equals(&quot;abcdef&quot;) )
{
&amp;nbsp;&amp;nbsp; .....
}&lt;/pre&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


6. Confusion over passing by value, and passing by reference&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
This can be a frustrating problem to diagnose, because when you look at the code, you might be sure that its passing by reference, but find that its actually being passed by value. Java uses&amp;nbsp;&lt;strong&gt;both&lt;/strong&gt;, so you need to understand when you&#39;re passing by value, and when you&#39;re passing by reference.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
When you pass a primitive data type, such as a char, int, float, or double, to a function then you are&amp;nbsp;&lt;strong&gt;passing by value&lt;/strong&gt;. That means that a copy of the data type is duplicated, and passed to the function. If the function chooses to modify that value, it will be modifying the copy only. Once the function finishes, and control is returned to the returning function, the &quot;real&quot; variable will be untouched, and no changes will have been saved. If you need to modify a primitive data type, make it a return value for a function, or wrap it inside an object.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
When you pass a Java object, such as an array, a vector, or a string, to a function then you are&amp;nbsp;&lt;strong&gt;passing by reference&lt;/strong&gt;. Yes - a String is actually an object, not a primitive data type.&amp;nbsp; So that means that if you pass an object to a function, you are passing a reference to it, not a duplicate. Any changes you make to the object&#39;s member variables will be permanent - which can be either good or bad, depending on whether this was what you intended.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
On a side note, since String contains no methods to modify its contents, you might as well be passing by value.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


5. Writing blank exception handlers&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
I know it&#39;s very tempting to write blank exception handlers, and to just ignore errors. But if you run into problems, and haven&#39;t written any error messages, it becomes almost impossible to find out the cause of the error. Even the simplest exception handler can be of benefit. For example, put a try { .. } catch Exception around your code, to catch ANY type of exception, and print out the message. You don&#39;t need to write a custom handler for every exception (though this is still good programming practice). Don&#39;t ever leave it blank, or you won&#39;t know what&#39;s happening.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
For example&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;public static void main(String args[])
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; try {
 // Your code goes here..
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception e)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
 System.out.println (&quot;Err - &quot; + e );
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}&lt;/pre&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


4. Forgetting that Java is zero-indexed&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
If you&#39;ve come from a C/C++ background, you may not find this quite as much a problem as those who have used other languages. In Java, arrays are zero-indexed, meaning that the first element&#39;s index is actually 0. Confused? Let&#39;s look at a quick example.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;// Create an array of three strings
String[] strArray = new String[3];

// First element&#39;s index is actually 0
strArray[0] = &quot;First string&quot;;

// Second element&#39;s index is actually 1
strArray[1] = &quot;Second string&quot;;

// Final element&#39;s index is actually 2
strArray[2] = &quot;Third and final string&quot;;&lt;/pre&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
In this example, we have an array of three strings, but to access elements of the array we actually subtract one. Now, if we were to try and access strArray[3], we&#39;d be accessing the fourth element. This will case an &lt;b&gt;ArrayOutOfBoundsException&lt;/b&gt; to be thrown - the most obvious sign of forgetting the zero-indexing rule.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Other areas where zero-indexing can get you into trouble is with strings. Suppose you wanted to get a character at a particular offset within a string. Using the String.charAt(int) function you can look this information up - but under Java, the String class is also zero-indexed. That means than the first character is at offset 0, and second at offset 1. You can run into some very frustrating problems unless you are aware of this - particularly if you write applications with heavy string processing. You can be working on the wrong character, and also throw exceptions at run-time. Just like the ArrayOutOfBoundsException, there is a string equivalent. Accessing beyond the bounds of a String will cause a&lt;b&gt; StringIndexOutOfBoundsException&lt;/b&gt; to be thrown, as demonstrated by this example.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;public class StrDemo
{
 public static void main (String args[])
 {
        String abc = &quot;abc&quot;;

        System.out.println (&quot;Char at offset 0 : &quot; + abc.charAt(0) );
        System.out.println (&quot;Char at offset 1 : &quot; + abc.charAt(1) );
        System.out.println (&quot;Char at offset 2 : &quot; + abc.charAt(2) );

 // This line should throw a StringIndexOutOfBoundsException
        System.out.println (&quot;Char at offset 3 : &quot; + abc.charAt(3) );
 }
}&lt;/pre&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Note too, that zero-indexing doesn&#39;t just apply to arrays, or to Strings. Other parts of Java are also indexed, but not always consistently. The java.util.Date, and java.util.Calendar classes start their months with 0, but days start normally with 1. This problem is demonstrated by the following application.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;import java.util.Date;
import java.util.Calendar;

public class ZeroIndexedDate
{
        public static void main (String args[])
        {
                // Get today&#39;s date
                Date today = new Date();
 
  // Print return value of getMonth
  System.out.println (&quot;Date.getMonth() returns : &quot; +
    today.getMonth());

  // Get today&#39;s date using a Calendar
  Calendar rightNow = Calendar.getInstance();

  // Print return value of get ( Calendar.MONTH )
  System.out.println (&quot;Calendar.get (month) returns : &quot; +
   rightNow.get ( Calendar.MONTH ));&lt;/pre&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;        }
}&lt;/pre&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Zero-indexing is only a problem if you don&#39;t realize that its occurring. If you think you&#39;re running into a problem, always consult your API documentation.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


3. Preventing concurrent access to shared variables by threads&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
When writing multi-threaded applications, many programmers (myself included) often cut corners, and leave their applications and applets vulnerable to thread conflicts. When two or more threads access the same data concurrently, there exists the possibility (and Murphy&#39;s law holding, the probability) that two threads will access or modify the same data at the same time. Don&#39;t be fooled into thinking that such problems won&#39;t occur on single-threaded processors. While accessing some data (performing a read), your thread may be suspended, and another thread scheduled. It writes its data, which is then overwritten when the first thread makes its changes.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Such problems are not just limited to multi-threaded applications or applets. If you write Java APIs, or JavaBeans, then your code may not be thread-safe. Even if you never write a single application that uses threads, people that use your code WILL. For the sanity of others, if not yourself, you should always take precautions to prevent concurrent access to shared data.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
How can this problem be solved? The simplest method is to make your variables private (but you do that already,&amp;nbsp; right?) and to use synchronized accessor methods. Accessor methods allow access to private member variables, but in a controlled manner. Take the following accessor methods, which provide a safe way to change the value of a counter.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;public class MyCounter
{
 private int count = 0; // count starts at zero

 public synchronized void setCount(int amount)
 { 
  count = amount;
 }
 
 public synchronized int getCount()
 {
  return count;
 }
}&lt;/pre&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


2. Capitalization errors&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
This is one of the most frequent errors that we all make. It&#39;s so simple to do, and sometimes one can look at an uncapitalized variable or method and still not spot the problem. I myself have often been puzzled by these errors, because I recognize that the method or variable does exist, but don&#39;t spot the lack of capitalization.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
While there&#39;s no silver bullet for detecting this error, you can easily train yourself to make less of them. There&#39;s a very simple trick you can learn :-&lt;/div&gt;
&lt;ul style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;li&gt;all methods and member variables in the Java API begin with lowercase letters&lt;/li&gt;
&lt;li&gt;all methods and member variables use capitalization where a new word begins e.g - getDoubleValue()&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
If you use this pattern for all of your member variables and classes, and then make a conscious effort to get it right, you can gradually reduce the number of mistakes you&#39;ll make. It may take a while, but it can save some serious head scratching in the future.&lt;/div&gt;
&lt;h2 align=&quot;center&quot;&gt;


(drum roll)&lt;/h2&gt;
&lt;h2 align=&quot;center&quot;&gt;


And the number one error that Java programmers make !!!!!&lt;/h2&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h1 align=&quot;center&quot;&gt;


1. Null pointers!&lt;/h1&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Null pointers are one of the most common errors that Java programmers make. Compilers can&#39;t check this one for you - it will only surface at runtime, and if you don&#39;t discover it, your users certainly will.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
When an attempt to access an object is made, and the reference to that object is null, a &lt;b&gt;NullPointerException&lt;/b&gt; will be thrown. The cause of null pointers can be varied, but generally it means that either &lt;b&gt;you haven&#39;t initialized an object&lt;/b&gt;, or &lt;b&gt;you haven&#39;t checked the return value of a function&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Many functions return null to indicate an error condition - but unless you check your return values, you&#39;ll never know what&#39;s happening. Since the cause is an error condition, normal testing may not pick it up - which means that your users will end up discovering the problem for you. If the API function indicates that null may be returned, be sure to check this before using the object reference!&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Another cause is where your initialization has been sloppy, or where it is conditional. For example, examine the following code, and see if you can spot the problem.&lt;/div&gt;
&lt;pre style=&quot;text-align: -webkit-auto;&quot;&gt;public static void main(String args[])
{
 // Accept up to 3 parameters
 String[] list = new String[3];

 int index = 0;

 while ( (index &amp;lt; args.length) &amp;amp;&amp;amp; ( index &amp;lt; 3 ) )
 {
  list[index++] = args[index];
 }

 // Check all the parameters 
 for (int i = 0; i &amp;lt; list.length; i++)
 {
  if (list[i].equals &quot;-help&quot;)
  {
   // .........
  }
  else
  if (list[i].equals &quot;-cp&quot;)
  {
   // .........
  }
  // else .....
 } 
}&lt;/pre&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
This code (while a contrived example), shows a common mistake. Under some circumstances, where the user enters three or more parameters, the code will run fine. If no parameters are entered, you&#39;ll get a NullPointerException at runtime. Sometimes your variables (the array of strings) will be initialized, and other times they won&#39;t. One easy solution is to check BEFORE you attempt to access a variable in an array that it is not equal to null.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: -webkit-auto;&quot;&gt;


Summary&lt;/h3&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
These errors represent but some of the many that we all make. Though it is impossible to completely eliminate errors from the coding process, with care and practice you can avoid repeating the same ones. Rest assured, however, that all Java programmers encounter the same sorts of problems. It&#39;s comforting to know, that while you work late into the night tracking down an error, someone, somewhere, sometime, will make the same mistake!&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
Thanks to&amp;nbsp;&lt;span style=&quot;text-align: -webkit-center;&quot;&gt;&lt;b&gt;David Reilly&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thirsty2know.blogspot.com/feeds/2445128411985876097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/top-ten-errors-java-programmers-make.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2445128411985876097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7303694485815798090/posts/default/2445128411985876097'/><link rel='alternate' type='text/html' href='http://thirsty2know.blogspot.com/2012/05/top-ten-errors-java-programmers-make.html' title='Top Ten Errors Java Programmers Make'/><author><name>Siddiq Abu Bakkar</name><uri>http://www.blogger.com/profile/13189653109966413557</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>