51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
---------------------------------------------------------------------------
|
|
Name
|
|
|
|
NetSelector
|
|
|
|
---------------------------------------------------------------------------
|
|
Description
|
|
|
|
This sample code shows how to use the NetPref library to iterate through
|
|
different network profiles (APN) and connect to them without having to
|
|
make them the default profile. This allows more flexibility than the
|
|
original NetLib, but by no means is a replacement for it. For more
|
|
information about NetPref and NetMaster library, please refer to the
|
|
Palm OS Developer Guide.
|
|
|
|
---------------------------------------------------------------------------
|
|
Builds With
|
|
|
|
Metrowerks Codewarrior
|
|
GCC command line (Please use GCC_makefile to build)
|
|
|
|
|
|
---------------------------------------------------------------------------
|
|
Devices
|
|
|
|
Treo 600 and later Palm OS smartphones
|
|
|
|
---------------------------------------------------------------------------
|
|
Requirements
|
|
|
|
|
|
---------------------------------------------------------------------------
|
|
Libraries Used
|
|
|
|
NetLib
|
|
NetMaster
|
|
|
|
---------------------------------------------------------------------------
|
|
How to Run
|
|
|
|
Launch the application and iterate over network profiles by tapping on
|
|
'prev' and 'next'. Tap on 'Connect' to connect to a certain profile. A
|
|
network login dialog should appear. Disconnect the data connection by
|
|
tapping on the 'Disconnect' button. This will take a few seconds.
|
|
|
|
---------------------------------------------------------------------------
|
|
Note
|
|
|
|
|
|
---------------------------------------------------------------------------
|
|
|