|
@@ -34,9 +34,9 @@ ArOZ Online 預設CSS是 TocasUI。你可以於```AOR/script/tocas/tocas.css```
|
|
|
## 其他標頭
|
|
|
現在假設你己完成你的WebApp開發工作。你可以將他整合至ArOZ Online系統。ArOZ Online提供3種類型的介面來存取WebApp。
|
|
|
|
|
|
-1. 標準WebView (網格選單)
|
|
|
-2. 漸進式網絡應用程式 (漸進式網絡應用程式模式)
|
|
|
-3. 虛擬桌面模式 (虛擬桌面模式)
|
|
|
+1. 標準WebView (Grid Mode)
|
|
|
+2. 漸進式網絡應用程式 (PWA Mode)
|
|
|
+3. 虛擬桌面模式 (VDI Mode)
|
|
|
|
|
|
### 標準WebView
|
|
|
標準WebView是最基本的顯示模式,基本上就和一般瀏覽一樣,並且沒有ArOZ 附加功能。
|
|
@@ -82,29 +82,28 @@ ArOZ Online 預設CSS是 TocasUI。你可以於```AOR/script/tocas/tocas.css```
|
|
|
```
|
|
|
|
|
|
### 虛擬桌面模式
|
|
|
-Virtual Desktop Mode is one of the features that ArOZ Online Provides for the purpose of making life easier on Cloud base system by making the interface more human friendly.
|
|
|
-To support Virtual Desktop Mode, you would need to program the following items into your WebApp to make it VDI Mode Friendly.
|
|
|
+虛擬桌面模式是 ArOZ Online 提供的功能之一。利用人性化的介面設計,使你的生活可於雲基礎上輕鬆完成。要支援虛擬桌面模式,您將需要額外設計才能使其支援 VDI 模式。
|
|
|
|
|
|
-*You can choose not to implement the following items and your WebApp will still launch inside VDI mode as a normal iframe element*.
|
|
|
+*一但不建立有關介面,你的 WebApp 將會於 VDI 模式下使用普通的 iframe 元素啟動*.
|
|
|
|
|
|
-#### Requirement for VDI Mode
|
|
|
-The basic requirement for VDI Mode is simple. We recommend developers to following the following guideline while developing their WebApps to enable better quality control over VDI supporting WebApps.
|
|
|
+#### VDI 模式的程式要求
|
|
|
+VDI 模式的要求非常簡單。我們建議開發人員在開發 WebApps 時遵循以下準則,以便更好地支援 VDI模式。
|
|
|
|
|
|
-1. No redirect to Grid Menu (aka No link in the VDI that can allow the module to be redirected to /AOR/index.php)
|
|
|
-2. Design for Desktop, not Mobile. (Design it so it looks like a Desktop Application)
|
|
|
-3. Do not try to interference other on-screen WebApps unless necessary. (Do not try to call functions on other iframe if possible)
|
|
|
+1. 不要重定向至 Grid Menu (同時不應有連結連至 /AOR/index.php)
|
|
|
+2. 設計應偏向桌面而不是流動將置 (讓他看上來像是桌面程式)
|
|
|
+3. 除非必要,否則不要干擾螢幕上的其他 WebApp。 (如果可以,不要在其他 iframe 上調用函數)
|
|
|
|
|
|
-That is it! Follow the guideline above and your webApps will be ready to go!
|
|
|
+按照上面的準則,你的WebApp就會完成VDI的部份!
|
|
|
|
|
|
-#### Introduction to ao_module wrapper
|
|
|
-ao_module wrapper is a system API wrapper for the functional bar interface. It includes shortcuts and functions that call to Float Window system, file explorer and more.
|
|
|
-The ao_module wrapper is located under ```script/ao_module.js```. You can include it with the following header.
|
|
|
+#### ao_module 簡介
|
|
|
+ao_module 是功能表的應用程式接口。他包含了大部份的功能,如他包含了捷徑,檔案總管,浮動視窗等。
|
|
|
+他位於```script/ao_module.js```,你可以用以下代碼引用。
|
|
|
|
|
|
```
|
|
|
<script src="../script/ao_module.js"></script>
|
|
|
```
|
|
|
|
|
|
-If you want to change the interface if the page is launched under VDI mode, you can call to the wrapper function as follow.
|
|
|
+如果想更改在 VDI 模式啟動的介面,可以使用下列Javscript偵測。
|
|
|
|
|
|
```
|
|
|
if (ao_module_virtualDesktop){
|
|
@@ -115,15 +114,15 @@ if (ao_module_virtualDesktop){
|
|
|
|
|
|
```
|
|
|
|
|
|
-This function can be used to hide menu bar items that is not suitable for VDI modes.
|
|
|
-See more about ao_module wrapper in the "API Wrapper - ao_module" page.
|
|
|
-
|
|
|
-#### Advanced System APIs
|
|
|
-You can access advance system API with the following function calls to the wrappers. Advance System APIs includes
|
|
|
-- Input Method Editor API
|
|
|
-- File System API
|
|
|
-- Default System Opener
|
|
|
-- AO-Codec (UMFilename conversion on Client Side)
|
|
|
-- FloatWindow Control API
|
|
|
-- Icon manager and utils
|
|
|
+此功能可用於隱藏不適合 VDI 模式的功能表。
|
|
|
+前往 "API Wrapper - ao_module" 查看更多。
|
|
|
+
|
|
|
+#### 進階系統 API
|
|
|
+您可以通過以下函式呼叫進階系統 API。進階系統 API 包括
|
|
|
+- 輸入法 API
|
|
|
+- 檔案系統 API
|
|
|
+- 預設程式
|
|
|
+- AO-Codec (UMFilename 用戶端上轉換)
|
|
|
+- 浮動視窗 API
|
|
|
+- 圖示管理器和工具
|
|
|
|