Android Save Retrieve Activity Instance State Example

When an android activity stopped, it maybe recycled by android OS. But how to store recycled activity instance state data, and use those activity instance data later? Android provide below methods.