how to pass array of value to another activity in android
<p>I am getting the dynamic value from web server like article desc, date,title etc .for one value article id,desc display in one webview. I am using array of webview .my requirment is if user click the first webview .I have to pass first article id to another activity .can anybody tell how to pass array value in antoher activity can anybody give example? </p>

<p>this code explain I am getting the value from webservice and stored in arraylist and iterate the array list and display in webview and implement in touch event.my requirment is if user touch the first view .I have to pass first article id to another activity can anybody tell how to do?</p>

<pre><code>ArrayList articleParsedValue=new ArrayList();
articleParsedValue=articleParser.parseXmlArticle(webservicevalue
</code></pre>

<p>);</p>

<pre><code>for(int i=0;i&lt;articleParsedValue.size();i++)
        {
                ArticleDataSet articleDataset=(ArticleDataSet)articleParsedValue.get(i);
                HashMap&lt;String, String&gt; mapValue=new HashMap&lt;String, String&gt;();  

            WebView webviewcontent=new WebView(this);
           String html ="&lt;html&gt;&lt;body&gt;&lt;div&gt;&lt;label style=\"font:bold 17.5px verdana; color:#C1002B\"&gt;"+articleDataset.getArticle_title()+"&lt;label style=\"font:13px verdana; color:#000000\"&gt;"+"|"+"&lt;/label&gt;"+"&lt;label style=\"font:bold 13px verdana; color:#000000\"&gt;"+articleDataset.getArticle_type()+"&lt;/label&gt;&lt;br&gt;&lt;label style=\"font:13px verdana; color:#AAAAAA\"&gt;"+articleDataset.getArticle_date()+" &lt;/label&gt; &lt;/div&gt;";
           html=html+"&lt;div&gt;&lt;label style=\"font:13px verdana; color:#000000\"&gt;"+articleDataset.getArticle_summary()+"&lt;/label&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" ;
           webviewcontent.getSettings().setJavaScriptEnabled(true);
           webviewcontent.clearCache(true);
           webviewcontent.loadData(html, "text/html", "utf-8");
          webviewcontent.setOnTouchListener(this);
             mainlinear2.addView(webviewcontent);


        }


@Override
public boolean onTouch(View v, MotionEvent event) {
    // TODO Auto-generated method stub

    {



            Intent newIntent=new Intent(this,MyCompaniesActivity.class);
            //newIntent.putExtra("articleid", ); 
            startActivity(newIntent);
            return false;
        }
</code></pre>
