1
1
# Web API Client
2
- Version: 1.05
2
+ ** Latest Version: 2.00 **
3
3
4
4
Web API Client native apps for Mobile (Android and iOS) and Desktop (Windows, Linux and macOS)
5
5
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 )
7
7
8
- ---
9
8
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:
11
16
12
17
** B4A:** B4XPages 1.10+, B4XPreferencesDialog 1.73+, Core 11.00+, OkHttpUtils2 2.96+, XUI Views 2.52+
13
18
14
19
** B4i:** B4XPages 1.10+, B4XPreferencesDialog 1.73+, iCore 7.01+, iHttpUtils2 2.96+, XUI Views 2.52+
15
20
16
21
** B4J:** B4XPages 1.10+, B4XPreferencesDialog 1.73+, jCore 9.10+, jOkHttpUtils2 2.96+, XUI Views 2.52+, jFX 9.00+
17
22
18
- # Features:
23
+ ## Features:
19
24
- CRUD based (CREATE, READ, UPDATE, DELETE)
20
25
- B4XPages
21
26
- B4X Sliding menu
22
27
- B4X CustomListView
23
28
- B4X Loading indicator
24
29
- B4X PreferencesDialog
25
30
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/"
34
44
```
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
44
47
45
48
** Preview:**
46
49
@@ -60,5 +63,5 @@ Private URL As String = "http://192.168.0.3:19800/v1/"
60
63
Made with ❤ in B4X
61
64
62
65
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