I have found a solution for this issue at last,i save the values to onSaveInstanceState while calling start activity for result As shown below,
@Override
public void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
// Saves the data on saved Instance as a key value pair Example As below key value pair
outState.putCharSequence("End_Date", End_Date);
outState.putCharSequence("location", location);
outState.putCharSequence("Start_date", Start_date);
try {
if (eventpicbitmap != null) {
outState.putParcelable("bitmap", eventpicbitmap);
}
} catch (Exception e) {
}
}
And the saved data is retrieved after the corresponding process on the onRestoreInstanceState as given below
protected void onRestoreInstanceState(Bundle savedState) {
Start_date = savedState.getCharSequence("Start_date").toString();
End_Date = savedState.getCharSequence("End_Date").toString();
location = savedState.getCharSequence("location").toString();
try {
eventpicbitmap = savedState.getParcelable("bitmap");
Eventpictureimageview.setImageBitmap(eventpicbitmap);
EventImageFlag = true;
} catch (Exception e) {
}
}
So that the data is not erased even after doing multiple startactivity for result process,And this works fine.