Abstract:With the rapid development of mobile Internet, Instant Messaging (IM) has become an integral part of people's life and work. However, domestic and international popular IM software is still facing two main challenges. One is the connectivity between different IM software based on different protocols, and the other is the increasingly serious security problems about IM software. In order to solve the problems, this paper analyses the characteristics of IM software. Ultimately, we design and develop the SecretChat, based on Android, which is a more secure, more practical, better user experience IM software. SecretChat uses open XMPP protocol and implements OTR security protocol on XMPP. The experimental result shows that the system features advantages of high stability with good connectivity as well as encryption communication.