Project HTTP Communication Test utilizing MIDP --- 1.0
Subproject of Mobile Datacommunication
Goals
"Mobile Datacommunication" is a chapter in the book called "Java praxisnah - Profitieren Sie von Programmierprofis".
HTTP / MIDP Communication Test is a source code package used in the book.
HTTP / MIDP Communication Test shows how to set up an
error respecting HTTP communication on a low-quality, high-latency bearer (e.g. GPRS connection)
utilizing a limited Java environment based on MIDP.
Installation
Major software products involved:
- Wireless Toolkit version 1.0.4
Application creation
- Start the wireless toolkit application called KToolBar.
- Create a new Project..
- Name the project "HTTPMIDPCommunication".
- Name the Midlet Class Name "com.maretzke.mobile.http.HTTPMIDlet".
- Let WTK create the project.
- Do not change any settings offered to you. Simply select "OK".
- The screen informs you about the place where to copy the source
files to.
Copy all the source files in your downloaded source package to the
mentioned directory.
Attention: Copy the whole structure in the directory "./src" from the
downloaded source project - including also the folders "com" ...
- After copying the sources press the button named "Run".
Execution
After you started the emulator - select the midlet and launch it. The
midlet asks you to insert a valid URL. The midlet will try to fetch the page
associated with this URL. Most interesting is this test using a real MIDP
phone and a real GPRS connection.
Disclaimer
All code provided is provided on an "AS IS" basis, without warranty. The author
makes no representation, or warranty, either express or implied,
with respect to the programs, their quality, accuracy, or fitness for a specific purpose.
Therefore, the author will not have any liability to you or any other person or entity with respect to any liability,
loss, or damage caused or alleged to have been caused directly or indirectly by the programs provided by the author.
This includes, but is not limited to, interruption of service, loss of data, loss of profits, or consequential damages
from the use of these programs.
Terms of Use
All code provided by the author for view and/or download is the copyrighted work of the respective author.