All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Components Into Apps

Let's create a new application that contains our client and server programs, with their interfaces bound to each other. It will look like this:

HelloIPCApp.png

To do this, we create an application definition file called "helloWorld.adef".

$ gedit helloWorld.adef

It should look like this:

executables:

    myServer ( greetServer )
    myClient ( greetClient )

processes:

    run: (myServer)
    run: (myClient)

This defines two executable programs called myServer (containing the greetServer component) and myClient (containing the greetClient component).

It then starts one instance of myServer and one instance of myClient.

Now we can run mkapp to build everything and package it up into an application.

$ mkapp helloWorld.adef -t wp7

You will now have a file called "helloWorld.wp7" that contains your application.

You can install and run it using instapp, see Create Applications for details.


Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.