Thanks a lot for your kindly help, I know we can provide the APN in the URL connection parameters. Our question is we need according to this APN setting to specific the correctly URL connection parameters.
Our carrier provides two types of APN(cmnet--"directly access internet" or cmwap--"access internet through proxy"). Every user will select one of APN from these types as their data plan. Due to this conditon I have to try to retrieve the APN from TCP options, then set the correctly URL connection parameters according the APN type.
I have tried ServiceRecord's getAPN() which always return rim.net.gprs. So I can't according to this value to specific the APN typs.
Thanks again for your kindly help, wish you have a nice day
Originally Posted by Dougsg38p
Regardless if the APN is set in Options, you can override this by providing the APN in the URL connecton parameters. This is discussed in the article I posted earlier.