Phone Menus; Running The Sdk Through A Command Line Interface; Command Line Syntax - Nokia 3510i User Manual

Hide thumbs Also See for 3510i:
Table of Contents

Advertisement

Running the SDK Through a Command Line Interface

Phone Menus

The phone menu structure displayed in the instance GUI is identical to that of the 3510i phone
handset, which is to say that no menus have been omitted from the SDK GUI. However, not all
menus in the SDK function similarly to their 3510i handset counterpart because the SDK is
not a phone but a tool for developers of Internet content. Nevertheless, to the extent possible,
the SDK menus look and operate identically to 3510i handset menus even if the menu
operation is not executed.
Running the SDK Through a Command Line Interface
Running the SDK from a command line interface lets you use batch files or create a shell in
which you can repeatedly load commands to a single SDK instance.
To run the SDK from the Command Prompt, choose Start menu>Run, enter
dialog box, then type the executable in the command line.
Configuration options set on the command line are not persistent between instances of the
SDK. If you need invocations to be persistent, use batch files. For example, a batch file
containing the following line will cause the SDK to always start with the German language:
@3510i.exe -language german %*
You can run multiple instances of the SDK at the same time from the command line. Each
instance is identified by a number enclosed in parentheses shown in the GUI title bar of each
instance. If no instance exists when you deliver a CLI command, an instance is created. If an
instance already exists, the command goes to that instance. If multiple instances are running,
the command is directed to the highest numbered instance or to the instance you specify with
the
option.
-use

Command Line Syntax

The syntax for starting the SDK from the command line is:
<full pathname>\3510i.exe [...-option] [parameter]
You can specify multiple options, but only one parameter per command line.
This table describes the components of the syntax:
-option
Options generally specify configuration settings for the SDK such as the language it
should use in each SDK instance. Some options require a value. Option values must
follow the option itself and be separated by a space.
The SDK interprets all text preceded by a dash (-) as an option. You can specify
multiple options, each one preceded by a dash, with a space between each option, as
well as between an option and any subsequent or preceding option value.
For example, the following command starts the SDK, specifying it should always
remain on top of other windows and that it should display menu names in Spanish:
3510i.exe -ontop -language spanish
Nokia 3510i MIDP SDK User's Guide
29
in the Run
cmd

Advertisement

Table of Contents
loading

Table of Contents