I have created three activities which contains forms. Once we done with the first activity it takes us to the Second and then third. Now on third activity I want to send whole data of first, second and third activity in one shot to the server
.
is there any way to achieve this.
I have tried this.
import android.app.Application;
public class Holder extends Application{
protected String getProductName;
protected String getRefCode ;
protected String getShortDes;
protected String getFullDes;
protected String getBarCode ;
protected String getwhereToDisplay;
protected String getCondition;
protected String getTechspec;
protected String getKeyfeature;
protected String getDisplayMode;
protected String getAddTags;
protected String getQauantity;
private String globalVariable="aa";
public String getGlobalVariable() {
return globalVariable;
}
public void setGlobalVariable(String getProductName) {
this.globalVariable = globalVariable;
}
@Override
public void onCreate() {
//reinitialize variable
}
}
following article I had try but didn't worked.