Building and running examples

Written by: Anders Malm

Create a new workspace

The first thing you will need is to create a new workspace for the examples.



From the File menu, choose Other... from Switch Workspace.



Provide the location of the examples folder. If you installed MoSync to its default location this should be c:\MoSync\examples. When you press OK the MoSync IDE will restart. The examples folder will now be setup to act as a workspace.

Import examples

When the MoSync IDE has restarted you will notice that there aren't any projects added. Right click inside the Project Explorer window.



Choose import from the popup menu.



From the general group choose Existing Projects into Workspace, press Next.



Set the Select root directory so that it points to the examples folder. The list of available projects at the given location will automaticlly be populated. Press Finish to import all the examples into your workspace.



Now you can study, modify and run the examples.