Summary
Summary
Establishing and communicating over a connection with J2ME is really quite simple. I demonstrated this concept by creating a MIDlet that creates a remote connection, downloads an image, and displays the result on a device emulator.
I concluded the tutorial by adding additional code to allow downloading of an image in a background thread. For most all but the simplest of MIDlets, understanding how to create and manage threads is very importance.
With this tutorial as a starting point, you can begin to write applications that cannot only communicate over a network, but can do so in an efficient manner without blocking, creating a more robust and responsive user experience.
5 of 7 |
Previous |
Next
Comments
Back to top
Help: Update or add to My dW interests
What's this?
This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.
And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.
View your My developerWorks profile
Return from help
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java technology
ArticleID=137020
TutorialTitle=Downloading images in J2ME
publish-date=10072003
author1-email=
author1-email-cc=