How to save data from another activity in Android?

advertisements

I need to save an the following data: appointment Time, Date, who is Appointment is with. I have a activity called "Appointment Filters" where user selects a Person, Time and Date and Confirm that with a button click. What I want to do is save that data in another activity called "My appointments". I wanted to save it to a listview. Whenever user creates an appointment it get saved to the list and whenever the appointment time is up, it removes itself. I also wanted the data to be editable. Is this possible in android? I looked up Shared Preferences but I do not think it is possible with that.


Considering the issue, i will definitely recommend to use SQLite database for the data manipulation. Hear is nice tutorial how to implment SQLite.