I am trying to develop an application in which I need to connect to a specific APN programmatically for network testing purposes.
As a user, I can do this by going to "Settings" → "Wireless Networks" → "Mobile Networks" (long press) → "Access Point Names". This will even allow me to add a new one manually.
I want to know if there is a way the application can do this automatically? I have root privileges and everything you might need.
If anyone knows the source of Android, can you tell me where to look to learn the behavior of this screen? I tried to dive there, but I lost it.
source
share