Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shared/resources/apn/README.md
blob: b839ef36f4949f98fd30cc8ff1536cbba35a6a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Three APN (Access Point Name) databases are used:

* the Android database `/shared/resources/apn/apns_conf.xml` is the *de facto* standard we rely on;
* a local database `/shared/resources/apn/apns_conf-local.xml` with the same format we merge with the above, used for where Google is lacking. Ideally this file should be empty as everything should be put upstream;
* the Gnome database `/shared/resources/apn/serviceproviders.xml` is probably less up-to-date but has a bit more information.

A fourth file `/shared/resources/apn/operator-variant.xml` is also used.

These files are only used to test and merge these APN databases.

The `/shared/resources/apn.json` file is a JSON version of the Android database, with a few additional informations from the Gnome APN database (e.g.  voicemail number).

To regenerate the .json file, start from the parent directory a webserver. Like this:

 cd .. ; python -m SimpleHTTPServer 4104

Then load http://0.0.0.0:4104/apn
This should regenerate the .json file into the left part of the page, and you can cut & paste this to your editor.

TODO: make this automatic. Patches Welcomeâ„¢