Skip to content

Latest commit

History

283 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Samples for HybridOS 2.0

[toc]

Introduction

Usage

The smartbox is a smart speaker sample application implemented in HTML programming language. It uses bootstrap to implement some functions, so it uses xGUI Pro as the renderer.

The smart-panel is a smart panel sample application implemented in HTML programming language. It uses bootstrap to implement some functions, so it uses xGUI Pro as the renderer.

The instrument is a smart car instrument sample application implemented in HTML programming language. It uses bootstrap to implement some functions, so it uses xGUI Pro as the renderer.

The access-control is a access control sample application implemented in HTML programming language. It only uses HTML and CSS, so it can use xGUI as a renderer.

Install and Run

  • smartbox
$ sudo mkdir -p /app
$ sudo cp -r smartbox /app/cn.fmsoft.hybridos.settings
$ sudo ln -sf /app/cn.fmsoft.hybridos.settings /app/smartbox
$ sudo chown -R $USER /app/cn.fmsoft*
$ xguipro &
$ cd /app/cn.fmsoft.hybridos.settings
$ purc -c socket -d remote -s false -a cn.fmsoft.hybridos.settings -r radio -v main.hvml
  • smart-panel
$ sudo mkdir -p /app
$ sudo cp -r smart-panel /app/cn.fmsoft.hybridos.smartcontrolpanel
$ sudo chown -R $USER /app/cn.fmsoft*
$ xguipro &
$ cd /app/cn.fmsoft.hybridos.smartcontrolpanel
$ purc -c socket -d remote -s false -a cn.fmsoft.hybridos.smartcontrolpane -r smartpanel -L "window-size:480px 480px; window-position:center" -v single_runner_app.hvml
  • instrument
$ sudo mkdir -p /app
$ sudo cp -r instrument /app/cn.fmsoft.hybridos.instrument
$ sudo chown -R $USER /app/cn.fmsoft*
$ xguipro &
$ cd /app/cn.fmsoft.hybridos.instrument
$ purc -c socket -d remote -s false -a cn.fmsoft.hybridos.instrument -r instrument -v index.hvml
  • access-control
$ sudo mkdir -p /app
$ sudo cp -r access-control /app/cn.fmsoft.hybridos.ac
$ sudo chown -R $USER /app/cn.fmsoft*
$ cd /app/cn.fmsoft.hybridos.ac
# xgui4gtk
$ xgui4gtk -i skia -d remote -S true -a cn.fmsoft.hybridos.ac -r ac -k -v atd_main.hvml
# xgui4mgsa
$ xgui4mgsa -i minigui -d remote -S true -a cn.fmsoft.hybridos.ac -r ac -k -v atd_main.hvml

Install with one command

$ ./install.sh

Copying

Copyright (C) 2023 ~ 2025 FMSoft Technologies

All programs are licensed under the Apache License, Version 2.0.

For more information, please see LICENSE file.

Tradmarks

  1. 飛漫

飛漫

  1. FMSoft

FMSoft

  1. 合璧

合璧合璧合壁

  1. HybridOS

HybridOS

  1. HybridRun

HybridRun

  1. MiniGUI

MiniGUI

  1. xGUI

xGUI

  1. miniStudio

miniStudio

  1. HVML

HVML

  1. 呼噜猫

呼噜猫

  1. Purring Cat

Purring Cat

  1. PurC

PurC

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages