December 2007
Intermediate to advanced
432 pages
8h 37m
English
ALL network access in MIDP devices works through the Generic Connection Framework (GCF), a simple API that makes quick work of many types of communication. The fundamental idea of GCF is very simple. Your application supplies a connection string, and GCF hands back the corresponding input and output streams.
The MIDP 2.0 specification says that devices must support HyperText Transfer Protocol (HTTP) and secure HTTP (HTTPS) connections, which means your application has two powerful guarantees for connectivity to the awesome power of the Internet.
This chapter describes the simple premise of GCF and provides details on HTTP and HTTPS networking. It also provides some details on optional connection types. Later ...
Read now
Unlock full access