title: StrictMode.ThreadPolicy.Builder Purpose and Advantages?
body: <p>I referred <code>StrictMode.ThreadPolicy.Builder</code> from android document <a href="http://developer.android.com/reference/android/os/StrictMode.ThreadPolicy.Builder.html" rel="noreferrer">StrictMode.ThreadPolicy.Builder</a>.</p>
  
  <p>I have no clear idea about <code>StrictMode.ThreadPolicy.Builder</code>. <br/>When we have to use this class <code>StrictMode.ThreadPolicy.Builder</code>. <br/>What is the advantage and purpose of <code>StrictMode.ThreadPolicy.Builder</code>. <br/>I want detailed explanation for</p>
  
  <pre><code>StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder()
   .detectAll()
   .penaltyLog()
   .build();
  StrictMode.setThreadPolicy(policy);
  </code></pre>