I have two activities :Activity A and B.
I opened a webSockets in the Activity A,I will reveive the message at any time.However I want to show them in the Activity B(in the listView).But I donot konw how to pass the data which I just receive.Can any one help me?