Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add APN in Android (KitKat and above) programmatically

I am trying to make app that makes Internet and MMS settings, if the mobile operator does not support automatic settings by sms for the current device. As it is restricted to write or read APNs from Android 4.2, if the application is not system. I decided to compose and send sms with configuration settings ( or imitate that such is received). How to compose such sms with APN configuration settings, that the mobile operators send automatically, when you connect to their network ? Is that a good decision, or there is a easier way to achieve my goal ?

like image 824
Ivan Kolev Avatar asked Jun 14 '16 13:06

Ivan Kolev


1 Answers

It is indeed done through SMS, but special kinds. They are called Over-The-Air messages (OTA).

Read this to know about OTA in depth.

Also, i found a link that apparently describes how to send theme OTA SMS.

like image 126
Abdul Wasae Avatar answered Nov 12 '22 21:11

Abdul Wasae