[Tizen開發]基於Tizen平台的終端開發模擬器1 - Web

來源:互聯網
上載者:User

標籤:des   c   class   code   a   http   

 

1.  官方 模擬器 Tutorials

https://01.org/web-simulator/

2. 最新版本發佈於 2013.05

I am honored to introduce the Web Simulator for its public release on 01.org. The Web Simulator is a lightweight mobile application development and testing tool for web application developers. It simulates device API implementation on different platforms, so that web applications with device APIs can be easily tested without a real platform device.

官方介紹:該模擬器針對不同平台APIs的一種輕量級移動Web應用開發與測試載入器。支援大部分(90%左右)的Tizen 1.0 Web APIs,附帶Cordova平台開發,具體API可以參考 Tizen Device 1.0 API Specification。

The Web Simulator is designed to have these features:

  • Runs on Windows, Linux, and Mac OS X platform.
  • Can simulate different platform APIs. Currently we support the majority (~90%) of the Tizen 1.0 Web APIs.
  • Enables running and debugging a web application, loaded from either local file system or from a web server.
  • Provides various device panels to support event interaction with applications.

The Web Simulator architecture and code are inherited from the Ripple-UI. Currently, we have implemented most of the Tizen Device 1.0 API Specification.

Tizen 2.1 + Cordova 2.0.0 Web 模擬器

 3. 注意事項

該模擬器作為Chrome瀏覽器的外掛程式,需要修改一些參數來啟動 模擬器。

1. 確定 chrome.exe的路徑。

在給出的bat檔案裡 標註的路徑為 C:\Users\admin\AppData\Roaming\Google\Chrome\Application\chrome.exe

而本人的Windows 8 系統預設安裝Chrome瀏覽器的位置為 C:\Users\admin\AppData\Local\Google\Chrome\Application\chrome.exe

所以需要改動內容為一下:

改前:

ver | find "Version 6" && set DIR=%LOCALAPPDATA%|| set DIR=%APPDATA%
set CHROME=%DIR%\Google\Chrome\Application\chrome.exe
set /p OPTIONS= <%CD%\sdk-wrt-options.txt
start %CHROME% %OPTIONS% --app="file://%CD%/web/index.html" --user-data-dir=%CD%/sdk-profile-data/

改後:

ver | find "Version 6"
set CHROME=C:\Users\admin\AppData\Local\Google\Chrome\Application\chrome.exe
set /p OPTIONS= <D:\01.Softworld\100.Resources\02.Samsung\02.Tizen\web-simulator\sdk-wrt-options.txt
start %CHROME% %OPTIONS% --app="D://01.Softworld/100.Resources/02.Samsung/02.Tizen/web-simulator/web/index.html" --user-data-dir=D:/01.Softworld/100.Resources/02.Samsung/02.Tizen/web-simulator/sdk-profile-data/

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.