1. Official Simulator Tutorials
https://01.org/web-simulator/
2. Latest version posted on 2013.05
I am honored to introduce the Web Simulator for it 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 the Web applications with device APIs can be easily tes Ted without a real platform device.
Official introduction: This simulator is a lightweight mobile Web application development and testing tool for different platform APIs. Support for most (around 90%) of Tizen 1.0 Web APIs, with Cordova platform development, the specific API can refer to Tizen Device 1.0 API specification.
The Web Simulator is designed to has 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 the local file system or from a Web server.
- Provides various device panels to support event interaction with applications.
The Web Simulator architecture and code is 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 simulator
3. Precautions
The emulator acts as a plug-in for the Chrome browser and needs to modify some parameters to start the emulator.
1. Determine the path to the Chrome.exe.
The path labeled in the given bat file is C:\Users\admin\AppData\Roaming\google\chrome\application\chrome.exe
And my Windows 8 system is installed by default the location of the Chrome browser is C:\Users\admin\AppData\Local\google\chrome\application\chrome.exe
So you need to change the content for a moment:
Before change:
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/
After the change:
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/