Skip to content

pyhoon/webapi-client-b4x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web API Client

Version: 1.05

Web API Client apps in B4X (Android, iOS, Desktop)

Demonstrate how to consume API from Web API server created by template

B4J Web API server: https://github.com/pyhoon/webapi-b4j


Depends on following libraries:

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

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

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

Features:

  • CRUD based (CREATE, READ, UPDATE, DELETE)
  • B4XPages
  • B4X Sliding menu
  • B4X CustomListView
  • B4X Loading indicator
  • B4X PreferencesDialog

How to run:

  1. Download the release version Web.API.Client.b4xtemplate
  2. Rename it to "Web API Client.b4xtemplate" (without the quotes)
  3. Copy to B4X Additional Libraries directory (to share with 3 platforms)
  4. Open either B4A, B4i or B4J IDE (Start with B4J is recommended)
  5. Click the IDE menu File -> New -> Web API Client
  6. Create a new project with any name you like
  7. Edit the URL (in B4XMainPage module line #11) to point to your Web API server address
Private URL As String = "http://192.168.0.3:19800/v1/"
  1. Run the project in Debug or Release mode

Create B4X template from source:

  1. Download the source from GitHub and unarchive the zip file in a new directory
  2. Archive the files inside "Web API Client" directory as "Web API Client.zip" using WinRAR or 7-Zip
  3. Rename the extension from .zip to .b4xtemplate
  4. Copy the file to your B4X Additional Library directory

Preview:

YouTube:

Alt text

Alt text

Alt text

Made with ❤ in B4X

Download and Develop with B4A for FREE
Download and Develop with B4i without using Mac
Download and Develop with B4J for FREE