Spec-Zone .ru
спецификации, руководства, описания, API

emulator - Mobile Emulator Testing Utility (Windows only)

NAME

emulator  - Mobile Emulator Testing Utility

Synopsis

emulator [argument]

Basic command syntax:

emulator -Xdescriptor:jad_file

where jad_file is the file generated by processing the class files in a JavaFX application using the javafxpackager -profile mobile option.

Description

The JavaFX Mobile Emulator simulates a mobile phone. The emulator runs compiled classes that are built by using the javafxpackager tool. For your code to be compatible with the emulator, you must use the Common and Mobile APIs. To run multimedia in the emulator, you must have Apple QuickTime 7.5.5 or a later version installed on your system.

The emulator opens a window with a mobile phone skin, runs the CLDC/MIDP (Java ME) stack, and runs your JavaFX applicaton on top of the stack. Thus, you can run your JavaFX application within a Java ME runtime environment for testing and development purposes.

Options

-version
Display version information about the emulator.
-help
Display a list of valid arguments.
-Xdescriptor:<JAD file name>
Required. Specify the JAD file to be executed.
-Xdebug
Use a remote debugger.
-Xrunjdwp:[transport=<transport>,address=<address>,server=<y/n> suspend=<y/n>]
Start a Java debug wire protocol session, as specified by a list of comma-separated debugging settings. The -Xdebug option must also be used.
-Xdevice:<device> 
Select a device skin for the emulator.
-Xdomain:<domain_name>
Set the security domain for the MIDlet suite.
-Xautotest:<JAD file url>
Run in autotest mode.
-Xjam[:install=<JAD file url> | force | list | storageNames | run=[<storage name> | <storage number>] | remove=[<storage name> | <storage number> |all]]
Java Application Manager and support for Over The Air provisioning (OTA).
-Xquery
Print device information.

Copyright © 2009 Sun Microsystems, Inc. All rights reserved.

Sun is required to provide certain third party notices. Please see Third Party Notices for the text of such notices.