Install apps

This page explains how to build your app, configure the AirVantage platform, and then deploy your app remotely to your device.

Build app

Before you build your target app, ensure Legato is built and your shell environment is setup to use command-line tools (i.e., run bin/legs).

Then, run the following sample on your build host replacing ${TARGET_TYPE} with your target device type (e.g., wp85 or ar7):

Legato $ cd apps/sample/helloWorld
Legato $ mkapp -t ${TARGET_TYPE} helloWorld.adef
Legato $ update-pack ${TARGET_TYPE} –ai helloWorld.${TARGET_TYPE} –o helloWorld.update
Legato $ av-pack –f helloWorld.update ${TARGET_TYPE} <type name> _build_helloWorld/${TARGET_TYPE}

Where "<type name>" must be a globally-unique app type identifier, unique among all apps in all companies anywhere on AirVantage. It should include company name, or user name if it's a developer's sample app. It should look like this:

 av-pack -f helloWorld.update abcCo.jsmith.helloWorld _build_helloWorld/wp85

Using AirVantage Platform

This part assumes you've already created your target/device on the platform using the section Connect to AirVantage

Upload app

Upload `<uniqueAppName.targetType.zip>`

Zip file name will be something like helloWorldabcCo.wp85.zip.

See AirVantage Getting Started Develop+Activity : "My Apps" Section -> action Release ( select publish) for details.

Create app installation job

You need to create the app install job on the platform: on the "Monitor" view for your system, use the "More" menu, and select "Install app" and then select the app you just uploaded,released and published in previous step.

Receive app on AirVantage agent

Connect to server to receive app installation job

This requires an avc control app using the LWM2M AVC API that accepts the download and installation. See AirVantage Connector API for details.

Check Success Status

If the installation was successful, you should find helloWorld in the installed apps and on the devices' Monitor view app list.

Going further

Start, stop, uninstall jobs can be created using corresponding UI buttons on the "Monitor" view for your system, in the "Applications" section, next to the app name you choose.


See AirVantage Getting Started more details.


Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.