|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Packages | |
---|---|
com.nokia.mid.iapinfo | IAPInfo API is a simple Java API, where the applications (MIDlets) can access fundamental Internet Access point and Destination Network related information. |
IAPInfo API is a simple Java API, where the applications (MIDlets) can access fundamental Internet Access point and Destination Network (for example access point group) related information. However, IAPInfo provides just a subset of the parameters stored in the native database. Only the information supporting access point or destination network selection is available:
IAPInfo iapinfo = IAPInfo.getIAPInfo();
DestinationNetwork dnetworks[] = iapinfo.getDestinationNetworks();
DestinationNetwork dn = dnetworks[0];
AccessPoint aps[];
if(dn ! = null)
aps = dn.getAccessPoints();
DestinationNetwork dn = iap.getDestinationNetwork("MyISP");
AccessPoint ap = iap.getAccessPoint("MyISP_HotSpot");
StreamConnection sc = (StreamConnection)Connector.open(ap.getURL("http://www.nokia.com"));
StreamConnection sc = (StreamConnection)Connector.open(dn.getURL("http://www.nokia.com"));
AccessPoint ap = iap.getLastUsedAccessPoint();
AccessPoint ap[] = iap.getConnectionPreferences();
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |