The Gizwits App Framework ((hereinafter referred to as Framework)) is a product of Gizwits, which contains a set of source code for the mobile application common functions of Wi-Fi smart hardwares. As long as the Gizwits protocols are used for the product, you can directly leverage the source code of the Framework to rapidly develop its supporting App, which thereby meets the requirements of short App building cycle and low cost.
This document will introduce you how to use the Framework to develop your own App, which is split into the following chapters from easy to difficult, from basic functions to advanced functions:
Those functions of WeChat/QQ authentication and Baidu/Jiguang push notification are advanced features, which are not enabled by default in the Framework code. If you only want a simple device control App, just go through the first three chapters. To use advanced features, you can continue to follow the latter chapters.
Product and application creation in the Developer Center
Before we develop an App, we need to learn how to create a new product in Gizwits Developer Center. First select the product category and schema, then add Data Points to the product, and finally create an application for the product. To help you better understand the entire creation process, there comes along usages of the Framework, Data Points, Data Point templates, Product Key, Product Secret, App ID and App Secret etc.
https://v.qq.com/x/page/p0344jspddv.html
Build a simple iOS App using the Framework rapidly
To go beyond the Video 1-1, this video is based on the Framework to build an iOS App that controls the Gokit red light switch. After downloading the code, create a click event in the layout file of the control page, then update the pruductkey in the Gokit MCU firmware, and finally show Gokit light control using the App. To help you better understand the entire process, there comes along the tutorials of the Framework modules, code features, command creation, iOS App and device configuration etc.
https://v.qq.com/x/page/b0350blmgcf.html
Build a simple Android App using the Framework rapidly
To go beyond the Video 1-1, this video is based on the Framework to build an Android App that controls the Gokit red light switch. After downloading the code, create a click event in the layout file of the device control page, then update the pruductkey in the Gokit MCU firmware, and finally show Gokit light control using the App. To help you better understand the entire process, there comes along the tutorials of the Framework modules, code features, command creation, Android App and device configuration etc.
https://v.qq.com/x/page/p03512if92n.html
If you have any suggestion, please say your ideas out loud in Gizwits Community. We will provide better and more complete how-to videos.
Stay tuned for more how-to videos!