About Parameters; Working With A Cli Shell - Nokia 3510i User Manual

Hide thumbs Also See for 3510i:
Table of Contents

Advertisement

Running the SDK Through a Command Line Interface

About Parameters

.The following table lists the parameters you can use on the command line:
Command Line
Parameters
load
close
You can enter only one parameter on the command line.The parameter and any options that go
with it must be the last item on the line. For example:
3510i.exe load http://server.domain/midlet.jad
This example loads the site
that is created.
3510i.exe close -exitall
This example closes all open SDK instances.

Working With a CLI Shell

Use the
-shell
(parameters) to the one instance without having to recreate the instance with every parameter.
You can attach a shell to an instance that was created through a standalone SDK or through an
application such as JBuilder. In this example, more than one instance is running:
Description
Specifies a filename (.mms or .jar) or a URL string to be
loaded into an instance. For example:
To load a local
file:
.jad
3
510i.exe load C:\
To load a remote .jad file:
tp://server.domain/
3510i.exe load ht
midlet.jad
To imply the load parameter:
tp://server.domain/midlet.jad
3510i.exe ht
The close parameter works in two ways, depending
whether you are within a shell or outside a shell (see
"Working With a CLI Shell"):
When you use
close
the shell, but not the instance running in the shell. To
also terminate the instance, you must use close with
-
.
then terminates the shell and
exit
Close
terminates the instance within the shell.
When you use
close
does nothing unless you use it with either -
terminate the highest numbered SDK instance or the
instance you specify with
terminate all open SDK instances).
The options
and
-exit
-exitall
parameter and, when used, must immediately
close
follow the parameter.
http://server.domain/midlet.jad
option to create a session where you can repeatedly send commands
Nokia 3510i MIDP SDK User's Guide
mymidlets\midlet.jad
within a shell,
terminates
close
-exit
outside a shell, the parameter
exit
) or -
(to
-use
exitall
work only with the
Values/Options
filename
.mms
filename
.jar
URL string
. Closes one of the
-Exit
following:
Within a shell: the
SDK instance within
the shell.
Outside a shell: the
SDK instance you
specify with
-use or the SDK
(to
instance with the
highest number.
Used only
-Exitall.
with the
close
parameter outside a shell
to close all running SDK
instance.
into the SDK instance
33

Advertisement

Table of Contents
loading

Table of Contents