basicnamevaluepairs with arraylist
<p>Hi I want to post a ArrayList with the namevaluepairs from my androidapp. </p>

<p>It seems that the only way to this is to post a String. Whats the solution?</p>

<pre><code>public JsonUpdateBrands(ArrayList&lt;Integer&gt; selectedIds, String userid,
        String webpage) {
    super();
    ArrayList&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;();       
    nameValuePairs.add(new BasicNameValuePair("serviceId", selectedIds));
    nameValuePairs.add(new BasicNameValuePair("userId", userid));
    nameValuePairs.add(new BasicNameValuePair("action", "Subscription"));

    progress(nameValuePairs, webpage);
}
</code></pre>
