lunedì 29 novembre 1999

J2ME "on device debugging" with Sony Ericsson SDK

The Sony-Ericsson SDK provides you a tool to perform an on-device debugging of your J2ME applications.



After the SDK installation you can go to "Start" -> "Sony Ericsson" -> "Java ME SDK for CLDC"  and check the presence of two tools: "Connection Proxy" and "Device Explorer".



First of all you have to connect your Sony-Ericsson mobile phone to your pc. Launch "Connection Proxy" and press the "Settings" icon in the buttons bar. Select the COM port where your phone is connected to and press "Ok". Press "Connect" at the right top in the Connection Proxy software window. The "Status" frame below the device image should show the "Connected" status for your device.

Conn Prox settings



Now launch the Device Explorer. It should start the synchronization with your phone. If it doesn't, start it manually clicking the "Reloading device information" in the buttons bar.

After a while in the left column you should see the list of application installed in your device. Now you can select the application you want to debug and start it.



The System.outy.print messages included in your code will be shown in the console window at the bottom of the "Device Explorer" software.

Device explorer_1



The tool can be used also to manage the application: install, delete, stop, pause, and resume it.

Nessun commento:

Posta un commento