(1. how to jump from the notification bar to the chat interface
First, set the chat activity to the single task mode. Second, when generating a message notification, specify the jump to activity as the chat activity, with the friend ID as the parameter. In the onnewintent method and oncreate method of the chat activity, obtain the chat ID of the friend and load the chat information with the friend.)