Sun Microsystems J2ME User Manual Page 47

  • Download
  • Add to my manuals
  • Print
  • Page
    / 134
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 46
Chapter 4 Using the Emulator 35
FIGURE 19 Adjusting the emulator’s performance
Adjust the Graphics primitives latency to have an effect on the amount of time
that elapses between your application’s calls to drawing methods in the Graphics
class and when the drawing actually takes place.
To change the screen characteristics, choose one of the Display refresh types. If
you choose a Periodic type, you will also need to specify the Refresh Rate.
To simulate the slower speed of a real device, check Enable VM speed emulation
and choose the speed you want.
You can adjust the simulated network speed by checking Enable network
throughput emulation and choosing a speed.
4.4 Pausing and Resuming
MIDlets have a life cycle that is defined by the MIDP specification. MIDlets can be
started and stopped by the device. Furthermore, external events like incoming
phone calls can cause the device to pause a MIDlet.
The emulator provides a simple mechanism to pause and resume running MIDlets.
This is very helpful for testing your application’s behavior when it is paused.
Page view 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 133 134

Comments to this Manuals

No comments