Recently, in order to learn about Android development, I specially transplanted the original MingQQ Windows version to Android to train my hands. Through this exercise, I learned a lot about Android development, especially the interface development.
The MingQQ interface imitates the basic functions of Android QQ. Although the experience is not comparable to that of QQ, the current technology is limited and it can only be achieved at the current level. The user experience of MingQQ can be improved later.
Currently, the third-party open-source Android-PullToRefresh library is used for pull-down refresh. you can replace it with your own pull-down refresh component and add the right-slide deletion function of the message list.
The released apk contains the function of dynamically setting chat bubble images, which is not available in the open source code. The reason is that it is too hard for me to solve the horizontal flip problem of * .9.png, so I chose private technology instead of publishing it in the open source code. (Don't laugh, maybe it's just a very simple question in your eyes)
The nickname of a group member may not be displayed when chatting with a large group of 2000 people, because the protocol for obtaining group information is not complete and the group information data volume is too large to be returned at a time, it seems that this problem also exists in the official WebQQ. This problem does not matter for the time being and will be solved later based on the situation.
I hope that I can write my own mobile instant messaging App in the future and use the xmpp protocol, including the server and client.
Implemented functions:
1. log on, log off, and stay online.
2. Friends, groups, and message lists.
3. Send/receive messages from friends, groups, and group members.
4. Select an emoticons.
5. View simple images.
6. Personalized chat Bubble Image settings.
Functions to be implemented:
1. Send images.
2. Improve the image browser.
3. Copy, cut, and paste an image in the send and edit box.
4. The copy, cut, and paste menu function is displayed.
5. Failed message sending.
6. Handle network status change notifications.
Currently known minor unresolved defects:
1. The delete key on the emoticon selection page cannot be long enough to be deleted consecutively.
2. Bubble text layout is messy.
3. The image click detection in the bubble is not accurate. You can view the image by clicking the image.
4. After you click "Send edit" to bring up the input method, the content in the chat list is not located prior to the input method.
5. Click the friend list to scroll up, instead of directly expanding.
6. pull-down refresh in the chat window. After the refresh is released, the vertical lines are disconnected, and there are obvious halo marks on the top or down.
7. the nickname of group members may not be displayed during group chat with 2000 people.
Hide function:
Click "dynamic"-"bubble, topic, and expression" to set the bubbles used for user chat.
Click "set"-the Avatar can be switched online or invisible.
Click "set"-"about" to exit the current account.
Statement:
The copyright of all the resource images and protocols used by the program is owned by tengxun according to law. They are only for personal study and use. Do not use them for illegal purposes. Otherwise, the consequences will be borne by you.
App running:
MingQQ Android _ APK installation package:
Http://download.csdn.net/detail/zym_123456/7265697
MingQQ Android _ source code:
Http://download.csdn.net/detail/zym_123456/7265757
MingQQ Project address:
Https://github.com/zym2014/MingQQ