Comet Mobile Usage

From CometWiki

(Difference between revisions)
Jump to: navigation, search
Line 22: Line 22:
= Programming the App =
= Programming the App =
 +
Comet Mobile programs must be designed, programmed, and compiled using the Comet Mobile library (mobile.inc).  You cannot run your normal Comet Anywhere programs through the Comet Mobile system.
 +
First, we will discuss the basic Comet Mobile program structure you should use, then follow up with some programming concepts that can be used to make mobile programs.
== Mobile Program Structure ==
== Mobile Program Structure ==

Revision as of 23:11, 7 January 2013

Contents

Welcome

Here we will discuss how to use and program for the Comet Mobile app.

Using the App

In order to use Comet Mobile, you will need to be able to connect (via wireless or cellular network) to a Comet Anywhere Host. The host must be running Comet 32 with the latest version of the REL folder (or at least the MMONITOR program). This program is the interface between your mobile device and the Comet system. In the same fashion as QMONITOR, MMONITOR determines your security access, DAB access, as well as provides a method for you to run your mobile programs.

Connecting

Once you launch the app, the first screen to appear should be the connection screen. Here you can enter a server ip address (or host name), then press the connect button. The app will then connect you to your Comet Anywhere Host and run the MMONITOR program.

Running a Program

Once connected, you will be presented with the MMONITOR run screen. Here you can enter the name of a mobile program you have compiled and loaded onto the host system. These programs must have been compiled for mobile use, using the mobile procs.

Disconnecting

Hit the "Disconnect" button at any time to disconnect your Comet session and return to the connect screen.


Programming the App

Comet Mobile programs must be designed, programmed, and compiled using the Comet Mobile library (mobile.inc). You cannot run your normal Comet Anywhere programs through the Comet Mobile system.

First, we will discuss the basic Comet Mobile program structure you should use, then follow up with some programming concepts that can be used to make mobile programs.

Mobile Program Structure

Personal tools