title: Send ArrayList value in URL
body: <p>I need send the arraylist values for: starDateS, endDateS, starHourS, endHourS and intervalS. In the parameters: fecha1, fecha2, desde, hasta, slotH. Of one url</p>
  
  <pre><code>   private String intervalS [] = new String[30];
  
      private String starHourS [] = new String[30];
  
      private String endHourS [] = new String[30];
  
      private String starDateS [] = new String[30];
  
      private String endDateS [] = new String[30];
  
  IdProf="258";
  
  
  intervalSelected = (String) adapSpinnerIntervalT.getItem(position);
  
  intervalS [0] = intervalSelected;
  
  starHourSelected = (String) adapSpinnerStarH.getItem(position);
  
  starHourS[0] = starHourSelected;
  
  endHourSelected = (String) adapSpinnerEndH.getItem(position);
  
  endHourS[0] = endHourSelected;
  
  mStarDate = mDpDay + " " + mMonth + "," + mDpYear;
  
  starDateS[0] = mStarDate;
  
  mEndDate = mDpDay + " " + mMonth2 + "," + mDpYear;
  
  endDateS [0] = mEndDate;
  </code></pre>
  
  <p>ServerConnection.setDataAvailab= "<a href="http://www.saludvitale.com/app/disponibilidad?idUser=" rel="nofollow noreferrer">http://www.saludvitale.com/app/disponibilidad?idUser=</a>";</p>
  
  <pre><code>private void setDataAvaliability (String IdProf, String[] endDateS, String[] starDateS, String[] intervalS, String[] starHourS, String[] endHourS) {
  
  UrlDataAva=ServerConnection.setDataAvaliab+IdProf+"&amp;fecha2="+endDateS[0]+"&amp;fecha1="+starDateS[0]+"&amp;slotH="+intervalS[0]+"&amp;desde="+starHourS[0]+"&amp;hasta="+endHourS[0];
  
     try {
  
              JsonObject objPayload = new JsonObject();
              ServerConnection.SendHTTPRequet(getActivity(), UrlDataAva, objPayload, new OnComplete() {
                  @Override
                  public void onRequestComplete(Exception e, String result) {
                      handleDataAva(result);
                  }
              });
          }catch (Exception e) {
              e.printStackTrace();
          }
  }
  </code></pre>
  
  <p>The url send should be like this: <a href="http://www.saludvitale.com/app/disponibilidad?idUser=253&amp;fecha2%5B%5D=30+June%2C+2017&amp;fecha1%5B%5D=21+June%2C+2017&amp;slotH%5B%5D=1+hora&amp;desde%5B%5D=01%3A00+AM&amp;hasta%5B%5D=06%3A00+AM" rel="nofollow noreferrer">http://www.saludvitale.com/app/disponibilidad?idUser=253&amp;fecha2%5B%5D=30+June%2C+2017&amp;fecha1%5B%5D=21+June%2C+2017&amp;slotH%5B%5D=1+hora&amp;desde%5B%5D=01%3A00+AM&amp;hasta%5B%5D=06%3A00+AM</a></p>
  
  <p>As I do so that % 5B% 5D is added in the parameters of my url, as in the previous one.</p>