title: Pass ArrayList element to the next Intent
body: <p>I'd like to pass an ArrayList element to the next Intent, if some one can help me!</p>
  
  <pre><code>try{
                  JSONArray jArray = new JSONArray(result);
                  JSONObject json_data=null;
                  for(int i=0;i&lt;jArray.length();i++)
                  {
                     json_data = jArray.getJSONObject(i);
                     r.add(json_data.getString("Nom_Serveur"));
                 }
                 setListAdapter(new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_expandable_list_item_1, r));
                 ListView list = getListView();
                 list.setTextFilterEnabled(true);
                 list.setOnItemClickListener(new OnItemClickListener(){
  
                  public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1,
                          int arg2, long arg3) {
                      Intent i = new Intent(Serveur_EnPanne.this, Info_serveur.class);
                      i.putExtra("key", ??)
                      startActivity(i);   
  
                  }
  </code></pre>