This section describes the system and application classes used in the example.
ACPPropForm
A form to show the selected access point properties, such as the ID, name bearer type, or service type of the selected access point.
ACPTest
A class that contains the list of the available access points, and menu to view the properties of the selected access point or to perform a network connection that uses the selected access point upon connection.
ConnectionTest
This class
contains UI elements to create a network connection with the selected access
point or destination network. This class is used from the ACPTest
and DNTest
classes.
The class receives the selected destination network/access point name as a
parameter, searches the connection object, and performs the http/socket connection.
The URL can be defined in a TextField
object on a form.
DNPropForm
A form to show the selected destination network properties, such as the ID, name, and access points of the destination network.
DNTest
A class that contains the list of the available destination networks, and menu to view the properties of the selected element or to perform a network connection that uses the selected destination network upon connection.
IAPInfoMIDlet
The MIDlet
class that creates and shows the IAPTestForm
class.
IAPTestForm
A class which contains the main menu. Here the user can choose to run destination network-related tests or access point-related tests.
TestUtil
This class contains
all the test methods that use the IAPInfo
component.
Each static method contains the usage of a single feature from the IAPInfo
API. All methods are static, so the class file can be included in other applications.