+

Search Tips   |   Advanced Search

Development guidelines for using native API

Native applications need native API content, which depends on the development environment. You start from a MobileFirst project, add a second project, and define the native application from the native API application. To build and deploy the native application, you create a .wlapp file and upload it to the console.


Options to create MobileFirst applications

As for other types of mobile applications, you start the development of the native app in MobileFirst Studio by creating a MobileFirst application. To develop a native application, we must create a MobileFirst application of type Native API. Your native application requires the content of such a Native API application to use the corresponding MobileFirst native API. This content depends on the selected mobile environments.

The process to create a native API application differs depending on whether the project.exists or not.

For more information on calling adapter procedures from native iOS applications, see the tutorials on the Get Started page.


Application files

In both cases, you create the native API application in MobileFirst Studio. Such applications contain the following files:


Complementary project for native applications

Unlike hybrid applications, which develop entirely within MobileFirst Studio, native applications need a second project, which you create in a different IDE. For example:


Creation of the native application from the native API application

After the native API application is created, create the native application as follows:

  1. Define the various aspects of the application by setting the appropriate values in the application descriptor file.

  2. Update the client property file as necessary.

  3. Copy the client property file and the native library to the appropriate location of the native project. We must also create references from your native app project to this content to use the MobileFirst native API.

iOS

  1. To update the application descriptor file, see Application descriptor of native API applications for iOS.

  2. To update the client property file, see Client property file for iOS.

  3. To copy the client property file and the native library into the appropriate location of the native project, and create appropriate references, see Copy files of native API applications for iOS.

Android

  1. To update the application descriptor file, see Application Descriptor of Native API application for Android.

  2. To update the client property file, see Client property file for Android.

  3. To copy the client property file and the native library into the appropriate location of the native project, and create appropriate references, see Copy files of Native API applications for Android.

Java ME

  1. To update the application descriptor file, see Application descriptor of native API applications for Enterprise Edition (Java EE) , Micro Edition (Java ME).

  2. To update the client property file, see Client property file for Enterprise Edition (Java EE) , Micro Edition (Java ME).

  3. To copy the client property file and the native library into the appropriate location of the native project, and create appropriate references, see Copy files of Native API applications for Enterprise Edition (Java EE) , Micro Edition (Java ME).

Windows Phone

  1. To update the application descriptor file, see Application descriptor of native C# API application for Windows Phone 8.

  2. To update the client property file, see Client property file for Windows Phone 8.

  3. To copy the client property file and the native library into the appropriate location of the native project, and create appropriate references, see Copy files of Native API applications for Windows Phone 8.

Windows 8

  1. To update the application descriptor file, see Application Descriptor of native C# API application for Windows 8.

  2. To update the client property file, see Client property file for Windows 8.

  3. To copy the client property file and the native library into the appropriate location of the native project, and create appropriate references, see Copy files of native API applications for Windows 8.


Build and deployment

You build and deploy native API applications by following the same procedure as for hybrid applications. We create the .wlapp file and upload it to the operations console. For more information about deployment, see Deploy applications and adapters to MobileFirst Server.


Parent topic: Develop native applications