(Android / Java) How am I get it and store the data that I can have from another activity? : I have a MainActivity and a CalendarActivity. My application's MainActivity should display always another informations based on the chosen date. If someone change the date in the CalendarActivity CalendarView, another info should appear in MainActivity's TextBox + it should remember what was the last chosen date, even if the user close the application and later opens it.

1) How am I supposed to get the date from CalendarActivity's CalendarView in the MainActivity?

2) How am I supposed to save the last chosen date, and when the application starts second time, the last chosen date will be highlighted in the CalendarView?

Thanks.