Gizwits Docs
Get Started with APP Development


This document mainly introduces the functions of the Gizwits App SDK and Gizwits App Framework, as well as the preparatory work for the early stage. Developers can choose the convenient way for App development according to their own project requirement.

Gizwits App Development Resources

Gizwits now offers three App development methods (integrating Gizwits App SDKs, using Gizwits App Framework, and using Gizwits App Code Auto-Generator), which facilitate rapid App development according to the different needs of developers. The following are recommended development methods with corresponding requirements.

1. Gizwits App SDKs

The Gizwits App SDKs (hereinafter referred to as SDK) encapsulate the communication process between the mobile phones (including PAD and other devices) and the devices, as well as between the mobile phones and Gizwits IoT Cloud. The process includes network access configuration, device discovery, connectivity, control, heartbeat, status reporting, and alarm notification. Using the Gizwits App SDKs, you can quickly complete App development and only need to focus on the App UI and UE design. Relatively complex protocols and error handling can be ignored.

This method is applicable to the App that needs to do complex business logic processing, or needs to integrate the Gizwits App SDK to accomplish remote control after the App development has been completed.

Gizwits currently offers three SDKs: the native Gizwits App SDK for iOS, the native Gizwits App SDK for Android, and the Gizwits App SDK for APICloud on cross-platform. Developers can choose anyone according to the needs of the project. The Gizwits App SDK for APICloud can be used to develop once with HTML5 technology and can be adapted to both iOS and Android platforms.


2. Gizwits App Framework

In order to further ease the challenges associated with App development, Gizwits launched the Gizwits App Framework in which the following functions have been modularly integrated:

This method is applicable to the App that needs to do simple business logic processing.

  1. User module: user registration, user login, password recovery, third party authentication (WeChat, QQ)
  2. Network access configuration for device (Arilink+SoftAP)
  3. Device discovery and list
  4. Push notification: supports Jiguang Push, Baidu Push
  5. Custom skin

The Gizwits App Framework makes each module an independent package. If you want to know the implementation code and flow of one of the modules, directly refer to the framework code.

3. Gizwits App Code Auto-generator

This method is applicable to the project that needs its own product App to debug, or requires a complete App code for reference.

In order to lower the barrier for the development of smart hardware App and reduce the investment in development resources, Gizwits has further developed the App open source code that implements the complete functions based on the Gizwits App Framework. After creating corresponding Data Points on the product project, Gizwits IoT Cloud generates an App reference code of the corresponding product according to the defined Data Points.

The automatically generated App code modularly integrates the necessary functions of a smart hardware App, mainly including:

  1. User module: user registration, password recovery, third party anthentication (Wechat, QQ)
  2. Network access configuration (Arilink+SoftAP)
  3. Device discovery and list
  4. Device control
  5. Push notification: After the device raises the alarm, the alarm information is pushed to the App. The main push platforms we use are Jiguang Push and Baidu Push.

After developers download the source code, they only need to optimize the UI and design the control logic and device control interface. The control page of the source code implements the standard flow of device control using Gizwits App SDK. During the secondary development of the App, you only need to package and install to complete the control App of your own product.

Gizwits App Code Auto-Generator

4.Other App development tutorials

Note: The above tutorials are all based on Gizwits App Framework.

Get ready

1. Create a product and define Data Points

Create a product and define Data Points

Create a product and define Data Points

2. Create Android and iOS applications for your product

In the left navigation pane, click “Application Configuration” under “Services” to add Android and iOS applications respectively.

Create Android and iOS applications for your product

Create Android and iOS applications for your product

3. The meaning and role of App ID and App Secret

App ID: application identification code, when the developer needs to develop applications for a smart product (including iOS, Android, Web applications, etc.), an App ID is automatically generated after an application is created in the Gizwits Developer Center and associates with the device. This App ID is required during application development. All users registered in the App are bound under this App ID.

App Secret: App ID verification secret.

As shown in the figure below, it is the role that App ID plays in the process of developing App.

App ID

See Also

See Gizwits App Code Auto-Generator to learn about the functionality of the automatically generated App code.

See “Gizwits App Framework” to grasp

See “App Development SDK” to develop your IoT App

More application development guides