I can give you the simplest answer, Make a Serializable Class for getter and setter and use your data anywhere in your application as:
Class ABC implements Serializable
{
private static final long serialVersionUID = 1L;
String[][] str;
private static ABC singletonObject;
public static ABC getSingletonObject() {
if (singletonObject == null) {
singletonObject = new ABC ();
}
return singletonObject;
}
public void setString(String[][] str)
{
this.str = str;
}
public String[][] getString()
{
return str;
}
}
Yous can set it as
ABC s = ABC.getSingletonObject();
s.setString(str);
In another activity
ABC s = ABC.getSingletonObject();
String[][] str = s.GetString();
and enjoy