Initial Configuration

Home / Initial Configuration

This is a guide for the evaluation version of CrossMobile.

 

1.First time configuration

 

Before you begin you need to make your first time configuration.

When you run CrossMobile for the first time you will see the following pop up window.

 

Click Continue in order to setup your environment.

 

The automatic configuration will start. If you see the following screen it means that you are good to go, so click Continue.

In case the configurator didn’t manage to resolve the needed applications the Continue button will be disabled. Click Choose to manually define the paths of the application’s and then click Continue to proceed. You can always skip this step and define the applications paths later on through the settings menu.

After hitting continue the configurator will start downloading all the required base maven artifacts. When it finishes downloading click Continue and the Main Screen of the CrossMobile Manager will open.

You can now proceed to step 2 to create your first HelloWorld application.

If something went wrong or you skipped automatic configuration click on Settings to manually setup CrossMobile. The following CrossMobile Manager window  will show up. You’ll need to fill in these setting parameters.

More specifically you need to set the following:

 

  • Build Properties: For the needs of our first example you may ignore this. As you see this gives you the option of creating a backup directory for overwritten files. This might be useful in the future when you start creating more complicated projects.

 

  • Editors: CrossMobile has a native support for Netbeans IDE. We suggest that you use this feature from the first moment in order to comply with the following step-by-step tutorials. To do so check NetBeans and then click “Locate”. The following pop up window opens and prompts you to find the executable for Netbeans.

 

To continue it is recommended to choose automatically search for the executable. This way CrossMobile will locate Netbeans for you.

As you see NetBeans detection is resolved and you are now ready to click Finish and continue.

If anything goes wrong in the above steps you can still browse to your files and locate Netbeans manually. [1]

Follow the same procedure for the JDK Home and Android Tools.

 

  • Java tools: Locate the install JDK Home

Select “Automatically search for the executable” and click Continue.

  • Android tools:

 

    • Studio Location
    • SDK Location
    • Gradle Location
  • Default Keystore[2]

In case your default keystore cannot be automatically located.

You have to browse to its location on your own.

If you are missing any of the above you can always reopen the configuration panel by clicking Settings from CrossMobile’s initial window and alter any setting option you prefer.

2.Creating your first “HelloWorld” application

 

Now you are ready to create your first mobile application. In the initial Window “CrossMobile Manager” click New Project.

 

The following window shows up that lets you define the name and the directory of your project. Fill in the name “HelloWorld” and select the directory of your project.

Click Create to continue.

Then the following pop up window appears and prompts you to choose the code template of your project and the Theme for your application.

Click Create and your first application “HelloWorld” is created!

[1] In case you have not yet installed NetBeans IDE on your system you may do it now. Go to NetBeans official site https://netbeans.org/downloads/ and install NetBeans for java compatible to your platform (Windows, Mac etc.) You also need to download and install our available NetBeans-plugin for this purpose. See our “System requirements and installation” guide for more help.

[2] Keystore file: a key database file that contains public keys and private keys. Public keys are stored as signer certificates while private keys are stored in the personal certificates. The keys are used for a variety of purposes, including authentication and data integrity