sfdsdfg

Page 66

4.4.1

DebugApp DebugApp demonstrates how to transmit the System.out and System.err streams from a MIDlet running on a real device to the the toolkit running on a PC. For this example we use two PCs (instead of a PC and a device). We call them PC1 and PC2. ■

PC1 is running the toolkit and the emulator.

PC2 represents the real device running the MIDlet. This demo document features screenshots showing the toolkit’s COMM terminal, but there is no requirement to install the toolkit on PC2. All you really need for this demonstration is a console, such as HyperTerm.

1. Use a serial cable to connect two PCs on the same COM port. For example, run a serial cable between COM1 on PC1 and COM1 on PC2. 2. On PC2, configure the console for this demo. The demo uses the following fixed parameter values, so set your console preferences to match: baudrate

11520

parity

none

stopbits

1 or 2 (1.5 is not supported)

databits

8

flow control

hardware

3. On PC1, open the DebugApp demo. 4. Select the port that is connected to PC2 and press the Connect Button.

4-12

Sprint Wireless Toolkit 3.2 Quick Guide • December 2007


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.