(Briefly introduce the application, which is mainly used for message, expression, file sending and video chat in the LAN. It supports the setting of nickname and avatar The structure of the application is very simple. I have annotated most of the complex codes. SMS and voice are sent through UDP, and picture files are sent through TCP (the method needs to be improved)
Video chat is simply sending pictures and redrawing without using RTSP. Time is limited. I have the opportunity to realize it.
Need to change
Heartbeatbroadcastreceiver class
Intention getData(). getSchemeSpecificPart();
Remove this line of code. I wrote this line anywhere for testing. I forgot to delete it.
By the way, this is the name of the broadcast listener after the APK is installed.
If there is no SD card, the performance analysis code in winchatapplication may report an error
If there are errors, comment out the two methods of debug)