Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Click2Run on the Simulator - Visual Studio

The Simulator presents an image of a selected device skin and emulates running applications as they appear on the actual device. As you develop your application in Visual Studio, you can periodically build and test the application on the Simulator.

Create a simulation target

Before using the Simulator, you need to create a target. The Target Manager can be used to create and delete simulation targets. The Simulator images in this primer display the Sapphire profile.

  1. From the Plugin toolbar Brew MP Tools drop-down menu, select Target Manager.

    The Target Manager GUI opens.

  2. See the Target Manager Help in the Tools Reference for instructions on how to create a simulation target.
  3. Close the Target Manager.

    The Simulator Target is now listed in the Visual Studio Plugin Brew MP Target drop-down menu, when Brew MP Simulation Target is selected from the Target Type drop-down menu.

Launch Simulator in Visual Studio

  1. In the Visual Studio Plugin toolbar, select Brew MP Simulation Target from the target type drop-down menu.

  2. Select the desired target from the Brew MP target drop-down menu.

  3. Select the Run icon on the Visual Studio toolbar.

    The application is launched on the Simulator. The following is an image of the Simulator running the code generated by the Wizard, in the Sapphire target.

For more information on using the Simulator, including creating targets, see the Simulator Help section of the Tools Reference.