Networking, User Experience, and Threads
This article describes several approaches to providing user feedback during network activity, and to managing threads appropriately. It starts with a simple MIDlet that provides no feedback, then gradually enhance it.
Using Threads in J2ME Applications
One of the defining features of the Java environment is its
built-in support for threads. Threads let an application
perform multiple activities simultaneously. When used properly,
threads let the application's user interface remain responsive
while it performs lengthy operations like network communication
or very complicated computations. While user interface
responsiveness is important no matter what the platform, it's
even more so on the handheld and consumer-oriented devices that
the J2ME platform targets. A basic understanding of how to use
threads is key to writing effective J2ME applications, whether
you're using the more limited facilities of the Connected
Limited Device Configuration (CLDC) or the fuller features of
the Connected Device Configuration (CDC). This article explains
the concepts behind threads and how you can use them in your
own applications.
Advanced Imaging provides the latest information on the imaging hardware, software and peripherals that are used in capturing, displaying, manipulating and storing images.
subscribe now