Skip to content

Commit f6cf71d

Browse files
committed
Client:新增APIJSONApp工程,基于APIJSON+ZBLibrary打造
1 parent 08a3052 commit f6cf71d

575 files changed

Lines changed: 41345 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.DS_Store
22
APIJSON(Android)/APIJSON(ADT)/APIJSONDemoApp/bin
33
APIJSON(Android)/APIJSON(ADT)/APIJSONLibrary/bin
4+
5+
*.class
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +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 kind="output" path="bin/classes"/>
9+
</classpath>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>APIJSONApp</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>
Binary file not shown.
Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="apijson.demo.client"
4+
android:versionCode="21"
5+
android:versionName="@string/app_version" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="15"
9+
android:targetSdkVersion="21" />
10+
11+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
12+
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
13+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
14+
<uses-permission android:name="android.permission.INTERNET" />
15+
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
16+
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
17+
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
18+
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
19+
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
20+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
21+
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
22+
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
23+
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
24+
<uses-permission android:name="android.permission.READ_CONTACTS" />
25+
<uses-permission android:name="android.permission.CALL_PHONE" />
26+
<uses-permission android:name="android.permission.GET_TASKS" />
27+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
28+
<uses-permission android:name="android.permission.BLUETOOTH" />
29+
<uses-permission android:name="android.permission.CAMERA" />
30+
31+
<uses-feature android:name="android.hardware.camera" />
32+
<uses-feature android:name="android.hardware.camera.autofocus" />
33+
34+
<uses-permission android:name="android.permission.FLASHLIGHT" />
35+
<uses-permission android:name="android.permission.VIBRATE" />
36+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
37+
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
38+
<uses-permission android:name="android.permission.WAKE_LOCK" />
39+
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
40+
41+
<application
42+
android:name="apijson.demo.client.application.APIJSONApplication"
43+
android:allowBackup="true"
44+
android:icon="@drawable/ic_launcher"
45+
android:label="@string/app_name"
46+
android:screenOrientation="portrait"
47+
android:theme="@style/AppTheme" >
48+
<activity
49+
android:name="apijson.demo.client.activity_fragment.SplashActivity"
50+
android:screenOrientation="portrait"
51+
android:theme="@style/SplashTheme" >
52+
<intent-filter>
53+
<action android:name="android.intent.action.MAIN" />
54+
55+
<category android:name="android.intent.category.LAUNCHER" />
56+
</intent-filter>
57+
</activity>
58+
<activity
59+
android:name="apijson.demo.client.activity_fragment.LoginActivity"
60+
android:screenOrientation="portrait"
61+
android:windowSoftInputMode="stateVisible|adjustPan|adjustResize|adjustUnspecified" />
62+
<activity
63+
android:name="apijson.demo.client.activity_fragment.PasswordActivity"
64+
android:screenOrientation="portrait"
65+
android:windowSoftInputMode="stateVisible|adjustPan|adjustResize|adjustUnspecified" />
66+
<activity
67+
android:name="apijson.demo.client.activity_fragment.MomentActivity"
68+
android:screenOrientation="portrait"
69+
android:windowSoftInputMode="stateHidden|adjustResize|adjustUnspecified" />
70+
<activity
71+
android:name="apijson.demo.client.activity_fragment.MomentListActivity"
72+
android:screenOrientation="portrait" />
73+
<activity
74+
android:name="apijson.demo.client.activity_fragment.AboutActivity"
75+
android:screenOrientation="portrait" />
76+
<activity
77+
android:name="apijson.demo.client.activity_fragment.MainTabActivity"
78+
android:screenOrientation="portrait" />
79+
<activity
80+
android:name="apijson.demo.client.activity_fragment.SettingActivity"
81+
android:screenOrientation="portrait"
82+
android:windowSoftInputMode="stateAlwaysHidden" />
83+
<activity
84+
android:name="apijson.demo.client.activity_fragment.WalletActivity"
85+
android:screenOrientation="portrait"
86+
android:windowSoftInputMode="stateAlwaysHidden" />
87+
<activity
88+
android:name="apijson.demo.client.activity_fragment.UserActivity"
89+
android:screenOrientation="portrait"
90+
android:windowSoftInputMode="stateAlwaysHidden" />
91+
<activity
92+
android:name="apijson.demo.client.activity_fragment.UserListActivity"
93+
android:screenOrientation="portrait"
94+
android:windowSoftInputMode="stateAlwaysHidden" />
95+
<activity
96+
android:name="apijson.demo.client.activity_fragment.ScanActivity"
97+
android:screenOrientation="portrait"
98+
android:windowSoftInputMode="stateAlwaysHidden" />
99+
<activity
100+
android:name="apijson.demo.client.activity_fragment.QRCodeActivity"
101+
android:screenOrientation="portrait"
102+
android:windowSoftInputMode="stateAlwaysHidden" />
103+
104+
<!-- DEMO <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -->
105+
106+
<activity
107+
android:name="apijson.demo.client.DEMO.DemoMainActivity"
108+
android:screenOrientation="portrait"
109+
android:windowSoftInputMode="stateAlwaysHidden" />
110+
<activity
111+
android:name="apijson.demo.client.DEMO.DemoActivity"
112+
android:screenOrientation="portrait"
113+
android:windowSoftInputMode="stateAlwaysHidden" />
114+
<activity
115+
android:name="apijson.demo.client.DEMO.DemoListActivity"
116+
android:screenOrientation="portrait"
117+
android:windowSoftInputMode="stateAlwaysHidden" />
118+
<activity
119+
android:name="apijson.demo.client.DEMO.DemoFragmentActivity"
120+
android:launchMode="singleTop"
121+
android:screenOrientation="portrait"
122+
android:windowSoftInputMode="stateAlwaysHidden" />
123+
<activity
124+
android:name="apijson.demo.client.DEMO.DemoTabActivity"
125+
android:screenOrientation="portrait"
126+
android:windowSoftInputMode="stateAlwaysHidden" />
127+
<activity
128+
android:name="apijson.demo.client.DEMO.DemoSQLActivity"
129+
android:screenOrientation="portrait"
130+
android:windowSoftInputMode="stateHidden|adjustResize|adjustUnspecified" />
131+
<activity
132+
android:name="apijson.demo.client.DEMO.DemoTimeRefresherActivity"
133+
android:screenOrientation="portrait"
134+
android:windowSoftInputMode="stateHidden|adjustResize|adjustUnspecified" />
135+
<activity
136+
android:name="apijson.demo.client.DEMO.DemoBroadcastReceiverActivity"
137+
android:screenOrientation="portrait"
138+
android:windowSoftInputMode="stateAlwaysHidden" />
139+
<activity
140+
android:name="apijson.demo.client.DEMO.DemoBottomWindow"
141+
android:screenOrientation="portrait"
142+
android:theme="@style/Window"
143+
android:windowSoftInputMode="stateAlwaysHidden" />
144+
145+
<!-- DEMO >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
146+
147+
148+
<!-- ZBLibrary <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -->
149+
150+
151+
<!-- ui <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -->
152+
153+
<activity
154+
android:name="zuo.biao.library.ui.SelectPictureActivity"
155+
android:screenOrientation="portrait"
156+
android:theme="@style/WindowCompleteAlpha"
157+
android:windowSoftInputMode="stateAlwaysHidden" />
158+
<activity
159+
android:name="zuo.biao.library.ui.CutPictureActivity"
160+
android:screenOrientation="portrait"
161+
android:theme="@style/Window"
162+
android:windowSoftInputMode="stateAlwaysHidden" />
163+
<activity
164+
android:name="zuo.biao.library.ui.WebViewActivity"
165+
android:launchMode="singleTop"
166+
android:screenOrientation="portrait"
167+
android:windowSoftInputMode="stateHidden|adjustResize|adjustUnspecified" />
168+
<activity
169+
android:name="zuo.biao.library.ui.EditTextInfoActivity"
170+
android:screenOrientation="portrait"
171+
android:windowSoftInputMode="stateVisible|adjustPan|adjustUnspecified" />
172+
<activity
173+
android:name="zuo.biao.library.ui.ServerSettingActivity"
174+
android:screenOrientation="portrait"
175+
android:windowSoftInputMode="stateHidden" />
176+
<activity
177+
android:name="zuo.biao.library.ui.TopMenuWindow"
178+
android:screenOrientation="portrait"
179+
android:theme="@style/Window"
180+
android:windowSoftInputMode="stateAlwaysHidden" />
181+
<activity
182+
android:name="zuo.biao.library.ui.BottomMenuWindow"
183+
android:screenOrientation="portrait"
184+
android:theme="@style/Window"
185+
android:windowSoftInputMode="stateAlwaysHidden" />
186+
<activity
187+
android:name="zuo.biao.library.ui.EditTextInfoWindow"
188+
android:screenOrientation="portrait"
189+
android:theme="@style/Window"
190+
android:windowSoftInputMode="stateVisible|adjustResize|adjustUnspecified" />
191+
<activity
192+
android:name="zuo.biao.library.ui.PlacePickerWindow"
193+
android:screenOrientation="portrait"
194+
android:theme="@style/Window"
195+
android:windowSoftInputMode="stateAlwaysHidden" />
196+
<activity
197+
android:name="zuo.biao.library.ui.DatePickerWindow"
198+
android:screenOrientation="portrait"
199+
android:theme="@style/Window"
200+
android:windowSoftInputMode="stateAlwaysHidden" />
201+
<activity
202+
android:name="zuo.biao.library.ui.TimePickerWindow"
203+
android:screenOrientation="portrait"
204+
android:theme="@style/Window"
205+
android:windowSoftInputMode="stateAlwaysHidden" />
206+
207+
<!-- ui >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
208+
209+
210+
<!-- ZBLibrary >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
211+
212+
</application>
213+
214+
</manifest>
Binary file not shown.

APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/assets/demo.cer

Whitespace-only changes.
Binary file not shown.

0 commit comments

Comments
 (0)