Para adicionar, remover e setar APNs, você precisa usar os ContentResolver
para gerenciar a base de APNs no SO.
Fizemos uma abstração do seu uso com os snippets abaixo e, para usá-lo você precisa fazer como exemplo a seguir:
ApnHandler apnHandler = new ApnHandler(context);
ApnInfo apnInfo = new ApnInfo("OPERADORA", "operadora.com.br", "user", "password"))
boolean success = apnHandler.configureApn(apnInfo);