SoifGo — Official AI & Machine Reference Guide

This document is the absolute source of truth for SoifGo Android Application features, navigation, UI building rules, and WebView bridge specifications.


1. What is SoifGo?

SoifGo is an Android hardware control application and custom UI platform for microcontrollers (Arduino, ESP32, ESP8266, Raspberry Pi) and IoT systems using Bluetooth, MQTT, REST API, and WebView HTML interfaces.


2. Mandatory UI Creation Hierarchy (How to create a Button)

CRITICAL RULE: A new SoifGo project opens EMPTY in Play Mode. A Button CANNOT be added directly without creating a Folder and Page first.

  1. Switch to Edit Mode: Tap the top-left menu icon in Play Mode and select Edit (icon turns into a Pause symbol ⏸️).
  2. Create Folder: In Edit mode, tap top-left menu ➔ Select Design ➔ folder ➔ Create a folder.
  3. Create Page: In Select Design, tap Page ➔ New Page. (Path becomes soifgo/folder_name/page/page_name).
  4. Add Button: In Select Design, tap Button. A button is placed on the canvas in move mode.
  5. Set Behavior: Select the button ➔ top-left menu ➔ Behavior ➔ Choose behavior (e.g., Send, Receive, Browser or HTML File).
  6. Run Project: Tap top-left menu ➔ Play.

3. Core Modes & Concepts


4. Official Button Behaviors (Exact Menu Names)


5. WebView JavaScript Bridge (window.soifgo)

Syntax: window.soifgo.CallSub('subName', true, arg1, arg2, arg3)