File tree Expand file tree Collapse file tree
Common/src/main/res/values
java/com/guiying/androidmodulepattern
common/src/main/java/com/guiying/common/http Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616# Gradle files
1717.gradle /
1818build /
19+ .idea /
1920
2021# Local configuration file (sdk path, etc)
2122local.properties
@@ -36,6 +37,7 @@ captures/
3637* .iml
3738.idea /workspace.xml
3839.idea /vcs.xml
40+ .idea /libraries
3941
4042# Keystore files
4143* .jks
Original file line number Diff line number Diff line change 11<resources >
22 <string name =" app_name" >Common</string >
3+
4+ <string name =" current_internet_invalid" >当前网络未连接</string >
5+
36</resources >
Original file line number Diff line number Diff line change 33 package =" com.guiying.androidmodulepattern" >
44
55 <application
6+ android : name =" .MyApplication"
67 android : allowBackup =" true"
78 android : icon =" @mipmap/ic_launcher"
89 android : label =" @string/app_name"
Original file line number Diff line number Diff line change 1+ package com .guiying .androidmodulepattern ;
2+
3+ import com .guiying .common .base .BaseApplication ;
4+
5+ /**
6+ * <p>类说明</p>
7+ *
8+ * @author 张华洋 2017/2/15 20:14
9+ * @version V1.2.0
10+ * @name MyApplication
11+ */
12+ public class MyApplication extends BaseApplication {
13+
14+ @ Override
15+ public void onCreate () {
16+ super .onCreate ();
17+ }
18+ }
Original file line number Diff line number Diff line change 3636 */
3737public class HttpClient {
3838
39- /*The certificate's password*/
40- private static final String STORE_PASS = "ivms8700" ;
4139 /*返回数据为String*/
4240 public static final int STRING = 0 ;
4341 /*返回数据为json对象*/
Original file line number Diff line number Diff line change 33 package =" com.guiying.girls" >
44
55 <application
6+ android : name =" debug.GirlsApplication"
67 android : allowBackup =" true"
78 android : icon =" @mipmap/ic_launcher"
89 android : label =" @string/app_name"
910 android : supportsRtl =" true"
1011 android : theme =" @style/AppTheme" >
11- <activity android : name =" .GirlsActivity" >
12+ <activity
13+ android : name =" .GirlsActivity"
14+ android : screenOrientation =" portrait" >
1215 <intent-filter >
1316 <action android : name =" android.intent.action.MAIN" />
1417
Original file line number Diff line number Diff line change 1+ package debug ;
2+
3+ import com .guiying .common .base .BaseApplication ;
4+
5+ /**
6+ * <p>类说明</p>
7+ *
8+ * @author 张华洋 2017/2/15 20:09
9+ * @version V1.2.0
10+ * @name GirlsApplication
11+ */
12+ public class GirlsApplication extends BaseApplication {
13+
14+ @ Override
15+ public void onCreate () {
16+ super .onCreate ();
17+ }
18+ }
Original file line number Diff line number Diff line change 22 package =" com.guiying.girls" >
33
44 <application android : theme =" @style/AppTheme" >
5-
5+ <activity
6+ android : name =" .GirlsActivity"
7+ android : screenOrientation =" portrait" />
68 </application >
79
810</manifest >
Original file line number Diff line number Diff line change 33 package =" com.guiying.news" >
44
55 <application
6+ android : name =" debug.NewsApplication"
67 android : allowBackup =" true"
78 android : icon =" @mipmap/ic_launcher"
89 android : label =" @string/app_name"
910 android : supportsRtl =" true"
1011 android : theme =" @style/AppTheme" >
11- <activity android : name =" .NewsActivity" >
12+ <activity
13+ android : name =" .NewsActivity"
14+ android : screenOrientation =" portrait" >
1215 <intent-filter >
1316 <action android : name =" android.intent.action.MAIN" />
1417
Original file line number Diff line number Diff line change 1+ package debug ;
2+
3+ import com .guiying .common .base .BaseApplication ;
4+
5+ /**
6+ * <p>类说明</p>
7+ *
8+ * @author 张华洋 2017/2/15 20:11
9+ * @version V1.2.0
10+ * @name NewsApplication
11+ */
12+ public class NewsApplication extends BaseApplication {
13+
14+ @ Override
15+ public void onCreate () {
16+ super .onCreate ();
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments