Commit 5cf76e30fcf265e30fbd42d51bb37a5bd3c72162

Authored by 朱显松
1 parent baaac59f

1.升级调试

.idea/misc.xml
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="4"> 2 <project version="4">
3 - <component name="EntryPointsManager">  
4 - <entry_points version="2.0" />  
5 - </component>  
6 <component name="NullableNotNullManager"> 3 <component name="NullableNotNullManager">
7 <option name="myDefaultNullable" value="android.support.annotation.Nullable" /> 4 <option name="myDefaultNullable" value="android.support.annotation.Nullable" />
8 <option name="myDefaultNotNull" value="android.support.annotation.NonNull" /> 5 <option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
@@ -27,17 +24,7 @@ @@ -27,17 +24,7 @@
27 </value> 24 </value>
28 </option> 25 </option>
29 </component> 26 </component>
30 - <component name="ProjectLevelVcsManager" settingsEditedManually="false">  
31 - <OptionsSetting value="true" id="Add" />  
32 - <OptionsSetting value="true" id="Remove" />  
33 - <OptionsSetting value="true" id="Checkout" />  
34 - <OptionsSetting value="true" id="Update" />  
35 - <OptionsSetting value="true" id="Status" />  
36 - <OptionsSetting value="true" id="Edit" />  
37 - <ConfirmationsSetting value="0" id="Add" />  
38 - <ConfirmationsSetting value="0" id="Remove" />  
39 - </component>  
40 - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> 27 + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
41 <output url="file://$PROJECT_DIR$/build/classes" /> 28 <output url="file://$PROJECT_DIR$/build/classes" />
42 </component> 29 </component>
43 <component name="ProjectType"> 30 <component name="ProjectType">
.idea/modules.xml
@@ -2,12 +2,10 @@ @@ -2,12 +2,10 @@
2 <project version="4"> 2 <project version="4">
3 <component name="ProjectModuleManager"> 3 <component name="ProjectModuleManager">
4 <modules> 4 <modules>
5 - <module fileurl="file://$PROJECT_DIR$/CNChatNDemo.iml" filepath="$PROJECT_DIR$/CNChatNDemo.iml" /> 5 + <module fileurl="file://D:\AndroidStudiopro\CNIMDemo\CNChatNDemo.iml" filepath="D:\AndroidStudiopro\CNIMDemo\CNChatNDemo.iml" />
6 <module fileurl="file://$PROJECT_DIR$/CNIMDemo.iml" filepath="$PROJECT_DIR$/CNIMDemo.iml" /> 6 <module fileurl="file://$PROJECT_DIR$/CNIMDemo.iml" filepath="$PROJECT_DIR$/CNIMDemo.iml" />
7 - <module fileurl="file://$PROJECT_DIR$/CNIMDemo.iml" filepath="$PROJECT_DIR$/CNIMDemo.iml" />  
8 - <module fileurl="file://$PROJECT_DIR$/CNIMDemo23.iml" filepath="$PROJECT_DIR$/CNIMDemo23.iml" />  
9 - <module fileurl="file://$PROJECT_DIR$/CNIMDemo5.iml" filepath="$PROJECT_DIR$/CNIMDemo5.iml" />  
10 - <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> 7 + <module fileurl="file://D:\AndroidStudiopro\CNIMDemo\CNIMDemo23.iml" filepath="D:\AndroidStudiopro\CNIMDemo\CNIMDemo23.iml" />
  8 + <module fileurl="file://D:\AndroidStudiopro\CNIMDemo\CNIMDemo5.iml" filepath="D:\AndroidStudiopro\CNIMDemo\CNIMDemo5.iml" />
11 <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> 9 <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
12 </modules> 10 </modules>
13 </component> 11 </component>
app/build.gradle
@@ -5,7 +5,7 @@ android { @@ -5,7 +5,7 @@ android {
5 buildToolsVersion "25.0.0" 5 buildToolsVersion "25.0.0"
6 defaultConfig { 6 defaultConfig {
7 applicationId "com.cnlive.im" 7 applicationId "com.cnlive.im"
8 - minSdkVersion 15 8 + minSdkVersion 16
9 targetSdkVersion 23 9 targetSdkVersion 23
10 versionCode 1 10 versionCode 1
11 versionName "1.0" 11 versionName "1.0"
@@ -38,12 +38,11 @@ android { @@ -38,12 +38,11 @@ android {
38 38
39 dependencies { 39 dependencies {
40 compile fileTree(dir: 'libs', include: ['*.jar']) 40 compile fileTree(dir: 'libs', include: ['*.jar'])
41 - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {  
42 - exclude group: 'com.android.support', module: 'support-annotations'  
43 - }) 41 + compile 'com.inthecheesefactory.thecheeselibrary:fb-like:1.0.1'
44 compile 'com.android.support:appcompat-v7:23.4.0' 42 compile 'com.android.support:appcompat-v7:23.4.0'
45 compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9' 43 compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9'
46 compile 'com.android.support:recyclerview-v7:23.0.0' 44 compile 'com.android.support:recyclerview-v7:23.0.0'
47 compile 'com.github.bumptech.glide:glide:3.7.0' 45 compile 'com.github.bumptech.glide:glide:3.7.0'
48 - testCompile 'junit:junit:4.12' 46 +// compile 'com.cnlive:lib_cnutil:3.0.0'
  47 + compile 'com.cnlive:lib_cnchat_rc:2.0.2'
49 } 48 }
app/libs/libcnliveutil.jar
No preview for this file type
app/note/聊天SDK文档.pdf deleted 100644 → 0
No preview for this file type
app/src/main/AndroidManifest.xml
@@ -46,21 +46,6 @@ @@ -46,21 +46,6 @@
46 <activity android:name=".ui.PrivateActivity" 46 <activity android:name=".ui.PrivateActivity"
47 android:screenOrientation="portrait"/> 47 android:screenOrientation="portrait"/>
48 48
49 - <service  
50 - android:name="io.rong.imlib.ipc.RongService"  
51 - android:exported="true"  
52 - android:process=":ipc" />  
53 - <service  
54 - android:name="io.rong.imlib.ReConnectService"  
55 - android:exported="true" />  
56 -  
57 - <receiver  
58 - android:name="io.rong.imlib.ConnectChangeReceiver"  
59 - android:exported="true" />  
60 - <receiver  
61 - android:name="io.rong.imlib.HeartbeatReceiver"  
62 - android:process=":ipc" />  
63 -  
64 </application> 49 </application>
65 50
66 </manifest> 51 </manifest>
67 \ No newline at end of file 52 \ No newline at end of file
app/src/main/java/com/cnlive/im/adapter/CommentAdapter.java
@@ -10,7 +10,7 @@ import android.widget.TextView; @@ -10,7 +10,7 @@ import android.widget.TextView;
10 10
11 import com.bumptech.glide.Glide; 11 import com.bumptech.glide.Glide;
12 import com.cnlive.im.R; 12 import com.cnlive.im.R;
13 -import com.cnlive.libs.util.model.CommentItem; 13 +import com.cnlive.libs.util.comment.model.CommentItem;
14 14
15 import java.util.ArrayList; 15 import java.util.ArrayList;
16 import java.util.List; 16 import java.util.List;
app/src/main/java/com/cnlive/im/ui/CommentActivity.java
@@ -13,14 +13,14 @@ import android.widget.Toast; @@ -13,14 +13,14 @@ import android.widget.Toast;
13 13
14 import com.cnlive.im.R; 14 import com.cnlive.im.R;
15 import com.cnlive.im.adapter.CommentAdapter; 15 import com.cnlive.im.adapter.CommentAdapter;
16 -import com.cnlive.libs.util.chat.model.ErrorMessage;  
17 import com.cnlive.libs.util.comment.CommentUtil; 16 import com.cnlive.libs.util.comment.CommentUtil;
18 import com.cnlive.libs.util.comment.base.CommentCallback; 17 import com.cnlive.libs.util.comment.base.CommentCallback;
19 import com.cnlive.libs.util.comment.base.CommentListCallback; 18 import com.cnlive.libs.util.comment.base.CommentListCallback;
20 import com.cnlive.libs.util.comment.base.CommentProgramCallback; 19 import com.cnlive.libs.util.comment.base.CommentProgramCallback;
21 -import com.cnlive.libs.util.model.CommentItem;  
22 -import com.cnlive.libs.util.model.CommentPage;  
23 -import com.cnlive.libs.util.model.CommentProgram; 20 +import com.cnlive.libs.util.comment.model.CommentItem;
  21 +import com.cnlive.libs.util.comment.model.CommentPage;
  22 +import com.cnlive.libs.util.comment.model.CommentProgram;
  23 +import com.cnlive.libs.util.comment.model.ErrorMessage;
24 24
25 import java.util.List; 25 import java.util.List;
26 26
build.gradle
@@ -3,10 +3,13 @@ @@ -3,10 +3,13 @@
3 buildscript { 3 buildscript {
4 repositories { 4 repositories {
5 jcenter() 5 jcenter()
  6 + maven {
  7 + url 'https://dl.bintray.com/granzon/cnlive/'
  8 + }
6 } 9 }
7 dependencies { 10 dependencies {
8 classpath 'com.android.tools.build:gradle:2.3.3' 11 classpath 'com.android.tools.build:gradle:2.3.3'
9 - 12 +// compile 'com.inthecheesefactory.thecheeselibrary:fb-like:0.9.3'
10 // NOTE: Do not place your application dependencies here; they belong 13 // NOTE: Do not place your application dependencies here; they belong
11 // in the individual module build.gradle files 14 // in the individual module build.gradle files
12 } 15 }
@@ -15,6 +18,9 @@ buildscript { @@ -15,6 +18,9 @@ buildscript {
15 allprojects { 18 allprojects {
16 repositories { 19 repositories {
17 jcenter() 20 jcenter()
  21 + maven {
  22 + url 'https://dl.bintray.com/granzon/cnlive/'
  23 + }
18 } 24 }
19 } 25 }
20 26