Sun Microsystems J2ME User Manual Page 44

  • Download
  • Add to my manuals
  • Print
  • Page
    / 134
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 43
32 J2ME Wireless Toolkit User’s Guide October 2004
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.
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....OntheNetwork
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.
TABLE 4 Keyboard shortcuts
Emulator button Keyboard key
Left soft button F1
Right soft button F2
Power button Esc
SELECT Enter
Page view 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 133 134

Comments to this Manuals

No comments