Skip to content

Commit c146715

Browse files
committed
2 parents f7dab1a + feea3af commit c146715

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

README.md

+27-24
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,49 @@
11
# Web API Client
2-
Version: 1.05
2+
**Latest Version: 2.00**
33

44
Web API Client native apps for Mobile (Android and iOS) and Desktop (Windows, Linux and macOS)
55

6-
Demonstrate how to consume Web API from [Web API Server](https://github.com/pyhoon/web-api-server-b4j)
6+
Demonstrate how to communicate with [Web API Server](https://github.com/pyhoon/web-api-server-b4j)
77

8-
---
98

10-
**Depends on following libraries:**
9+
## Version compatibility:
10+
11+
Version 2.00: Web API Server 3.xx
12+
13+
Version 1.05: Web API Server 1.xx, Web API Server 2.xx
14+
15+
## Depends on following libraries:
1116

1217
**B4A:** B4XPages 1.10+, B4XPreferencesDialog 1.73+, Core 11.00+, OkHttpUtils2 2.96+, XUI Views 2.52+
1318

1419
**B4i:** B4XPages 1.10+, B4XPreferencesDialog 1.73+, iCore 7.01+, iHttpUtils2 2.96+, XUI Views 2.52+
1520

1621
**B4J:** B4XPages 1.10+, B4XPreferencesDialog 1.73+, jCore 9.10+, jOkHttpUtils2 2.96+, XUI Views 2.52+, jFX 9.00+
1722

18-
# Features:
23+
## Features:
1924
- CRUD based (CREATE, READ, UPDATE, DELETE)
2025
- B4XPages
2126
- B4X Sliding menu
2227
- B4X CustomListView
2328
- B4X Loading indicator
2429
- B4X PreferencesDialog
2530

26-
# How to run:
27-
1. Download the release version Web.API.Client.b4xtemplate
28-
2. Rename it to "Web API Client.b4xtemplate" (without the quotes)
29-
3. Copy to B4X Additional Libraries directory (to share with 3 platforms)
30-
4. Open either B4A, B4i or B4J IDE (Start with B4J is recommended)
31-
5. Click the IDE menu File -> New -> Web API Client
32-
6. Create a new project with any name you like
33-
7. Edit the URL (in B4XMainPage module line #11) to point to your Web API server address
31+
## How to run:
32+
1. Download the project template "Web API Client (x.xx).b4xtemplate"
33+
2. Copy to B4X Additional Libraries directory
34+
3. Open either B4A, B4i or B4J IDE (recommended to start with B4J)
35+
4. Click the IDE menu File -> New -> Web API Client (x.xx)
36+
5. Create a new project with any name you like
37+
6. Edit the URL (in B4XMainPage module line #11) to point to your Web API server address
38+
```basic
39+
' Version 1.x
40+
Private URL As String = "http://192.168.50.42:19800/v1/"
41+
42+
' Version 2.x
43+
Private URL As String = "http://192.168.50.42:8080/api/"
3444
```
35-
Private URL As String = "http://192.168.0.3:19800/v1/"
36-
```
37-
8. Run the project in Debug or Release mode
38-
39-
# Create B4X template from source:
40-
1. Download the source from GitHub and unarchive the zip file in a new directory
41-
2. Archive the files inside "Web API Client" directory as "Web API Client.zip" using WinRAR or 7-Zip
42-
3. Rename the extension from .zip to .b4xtemplate
43-
4. Copy the file to your B4X Additional Library directory
45+
7. Start Web API Server project in Release mode
46+
8. Run the client project in Debug mode
4447

4548
**Preview:**
4649

@@ -60,5 +63,5 @@ Private URL As String = "http://192.168.0.3:19800/v1/"
6063
Made with ❤ in B4X
6164

6265
Download and Develop with **[B4A](https://www.b4x.com/b4a.html)** for FREE \
63-
Download and Develop with **[B4i](https://www.b4x.com/b4i.html)** without using Mac \
64-
Download and Develop with **[B4J](https://www.b4x.com/b4j.html)** for FREE
66+
Download and Develop with **[B4J](https://www.b4x.com/b4j.html)** for FREE \
67+
Download and Develop with **[B4i](https://www.b4x.com/b4i.html)** without using Mac

0 commit comments

Comments
 (0)