├── AndroidManifest.xml
├── README.md
├── bin
└── pomelo-chat.apk
├── gen
└── netease
│ └── pomelo
│ └── chat
│ ├── BuildConfig.java
│ └── R.java
├── libs
├── android-support-v4.jar
└── pomelo-android-client.jar
├── res
├── drawable-hdpi
│ ├── bg.png
│ ├── ic_launcher.png
│ ├── pomelo.png
│ └── pomelo_bg.png
├── drawable-ldpi
│ ├── ic_launcher.png
│ └── pomelo.png
├── drawable-mdpi
│ ├── bg.png
│ ├── ic_launcher.png
│ └── pomelo.png
├── drawable-xhdpi
│ ├── bg.png
│ ├── ic_launcher.png
│ └── pomelo.png
├── layout
│ ├── activity_main.xml
│ ├── chat_item.xml
│ ├── chat_main.xml
│ ├── list_item.xml
│ └── users_list.xml
├── menu
│ └── activity_main.xml
├── values-v11
│ └── styles.xml
├── values-v14
│ └── styles.xml
└── values
│ ├── dimens.xml
│ ├── strings.xml
│ └── styles.xml
└── src
└── netease
└── pomelo
└── chat
├── ChatActivity.java
├── ChatApplication.java
├── MainActivity.java
└── UsersActivity.java
/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
10 |
11 |
12 |
13 |
14 |
20 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | pomelo-androidchat
2 | ==================
3 |
4 | * This is a chat application using android client for pomelo,the server side is chatofpomelo(https://github.com/NetEase/chatofpomelo).
5 |
6 | ##License
7 | (The MIT License)
8 |
9 | Copyright (c) 2013 NetEase, Inc. and other contributors
10 |
11 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16 |
--------------------------------------------------------------------------------
/bin/pomelo-chat.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/bin/pomelo-chat.apk
--------------------------------------------------------------------------------
/gen/netease/pomelo/chat/BuildConfig.java:
--------------------------------------------------------------------------------
1 | /** Automatically generated file. DO NOT MODIFY */
2 | package netease.pomelo.chat;
3 |
4 | public final class BuildConfig {
5 | public final static boolean DEBUG = true;
6 | }
--------------------------------------------------------------------------------
/gen/netease/pomelo/chat/R.java:
--------------------------------------------------------------------------------
1 | /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 | *
3 | * This class was automatically generated by the
4 | * aapt tool from the resource data it found. It
5 | * should not be modified by hand.
6 | */
7 |
8 | package netease.pomelo.chat;
9 |
10 | public final class R {
11 | public static final class attr {
12 | }
13 | public static final class dimen {
14 | public static final int bar_padding=0x7f040005;
15 | public static final int chat_height=0x7f040002;
16 | public static final int error_height=0x7f040004;
17 | public static final int error_width=0x7f040003;
18 | public static final int join_height=0x7f040006;
19 | public static final int join_weight=0x7f040007;
20 | public static final int padding_bottom=0x7f040008;
21 | public static final int tx_height=0x7f040001;
22 | public static final int tx_width=0x7f040000;
23 | }
24 | public static final class drawable {
25 | public static final int bg=0x7f020000;
26 | public static final int ic_launcher=0x7f020001;
27 | public static final int pomelo=0x7f020002;
28 | public static final int pomelo_bg=0x7f020003;
29 | }
30 | public static final class id {
31 | public static final int ChatContent=0x7f080005;
32 | public static final int DateContent=0x7f080006;
33 | public static final int ItemText=0x7f08000d;
34 | public static final int ItemTitle=0x7f08000c;
35 | public static final int LinearLayout01=0x7f08000e;
36 | public static final int ListItem=0x7f080004;
37 | public static final int MyListItem=0x7f08000b;
38 | public static final int bar=0x7f080008;
39 | public static final int channel=0x7f080001;
40 | public static final int entry=0x7f080009;
41 | public static final int error=0x7f080003;
42 | public static final int exit=0x7f080010;
43 | public static final int history=0x7f080007;
44 | public static final int login=0x7f080002;
45 | public static final int name=0x7f080000;
46 | public static final int send=0x7f08000a;
47 | public static final int userList=0x7f08000f;
48 | }
49 | public static final class layout {
50 | public static final int activity_main=0x7f030000;
51 | public static final int chat_item=0x7f030001;
52 | public static final int chat_main=0x7f030002;
53 | public static final int list_item=0x7f030003;
54 | public static final int users_list=0x7f030004;
55 | }
56 | public static final class menu {
57 | public static final int activity_main=0x7f070000;
58 | }
59 | public static final class string {
60 | public static final int app=0x7f050001;
61 | public static final int app_name=0x7f050000;
62 | public static final int avatar=0x7f050005;
63 | public static final int button=0x7f050004;
64 | public static final int cast=0x7f050006;
65 | public static final int channel_hint=0x7f05000b;
66 | public static final int hello_world=0x7f050002;
67 | public static final int logOutBtn=0x7f050008;
68 | public static final int loginBtn=0x7f050007;
69 | public static final int menu_settings=0x7f050003;
70 | public static final int name_hint=0x7f05000a;
71 | public static final int refreshBtn=0x7f050009;
72 | }
73 | public static final class style {
74 | /**
75 | Base application theme, dependent on API level. This theme is replaced
76 | by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
77 |
78 |
79 | Theme customizations available in newer API levels can go in
80 | res/values-vXX/styles.xml, while customizations related to
81 | backward-compatibility can go here.
82 |
83 |
84 | Base application theme for API 11+. This theme completely replaces
85 | AppBaseTheme from res/values/styles.xml on API 11+ devices.
86 |
87 | API 11 theme customizations can go here.
88 |
89 | Base application theme for API 14+. This theme completely replaces
90 | AppBaseTheme from BOTH res/values/styles.xml and
91 | res/values-v11/styles.xml on API 14+ devices.
92 |
93 | API 14 theme customizations can go here.
94 | */
95 | public static final int AppBaseTheme=0x7f060000;
96 | /** Application theme.
97 | All customizations that are NOT specific to a particular API-level can go here.
98 | */
99 | public static final int AppTheme=0x7f060001;
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/libs/pomelo-android-client.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/libs/pomelo-android-client.jar
--------------------------------------------------------------------------------
/res/drawable-hdpi/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-hdpi/bg.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/pomelo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-hdpi/pomelo.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/pomelo_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-hdpi/pomelo_bg.png
--------------------------------------------------------------------------------
/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-ldpi/pomelo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-ldpi/pomelo.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-mdpi/bg.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/pomelo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-mdpi/pomelo.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-xhdpi/bg.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/pomelo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/NetEase/pomelo-androidchat/f4b341e532c2dd1501879538387ac121febe532c/res/drawable-xhdpi/pomelo.png
--------------------------------------------------------------------------------
/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
16 |
17 |
27 |
28 |
38 |
39 |
51 |
52 |
--------------------------------------------------------------------------------
/res/layout/chat_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
16 |
17 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/res/layout/chat_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
14 |
15 |
16 |
22 |
23 |
28 |
29 |
36 |
37 |
38 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/res/layout/list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
16 |
17 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/res/layout/users_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/res/menu/activity_main.xml:
--------------------------------------------------------------------------------
1 |