Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kymjs committed Jul 17, 2015
1 parent 286117e commit b3636b2
Show file tree
Hide file tree
Showing 44 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
一个聊天界面,包括从网络下载大表情并使用,图片发送,文字发送,Emoji表情发送,自定义表情键盘,Emoji表情键盘,仿QQ功能键盘等等……

## 使用方法
开发中,待补全
1、修改大表情底部图标,见[FaceCategroyAdapter](https://github.com/kymjs/EmojiChat/blob/master/chat/src/main/java/org/kymjs/chat/adapter/FaceCategroyAdapter.java)
2、大表情下载并添加到表情键盘,在表情键盘创建时传入大表情文件夹的地址,见[ChatActivity的96行](https://github.com/kymjs/EmojiChat/blob/master/chat/src/main/java/org/kymjs/chat/ChatActivity.java)
3、功能键盘(图片、拍照)修改,见[ChatFunctionFragment](https://github.com/kymjs/EmojiChat/blob/master/chat/src/main/java/org/kymjs/chat/ChatFunctionFragment.java)
4、聊天键盘的点击事件修改,见[ChatActivity中56行开始监听器内](https://github.com/kymjs/EmojiChat/blob/master/chat/src/main/java/org/kymjs/chat/ChatActivity.java)
5、聊天类型定义,支持文字,图片,文字+Emoji,大表情(本质是图片)。你可以自己扩展支持定位、视频、语音等。见[ChatAdapter](https://github.com/kymjs/EmojiChat/blob/master/chat/src/main/java/org/kymjs/chat/adapter/ChatAdapter.java)[KJChatKeyboard](https://github.com/kymjs/EmojiChat/blob/master/chat/src/main/java/org/kymjs/chat/widget/KJChatKeyboard.java)
6、如果你想测试大表情,请先复制[表情包](https://github.com/kymjs/EmojiChat/tree/master/bigFaceImage)中的chat文件夹(包括其中的全部表情)到SD卡根目录,并修改[ChatActivity的96行](https://github.com/kymjs/EmojiChat/blob/master/chat/src/main/java/org/kymjs/chat/ChatActivity.java)的注释与97行替换

## 关于
* QQ 群[257053751](http://jq.qq.com/?_wv=1027&k=WoM2Aa)(开发者群1),[201055521](http://jq.qq.com/?_wv=1027&k=MBVdpK)(开发者群2)<br>
Expand All @@ -22,6 +27,7 @@
![截图2](https://github.com/kymjs/EmojiChat/blob/master/screen_shots/Screenshot_2.png)
![截图3](https://github.com/kymjs/EmojiChat/blob/master/screen_shots/Screenshot_3.png)
![截图4](https://github.com/kymjs/EmojiChat/blob/master/screen_shots/Screenshot_4.png)
![截图5](https://github.com/kymjs/EmojiChat/blob/master/screen_shots/Screenshot_5.png)

##开源协议
```
Expand Down
Binary file added bigFaceImage/chat/big/big1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/big/big9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/cig/cig1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/cig/cig2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/cig/cig3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/cig/cig4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/cig/cig5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/cig/cig6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/cig/cig7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bigFaceImage/chat/dig/dig17.png
Binary file added bigFaceImage/chat/dig/dig18.png
Binary file added bigFaceImage/chat/dig/dig19.png
Binary file added bigFaceImage/chat/dig/dig2.png
Binary file added bigFaceImage/chat/dig/dig20.png
Binary file added bigFaceImage/chat/dig/dig21.png
Binary file added bigFaceImage/chat/dig/dig22.png
Binary file added bigFaceImage/chat/dig/dig23.png
Binary file added bigFaceImage/chat/dig/dig24.png
Binary file added bigFaceImage/chat/dig/dig3.png
Binary file added bigFaceImage/chat/dig/dig4.png
Binary file added bigFaceImage/chat/dig/dig5.png
Binary file added bigFaceImage/chat/dig/dig6.png
Binary file added bigFaceImage/chat/dig/dig7.png
Binary file added bigFaceImage/chat/dig/dig8.png
Binary file added bigFaceImage/chat/dig/dig9.png
4 changes: 2 additions & 2 deletions chat/src/main/java/org/kymjs/chat/ChatActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public void selectedFunction(int index) {
});

List<String> faceCagegory = new ArrayList<>();
// File faceList = FileUtils.getSaveFolder("chat");
File faceList = new File("");
File faceList = FileUtils.getSaveFolder("chat");
// File faceList = new File("");
if (faceList.isDirectory()) {
File[] faceFolderArray = faceList.listFiles();
for (File folder : faceFolderArray) {
Expand Down
Binary file added screen_shots/Screenshot_5.png

0 comments on commit b3636b2

Please sign in to comment.