The example application provides functions to represent the usage of the IAPControl feature and the IAPInfo component. The application includes and uses all features provided by the IAPInfo component in order to demonstrate the usage of the features. All IAPInfo component-related API calls are adjusted into one class in order to make the code more comprehensible.
The example application aims to demonstrate:
Presentation of the correct usage of the IAPInfo component API
Presentation of the usage of IAPControl feature
The application provides the following features:
Listing the names of all available access points
Listing the names of all available destination networks
Searching for an access point by its name
Searching for an access point by its ID
Searching for a destination network by its name
Searching for a destination network by its ID
Querying for the last used access point ID
Listing of the names of access points that belong to a destination network
Performs a http or a socket connection where an access point
or destination network is defined in the URL using the IAPControl
feature
How to use the IAPInfoMIDlet:
Start the
IAPInfoMIDlet, which then loads the IAPTestForm
class.
This class contains the main menu, where the user can choose between performing
access point-related tests or destination network-related tests.
The DNTest
class
contains a list of the available destination networks. It contains two menu
items, so you can start the ConnectionTest
class or check
the properties of the selected destination network (DNPropForm
class).
The ACPTest
class
contains a list of the available access points. It contains two menu items,
so you can start the ConnectionTest
class or check the
properties of the selected access point (ACPPropForm
class)
The TestUtils
class
contains all functions that are connected to the IAPInfo component. The code
handling the use of the IAPInfo API has been separated from the UI code of
the example application, in the interest of making the structure of the application
more clear-cut and readable.