|
38 | 38 | <br /> |
39 | 39 |
|
40 | 40 | * ### [1.About](#1) |
41 | | -* ### [2.Getting started](#2) |
42 | | -* [2.1 Using Eclipse to make installation](#2.1) |
| 41 | +* ### [2.Server-side deployment](#2) |
| 42 | +* [2.1 Installing with Eclipse](#2.1) |
43 | 43 | * [2.2 Import MySQL table files](#2.2) |
44 | | -* [2.3 Using IntellIJ IDEA Ultimate to make the installation](#2.3) |
| 44 | +* [2.3 Installing with IntellIJ IDEA Ultimate](#2.3) |
| 45 | +* ### [3.Client-side deployment with ADT Bundle or Android Studio](#3) |
45 | 46 |
|
46 | 47 | * ### [5.Extra](#5) |
47 | 48 | * [5.1 Recommend](#5.1) |
@@ -159,7 +160,7 @@ Response: |
159 | 160 | <br /> |
160 | 161 |
|
161 | 162 |
|
162 | | -## <h2 id="2">2.Getting started<h2/> |
| 163 | +## <h2 id="2">2.Server-side deployment<h2/> |
163 | 164 |
|
164 | 165 | You can use either Eclipse for JavaEE or IntelllJ IDEA Ultimate to make installation. For both, first download the project and save it to a path. |
165 | 166 |
|
@@ -241,33 +242,21 @@ Click *Run* in the bottom. |
241 | 242 | **Note**: After running, you should see APIJSON test logs and in the last, it would show ‘APIJSON已启动’. If it shows ‘address already in use’, that means port 8080 has been used . You need tochange the port. See [how to change ports for a Spring Boot Application.](https://stackoverflow.com/questions/21083170/how-to-configure-port-for-a-spring-boot-application) |
242 | 243 |
|
243 | 244 |
|
244 | | -### <h3 id="3">4.4 Run Client project with ADT Bundle or Android Studio<h3/> |
| 245 | +### <h3 id="3">3.Client-side deployment with [ADT Bundle](https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/bundle.html) or [Android Studio](https://developer.android.com/studio)<h3/> |
245 | 246 |
|
246 | | -You can skip this step and download the Client App below. |
| 247 | +Make sure you have either one installed.<br /> |
247 | 248 |
|
248 | | -If you haven't installed any editor above, please download and install one before run.<br /> |
249 | | -My config is Windows 7 + JDK 1.7.0_71 + ADT Bundle 20140702 + Android Studio 2.2 and OSX EI Capitan + (JDK 1.7.0_71 + ADT Bundle 20140702) + (JDK 1.8.0_91 + Android Studio 2.1.2). The systems and softwares are all 64 bit. |
| 249 | +My config: Windows 7 + JDK 1.7.0_71 + ADT Bundle 20140702 + Android Studio 2.2 and OSX EI Capitan + (JDK 1.7.0_71 + ADT Bundle 20140702) + (JDK 1.8.0_91 + Android Studio 2.1.2). All the systems and software are 64 bit.<br /> |
250 | 250 |
|
251 | | -#### ADT Bundle |
| 251 | +* 1.Importing<br /> |
| 252 | +*Open an existing Android Studio project > Select the path of APIJSON-Master/APIJSON-Android/APIJSONApp(or APIJSONTest) > OK* |
252 | 253 |
|
253 | | -1.Import<br /> |
254 | | -File > Import > Android > Existing Android Code Into Workspace > Next > Browse > Select the path of APIJSON-Master/APIJSON(Android)/APIJSON(ADT) > Finish |
| 254 | +* 2.Running<br /> |
| 255 | +*Run > Run app* |
255 | 256 |
|
256 | | -2.Run<br /> |
257 | | -Run > Run As > Android Application |
258 | | - |
259 | | -#### Android Studio |
260 | | - |
261 | | -1.Import<br /> |
262 | | -Open an existing Android Studio project > Select the path of APIJSON-Master/APIJSON(Android)/APIJSON(AndroidStudio) > OK |
263 | | - |
264 | | -2.Run<br /> |
265 | | -Run > Run app |
266 | | - |
267 | | -### <h3 id="4.5">4.5 Operate app<h3/> |
268 | | - |
269 | | -Select an APIJSON request to send to server and wait. It will show the result received.<br /> |
270 | | -If the default url is not available, change it to an available one, such as an IPV4 address of a computer running APIJSON Server project. Then click the Query button to request again. |
| 257 | +* 3.Testing <br /> |
| 258 | +In the browser, send a request to the server. It should return with the result. |
| 259 | +If the default url is not available, change it to an available one, such as an IPV4 address that is running the server of the APIJSON project. Then click the request button again. |
271 | 260 |
|
272 | 261 | <br /> |
273 | 262 | <br /> |
|
0 commit comments