Create or import a project

You can create a project or open an existing one in Microsoft Visual Studio and populate it with your resources. You can also import a project that you created using the Momentics IDE for BlackBerry.

Convert a Win32 project

If you create a project using the Win32 template, a new BlackBerry solution target is created using the Win32 build target configuration as its template.

To convert a Win32 project to a BlackBerry 10 OS project:

  1. In Microsoft Visual Studio, on the File menu, click Open > Project/Solution and open your Win32 project.
  2. Create a BlackBerry solution target.
  3. Click Close.

Import a Native SDK project

If you have a BlackBerry 10 OS project that was created using the Momentics IDE and the BlackBerry 10 Native SDK, you can import your existing project into Microsoft Visual Studio. Currently, only C and C++ projects are supported.

  1. On the BlackBerry menu, click Import Momentics Project.
  2. Navigate to the location of your BlackBerry 10 OS project.
  3. Select either a .cproject or .project file and click Open.
  4. Click OK.
Screen showing the Import Momentics Project window.

Create a project

You can create a project from scratch. The BlackBerry Native Plug-in for Microsoft Visual Studio now offers several project templates. These templates give you a quick start for developing several types of BlackBerry apps.

  1. In Microsoft Visual Studio, on the File menu, click New > Project.
  2. In the left pane, expand BlackBerry Projects and select an appropriate project template for the type of BlackBerry app you want to generate.
  3. Enter a name for your project and click OK.
  4. Create a BlackBerry solution target.
Screen showing the BlackBerry Project window.

After you set your targets, you can start developing your app.

Last modified: 2015-03-03



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus