Mobile browser simulator
The mobile browser simulator is a web application that helps you test mobile web applications without having to install device vendor native SDK.
- Firefox version 3.6 and later.
- Chrome 17 and later.
- Safari 5 and later
You can use the mobile browser simulator
to preview applications on Android, iPhone, iPad, BlackBerry 6 and
7, BlackBerry 10, Windows Phone
8, and mobile web application environments.
BlackBerry 6 and BlackBerry 7 environments are deprecated.
![[8.5.5.5 or later]](../images/ng_v8555.gif)
You can also use the Ripple emulator to simulate the WebWorks API in your BlackBerry application. Using Chrome as your web browser, click Open Simple Preview in the simulator. A new tab opens in Chrome with your application loaded; you can open the Ripple emulator from this tab.
All environments can be previewed from the application folder. Each environment-specific preview allows for the addition of devices from available environments.
Skins can be tested per device in the mobile browser simulator. Only skins available for that platform is shown. A file can be saved in Worklight® Rich Page Editor and then instantly previewed by clicking Go/Refresh.
The link icon on the device toolbar can be selected to debug an application in a separate, simple preview.
Whenever a new environment or skin is added to an application, the mobile browser simulator must be restarted from Eclipse, Run As > Run on Mobile Browser Simulator.
The Quick Response (QR) code icon on the device toolbar can be selected to show a QR code specific to the environment's URL. This QR code generator therefore allows for quick testing on a physical device.
The mobile browser simulator contains a frame
that emulates a target device. It shows you what your page looks like
inside the mobile device browser. You can switch the frame to emulate
different screen resolutions and form factors, including BlackBerry
6 and 7, BlackBerry 10, Android, iPad, iPhone, and Windows Phone 8 mobile devices. You can also
rotate the frame to mimic orientation change (portrait or landscape).
You can add multiple devices to the frame to view the various displays
simultaneously. If a device detection servlet is configured for your
web project, the simulator emulates requests from different device-specific
agents.
