<?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-3574119105642293629</id><updated>2024-11-08T06:48:46.462-08:00</updated><category term="Tutorial"/><category term="Android"/><category term="c++"/><category term="Gadgets"/><category term="html"/><category term="javascript"/><title type='text'>Android Vita </title><subtitle type='html'>Build app with developers&#xa;&#xa;&#xa;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-8880275240121262490</id><published>2017-10-28T10:32:00.001-07:00</published><updated>2017-10-28T10:32:49.182-07:00</updated><title type='text'>[Latest ] Android studio 3.0 installation, features and guide ( October ...</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/qDRg5zmMgSI&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/8880275240121262490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/10/latest-android-studio-30-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/8880275240121262490'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/8880275240121262490'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/10/latest-android-studio-30-installation.html' title='[Latest ] Android studio 3.0 installation, features and guide ( October ...'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/qDRg5zmMgSI/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-6206796211375193281</id><published>2017-10-01T03:56:00.001-07:00</published><updated>2018-02-13T07:29:23.927-08:00</updated><title type='text'>How to create pdf reader app in android studio : open subtitles to learn...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/oId47-We-Ws&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;h4&gt;
&lt;/h4&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/6206796211375193281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/10/how-to-create-pdf-reader-app-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6206796211375193281'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6206796211375193281'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/10/how-to-create-pdf-reader-app-in-android.html' title='How to create pdf reader app in android studio : open subtitles to learn...'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/oId47-We-Ws/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-7974351272478872555</id><published>2017-08-06T05:10:00.001-07:00</published><updated>2017-09-20T10:22:57.047-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Counter Button</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Description : It is a javascript based button counter. In this we declare global variable counter which counts the button clicks. The updated counter value is displayed as a text in heading.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&lt;h2 id=&quot;txtBtnCount&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq61Gs91_IfhCcF9LAUhxyaKbpWeFIpM4TarShDUvwknP2L3GSY-XM-2vU8SI3YkxZim0nrykATV_IkZNkm7IuSy3hiVrC_qv8blKmGaxfMRokAtK9wQSeRcD9xmaJWRC8NrD97VRB8xQ/s1600/counterbbb.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;141&quot; data-original-width=&quot;431&quot; height=&quot;65&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq61Gs91_IfhCcF9LAUhxyaKbpWeFIpM4TarShDUvwknP2L3GSY-XM-2vU8SI3YkxZim0nrykATV_IkZNkm7IuSy3hiVrC_qv8blKmGaxfMRokAtK9wQSeRcD9xmaJWRC8NrD97VRB8xQ/s200/counterbbb.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt; 0&lt;/h2&gt;
&lt;button onclick=&quot;countBtnClicks()&quot;&gt;Counter Button&lt;/button&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Html Code&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;!DOCTYPE html&amp;gt;  
 &amp;lt;html&amp;gt;  
 &amp;lt;head&amp;gt;  
 &amp;lt;title&amp;gt;Counter Button&amp;lt;/title&amp;gt;  
 &amp;lt;script&amp;gt;  
 var counter = 0;  
 function countBtnClicks() {  
  counter = counter + 1;  
   document.getElementById(&quot;txtBtnCount&quot;).innerHTML = counter;  
 }  
 &amp;lt;/script&amp;gt;  
 &amp;lt;/head&amp;gt;  
 &amp;lt;body&amp;gt;  
 &amp;lt;h2 id=&quot;txtBtnCount&quot;&amp;gt;0&amp;lt;/h2&amp;gt;  
 &amp;lt;button onclick=&quot;countBtnClicks()&quot;&amp;gt;Counter Button&amp;lt;/button&amp;gt;  
 &amp;lt;/body&amp;gt;  
 &amp;lt;/html&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;script&gt;
var counter = 0;
function countBtnClicks() {
 counter = counter + 1;
    document.getElementById(&quot;txtBtnCount&quot;).innerHTML = counter;
}
&lt;/script&gt;&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/7974351272478872555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/08/counter-button.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/7974351272478872555'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/7974351272478872555'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/08/counter-button.html' title='Counter Button'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq61Gs91_IfhCcF9LAUhxyaKbpWeFIpM4TarShDUvwknP2L3GSY-XM-2vU8SI3YkxZim0nrykATV_IkZNkm7IuSy3hiVrC_qv8blKmGaxfMRokAtK9wQSeRcD9xmaJWRC8NrD97VRB8xQ/s72-c/counterbbb.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-8814414278328715764</id><published>2017-02-12T06:15:00.001-08:00</published><updated>2017-09-20T10:22:19.819-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="html"/><title type='text'> How to create facebook share button using pop up window</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;https://www.youtube.com/embed/YR8GB2DGGzY?modestbranding=1&amp;amp;rel=0&quot; type=&quot;text/html&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=3574119105642293629#sign-up&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;roboto&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;Learn to create android browser app in android studio.It uses webview widget. You can use this widget in any app to make it connected with internet.&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=yw32bajuexQ&quot;&gt;Top 10 windows key shortcuts - become pro with that shortcuts&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MyPage.html&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;!Doctype html&amp;gt;  
 &amp;lt;html&amp;gt;  
 &amp;lt;head&amp;gt;  
 &amp;lt;title&amp;gt;Share on facebook&amp;lt;/title&amp;gt;  
 &amp;lt;style&amp;gt;  
 img{  
 cursor: pointer;   
 }  
 &amp;lt;/style&amp;gt;  
 &amp;lt;script&amp;gt;  
 function openWindow()  
 {  
 window.open(&quot;https://www.facebook.com/dialog/share?app_id=87741124305&amp;amp;href=https%3A//www.youtube.com/attribution_link%3Fa%  
 3DhCh342iJVIY%26u%3D%252Fwatch%253Fv%253DlK7kH2by7AU%2526feature%  
 253Dshare&amp;amp;display=popup&amp;amp;redirect_uri=https://www.youtube.com/facebook_redirect&quot;,  
 &quot;Share on facebook&quot;,&#39;width=700,height=620&#39;);  
 }  
 &amp;lt;/script&amp;gt;  
 &amp;lt;/head&amp;gt;  
 &amp;lt;body&amp;gt;  
 &amp;lt;h1&amp;gt;How to create browser app in android studio&amp;lt;/h1&amp;gt;  
 &amp;lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/lK7kH2by7AU&quot;   
 frameborder=&quot;0&quot; allowfullscreen&amp;gt;&amp;lt;/iframe&amp;gt;  
 &amp;lt;br/&amp;gt;  
 &amp;lt;img src=&quot;fb.png&quot; height=&quot;50px&quot; width=&quot;50px&quot; onclick=&quot;openWindow()&quot; style=&quot;cursor:pointer;&quot;/&amp;gt;  
 &amp;lt;p&amp;gt;Click to share on facebook&amp;lt;/p&amp;gt;  
 &amp;lt;/body&amp;gt;  
 &amp;lt;/html&amp;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/AVvXsEi4uin8H4zfHMNsM2ukkAJ8qVcWc_G0w58O9hv9CmNfItRnpZc6vTrg_FetWtwLLek6AZul3uC5a6Up8YJ7-fHPZMZGgIdW-Zws03NPFsRsUAZG_kwX-jMWm0AEqvjj_jROKSQkvqPRjTY/s1600/vlcsnap-error812.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4uin8H4zfHMNsM2ukkAJ8qVcWc_G0w58O9hv9CmNfItRnpZc6vTrg_FetWtwLLek6AZul3uC5a6Up8YJ7-fHPZMZGgIdW-Zws03NPFsRsUAZG_kwX-jMWm0AEqvjj_jROKSQkvqPRjTY/s320/vlcsnap-error812.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/8814414278328715764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/02/how-to-create-facebook-share-button.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/8814414278328715764'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/8814414278328715764'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/02/how-to-create-facebook-share-button.html' title=' How to create facebook share button using pop up window'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/YR8GB2DGGzY/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-5562452439193757714</id><published>2017-01-30T05:57:00.001-08:00</published><updated>2017-08-11T09:18:34.434-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>how to create image scaling animation in android apps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;https://www.youtube.com/embed/jigNF5WdTdI?modestbranding=1&amp;amp;&quot; type=&quot;text/html&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;roboto&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;Learn how to create image scaling animation in android studio.It uses Animation class. You can use this in any app to make your app attractive and beautiful.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;roboto&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;MainActivity.java&lt;/b&gt;&lt;/h4&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.singh.jassi.myanimation;  
 import android.support.v7.app.AppCompatActivity;  
 import android.os.Bundle;  
 import android.view.View;  
 import android.view.animation.Animation;  
 import android.view.animation.AnimationUtils;  
 import android.widget.Button;  
 import android.widget.ImageView;  
 public class MainActivity extends AppCompatActivity {  
   ImageView imageView;  
   Button b1;  
   Animation animation;  
   @Override  
   protected void onCreate(Bundle savedInstanceState) {  
     super.onCreate(savedInstanceState);  
     setContentView(R.layout.activity_main);  
     imageView=(ImageView)findViewById(R.id.imageView);  
     b1=(Button)findViewById(R.id.button);  
     imageView.setImageResource(R.drawable.myimage);  
     animation= AnimationUtils.loadAnimation(getApplicationContext(),R.anim.scale);  
   }  
   public void startAnimation(View view)  
   {  
     imageView.startAnimation(animation);  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;activity_main.xml&lt;/b&gt;&lt;/h4&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;  
   xmlns:tools=&quot;http://schemas.android.com/tools&quot;  
   android:id=&quot;@+id/activity_main&quot;  
   android:layout_width=&quot;match_parent&quot;  
   android:layout_height=&quot;match_parent&quot;  
   android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;  
   android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;  
   tools:context=&quot;com.singh.jassi.myanimation.MainActivity&quot;&amp;gt;  
   &amp;lt;ImageView  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     app:srcCompat=&quot;@drawable/myimage&quot;  
     android:id=&quot;@+id/imageView&quot;  
     android:layout_above=&quot;@+id/button&quot;  
     android:layout_alignParentStart=&quot;true&quot;  
     android:layout_marginBottom=&quot;92dp&quot; /&amp;gt;  
   &amp;lt;Button  
     android:text=&quot;Start animation&quot;  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:layout_marginBottom=&quot;51dp&quot;  
     android:id=&quot;@+id/button&quot;  
     android:layout_alignParentBottom=&quot;true&quot;  
     android:layout_centerHorizontal=&quot;true&quot;  
     android:onClick=&quot;startAnimation&quot;  
     /&amp;gt;  
 &amp;lt;/RelativeLayout&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;scale.xml ( animation resource file in anim floder)&lt;/b&gt;&lt;/h4&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;set xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&amp;gt;  
   &amp;lt;scale  
     android:duration=&quot;6000&quot;  
     android:fromXScale=&quot;1.0&quot;  
     android:fromYScale=&quot;1.0&quot;  
     android:interpolator=&quot;@android:anim/linear_interpolator&quot;  
     android:toXScale=&quot;1.0&quot;  
     android:toYScale=&quot;0.0&quot;  
     &amp;gt;&amp;lt;/scale&amp;gt;  
 &amp;lt;/set&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;https://androidvita.blogspot.in/2017/01/alert-dialogs-in-android-apps.html&quot;&gt;Create alert dialogs in your apps - Free code to download - Click to learn&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
AndroidManifest.xml&lt;/h4&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   package=&quot;com.singh.jassi.myanimation&quot;&amp;gt;  
   &amp;lt;application  
     android:allowBackup=&quot;true&quot;  
     android:icon=&quot;@mipmap/ic_launcher&quot;  
     android:label=&quot;@string/app_name&quot;  
     android:supportsRtl=&quot;true&quot;  
     android:theme=&quot;@style/AppTheme&quot;&amp;gt;  
     &amp;lt;activity android:name=&quot;.MainActivity&quot;&amp;gt;  
       &amp;lt;intent-filter&amp;gt;  
         &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;  
         &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;  
       &amp;lt;/intent-filter&amp;gt;  
     &amp;lt;/activity&amp;gt;  
   &amp;lt;/application&amp;gt;  
 &amp;lt;/manifest&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/5562452439193757714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/01/how-to-create-image-scaling-animation.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5562452439193757714'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5562452439193757714'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/01/how-to-create-image-scaling-animation.html' title='how to create image scaling animation in android apps'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/jigNF5WdTdI/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-8166662906200966187</id><published>2017-01-18T06:18:00.000-08:00</published><updated>2017-08-14T10:41:32.986-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>How to create android Text To Speech app</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; text-align: left;&quot;&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;iframe frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;https://www.youtube.com/embed/fm86_q5mMME?modestbranding=1&amp;amp;autoplay=1&amp;amp;rel=0&quot; type=&quot;text/html&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;roboto&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;Learn to create android text to speech app in android studio.It uses TextToSpeech class. You can use this in any app to speak your written text, reminder, notes and to create talkitive app.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;roboto&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;MainActivity.java&lt;/span&gt;&lt;/h4&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.singh.jassi.texttospeech;  
 import android.speech.tts.TextToSpeech;  
 import android.support.v7.app.AppCompatActivity;  
 import android.os.Bundle;  
 import android.view.View;  
 import android.widget.Button;  
 import android.widget.EditText;  
 import java.util.Locale;  
 public class MainActivity extends AppCompatActivity {  
   TextToSpeech tt;  
   Button b1;  
   EditText ed;  
   @Override  
   protected void onCreate(Bundle savedInstanceState) {  
     super.onCreate(savedInstanceState);  
     setContentView(R.layout.activity_main);  
     tt=new TextToSpeech(getApplicationContext(),new TextToSpeech.OnInitListener()  
     {  
       public void onInit(int status)  
       {  
         if(status!=TextToSpeech.ERROR)  
           tt.setLanguage(Locale.UK);  
       }  
     });  
     b1=(Button)findViewById(R.id.button);  
     ed=(EditText)findViewById(R.id.editText);  
   }  
   public void speak_my_text(View vv)  
   {  
     String string =ed.getText().toString();  
     tt.speak(string,TextToSpeech.QUEUE_FLUSH,null,null);  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;actvity_main.xml&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt; &lt;br /&gt;
&lt;pre style=&quot;background: rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;RelativeLayout  
   xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   xmlns:tools=&quot;http://schemas.android.com/tools&quot;  
   android:id=&quot;@+id/activity_main&quot;  
   android:layout_width=&quot;match_parent&quot;  
   android:layout_height=&quot;match_parent&quot;  
   android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;  
   android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;  
   tools:context=&quot;com.singh.jassi.texttospeech.MainActivity&quot;&amp;gt;  
   &amp;lt;EditText  
     android:layout_width=&quot;match_parent&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:inputType=&quot;textPersonName&quot;  
     android:hint=&quot;Enter your text here...&quot;  
     android:ems=&quot;10&quot;  
     android:layout_marginTop=&quot;83dp&quot;  
     android:id=&quot;@+id/editText&quot;  
     android:layout_alignParentTop=&quot;true&quot;  
     android:layout_centerHorizontal=&quot;true&quot; /&amp;gt;  
   &amp;lt;Button  
     android:text=&quot;Speak&quot;  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:layout_marginBottom=&quot;123dp&quot;  
     android:id=&quot;@+id/button&quot;  
     android:layout_alignParentBottom=&quot;true&quot;  
     android:layout_alignParentStart=&quot;true&quot;  
     android:layout_marginStart=&quot;120dp&quot;  
     android:onClick=&quot;speak_my_text&quot;/&amp;gt;  
 &amp;lt;/RelativeLayout&amp;gt;  &lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://androidvita.blogspot.in/2016/11/source-code-of-media-player-app.html&quot;&gt;Create your own Media player app - Free code to download - Click to create&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
AndroidManifest.xml&lt;/h4&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   package=&quot;com.singh.jassi.texttospeech&quot; &amp;gt;  
   &amp;lt;application  
     android:allowBackup=&quot;true&quot;  
     android:icon=&quot;@mipmap/ic_launcher&quot;  
     android:label=&quot;@string/app_name&quot;  
     android:supportsRtl=&quot;true&quot;  
     android:theme=&quot;@style/AppTheme&quot; &amp;gt;  
     &amp;lt;activity android:name=&quot;.MainActivity&quot; &amp;gt;  
       &amp;lt;intent-filter&amp;gt;  
         &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;  
         &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;  
       &amp;lt;/intent-filter&amp;gt;  
     &amp;lt;/activity&amp;gt;  
   &amp;lt;/application&amp;gt;  
 &amp;lt;/manifest&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt;&quot;&gt;
&lt;/h3&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/8166662906200966187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/01/how-to-create-android-text-to-speech-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/8166662906200966187'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/8166662906200966187'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/01/how-to-create-android-text-to-speech-app.html' title='How to create android Text To Speech app'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/fm86_q5mMME/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-84328558260632469</id><published>2017-01-03T11:25:00.000-08:00</published><updated>2017-08-07T02:55:17.750-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>Alert Dialogs in android apps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/_upsGh7tsdE&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;roboto&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 13px;&quot;&gt;Learn how to create alert dialogs in android apps. We can get decisions and information from user through these alert dialogs.&lt;/span&gt;&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
MainActivity.java&lt;/h4&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.singh.jassi.alertdialog;  
 import android.content.DialogInterface;  
 import android.support.v7.app.AlertDialog;  
 import android.support.v7.app.AppCompatActivity;  
 import android.os.Bundle;  
 import android.view.View;  
 import android.widget.Button;  
 import android.widget.Toast;  
 public class MainActivity extends AppCompatActivity {  
   public Button button;  
   @Override  
   protected void onCreate(Bundle savedInstanceState) {  
     super.onCreate(savedInstanceState);  
     setContentView(R.layout.activity_main);  
     button=(Button)findViewById(R.id.button);  
   }  
   public void my_dialog(View view)  
   {  
     AlertDialog.Builder builder =new AlertDialog.Builder(MainActivity.this);  
     builder.setIcon(R.mipmap.ic_launcher);  
     builder.setTitle(&quot;Alert Dialog&quot;);  
     builder.setMessage(&quot;Select your option yes/no&quot;);  
     builder.setPositiveButton(&quot;Yes&quot;,new DialogInterface.OnClickListener(){  
       public void onClick(DialogInterface dialog, int num1)  
       {  
         Toast.makeText(MainActivity.this,&quot;You selected yes option&quot;,Toast.LENGTH_SHORT).show();  
       }  
     });  
     builder.setNegativeButton(&quot;No&quot;,new DialogInterface.OnClickListener(){  
       public void onClick(DialogInterface dialog, int num2)  
       {  
         Toast.makeText(MainActivity.this,&quot;You selected no option&quot;,Toast.LENGTH_SHORT).show();  
       }  
     });  
     AlertDialog alertDialog =builder.create();  
     alertDialog.show();  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;activity_main.xml&lt;/b&gt;&lt;/h4&gt;
&lt;pre style=&quot;background: rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   xmlns:tools=&quot;http://schemas.android.com/tools&quot;  
   android:id=&quot;@+id/activity_main&quot;  
   android:layout_width=&quot;match_parent&quot;  
   android:layout_height=&quot;match_parent&quot;  
   android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;  
   android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;  
   tools:context=&quot;com.singh.jassi.alertdialog.MainActivity&quot;&amp;gt;  
   &amp;lt;TextView  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:text=&quot;Example of an Alert Dialog&quot;  
     android:layout_marginStart=&quot;81dp&quot;  
     android:layout_marginTop=&quot;43dp&quot;  
     android:layout_alignParentTop=&quot;true&quot;  
     android:layout_alignParentStart=&quot;true&quot; /&amp;gt;  
   &amp;lt;Button  
     android:text=&quot;Click me&quot;  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:id=&quot;@+id/button&quot;  
     android:layout_alignParentBottom=&quot;true&quot;  
     android:layout_centerHorizontal=&quot;true&quot;  
     android:layout_marginBottom=&quot;184dp&quot;  
     android:onClick=&quot;my_dialog&quot;  
     /&amp;gt;  
 &amp;lt;/RelativeLayout&amp;gt;  &lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=n6A-0OLjkdc&quot; style=&quot;background-color: white;&quot;&gt;Create Android virtual device with advance controls - click to create&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;AndroidManifest.xml&lt;/b&gt;&lt;/h4&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   package=&quot;com.singh.jassi.alertdialog&quot;&amp;gt;  
   &amp;lt;application  
     android:allowBackup=&quot;true&quot;  
     android:icon=&quot;@mipmap/ic_launcher&quot;  
     android:label=&quot;@string/app_name&quot;  
     android:supportsRtl=&quot;true&quot;  
     android:theme=&quot;@style/AppTheme&quot;&amp;gt;  
     &amp;lt;activity android:name=&quot;.MainActivity&quot;&amp;gt;  
       &amp;lt;intent-filter&amp;gt;  
         &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;  
         &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;  
       &amp;lt;/intent-filter&amp;gt;  
     &amp;lt;/activity&amp;gt;  
   &amp;lt;/application&amp;gt;  
 &amp;lt;/manifest&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/84328558260632469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/01/alert-dialogs-in-android-apps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/84328558260632469'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/84328558260632469'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/01/alert-dialogs-in-android-apps.html' title='Alert Dialogs in android apps'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/_upsGh7tsdE/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-6070310317790021898</id><published>2017-01-02T23:05:00.000-08:00</published><updated>2017-01-06T20:03:19.989-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><title type='text'>C++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Q.1 How we can get string as an input in C++&lt;br /&gt;
&lt;input name=&quot;qestion&quot; type=&quot;radio&quot; value=&quot;a&quot; /&gt;A. cin&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJUiQ9HB4pe7ZcDfIgJKISxluRxwV6n8OEsoJoHpk8HqoAGbeEMWAFY3pzoao0SZ9VMg7G9FF7XZ7eZPH043L-02jqVIPISHD5rgn844qaW2kpqleEZHAebyoyiAo22lAUcpz7UZW8POE/s1600/CPlusPlus.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJUiQ9HB4pe7ZcDfIgJKISxluRxwV6n8OEsoJoHpk8HqoAGbeEMWAFY3pzoao0SZ9VMg7G9FF7XZ7eZPH043L-02jqVIPISHD5rgn844qaW2kpqleEZHAebyoyiAo22lAUcpz7UZW8POE/s200/CPlusPlus.jpg&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&lt;input name=&quot;qestion&quot; type=&quot;radio&quot; value=&quot;b&quot; /&gt;B. cout&lt;br /&gt;
&lt;input name=&quot;qestion&quot; type=&quot;radio&quot; value=&quot;c&quot; /&gt;C. getline()&lt;br /&gt;
&lt;input name=&quot;qestion&quot; type=&quot;radio&quot; value=&quot;d&quot; /&gt;D. scanf()&lt;br /&gt;
&lt;button onclick=&quot;alert(&#39;C. getline()&#39;)&quot;&gt;View Answer&amp;nbsp;&lt;/button&gt;
&lt;br /&gt;
&lt;br /&gt;
Q.2 How we can assign null value to string in c++&lt;br /&gt;
&lt;input name=&quot;qestion1&quot; type=&quot;radio&quot; value=&quot;a&quot; /&gt;A. NULL&lt;br /&gt;
&lt;input name=&quot;qestion1&quot; type=&quot;radio&quot; value=&quot;b&quot; /&gt;B. null&lt;br /&gt;
&lt;input name=&quot;qestion1&quot; type=&quot;radio&quot; value=&quot;c&quot; /&gt;C. &#39;&#39;&lt;br /&gt;
&lt;input name=&quot;qestion1&quot; type=&quot;radio&quot; value=&quot;d&quot; /&gt;D. &quot;&quot;&lt;br /&gt;
&lt;button onclick=&quot;alert(&#39;Answer is D&#39;)&quot;&gt;View Answer&amp;nbsp;&lt;/button&gt;

&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/6070310317790021898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2017/01/c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6070310317790021898'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6070310317790021898'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2017/01/c.html' title='C++'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJUiQ9HB4pe7ZcDfIgJKISxluRxwV6n8OEsoJoHpk8HqoAGbeEMWAFY3pzoao0SZ9VMg7G9FF7XZ7eZPH043L-02jqVIPISHD5rgn844qaW2kpqleEZHAebyoyiAo22lAUcpz7UZW8POE/s72-c/CPlusPlus.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-7370195353730403802</id><published>2016-12-06T05:45:00.001-08:00</published><updated>2017-01-29T09:36:27.681-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>Start developing apps with android vita</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;https://www.youtube.com/embed/v3kF8fetEx4&quot; width=&quot;635&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCP43GnrxwxapMPBAtkt5uvvZM21hvl4tfoyKRSDkRUM8o-Ix9zE48INvEObTTKyiYDVeCg176gNGcnObIlXuINUnJAs_Mwj-IE7KVHL_N9KHXbvT5FVVO0wWHzzFsmGBcJwwXu-nOZHU/s1600/14523003_649805868511514_8319377571297683766_n.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;90&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCP43GnrxwxapMPBAtkt5uvvZM21hvl4tfoyKRSDkRUM8o-Ix9zE48INvEObTTKyiYDVeCg176gNGcnObIlXuINUnJAs_Mwj-IE7KVHL_N9KHXbvT5FVVO0wWHzzFsmGBcJwwXu-nOZHU/s400/14523003_649805868511514_8319377571297683766_n.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/7370195353730403802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/12/start-developing-apps-with-android-vita.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/7370195353730403802'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/7370195353730403802'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/12/start-developing-apps-with-android-vita.html' title='Start developing apps with android vita'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/v3kF8fetEx4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-2986370280410242312</id><published>2016-11-25T03:04:00.000-08:00</published><updated>2016-11-25T03:10:38.394-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>Steps to create Android Virtual device</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2XRQUawxvVk-Gg7Kxmi-qwgE7_BcBUExAo9Kdk84H8JquSoKDJrGfG15j_N6EoPW5PrRmiMdtprs84QJRKuHMnpmyfuULa15KwIdsKXr5nuSzVRrFdgsJdviZ2yYpwls0B3e5yCYMzak/s1600/vlcsnap-error693.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;113&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2XRQUawxvVk-Gg7Kxmi-qwgE7_BcBUExAo9Kdk84H8JquSoKDJrGfG15j_N6EoPW5PrRmiMdtprs84QJRKuHMnpmyfuULa15KwIdsKXr5nuSzVRrFdgsJdviZ2yYpwls0B3e5yCYMzak/s200/vlcsnap-error693.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;To run your app you need virtual android device .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Select&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;AVD Manager&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;from &amp;nbsp;upper options. (forth from last icons).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;A new window with the title &amp;nbsp;&quot;Your Virtual Devices&quot; prompt on your desktop.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px; margin: 0px; padding: 0px;&quot;&gt;
Click on&amp;nbsp;&lt;b&gt;&quot;Create Virtual Device&quot;&lt;/b&gt;&amp;nbsp;Button.&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Select&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&quot;Nexus 5X&quot;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;phone.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Click&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&quot;Next&quot;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;button below.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Click&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&quot;Next&quot;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;button .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Set&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;AVD Name :&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Android Device (It is your device&#39;s name).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Now finally click on&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&quot;Finish&quot;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;button.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot; /&gt;
&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;Select Run-&amp;gt;&#39;Run app&#39; or shift+F10.&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Select&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&quot;Android Device &quot;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;(Android virtual device which you already created) to run app.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Click on&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&quot;OK&quot;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;button.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Your device takes 2-3 minutes to run.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Find your app with the name&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&quot;XYZ&quot;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;from &amp;nbsp;device.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Run it by clicking on it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: &amp;quot;open sans&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Congratulations you developed your first Hello World app which is running successfully on android device.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot; /&gt;
&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;Please &amp;nbsp;write any help and suggestions in comment box to improve &amp;nbsp;android app development.&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=n6A-0OLjkdc&quot; target=&quot;_blank&quot;&gt;Watch Video tutorial on youtube.&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/2986370280410242312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/11/steps-to-create-android-virtual-device.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/2986370280410242312'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/2986370280410242312'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/11/steps-to-create-android-virtual-device.html' title='Steps to create Android Virtual device'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2XRQUawxvVk-Gg7Kxmi-qwgE7_BcBUExAo9Kdk84H8JquSoKDJrGfG15j_N6EoPW5PrRmiMdtprs84QJRKuHMnpmyfuULa15KwIdsKXr5nuSzVRrFdgsJdviZ2yYpwls0B3e5yCYMzak/s72-c/vlcsnap-error693.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-1852672500965937135</id><published>2016-11-01T05:35:00.001-07:00</published><updated>2017-08-07T02:32:38.018-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Source code of Media Player App</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;https://www.youtube.com/embed/6AQIKPqLrwk?modestbranding=1&amp;amp;autoplay=1&amp;amp;rel=0&quot; type=&quot;text/html&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Insert songs and media in android apps with help of media player class.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/h2&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt; MainActivity.java&lt;/span&gt;&lt;/h3&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.singh.jassi.mediaplayer;  
 import android.media.MediaPlayer;  
 import android.support.v7.app.AppCompatActivity;  
 import android.os.Bundle;  
 import android.view.View;  
 public class MainActivity extends AppCompatActivity {  
   MediaPlayer mp;  
   @Override  
   protected void onCreate(Bundle savedInstanceState) {  
     super.onCreate(savedInstanceState);  
     setContentView(R.layout.activity_main);  
     mp=MediaPlayer.create(this,R.raw.song);  
   }  
   public void start(View vv)  
   {  
     mp.start();  
   }  
   public void stop(View x)  
   {  
     mp.stop();  
   }  
   public void pause(View jj)  
   {  
     mp.pause();  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://youtu.be/6AQIKPqLrwk&quot; target=&quot;_blank&quot;&gt;Watch full youtube tutuorial of Media Player app&lt;/a&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
activity_main.xml&lt;span id=&quot;goog_1568116138&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1568116139&quot;&gt;&lt;/span&gt;&lt;a href=&quot;https://www.blogger.com/&quot;&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   xmlns:tools=&quot;http://schemas.android.com/tools&quot;  
   android:id=&quot;@+id/activity_main&quot;  
   android:layout_width=&quot;match_parent&quot;  
   android:layout_height=&quot;match_parent&quot;  
   android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;  
   android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;  
   tools:context=&quot;com.singh.jassi.mediaplayer.MainActivity&quot;&amp;gt;  
   &amp;lt;Button  
     android:text=&quot;Start&quot;  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:layout_alignParentTop=&quot;true&quot;  
     android:layout_alignParentStart=&quot;true&quot;  
     android:layout_marginStart=&quot;33dp&quot;  
     android:layout_marginTop=&quot;204dp&quot;  
     android:id=&quot;@+id/button&quot;  
     android:onClick=&quot;start&quot;  
     /&amp;gt;  
   &amp;lt;Button  
     android:text=&quot;stop&quot;  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:layout_marginEnd=&quot;62dp&quot;  
     android:id=&quot;@+id/button2&quot;  
     android:layout_alignBaseline=&quot;@+id/button&quot;  
     android:layout_alignBottom=&quot;@+id/button&quot;  
     android:layout_alignParentEnd=&quot;true&quot;  
     android:onClick=&quot;stop&quot;  
     /&amp;gt;  
   &amp;lt;Button  
     android:text=&quot;pause&quot;  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:layout_below=&quot;@+id/button&quot;  
     android:layout_toEndOf=&quot;@+id/button&quot;  
     android:layout_marginTop=&quot;52dp&quot;  
     android:id=&quot;@+id/button3&quot;  
     android:onClick=&quot;pause&quot;  
     /&amp;gt;  
 &amp;lt;/RelativeLayout&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;https://androidvita.blogspot.in/2017/01/how-to-create-image-scaling-animation.html&quot;&gt;Create awesome image scaling animation app - Free code to download&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;AndroidManifest.xml&lt;/b&gt;&lt;/h4&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   package=&quot;com.singh.jassi.mediaplayer&quot;&amp;gt;  
   &amp;lt;application  
     android:allowBackup=&quot;true&quot;  
     android:icon=&quot;@mipmap/ic_launcher&quot;  
     android:label=&quot;@string/app_name&quot;  
     android:supportsRtl=&quot;true&quot;  
     android:theme=&quot;@style/AppTheme&quot;&amp;gt;  
     &amp;lt;activity android:name=&quot;.MainActivity&quot;&amp;gt;  
       &amp;lt;intent-filter&amp;gt;  
         &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;  
         &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;  
       &amp;lt;/intent-filter&amp;gt;  
     &amp;lt;/activity&amp;gt;  
   &amp;lt;/application&amp;gt;  
 &amp;lt;/manifest&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;  &lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/1852672500965937135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/11/source-code-of-media-player-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/1852672500965937135'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/1852672500965937135'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/11/source-code-of-media-player-app.html' title='Source code of Media Player App'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/6AQIKPqLrwk/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-5865625776066040195</id><published>2016-11-01T05:01:00.000-07:00</published><updated>2017-01-15T06:26:06.285-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>Android browser app</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;Learn to&amp;nbsp;develop android browser app.You can use this widget in any app to make it connected with internet.&lt;/h2&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;https://www.youtube.com/embed/lK7kH2by7AU?start=4&amp;amp;autoplay=1&quot; width=&quot;635&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsMZ5SPzyV7XKwggQsqsqFHbUDplj4ADYuEoRjdXb4BFijavh_7t-CwVyscItUnVkh77-GnmklsTOdETUTKHvSjHjH9CeVlohQpOfCRSAMZ2YlEiG_Scs_YS68T-7xdjyeBV2WSjbTm8c/s1600/vlcsnap-error261.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;113&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsMZ5SPzyV7XKwggQsqsqFHbUDplj4ADYuEoRjdXb4BFijavh_7t-CwVyscItUnVkh77-GnmklsTOdETUTKHvSjHjH9CeVlohQpOfCRSAMZ2YlEiG_Scs_YS68T-7xdjyeBV2WSjbTm8c/s200/vlcsnap-error261.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://androidvita.blogspot.in/2016/10/webview-in-android-apps.html&quot; target=&quot;_blank&quot;&gt;Get full source code of browser app.&lt;/a&gt; &lt;/div&gt;&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/5865625776066040195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/11/learn-to-android-browser-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5865625776066040195'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5865625776066040195'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/11/learn-to-android-browser-app.html' title='Android browser app'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/lK7kH2by7AU/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-5648475742799836443</id><published>2016-10-31T03:19:00.000-07:00</published><updated>2017-01-15T06:26:51.346-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android Virtual Device</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Run your apps in AVD and get full run time details in android studio.&lt;/h2&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;https://www.youtube.com/embed/n6A-0OLjkdc?start=4&amp;amp;autoplay=1&quot; width=&quot;635&quot;&gt;&lt;/iframe&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&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/AVvXsEgWDtSIm_Emla2_4EqL0aG9x_cXRDxWJJ1AKW_dVz14DGkUn0EgCKsx_nyc76LNrovUnt9q82lCDOGVUcdm_IfGYT8Ii1FInncr77eRQbWHqTwpg2TInhuXVed3iqXji9PBmy0GahpEDIk/s1600/vlcsnap-error164.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; height=&quot;113&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWDtSIm_Emla2_4EqL0aG9x_cXRDxWJJ1AKW_dVz14DGkUn0EgCKsx_nyc76LNrovUnt9q82lCDOGVUcdm_IfGYT8Ii1FInncr77eRQbWHqTwpg2TInhuXVed3iqXji9PBmy0GahpEDIk/s200/vlcsnap-error164.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/5648475742799836443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/android-virtual-device.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5648475742799836443'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5648475742799836443'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/android-virtual-device.html' title='Android Virtual Device'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/n6A-0OLjkdc/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-1291085945419824078</id><published>2016-10-31T01:01:00.003-07:00</published><updated>2017-01-31T02:05:45.141-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>File handling</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Learn file handling in android apps.&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
MainActivity.java&lt;/h3&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.example.ashish.filehandleing;  
 import android.app.AlertDialog;  
 import android.app.Dialog;  
 import android.content.Context;  
 import android.content.DialogInterface;  
 import android.support.v7.app.AppCompatActivity;  
 import android.os.Bundle;  
 import android.view.Menu;  
 import android.view.MenuItem;  
 import android.view.View;  
 import android.widget.EditText;  
 import android.widget.TextView;  
 import android.widget.Toast;  
 import java.io.File;  
 import java.io.FileInputStream;  
 import java.io.FileOutputStream;  
 import java.io.OutputStreamWriter;  
 public class MainActivity extends AppCompatActivity {  
   @Override  
   protected void onCreate(Bundle savedInstanceState) {  
     super.onCreate(savedInstanceState);  
     setContentView(R.layout.activity_main);  
   }  
   @Override  
   public boolean onCreateOptionsMenu(Menu menu) {  
     getMenuInflater().inflate(R.menu.menu_main, menu);  
     return true;  
   }  
   public void open(View v )  
   {  
     AlertDialog.Builder alertdialogbuilder=new AlertDialog.Builder(this);  
     alertdialogbuilder.setMessage(&quot;Are you sure to save the file&quot;);  
     alertdialogbuilder.setPositiveButton(&quot;yes&quot;,new DialogInterface.OnClickListener(){  
       @Override  
     public void onClick(DialogInterface arg ,int gk)  
       {  
         EditText ed = (EditText) findViewById(R.id.editText);  
         String tv = ed.getText().toString();  
         try {  
           FileOutputStream fileos = openFileOutput(&quot;short.txt&quot;, MODE_PRIVATE);  
           OutputStreamWriter outputwriter = new OutputStreamWriter(fileos);  
           outputwriter.write(ed.getText().toString());  
           outputwriter.close();  
           Toast.makeText(MainActivity.this,&quot;Your file is saved&quot;,Toast.LENGTH_LONG).show();  
         } catch (Exception e) {  
           e.printStackTrace();  
         }  
       }  
     });  
     alertdialogbuilder.setNegativeButton(&quot;No&quot;, new DialogInterface.OnClickListener() {  
       @Override  
       public void onClick(DialogInterface dilog, int which) {  
         finish();  
       }  
     });  
     AlertDialog alertdialog=alertdialogbuilder.create();  
     alertdialog.show();  
   }  
 public void readfile(View v)  
 {  
   try  
   {  
     TextView text=(TextView)findViewById(R.id.textView2);  
     int c;  
     String str=&quot;&quot;;  
     FileInputStream FI=openFileInput(&quot;short.txt&quot;);  
     while((c=FI.read())!=-1)  
     {  
       str=str+(char)c;  
     }  
     text.setText(str);  
     FI.close();  
   }  
   catch (Exception e) {  
     e.printStackTrace();  
   }  
 }  
   @Override  
   public boolean onOptionsItemSelected(MenuItem item) {  
     int id = item.getItemId();  
     if (id == R.id.action_settings) {  
       return true;  
     }  
     return super.onOptionsItemSelected(item);  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&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/AVvXsEjVcmUegvKA61H-u5FGR_IzHMdCEae3lLhJ5GjE5z7t7-odSx2jROFMIYfZDNcXkWdT_Avgd3mAHZb8x9jGdSiYdAENUyLUXs2ZfzRh0eODIg-vaeSUeJzmv-ocFaw5KUPOyM4U97mY25Q/s1600/Capture2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVcmUegvKA61H-u5FGR_IzHMdCEae3lLhJ5GjE5z7t7-odSx2jROFMIYfZDNcXkWdT_Avgd3mAHZb8x9jGdSiYdAENUyLUXs2ZfzRh0eODIg-vaeSUeJzmv-ocFaw5KUPOyM4U97mY25Q/s320/Capture2.png&quot; width=&quot;188&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
activity_main.xml&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   xmlns:tools=&quot;http://schemas.android.com/tools&quot; android:layout_width=&quot;match_parent&quot;  
   android:layout_height=&quot;match_parent&quot; android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;  
   android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot; tools:context=&quot;.MainActivity&quot;&amp;gt;  
   &amp;lt;TextView android:text=&quot;@string/abc&quot; android:layout_width=&quot;match_parent&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:id=&quot;@+id/textView&quot;  
     android:layout_gravity=&quot;center&quot;  
     android:layout_alignParentTop=&quot;true&quot;  
     android:layout_alignParentRight=&quot;true&quot;  
     android:layout_alignParentEnd=&quot;true&quot; /&amp;gt;  
   &amp;lt;EditText  
     android:layout_width=&quot;match_parent&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:id=&quot;@+id/editText&quot;  
     android:layout_below=&quot;@+id/textView&quot;  
     android:layout_alignParentLeft=&quot;true&quot;  
     android:layout_alignParentStart=&quot;true&quot;  
     android:layout_marginTop=&quot;38dp&quot; /&amp;gt;  
   &amp;lt;Button  
     android:layout_width=&quot;match_parent&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:text=&quot;Submit&quot;  
     android:id=&quot;@+id/button&quot;  
     android:layout_marginTop=&quot;54dp&quot;  
     android:onClick=&quot;open&quot;  
     android:layout_below=&quot;@+id/editText&quot;  
     android:layout_alignParentLeft=&quot;true&quot;  
     android:layout_alignParentStart=&quot;true&quot; /&amp;gt;  
   &amp;lt;Button  
     android:layout_width=&quot;match_parent&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:text=&quot;Read&quot;  
     android:id=&quot;@+id/button2&quot;  
     android:onClick=&quot;readfile&quot;  
     android:layout_above=&quot;@+id/textView2&quot;  
     android:layout_alignParentLeft=&quot;true&quot;  
     android:layout_alignParentStart=&quot;true&quot;  
     android:layout_marginBottom=&quot;56dp&quot; /&amp;gt;  
   &amp;lt;TextView  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:text=&quot;New Text&quot;  
     android:id=&quot;@+id/textView2&quot;  
     android:layout_alignParentBottom=&quot;true&quot;  
     android:layout_centerHorizontal=&quot;true&quot;  
     android:layout_marginBottom=&quot;85dp&quot; /&amp;gt;  
 &amp;lt;/RelativeLayout&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/1291085945419824078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/file-handling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/1291085945419824078'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/1291085945419824078'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/file-handling.html' title='File handling'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVcmUegvKA61H-u5FGR_IzHMdCEae3lLhJ5GjE5z7t7-odSx2jROFMIYfZDNcXkWdT_Avgd3mAHZb8x9jGdSiYdAENUyLUXs2ZfzRh0eODIg-vaeSUeJzmv-ocFaw5KUPOyM4U97mY25Q/s72-c/Capture2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-5940767101931316316</id><published>2016-10-31T00:30:00.000-07:00</published><updated>2016-11-04T19:14:05.542-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><title type='text'>Break and Continue in C++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Learn the use of break and continue statement using this c++&amp;nbsp;program.&lt;/h3&gt;
&lt;div&gt;
&lt;div&gt;
#include&amp;lt;iostream&amp;gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU57dJo5PCO10JGS4eicu3OPGHrhVajcaJi9TT8XMWIWO2dXiiYqFikdyjOcQQ1qtBXZYQIxGQtcuxkz9nqLbruQsLRZw8LTe-LOarbfYAh2dr-zIxxtmlBGNpPFLXLPSVpQp91OiAS0c/s1600/c%252B%252B.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU57dJo5PCO10JGS4eicu3OPGHrhVajcaJi9TT8XMWIWO2dXiiYqFikdyjOcQQ1qtBXZYQIxGQtcuxkz9nqLbruQsLRZw8LTe-LOarbfYAh2dr-zIxxtmlBGNpPFLXLPSVpQp91OiAS0c/s200/c%252B%252B.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;#include&amp;lt;conio.h&amp;gt;&lt;/div&gt;
&lt;div&gt;
using namespace std;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
int main()&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int i;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(i=1;i&amp;lt;=10;i++)&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(i==4)&lt;/div&gt;
&lt;div&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;&amp;nbsp;&lt;/div&gt;
&lt;div&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;// 4 number is skipped.&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;continue;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(i==9)&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// loop breaks and control goes out of for loop&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;break;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;cout&amp;lt;&amp;lt;i&amp;lt;&amp;lt;&quot;\n&quot;;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Output&lt;/h4&gt;
&lt;div&gt;
1&lt;/div&gt;
&lt;div&gt;
2&lt;/div&gt;
&lt;div&gt;
3&lt;/div&gt;
&lt;div&gt;
5&lt;/div&gt;
&lt;div&gt;
6&lt;/div&gt;
&lt;div&gt;
7&lt;/div&gt;
&lt;div&gt;
8&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/5940767101931316316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/break-and-continue-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5940767101931316316'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5940767101931316316'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/break-and-continue-in-c.html' title='Break and Continue in C++'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU57dJo5PCO10JGS4eicu3OPGHrhVajcaJi9TT8XMWIWO2dXiiYqFikdyjOcQQ1qtBXZYQIxGQtcuxkz9nqLbruQsLRZw8LTe-LOarbfYAh2dr-zIxxtmlBGNpPFLXLPSVpQp91OiAS0c/s72-c/c%252B%252B.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-6646325294949165627</id><published>2016-10-31T00:29:00.001-07:00</published><updated>2016-11-04T19:14:18.128-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Create hello world app</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Start your android app development by learning first basic hello world app.&lt;/h2&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/xeVDTyxtc5Q&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/6646325294949165627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/create-hello-world-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6646325294949165627'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6646325294949165627'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/create-hello-world-app.html' title='Create hello world app'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/xeVDTyxtc5Q/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-3490928180798554366</id><published>2016-10-29T07:01:00.004-07:00</published><updated>2017-08-14T10:40:51.237-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>WebView in android apps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Create browser in android app using WebView.&lt;/span&gt;&lt;/h2&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;https://www.youtube.com/embed/lK7kH2by7AU?modestbranding=1&amp;amp;autoplay=1;&quot; type=&quot;text/html&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Insert this code in Mybrowser.java file and my_browser.xml file.&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHuEwfe877MWCV3Ff3h7luwmIqa6sfQFjyjtVIoui_PWzPGbbFc9czn5hWvRxyDAvujRLsQfRZmiLKfGGMm9whbYEolZRlRfoGHS7WBi-ExQVNB1ZElCYNyEt0TBpXbAtVUvT9n-NkLjk/s1600/browser.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHuEwfe877MWCV3Ff3h7luwmIqa6sfQFjyjtVIoui_PWzPGbbFc9czn5hWvRxyDAvujRLsQfRZmiLKfGGMm9whbYEolZRlRfoGHS7WBi-ExQVNB1ZElCYNyEt0TBpXbAtVUvT9n-NkLjk/s200/browser.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Mybrowser.java&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.example.ashish.internet;  
 import android.support.v7.app.AppCompatActivity;  
 import android.os.Bundle;  
 import android.view.Menu;  
 import android.view.MenuItem;  
 import android.webkit.WebView;  
 public class abc extends AppCompatActivity {  
   private WebView web;  
   @Override  
   protected void onCreate(Bundle savedInstanceState) {  
     super.onCreate(savedInstanceState);  
     setContentView(R.layout.activity_abc);  
     web=(WebView)findViewById(R.id.webView);  
     web.getSettings().setLoadsImagesAutomatically(true);  
     web.loadUrl(&quot;https://www.google.co.in&quot;);  
   }  
   @Override  
   public boolean onCreateOptionsMenu(Menu menu) {  
     getMenuInflater().inflate(R.menu.menu_abc, menu);  
     return true;  
   }  
   @Override  
   public boolean onOptionsItemSelected(MenuItem item) {  
     int id = item.getItemId();  
     if (id == R.id.action_settings) {  
       return true;  
     }  
     return super.onOptionsItemSelected(item);  
   }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;my_browser.xml&lt;/span&gt;&lt;/h3&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   xmlns:tools=&quot;http://schemas.android.com/tools&quot; android:layout_width=&quot;match_parent&quot;  
   android:layout_height=&quot;match_parent&quot; android:paddingLeft=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingRight=&quot;@dimen/activity_horizontal_margin&quot;  
   android:paddingTop=&quot;@dimen/activity_vertical_margin&quot;  
   android:paddingBottom=&quot;@dimen/activity_vertical_margin&quot;  
   tools:context=&quot;com.example.ashish.internet.abc&quot;&amp;gt;  
   &amp;lt;WebView  
     android:layout_width=&quot;wrap_content&quot;  
     android:layout_height=&quot;wrap_content&quot;  
     android:id=&quot;@+id/webView&quot;  
     android:layout_centerVertical=&quot;true&quot;  
     android:layout_centerHorizontal=&quot;true&quot; /&amp;gt;  
 &amp;lt;/RelativeLayout&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span height=&quot;100px;&quot;&gt;&lt;span style=&quot;color: white; font-size: x-large;&quot;&gt;&lt;a href=&quot;https://androidvita.blogspot.in/2017/01/how-to-create-android-text-to-speech-app.html&quot; onmouseout=&quot;style=&#39;color:black&#39;&quot; onmouseover=&quot;style=&#39;color:blue&#39;&quot; style=&quot;background-color: white;&quot;&gt;Create your own Text to Speech app&amp;nbsp;- Free code to download  - Click to create&lt;/a&gt;&amp;nbsp;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span height=&quot;100px;&quot; style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt; &lt;span height=&quot;100px;&quot; style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;AndroidManifest.xml&lt;/span&gt;&lt;/h3&gt;
&lt;pre style=&quot;background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: &amp;quot;arial&amp;quot;; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;  
 &amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;  
   package=&quot;com.singh.jassi.mybrowser&quot;&amp;gt;  
   &amp;lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;/&amp;gt;  
   &amp;lt;application  
     android:allowBackup=&quot;true&quot;  
     android:icon=&quot;@mipmap/ic_launcher&quot;  
     android:label=&quot;@string/app_name&quot;  
     android:supportsRtl=&quot;true&quot;  
     android:theme=&quot;@style/AppTheme&quot;&amp;gt;  
     &amp;lt;activity android:name=&quot;.MainActivity&quot;&amp;gt;  
       &amp;lt;intent-filter&amp;gt;  
         &amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;  
         &amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;  
       &amp;lt;/intent-filter&amp;gt;  
     &amp;lt;/activity&amp;gt;  
     &amp;lt;activity android:name=&quot;.mybrowser&quot;&amp;gt;&amp;lt;/activity&amp;gt;  
   &amp;lt;/application&amp;gt;  
 &amp;lt;/manifest&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;/h2&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/3490928180798554366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/webview-in-android-apps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/3490928180798554366'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/3490928180798554366'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/webview-in-android-apps.html' title='WebView in android apps'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/lK7kH2by7AU/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-2060190094265758232</id><published>2016-10-29T01:55:00.002-07:00</published><updated>2016-11-04T19:15:31.997-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android Quiz</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2&gt;
Which is not the life cycle of android app ?&lt;/h2&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhANEeJxTPNqrQPEHup7_khzpzjSJ28FX4TWmi2oijKkhGMXLTdVf8A6Q999vA_37bwXiYtcMyW4fUqU_zBJ65MEfoW4nuLRia76DZ5nJ4HSj-em55FcazT0t-5ZyZdtCbPeDsdJldKZeQ/s1600/android-logo+%25282%2529+-+Copy.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhANEeJxTPNqrQPEHup7_khzpzjSJ28FX4TWmi2oijKkhGMXLTdVf8A6Q999vA_37bwXiYtcMyW4fUqU_zBJ65MEfoW4nuLRia76DZ5nJ4HSj-em55FcazT0t-5ZyZdtCbPeDsdJldKZeQ/s200/android-logo+%25282%2529+-+Copy.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
A. onCreate()&lt;/div&gt;
&lt;div&gt;
B.onStart()&lt;/div&gt;
&lt;div&gt;
C.onPause()&lt;/div&gt;
&lt;div&gt;
D.onTerminate()&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://androidvita.blogspot.in/p/answer_29.html&quot;&gt;View Answer&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/2060190094265758232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/android-quiz.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/2060190094265758232'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/2060190094265758232'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/android-quiz.html' title='Android Quiz'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhANEeJxTPNqrQPEHup7_khzpzjSJ28FX4TWmi2oijKkhGMXLTdVf8A6Q999vA_37bwXiYtcMyW4fUqU_zBJ65MEfoW4nuLRia76DZ5nJ4HSj-em55FcazT0t-5ZyZdtCbPeDsdJldKZeQ/s72-c/android-logo+%25282%2529+-+Copy.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-3637093486440887359</id><published>2016-10-28T05:12:00.002-07:00</published><updated>2017-08-11T09:21:16.693-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>Media Player in android apps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Learn to insert songs and media in android apps.&lt;/h2&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;https://www.youtube.com/embed/6AQIKPqLrwk?start=4&amp;amp;&quot; width=&quot;635&quot;&gt;&lt;/iframe&gt; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/3637093486440887359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/media-player-in-android-apps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/3637093486440887359'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/3637093486440887359'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/media-player-in-android-apps.html' title='Media Player in android apps'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/6AQIKPqLrwk/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-3884324878237398693</id><published>2016-10-27T20:47:00.002-07:00</published><updated>2016-11-16T05:56:03.326-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android Toasts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
How to create android toast in apps&lt;/h2&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/mDX_slwqY2g?start=4&amp;autoplay=1&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/3884324878237398693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/android-toasts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/3884324878237398693'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/3884324878237398693'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/android-toasts.html' title='Android Toasts'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/mDX_slwqY2g/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-6786014976576901290</id><published>2016-10-27T07:49:00.000-07:00</published><updated>2016-11-04T19:15:57.648-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gadgets"/><title type='text'>Google Pixel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_pzu6E2ESKdTfhGLB47LR7a5BfYD3NQ2fseTCPAvPrMaBjWtOkLIV6NwWW4hgB-6elPyT9V6KDM_7PJjf7SF5qkhZ2I4WmzlMJedY1PCASLVDKvs-BeSpR8p-0BrO14z1mZSvYMjwNLw/s1600/1042016102515PM_635_google_pixel_xl.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;236&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_pzu6E2ESKdTfhGLB47LR7a5BfYD3NQ2fseTCPAvPrMaBjWtOkLIV6NwWW4hgB-6elPyT9V6KDM_7PJjf7SF5qkhZ2I4WmzlMJedY1PCASLVDKvs-BeSpR8p-0BrO14z1mZSvYMjwNLw/s320/1042016102515PM_635_google_pixel_xl.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;Google released their new smartphone called &#39;Google Pixel&#39; in October, 2016.It comes with Android&amp;nbsp;&lt;span style=&quot;background-color: #fafafa; font-family: &amp;quot;arimo&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; font-family: &amp;quot;arimo&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 14px;&quot;&gt;OS, v7.1 (Nougat). It has&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; font-family: &amp;quot;arimo&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 14px;&quot;&gt;AMOLED touchscreen with&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; font-family: &amp;quot;arimo&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 14px;&quot;&gt;1080 x 1920 pixels resolution.&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; font-family: &amp;quot;arimo&amp;quot; , &amp;quot;arial&amp;quot;; font-size: 14px;&quot;&gt;It has 4GB RAM and 2770 mAh&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #2b2b2b; font-family: , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Li-Ion battery. It has 12 MP camera.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/6786014976576901290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/google-pixel-google-released-their-new.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6786014976576901290'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/6786014976576901290'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/google-pixel-google-released-their-new.html' title='Google Pixel'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_pzu6E2ESKdTfhGLB47LR7a5BfYD3NQ2fseTCPAvPrMaBjWtOkLIV6NwWW4hgB-6elPyT9V6KDM_7PJjf7SF5qkhZ2I4WmzlMJedY1PCASLVDKvs-BeSpR8p-0BrO14z1mZSvYMjwNLw/s72-c/1042016102515PM_635_google_pixel_xl.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-5701164389999844025</id><published>2016-10-26T17:52:00.000-07:00</published><updated>2016-11-19T18:32:37.007-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c++"/><title type='text'>Code challenge</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Q.1 What is the output of following program code (Assume header files already declared) ?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; for(i=0;i&amp;lt;=10;i++);&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcXK_LhCadZquUUyZ_k3WB5KDPLG4v6RHYZvzcnk_zGEyHwJQ-_bcAZrdR5o62RLOlV6euNDuYUayNipNQsOjbOd5Tm8JC37O1U6zTKrFZ0pLNsX5NJCEy-78kO5WZpVw0VDwDfOBHk0U/s1600/CPlusPlus.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcXK_LhCadZquUUyZ_k3WB5KDPLG4v6RHYZvzcnk_zGEyHwJQ-_bcAZrdR5o62RLOlV6euNDuYUayNipNQsOjbOd5Tm8JC37O1U6zTKrFZ0pLNsX5NJCEy-78kO5WZpVw0VDwDfOBHk0U/s200/CPlusPlus.jpg&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d&quot;,i);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
Options&lt;br /&gt;
A.0,1,2,3,......10&lt;br /&gt;
B.10&lt;br /&gt;
C.11&lt;br /&gt;
D.Compile time error&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://androidvita.blogspot.in/p/answer.html&quot; target=&quot;_blank&quot;&gt;View Answer&lt;/a&gt;&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/5701164389999844025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/10/code-challenge.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5701164389999844025'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/5701164389999844025'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/10/code-challenge.html' title='Code challenge'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcXK_LhCadZquUUyZ_k3WB5KDPLG4v6RHYZvzcnk_zGEyHwJQ-_bcAZrdR5o62RLOlV6euNDuYUayNipNQsOjbOd5Tm8JC37O1U6zTKrFZ0pLNsX5NJCEy-78kO5WZpVw0VDwDfOBHk0U/s72-c/CPlusPlus.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3574119105642293629.post-4611119831408245369</id><published>2016-07-22T12:13:00.000-07:00</published><updated>2016-11-04T19:16:40.739-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Getting started with android app development</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Getting started with android app development&lt;/h2&gt;
&lt;br /&gt;
To make your first app running download the android studio (app development software) from official website in the given link&lt;br /&gt;
&amp;nbsp;&lt;a href=&quot;https://developer.android.com/studio/index.html&quot; target=&quot;_blank&quot;&gt;https://developer.android.com/studio/index.html&lt;/a&gt;&lt;br /&gt;
After installing &amp;nbsp;android studio, run it on your operating system.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Your first app &quot;Hello World&quot;&lt;/h3&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2i4B060a5fbzDJxEskt4xSrBohxlRcBzuL1o0QYPuJM7Vy98q884g5ilGNr5DZiLVAZDc3Voo6acGDtt3urYPstEHWS-9L8tUlLK6rBXwXnE9c78kPMvotPzQ54UdEIzqQVa9AM5L6qA/s1600/android_logo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2i4B060a5fbzDJxEskt4xSrBohxlRcBzuL1o0QYPuJM7Vy98q884g5ilGNr5DZiLVAZDc3Voo6acGDtt3urYPstEHWS-9L8tUlLK6rBXwXnE9c78kPMvotPzQ54UdEIzqQVa9AM5L6qA/s320/android_logo.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;
In android studio, select File-&amp;gt;New-&amp;gt;New Project.&lt;/h4&gt;
A new window with the title &amp;nbsp;&lt;b&gt;&quot;Configure your new Project&quot;&lt;/b&gt; prompt on your desktop.&lt;br /&gt;
Fill the given field as mentioned&lt;br /&gt;
&lt;b&gt;Application Name :&lt;/b&gt;Hello World &amp;nbsp;(It is your app&#39;s name ).&lt;br /&gt;
&lt;b&gt;Company Domain :&lt;/b&gt;xyz.com &amp;nbsp;(It is your company&#39;s domain field).&lt;br /&gt;
&lt;b&gt;Project location :&lt;/b&gt;C:\Users\user\HelloWorld &amp;nbsp;(You can change this location).&lt;br /&gt;
Now click &lt;b&gt;&quot;Next&quot;&lt;/b&gt; Button.&lt;br /&gt;
&lt;br /&gt;
A new window with the title &amp;nbsp;&lt;b&gt;&quot;Select the form factors your app will run&quot;&lt;/b&gt; prompt on your desktop.&lt;br /&gt;
Select &lt;b&gt;Phone and Tablet&lt;/b&gt; (which default selected field).&lt;br /&gt;
&lt;b&gt;Minimum SDK :&lt;/b&gt;API 14:Android 4.0(IceCreamSandwich) (which is default selected value).&lt;br /&gt;
Now click &lt;b&gt;&quot;Next&quot;&amp;nbsp;&lt;/b&gt;Button.&lt;br /&gt;
&lt;br /&gt;
A new window with the title &amp;nbsp;&lt;b&gt;&quot;Add an Activity to Mobile&quot;&lt;/b&gt; prompt on your desktop.&lt;br /&gt;
Select &lt;b&gt;&quot;Empty Activity&quot;.&lt;/b&gt;&lt;br /&gt;
Now click&lt;b&gt; &quot;Next&quot;&amp;nbsp;&lt;/b&gt;Button.&lt;br /&gt;
&lt;br /&gt;
A new window with the title &amp;nbsp;&lt;b&gt;&quot;Customize the Activity&quot;&lt;/b&gt; prompt on your desktop.&lt;br /&gt;
&lt;b&gt;Activity Name :&lt;/b&gt;Hello World&lt;br /&gt;
Select &lt;b&gt;&quot;Generate Layout File&quot;&lt;/b&gt; option (which is default selected).&lt;br /&gt;
&lt;b&gt;Layout Name :&amp;nbsp;&lt;/b&gt;activity_hello_world (which is default written).&lt;br /&gt;
Now click &lt;b&gt;&quot;Finish&quot;&lt;/b&gt;Button.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Building &quot;Hello World&quot; Gradle &amp;nbsp;project info &lt;/b&gt;will be prompt .It takes 1-2 minutes to activity development.&lt;br /&gt;
&lt;br /&gt;
Now your first app &amp;nbsp;is developed Completely.&lt;br /&gt;
&lt;br /&gt;
To run your app,you need virtual android device .&lt;br /&gt;
Select &lt;b&gt;AVD Manager&lt;/b&gt; from &amp;nbsp;upper options. (forth from last icons).&lt;br /&gt;
A new window with the title &amp;nbsp;&quot;Your Virtual Devices&quot; prompt on your desktop.&lt;br /&gt;
&lt;div&gt;
Click on &lt;b&gt;&quot;Create Virtual Device&quot;&lt;/b&gt; Button.&lt;/div&gt;
Select &lt;b&gt;&quot;Nexus 5X&quot;&lt;/b&gt; phone.&lt;br /&gt;
Click &lt;b&gt;&quot;Next&quot;&amp;nbsp;&lt;/b&gt;button below.&lt;br /&gt;
Click&lt;b&gt; &quot;Next&quot;&amp;nbsp;&lt;/b&gt;button .&lt;br /&gt;
Set &lt;b&gt;AVD Name :&lt;/b&gt;Android Device (It is your device&#39;s name).&lt;br /&gt;
Now finally click on&lt;b&gt; &quot;Finish&quot;&lt;/b&gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Select Run-&amp;gt;&#39;Run app&#39; or shift+F10.&lt;/b&gt;&lt;br /&gt;
Select &lt;b&gt;&quot;Android Device &quot; &lt;/b&gt;(Android virtual device which you already created) to run app.&lt;br /&gt;
Click on &lt;b&gt;&quot;OK&quot;&lt;/b&gt; button.&lt;br /&gt;
Your device takes 2-3 minutes to run.&lt;br /&gt;
&lt;br /&gt;
Find your app with the name &lt;b&gt;&quot;Hello World&quot;&lt;/b&gt; from &amp;nbsp;device.&lt;br /&gt;
Run it by clicking on it.&lt;br /&gt;
Congratulations you developed your first Hello World app which is running successfully on android device.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Please &amp;nbsp;write any help and suggestions in comment box to improve &amp;nbsp;android app development.&lt;/b&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;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;https://www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-86784394-1&#39;, &#39;auto&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;
</content><link rel='replies' type='application/atom+xml' href='https://androidvita.blogspot.com/feeds/4611119831408245369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://androidvita.blogspot.com/2016/07/getting-started-with-android-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/4611119831408245369'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3574119105642293629/posts/default/4611119831408245369'/><link rel='alternate' type='text/html' href='https://androidvita.blogspot.com/2016/07/getting-started-with-android-app.html' title='Getting started with android app development'/><author><name>Jaswinder Singh</name><uri>http://www.blogger.com/profile/03194812328480236564</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjbid1ICnhhgeUD7x5ZR8dj-ICSjIMyFFevRs-r_1LCRS-tJoMNH7H-Rv2iB2Vu9Dbg5VECuTgBSMAsh2fhsJp0iPTA5tSkcMClhLZA2CtKHrjDYnyNZbZogErD5xqfwMDRNyqsMUHurkL6EmnRInLl2V-GDs6IXh8Hq_ODIAvKVqboUE/s220/unnamed.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2i4B060a5fbzDJxEskt4xSrBohxlRcBzuL1o0QYPuJM7Vy98q884g5ilGNr5DZiLVAZDc3Voo6acGDtt3urYPstEHWS-9L8tUlLK6rBXwXnE9c78kPMvotPzQ54UdEIzqQVa9AM5L6qA/s72-c/android_logo.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>