I am trying to pass arrylist of NameValuePair one activity to another acivity,I searched so much for this ,i found similar questions But i am unable to get Answer,I tried but i am getting exception ,Please anybody tell me how to pass
ArrayList<NameValuePair> namevlaList= new ArrayList<NameValuePair>();
namevlaList.add(new BasicNameValuePair("formal_name",mLegalName));
namevlaList.add(new BasicNameValuePair("device_phone_no",mPhno));
namevlaList.add(new BasicNameValuePair("email",mEmail));
namevlaList.add(new BasicNameValuePair("contact_name",mContactName));
namevlaList.add(new
BasicNameValuePair("contact_number",mContactNumber));
namevlaList.add(new BasicNameValuePair("password",mPwd));
Intent intent = new
Intent(this,Second.class);
intent.putExtra("extra", namevlaList);
startActivity(intent);