Giter VIP home page Giter VIP logo

webapi-client-b4x's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.