I want to activate/enable GPRS on the iPhone programmatically. What are the APIs I can look into? There is no ‘Network’ option in the settings application on the simulator so do I need to test out the application on the device itself?
I want to activate/enable GPRS on the iPhone programmatically. What are the APIs I
Share
Using the SDK, you can’t ‘activate’ any sort of network access. Simply try to connect to the remote server.
If the device can connect, it will. If it cannot, you need to detect this and display a warning to the user.
Apple’s sample code has plenty of examples on how to detect if a network is active.