Browse Source

Merge branch 'master' of http://114.215.100.48:3000/ipu/android-share

Conflicts:
	display-server/web/res/js/mobile/expand-mobile.js
	ipu-server/.classpath
	wade-mobile-lib/libs/android-support-v4.jar
huangbo 9 years ago
parent
commit
84a3348d7b

+ 2 - 2
display-client/.classpath

@ -1,9 +1,9 @@
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4 3
	<classpathentry kind="src" path="gen"/>
4
	<classpathentry kind="src" path="src"/>
5 5
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6 6
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
7
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
7
	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
8 8
	<classpathentry kind="output" path="bin/classes"/>
9 9
</classpath>

+ 0 - 1
display-client/.gitignore

@ -2,5 +2,4 @@
2 2
/bin
3 3
/gen
4 4
/proguard
5
/.classpath
6 5
/project.properties

+ 17 - 16
display-client/project.properties

@ -1,16 +1,17 @@
1
# This file is automatically generated by Android Tools.
2
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3
#
4
# This file must be checked in Version Control Systems.
5
#
6
# To customize properties used by the Ant build system edit
7
# "ant.properties", and override values to adapt the script to your
8
# project structure.
9
#
10
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12
13
# Project target.
14
target=android-15
15
android.library.reference.1=../wade-mobile-common
16
android.library.reference.2=../wade-mobile-lib
1
# This file is automatically generated by Android Tools.
2
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3
#
4
# This file must be checked in Version Control Systems.
5
#
6
# To customize properties used by the Ant build system edit
7
# "ant.properties", and override values to adapt the script to your
8
# project structure.
9
#
10
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12

13
# Project target.
14
target=android-15
15
android.library.reference.1=../wade-mobile-lib
16
android.library.reference.2=../wade-mobile-common
17
proguard.config=proguard-project.txt

+ 9 - 14
ipu-client/.classpath

@ -1,14 +1,9 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="src" path="gen"/>
5
	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
8
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/wade-mobile"/>
9
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/wade-mobile-data"/>
10
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/wade-mobile-func"/>
11
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/wade-mobile-ui"/>
12
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/wade-mobile-im"/>
13
	<classpathentry kind="output" path="bin/classes"/>
14
</classpath>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="src" path="gen"/>
5
	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
8
	<classpathentry kind="output" path="bin/classes"/>
9
</classpath>

+ 2 - 0
ipu-client/assets/mobile-action.xml

@ -100,4 +100,6 @@
100 100
	<action name="unregisterForPush" class="com.ai.mobile.im.func.MobilePush" method="unregisterForPush"></action>
101 101
	<action name="sendText" class="com.ai.mobile.im.func.MobilePush" method="sendText"></action>
102 102
	<action name="setCallbackForPush" class="com.ai.mobile.im.func.MobilePush" method="setCallbackForPush"></action>
103
	
104
	<action name="openBrowser" class="com.ipu.func.Util" method="openBrowser" ></action>
103 105
</actions>

+ 2 - 2
ipu-client/assets/mobile-config.xml

@ -1,7 +1,7 @@
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<configs>
3 3
    <!-- 必须。10.0.2.2为Android模拟器的保留ip地址。访问到本机电脑时使用 -->
4
	<config name="request_host" value="http://192.168.57.1:8080"/>
4
	<config name="request_host" value="http://114.215.100.48:8080"/>
5 5
	<!-- 请求主机名或请求地址。包括服务器的ip地址和端口 -->
6 6
	<!-- <config name="request_host" value="http://192.168.0.143:8080"/>  -->
7 7
	<!-- 必须。容器应用名或请求根路径 -->
@ -15,7 +15,7 @@
15 15
	<!-- 非必须, 默认false。是否开启多WebView模式 -->
16 16
	<config name="is_mult_webview" value="true"/>
17 17
	<!-- 必须。应用license -->
18
	<config name="license" value="bLeTfTQEH04oADDaVadPbBa/vfrTum76UbdrC088jwF76std3Ie0vm7BQU9ialMxyGUA/-18MqhfJw3uTCJdmMD56zJRg87sGwTnJuRKYBVr5LRd0YAgY6EUzoq1BvFm9mt07ELvG4H9F-YaI7WNkhBthV00Qc/qRgAoLVCzdg0=|@@MDBDN0MwNjA3ODUzQUZDMENGQzhCQUI4RUU2MDU3Q0EyQzQ0MjNFMENGQjA3QTQzNUM5QjEzMUEwN0QwN0EyRkUzRDNEMERENEJFMjRBREMxQTZENDQ0REZFQjJENUNDRTdCMjg2ODU4NjcyN0RGQjA4MTg2ODVFRkZDNzEyRDFEREY3NjMwNDlCQjc3NjNEQTRFMUFDMzk0RkY0NzEyQUNEQTI5MDY4QkFGMDgyQTNFRDIwMzIyRDIwNUIzQ0JFRkM1RTA0RENFNkU3NzU4RTdGNzI1RDZGQzhERjY1NTVENTdCMzYwM0FBQzBCNERDRUUyRDk3NEVEOTE5RkM1QTgx" ></config>
18
	<config name="license" value="V5wmdy1QhAgTICM57dfOCrd9jknVTYbmQIw5mqBSlBFIAkZ-8YS5tQMdBppxcsWLeFafH-ZFa4-kk2kKGx1a9vnFKnBM7LeQK07LBvr-ku2GqmegFittbCkOCVdBHTeLmhITXdB-4Zh52AZQLKV5OxhhGITQriArrXro6-TVst4=|@@MDA4RUYzNkZCQzREQTY0N0FENDREMzc5OEY3QjI1NkQ2MUYxNDUyQkM5QzdEREY4QjZBMUMxQjYzQTA4OTUwQzAyRUU5NjhDQUQyQ0E0NDFEM0M1ODA0MzMwRTUwN0ExMEI5MEIxRkY0NzU5NkQxNjU5RTU0NTQ4MjAxMEZFQTk2NjFEOTM5MzdCQjFFM0YzRDIzRkU1MjYzOTkzNEEzMDEyMkFERTM4MTQ4RjQ3RTQyRjJDMjA2REQ5QUY3NkJEMDg4MDg5MjI4NzUwQUQ0NjAxNTQ1NzJENTEzMUM2NzE5OTc0RTc4MEE1NjgxRUYwRjI2REE4ODU0Q0ZGRDY0Mjk5" ></config>
19 19
	<!-- 非必须。进入应用时的欢迎页面 --><!-- file:///android_asset为固定写法,表示工程的asset目录 -->
20 20
	<config name="loading_page" value="file:///android_asset/local/welcome.html"/>
21 21
	<!-- 非必须。更新应用的url -->

+ 18 - 18
ipu-client/project.properties

@ -1,18 +1,18 @@
1
# This file is automatically generated by Android Tools.
2
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3
#
4
# This file must be checked in Version Control Systems.
5
#
6
# To customize properties used by the Ant build system edit
7
# "ant.properties", and override values to adapt the script to your
8
# project structure.
9
#
10
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12
13
# Project target.
14
target=android-15
15
android.library.reference.1=../../android/wade-mobile-com
16
android.library.reference.2=../wade-mobile-lib
17
18
proguard.config=proguard-project.txt
1
# This file is automatically generated by Android Tools.
2
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3
#
4
# This file must be checked in Version Control Systems.
5
#
6
# To customize properties used by the Ant build system edit
7
# "ant.properties", and override values to adapt the script to your
8
# project structure.
9
#
10
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12

13
# Project target.
14
target=android-15
15
android.library.reference.1=../wade-mobile-lib
16
android.library.reference.2=../wade-mobile-common
17

18
proguard.config=proguard-project.txt

+ 22 - 0
ipu-client/src/com/ipu/func/Util.java

@ -0,0 +1,22 @@
1
package com.ipu.func;
2

3
import org.json.JSONArray;
4

5
import android.content.Intent;
6
import android.net.Uri;
7

8
import com.wade.mobile.frame.IWadeMobile;
9
import com.wade.mobile.frame.plugin.Plugin;
10

11
public class Util extends Plugin {
12
	public Util(IWadeMobile wademobile) {
13
		super(wademobile);
14
	}
15

16
	public void openBrowser(JSONArray param) throws Exception {
17
		String url = param.getString(0);
18
		Uri uri = Uri.parse(url);
19
		Intent intent = new Intent(Intent.ACTION_VIEW, uri);
20
		context.startActivity(intent);
21
	}
22
}

+ 11 - 2
ipu-server/.classpath

@ -4,6 +4,7 @@
4 4
	<classpathentry kind="src" path="etc"/>
5 5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6 6
	<classpathentry kind="lib" path="/wade-mobile-library/common/bcprov-jdk16-140.jar"/>
7
	<classpathentry kind="lib" path="/wade-mobile-library/common/beetl-core-2.2.3.jar"/>
7 8
	<classpathentry kind="lib" path="/wade-mobile-library/common/commons-beanutils-1.7.0.jar"/>
8 9
	<classpathentry kind="lib" path="/wade-mobile-library/common/commons-codec-1.3.jar"/>
9 10
	<classpathentry kind="lib" path="/wade-mobile-library/common/commons-collections-3.2.jar"/>
@ -16,10 +17,19 @@
16 17
	<classpathentry kind="lib" path="/wade-mobile-library/common/commons-net-2.0.jar"/>
17 18
	<classpathentry kind="lib" path="/wade-mobile-library/common/commons-pool-1.6.jar"/>
18 19
	<classpathentry kind="lib" path="/wade-mobile-library/common/dom4j-1.6.1.jar"/>
20
	<classpathentry kind="lib" path="/wade-mobile-library/common/http-unirest-1.3.8.jar"/>
21
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpasyncclient-4.0.1.jar"/>
22
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpclient-4.3.2.jar"/>
23
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpcore-4.4.3.jar"/>
24
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpcore-ab-4.4.3.jar"/>
25
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpcore-nio-4.4.3.jar"/>
26
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpmime-4.3.2.jar"/>
19 27
	<classpathentry kind="lib" path="/wade-mobile-library/common/java_memcached-release_2.5.3.jar"/>
20 28
	<classpathentry kind="lib" path="/wade-mobile-library/common/jaxen-1.1.1.jar"/>
21 29
	<classpathentry kind="lib" path="/wade-mobile-library/common/jedis-2.0.0.jar"/>
30
	<classpathentry kind="lib" path="/wade-mobile-library/common/json-20131018.jar"/>
22 31
	<classpathentry kind="lib" path="/wade-mobile-library/common/jta.jar"/>
32
	<classpathentry kind="lib" path="/wade-mobile-library/common/junit-4.8.jar"/>
23 33
	<classpathentry kind="lib" path="/wade-mobile-library/common/log4j-1.2.8.jar"/>
24 34
	<classpathentry kind="lib" path="/wade-mobile-library/common/mysql-connector-java-5.1.6-bin.jar"/>
25 35
	<classpathentry kind="lib" path="/wade-mobile-library/common/ojdbc14.jar"/>
@ -29,13 +39,12 @@
29 39
	<classpathentry kind="lib" path="/wade-mobile-library/common/poi-ooxml-schemas-3.8.jar"/>
30 40
	<classpathentry kind="lib" path="/wade-mobile-library/common/servlet-api2.5.jar"/>
31 41
	<classpathentry kind="lib" path="/wade-mobile-library/common/sqlite-jdbc-3.8.7.jar"/>
42
	<classpathentry kind="lib" path="/wade-mobile-library/common/velocity-1.7.jar"/>
32 43
	<classpathentry kind="lib" path="/wade-mobile-library/common/wade-apache.jar"/>
33 44
	<classpathentry kind="lib" path="/wade-mobile-library/common/wade-common.jar"/>
34 45
	<classpathentry kind="lib" path="/wade-mobile-library/common/wade-database.jar"/>
35 46
	<classpathentry kind="lib" path="/wade-mobile-library/common/wade-mobile-data.jar"/>
36 47
	<classpathentry kind="lib" path="/wade-mobile-library/common/wade-mobile-server.jar"/>
37 48
	<classpathentry kind="lib" path="/wade-mobile-library/common/wade-sqlite-jdbc.jar"/>
38
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpasyncclient-4.0.1.jar"/>
39
	<classpathentry kind="lib" path="/wade-mobile-library/common/httpcore-4.4.3.jar"/>
40 49
	<classpathentry kind="output" path="web/WEB-INF/classes"/>
41 50
</classpath>

+ 2 - 0
ipu-server/web/res/js/mobile/expand-mobile.js

@ -213,6 +213,8 @@ define(["require"],function(require) {
213 213
				execute("sendText", [account,content],err);
214 214
			},setCallbackForPush:function(callbackName){
215 215
				execute("setCallbackForPush", [callbackName]);
216
			},openBrowser:function(url,err){
217
				execute("openBrowser",[url],err);
216 218
			}
217 219
		};
218 220
	})();

+ 4 - 0
push-server/.settings/gradle/org.springsource.ide.eclipse.gradle.core.prefs

@ -0,0 +1,4 @@
1
#org.springsource.ide.eclipse.gradle.core.preferences.GradleProjectPreferences
2
#Fri Sep 18 14:22:21 CST 2015
3
build.family.org.gradle.tooling.model.eclipse.HierarchicalEclipseProject=;
4
org.springsource.ide.eclipse.gradle.rootprojectloc=

+ 8 - 0
wade-mobile-common/.classpath

@ -0,0 +1,8 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="gen"/>
4
	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
5
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
7
	<classpathentry kind="output" path="bin/classes"/>
8
</classpath>

+ 8 - 0
wade-mobile-lib/.classpath

@ -0,0 +1,8 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="gen"/>
4
	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
5
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
7
	<classpathentry kind="output" path="bin/classes"/>
8
</classpath>