[solved] Add APNs (access point names) to android system database
I have found a source of information for APNs.
See the Android source code here:
https://code.google.com/p/android-s...xml?repo=device--sample&name=android-4.2.2_r1
Now I need to discover where this information is stored, and find a way of changing it!
The access points database for Android 4.1 is in
/system/etc/apns-conf.xml
Talktalk / talk mobile provide information for APN here:
http://help2.talktalk.co.uk/settings/android-phone-settings#
However, the information they provide is false. Username and password must be unset.
I added the following before </apns> at the end
<apn carrier="TalkTalk"
mcc="234"
mnc="15"
apn="mobile.talktalk.co.uk"
mmsc="http://mms.talktalk.co.uk/servlets/mms"
mmsproxy="212.183.137.12"
mmsport="8799"
type="default,supl,mms"
/>
The phone will now give an option for TalkTalk APN, which I just need to select.
Now it is a matter of committing this entry to the official android repository. Of course, whilst I was at it, I replaced the whole apn database with the one from the Android repo.