Hi,
I have passed one multi-dimensional array to another activity using putSerializable() and retrieve using getSerializable. But I got some problems. Please help me to solve my problem..
First activity
String [][] selected_list= new String[10][];
Bundle list_bundle=new Bundle();
list_bundle.putSerializable("lists",selected_list);
Intent list_intent= new Intent(v.getContext(), second_activity.class);
list_intent.putExtras(list_bundle);
startActivityForResult(list_intent, 2);
Second Activity
String [][] list_new= new String[10][];
Bundle b=this.getIntent().getExtras();
Serializable list= b.getSerializable("list");
list_new=(String[][])list;
When I am running my application, my application is suddenly stopped. Is this the right method to retrive the String array? Please give me the solution.. Thank you...