For some developers, working with wireless technologies can be daunting -- and sometimes downright intimidating. When communication is wireless, you can't just "look up" and see, for instance, 1 MB of data going by. In addition, it is really difficult to debug wireless applications once they are deployed to a mobile device, since you don't have access to system traces or log files to pinpoint the errors while the application is running.
This technical article addresses the following tasks:
* Helps demystify some wireless concepts using Bluetooth and the JSR-82 API
* Shows how to run and debug Java ME Bluetooth applications on your desktop computer
* Explains how to read data from a Bluetooth-enabled GPS device
The good news is that you're going to learn how to construct a low-cost solution that allows you to install, debug, and test your JSR-82 applications on your computer. I'm going to introduce to you the Mpowerplayer, a CLDC emulator for the computer that can be configured to behave like a JSR-82 Bluetooth-enabled phone. With this configuration, the Mpowerplayer will behave just like a JSR-82 Bluetooth-enabled mobile phone, but you'll have access to the System.out and have the ability to view stacktraces, both of which are essential in debugging your wireless application.
Read the full article and download the source code.
Thanks very much!
Posted by 黃郁波 on July 18, 2008 at 12:50 AM PDT #
With this configuration, the Mpowerplayer will behave just like a JSR-82 Bluetooth-enabled mobile phone, but you'll have access to the System.out and have the ability to view stacktraces, both of which are essential in debugging your wireless application.
Posted by 黃郁波 on July 18, 2008 at 12:58 AM PDT #
Did you have a comment or question for us?
Thanks,
Christine
Posted by Christine Dorffi on July 18, 2008 at 10:37 AM PDT #