10-17-2010 10:44 PM
I write a socket connection.And I promise users they can select the availabe apn,such as wifi,2g-Gsm,cdma and 3g sigal.
Is there an API can solve my question.
Thanks.
10-20-2010 11:11 AM
There is no way to programmatically retrieve the APN. If the user has configured the APN under Options, Advanced Options, TCP, then direct TCP connections will use this APN by default.
If you are looking to choose an appropriate transport route based on what type of connection is available, have a look here:
What Is - Network API alternative for legacy OS