Hi David,

Right now we don't include it in the build list, but with the HTC it looks like they just copy it to system/etc/apns-conf.xml

From Android.mk in the Dream repo:
PRODUCT_COPY_FILES += \
  24         vendor/htc/dream/apns.xml:system/etc/apns-conf.xml

I imagine that the GUI interacts with that file, although to make it r/ w it probably copies it to /data somewhere.

Cheers,
Brian

On 4-Mar-09, at 10:06 AM, David Hicks wrote:


Brian,

I've seen and played with this file, is it used as part of the build process?

I ask this because I've tried playing around with it directly and it's not read by android at runtime, as far as I can tell.

That said, I think mine would look like this -

<apn carrier="T-Mobile UK"
        mcc="234"
        mnc="30"
        apn="general.t-mobile.uk"
        user="user"
        server="*"
        password="wap"
        mmsc=""
   />

Taking a look at your link there they alredy have one:

<apn carrier="T-Mobile UK"
         mcc="234"
         mnc="30"
         apn="general.t-mobile.uk"
         user="t-mobile"
         password="tm"
         server="*"
         mmsproxy="149.254.201.135"
         mmsport="8080"
         mmsc="http://mmsc.t-mobile.co.uk:8002";
    />

Which I might try later on. I have no MMS settings right now.



On Wed, 4 Mar 2009, Brian Code wrote:

There is an apns.xml file that gets included in the build (or can be included....to date, it hasn't been included because of the lack of information that is required to make the file).

There is an example that can be seen in the Android tree here:
http://android.git.kernel.org/?p=platform/vendor/htc/dream.git;a=blob;f=apns.xml;h=cf1eaa4ec4060a6617fc6fd98a997e9fde9892f7;hb=master

I would encourage people that are testing this and have success to send their APNs in the following format to [email protected] . Please include in the subject "APN".


Regards,
Brian Code

On 4-Mar-09, at 9:14 AM, David Hicks wrote:

I used the android settings UI to add in the details.
For T-Mobile UK it's:
NAME: general.t-mobile.uk
APN: general.t-mobile.uk
Proxy: <not set>
Port: <not set>
Username: user
Password: wap
Server: <not set>
MMSC: <not set>
MMS Proxy: <not set>
MMS Port: <not set>
MCC: 234
MNC: 30
APN type: <not set>
The top two there have to be the same as the UI won't let you save without them both, and there's no way I can think of to edit them after the initial save. Username and password come from 'the internet' and MCC/MNC values for all networks can be found on a wikipedia page.
HTH
On Wed, 4 Mar 2009, Harry Mutch wrote:
Would some of you who have managed to get GPRS working please post the details of what you have entered in the telephony.db for your APN? It
isn't working for me and I am getting "try switching it off and on
again" level support from my network operator.
I am wondering if it is related to the fact that their network details don't register properly on the Freerunner. As you can see the other
networks available don't have this issue:
D/RILJ ( 868): [0143]< QUERY_AVAILABLE_NETWORKS [NetworkInfo 242
05/242 05/24205/CURRENT, NetworkInfo N
Telenor/TELENOR/24201/AVAILABLE, NetworkInfo N
NetCom/NetCom/24202/FORBIDDEN]
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to