Setting Emulator Preferences; Network Proxies - Sun Microsystems J2ME User Manual

Wireless toolkit 2.2
Table of Contents

Advertisement

You can use the mouse to click on the buttons to press them. Most buttons also
have keyboard shortcuts, which are generally easier to use. Keyboard numbers 0
through 9 correspond to the emulator's 0 through 9 buttons. Some less obvious
keyboard shortcuts are in the following table.
TABLE 4
Emulator button
Left soft button
Right soft button
Power button
SELECT
Entering text works much as it does on many real devices. Press a number key
multiple times to get the letter you want. For example, press the 5 key twice for the
letter K. When you are entering text, the asterisk key (*) switches between upper
case, lower case, numbers, and symbols. The indicator at the top of the screen
shows your current mode. The pound key (#) enters a space.
Alternately, you can just type on your keyboard to enter text. Although this is
convenient for entering text, you must remember that it is a convenience your
users will most likely be lacking.
4.3

Setting Emulator Preferences

You can adjust the emulator settings to more closely resemble a specific device or
to test your application under different resource conditions.
4.3.1

Network Proxies

The emulator uses your desktop network connection. For example, if the emulator
runs a MIDlet that makes an HTTP connection, the emulator attempts to make the
HTTP connection using the desktop's network setup.
If your development computer is behind a firewall, you might use a proxy server to
make HTTP connections. If you're not sure, try examining your browser's settings
to see if it uses proxy servers.
If you are using proxy servers, you need to configure the emulator to use the same
proxy servers. To do this, choose Edit > Preferences.... On the Network
Configuration tab, fill in the names and port numbers for the proxy server you
wish to use. You can also select which version of HTTP you wish to use.
32
J2ME Wireless Toolkit User's Guide • October 2004
Keyboard shortcuts
Keyboard key
F1
F2
Esc
Enter

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the J2ME and is the answer not in the manual?

Questions and answers

Table of Contents