title: Building URL using URI builder
body: <p>Encoded URL -</p>
  
  <pre><code>https://spreadsheets.google.com/tq?tqx=out:JSON&amp;tq=select%20*%20where%20((A%20%3D%20201))&amp;key=1424bS7kU8nJbHdu4QdoAFdIdWDSnmEnj2NqfMb6rPTU
  </code></pre>
  
  <p>Decoded URL -</p>
  
  <pre><code>https://spreadsheets.google.com/tq?tqx=out:JSON&amp;tq=select * where ((A= 201))&amp;key=1424bS7kU8nJbHdu4QdoAFdIdWDSnmEnj2NqfMb6rPTU
  </code></pre>
  
  <p>In the URI builder which URL we should use encoded or decoded?</p>
  
  <p>Also the given code is not working :-</p>
  
  <pre><code>String xyz="1424bS7kU8nJbHdu4QdoAFdIdWDSnmEnj2NqfMb6rPTU";
      String X="201";
  
  
      final String STUDENT_RECORD_URL="https://spreadsheets.google.com/tq?tqx=out:JSON&amp;tq=select*where";
      final String Frag1 = "A";
      final String Frag2 =  "key";
      Builder builder = Uri.parse(STUDENT_RECORD_URL).buildUpon();
      builder.appendQueryParameter(Frag1,X);
      builder.appendQueryParameter(Frag2,xyz);
      String finalUri=builder.build().toString();
  </code></pre>