Configuring an AnyNet APN on an Android device
Use one of the following methods to configure an Android device to work with an AnyNet APN:
- Manually add the APN to an Android device using the Access Point Name settings
Replace the existing apns-conf.xml file with a file containing the correct APN settings
For information about APNs, see About Access Point Names (APNs).
Manually adding the AnyNet APN to the device
This was tested on a Samsung Galaxy J3; Android version 9. Instructions may vary depending on the device and Android version.
To add the AnyNet APN to an Android device:
On the Android Settings menu, select Connections.
Select Mobile networks.
Ensure Data roaming is turned on.
Select Access Point Names.
A list of existing APNs is displayed.
Enter the following information into the APN fields:
where <APNname> is the APN specified in your contract
Android - <username>
where <username> is the name of your choice
Additional authentication is applied when you connect to the APN.
PAP or CHAP
Leave the default values for all other fields.
Most fields have a Not Set value. The MCC and MNC fields are fetched from the network profile for the IMSI that the device is currently using.
Select the menu in the top right corner.
The AnyNet <APNname> APN appears in the Access Point Names list.
This process may take time.
Replacing the apns-conf.xml file
The apns-conf.xml file contains the settings for the AnyNet APN and the Mobile Country Code (MCC) and Mobile Network Code (MNC) for each network.
This option requires root access to the Android device. For more information, see Rooting_(Android).
These instructions are for Android Debug Bridge (ADB). You can use other apps to transfer the file to your device.
Select the following link to access the AnyNet apns-conf.xml file:
Depending on your settings, your browser may download the file automatically, prompt you for a target destination for the file, or open the file in a new browser window. If the file opens in a browser window, save it to a local folder.
Copy the apns-conf.xml file to the device:
adb -s <device> push <download-path>apns-conf.xml /system/etc/apns-conf.xml
-sindicates a device serial number is specified, <device> is the serial number of the device you want to update and <download-path> is the path to your local copy of the configuration file.
For more information about the push command see: http://adbshell.com/commands/adb-push