Do one thing and than try
public class Home extends Activity implements Serializable
remove implements Serializable
from above line
And add
public class SettrGettr implements Serializable{
int ID;
String Name = "";
String FName = "";
String Class = "";
String UserName = "";
String Password = "";
String DOB = "";
String MobileNo = "";
String Relation = "";
ArrayList<SettrGettr> msttrList;
public ArrayList<SettrGettr> getMsttrList() {
return msttrList;
}
public void setMsttrList(ArrayList<SettrGettr> msttrList) {
this.msttrList = msttrList;
}
public int getID() {
return ID;
}
public void setID(int iD) {
ID = iD;
}
public String getName() {
return Name;
}
public void setName(String name) {
Name = name;
}
public String getFName() {
return FName;
}
public void setFName(String fName) {
FName = fName;
}
public String getCurrentClass() {
return Class;
}
public void setClass(String class1) {
Class = class1;
}
public String getUserName() {
return UserName;
}
public void setUserName(String userName) {
UserName = userName;
}
public String getPassword() {
return Password;
}
public void setPassword(String password) {
Password = password;
}
public String getDOB() {
return DOB;
}
public void setDOB(String dOB) {
DOB = dOB;
}
public String getMobileNo() {
return MobileNo;
}
public void setMobileNo(String mobileNo) {
MobileNo = mobileNo;
}
public String getRelation() {
return Relation;
}
public void setRelation(String relation) {
Relation = relation;
}
@Override
public String toString() {
return "\nRegistration No\t: " + getID() + "\n\nName\t\t\t\t\t\t\t: " + getName() + "\n\nFather Name\t\t\t: " + getFName() + "\n\nClass\t\t\t\t\t\t\t: "
+ getCurrentClass() + "\n\nCity\t\t\t\t\t\t\t\t: Islamabad" + "\n\nAdress\t\t\t\t\t\t: Islamabad";
}
}
Explanation:
When you are passing something serializable through bundle The value that you are passing it must Implements Serializable interface.
But you ware implementing Serializable interface from where you passing the value.