APN Passwords - G1 Android Development

Why does everyone keep saying these are hidden?
They are easily accessible through /system/etc/apns-conf.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2006, Google Inc.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- use empty string to specify no proxy or port -->
<apns version="6">
<apn carrier="T-Mobile US"
mcc="310"
mnc="260"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 250"
mcc="310"
mnc="250"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 660"
mcc="310"
mnc="660"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 230"
mcc="310"
mnc="230"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 310"
mcc="310"
mnc="310"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 580"
mcc="310"
mnc="580"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 240"
mcc="310"
mnc="240"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 800"
mcc="310"
mnc="800"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 210"
mcc="310"
mnc="210"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 160"
mcc="310"
mnc="160"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 270"
mcc="310"
mnc="270"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 200"
mcc="310"
mnc="200"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 220"
mcc="310"
mnc="220"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 490"
mcc="310"
mnc="490"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<!-- T-Mobile Europe -->
<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"
/>
<apn carrier="T-Mobile D"
mcc="262"
mnc="01"
apn="internet.t-mobile"
user="t-mobile"
password="tm"
server="*"
mmsproxy="172.028.023.131"
mmsport="8008"
mmsc="http://mms.t-mobile.de/servlets/mms"
/>
<apn carrier="T-Mobile A"
mcc="232"
mnc="03"
apn="gprsinternet"
user="t-mobile"
password="tm"
server="*"
mmsproxy="010.012.000.020"
mmsport="80"
mmsc="http://mmsc.t-mobile.at/servlets/mms"
type="default"
/>
<apn carrier="T-Mobile A MMS"
mcc="232"
mnc="03"
apn="gprsmms"
user="t-mobile"
password="tm"
server="*"
mmsproxy="010.012.000.020"
mmsport="80"
mmsc="http://mmsc.t-mobile.at/servlets/mms"
type="mms"
/>
<apn carrier="T-Mobile CZ"
mcc="230"
mnc="01"
apn="internet.t-mobile.cz"
user="wap"
password="wap"
server="*"
mmsproxy="010.000.000.010"
mmsport="80"
mmsc="http://mms"
type="default"
/>
<apn carrier="T-Mobile CZ MMS"
mcc="230"
mnc="01"
apn="mms.t-mobile.cz"
user="mms"
password="mms"
server="*"
mmsproxy="010.000.000.010"
mmsport="80"
mmsc="http://mms"
type="mms"
/>
<apn carrier="T-Mobile NL"
mcc="204"
mnc="16"
apn="smartsites.t-mobile"
user="*"
password="*"
server="*"
mmsproxy="010.010.010.011"
mmsport="8080"
mmsc="http://t-mobilemms"
type="default"
/>
<apn carrier="T-Mobile NL MMS"
mcc="204"
mnc="16"
apn="mms"
user="tmobilemms"
password="tmobilemms"
server="*"
mmsproxy="010.010.010.011"
mmsport="8080"
mmsc="http://t-mobilemms"
type="mms"
/>
</apns>

yes they are accessible, but I only find the t-mobile entrys in here... I added my own APN settings in the menu, but they dont apear in apns-conf.xml...
Any idea where they are stored??

Related

WM6 Voip, I can't be heard! Help me please

Hello, I'm french user of an SPV E650 (flashed in HTC S710). My Internet Provider (Neuf) offers me a voip solution (neuftalk). Since one week, I try to use the VoipWM6 but I always compare at this problem: the personn called can't hear me.
My rom version is 1.34.406.1, I installed voipWM6.cab of Sleuth's. My _setup.xml contains:
<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="<provision key='1232ab01' name='neuftalk'>
<provider name='neuftalk' />
<user account='login' password='passwd'
uri='sip:[email protected]:5060'
allowedauth='digest'/>
<sipsrv addr='voip.wengo.fr' protocol='UDP' role='proxy'>
<session party='First' type='pc2pc' />
<session party='First' type='pc2ph' />
</sipsrv>
<sipsrv addr='voip.wengo.fr' protocol='UDP' role='registrar'/>
</provision>" />
</characteristic>
</wap-provisioningdoc>
I modified the internet calling option by "whenever available" and I open port 5060 on my sphone and on my router (hklm/system/voip/enable5060:0->1)
When I connect my smartphone on Wlan, the Voip logo appears and the line internet calling becames "neuftalk: connexion en cours"
I can call, I hear my correspondent (ont the rear speaker as everybody) but I can't be heard.
If somebody think at a solution for my matter, i will be very happy. Thanks a lot.
NB: excuse me for my bad english, I'm a poor little french!
Hi, I 'm very happy because I succeed to activate correctly Voip client of WM6 with Neuftalk.
In order to be called during my call, I' modify the registry as that:
I create a key "codec" in hklm/comm and I add 2 value in codec:
- "UsePreferredCodec" with DWORD value data 1
- "PreferredAudioCodec" with DWORD value data 8
Now is ok. 4 matters stay:
- The sound is transmitted by the rear speaker but the handless permit using phone correctly.
- For calling, I must dial 0033 + phone number. I must modify ipdialplan.xml
- My correspondent can't hear me immediately at the call beggining. between 2 and 8sec are necessary.
- I can't use the "Neuf WIFI" public hotspot. I can send call but the communication stop automatically at 30sec. During this call, my correspondent and me can't speak.
herveduff said:
- For calling, I must dial 0033 + phone number. I must modify ipdialplan.xml
Click to expand...
Click to collapse
Hi,
I'm french too
Here is my ipdial to have french phone call :
<dialplan xmlns='http://schemas.microsoft.com/embedded/VoIP'>
<dialplan-header>
<host>#use_sipsrv_host_name#</host>
</dialplan-header>
<!-- Regles de Numerotations -->
<!-- Regles de numerotation IP -->
<rule pattern='\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
restrict='Cell,SMS'
/>
<rule pattern='(\d{1,3})\*(\d{1,3})\*(\d{1,3})\*(\d{1,3})'
dial='\1.\2.\3.\4'
display='\1.\2.\3.\4'
transfer='\1.\2.\3.\4'
restrict='Cell,SMS'
/>
<!-- Regles de numerotations Francaises -->
<rule pattern='0(\d{9})'
dial='sip:0\[email protected]$host$'
display='0\1'
transfer='sip:0\[email protected]$host$'
/>
<rule pattern='0(\d{1})\s*(\d{2})\s*(\d{2})\s*(\d{2})\s*(\d{2})(\s*[Xx]\s*\d+)?'
dial='sip:0\1\2\3\4\[email protected]$host$'
display='0\1\2\3\4\5'
transfer='sip:0\1\2\3\4\[email protected]$host$'
/>
<!-- Regles de numerotation generiques -->
<rule pattern='(00|+)(\d+)'
dial='sip:00\[email protected]$host$'
display='+\2'
transfer='sip:00\[email protected]$host$'
/>
<rule pattern='(\d+)'
dial='sip:\[email protected]$host$'
display='+\1'
transfer='sip:\[email protected]$host$'
/>
<!-- Regles de numerotation URI SIP -->
<!-- Appels entrants Freephonie -->
<rule pattern='[Ss][Ii][Pp][Ss]?:\s*0(\d{9})@(.+)'
display='0\1'
restrict='Cell,SMS'
/>
<rule pattern='[Ss][Ii][Pp][Ss]?:\s*(\d{3})(\d{3})(\d{4})@(.+)'
display='\1\2\3'
restrict='Cell,SMS'
/>
<rule pattern='([Ss][Ii][Pp][Ss]??\s*([a-zA-Z0-9_-]+)@(.+)'
display='\2'
restrict='Cell,SMS'
/>
<rule pattern='[Ss][Ii][Pp][Ss]?:\s*([^@]+)'
display='\1'
restrict='Cell,SMS'
/>
</dialplan>
Click to expand...
Click to collapse
good luck
THanks for you dial plan! that interest me but before modify my dialplan, I desesperate to make worked my voip client on public hot spot which block all ports except the port 80. If somebody has an idea, tell me please

internet access issues (apn)

i think i screwed up...
my wife called asking if i got a couple picture messages etc, i told her no. this is the day after i got the phone activated, rooted it then put on the latest jf update.
i assumed i musta messed up a setting some how. well i saw a thread on here some where re: mms messages, and to change the apn info from the epc settings to the voicestram settings, i did, and sent her one and she got it. i that all was good till i went to get online and got error after error.
so , to make a short story long...
any one have the apn settings for me to reapply?
i just tryed to coppy the ones from one of the other apn's over, but dont know the password etc...
so... after 2 restarts, it looks like all is well...?
i removed the proxys etc
it still doesnt show user name , password etc, but it looks like its up again...
if any one has any tips id still love to hear them...
i also saw typeing in 2.2.2.2. alowed yo to adjust tmobiles wb compresion? didnt work for me...
t1h5ta3 said:
i think i screwed up...
my wife called asking if i got a couple picture messages etc, i told her no. this is the day after i got the phone activated, rooted it then put on the latest jf update.
i assumed i musta messed up a setting some how. well i saw a thread on here some where re: mms messages, and to change the apn info from the epc settings to the voicestram settings, i did, and sent her one and she got it. i that all was good till i went to get online and got error after error.
so , to make a short story long...
any one have the apn settings for me to reapply?
i just tryed to coppy the ones from one of the other apn's over, but dont know the password etc...
Click to expand...
Click to collapse
Please remember to search before posting. Most of the times your question has already been asked thus already answered.
http://forum.xda-developers.com/showthread.php?t=475564
Good luck.
sorry, i guess i got tired of that thread re hashing att / uk settings over and over... i didnt make it thru to this....
haykuro said:
Why does everyone keep saying these are hidden?
They are easily accessible through /system/etc/apns-conf.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2006, Google Inc.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- use empty string to specify no proxy or port -->
<apns version="6">
<apn carrier="T-Mobile US"
mcc="310"
mnc="260"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 250"
mcc="310"
mnc="250"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 660"
mcc="310"
mnc="660"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 230"
mcc="310"
mnc="230"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 310"
mcc="310"
mnc="310"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 580"
mcc="310"
mnc="580"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 240"
mcc="310"
mnc="240"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 800"
mcc="310"
mnc="800"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 210"
mcc="310"
mnc="210"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 160"
mcc="310"
mnc="160"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 270"
mcc="310"
mnc="270"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 200"
mcc="310"
mnc="200"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 220"
mcc="310"
mnc="220"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<apn carrier="T-Mobile US 490"
mcc="310"
mnc="490"
apn="epc.tmobile.com"
user="none"
server="*"
password="none"
mmsc="http://mms.msg.eng.t-mobile.com/mms/wapenc"
/>
<!-- T-Mobile Europe -->
<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"
/>
<apn carrier="T-Mobile D"
mcc="262"
mnc="01"
apn="internet.t-mobile"
user="t-mobile"
password="tm"
server="*"
mmsproxy="172.028.023.131"
mmsport="8008"
mmsc="http://mms.t-mobile.de/servlets/mms"
/>
<apn carrier="T-Mobile A"
mcc="232"
mnc="03"
apn="gprsinternet"
user="t-mobile"
password="tm"
server="*"
mmsproxy="010.012.000.020"
mmsport="80"
mmsc="http://mmsc.t-mobile.at/servlets/mms"
type="default"
/>
<apn carrier="T-Mobile A MMS"
mcc="232"
mnc="03"
apn="gprsmms"
user="t-mobile"
password="tm"
server="*"
mmsproxy="010.012.000.020"
mmsport="80"
mmsc="http://mmsc.t-mobile.at/servlets/mms"
type="mms"
/>
<apn carrier="T-Mobile CZ"
mcc="230"
mnc="01"
apn="internet.t-mobile.cz"
user="wap"
password="wap"
server="*"
mmsproxy="010.000.000.010"
mmsport="80"
mmsc="http://mms"
type="default"
/>
<apn carrier="T-Mobile CZ MMS"
mcc="230"
mnc="01"
apn="mms.t-mobile.cz"
user="mms"
password="mms"
server="*"
mmsproxy="010.000.000.010"
mmsport="80"
mmsc="http://mms"
type="mms"
/>
<apn carrier="T-Mobile NL"
mcc="204"
mnc="16"
apn="smartsites.t-mobile"
user="*"
password="*"
server="*"
mmsproxy="010.010.010.011"
mmsport="8080"
mmsc="http://t-mobilemms"
type="default"
/>
<apn carrier="T-Mobile NL MMS"
mcc="204"
mnc="16"
apn="mms"
user="tmobilemms"
password="tmobilemms"
server="*"
mmsproxy="010.010.010.011"
mmsport="8080"
mmsc="http://t-mobilemms"
type="mms"
/>
</apns>
Click to expand...
Click to collapse

[Q] same code behave differently on linux/windows

I'm quit new to android and now following the book "Beginning Android Application Development".
One sample that shows how Android handle activities with same name just didn't work on my linux, which should prompt a dialog and let me choose the default action. I tried a lot and gave it up then. however, the same code behave correctly on a windows XP later. here is the snippet of my AndroidManifest.xml:
<activity android:name=".Activity2"
android:label="Activity 2">
<intent-filter>
<action android:name="com.xxx.ACTIVITY2" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".Activity3"
android:label="Activity 3">
<intent-filter>
<action android:name="com.xxx.ACTIVITY2" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
the code is like:
onClick() { startActivity(new Intent("com.xxx.ACTIVITY2")); }
on linux, it always shows the "Activity 2", on winxp, it prompts for a choice.
both are using "Eclipse indigo J2EE", Android gingerbread emulator for 2.3.3.
did I miss something? any help is appreciated.

Wind APN's

K so ive been playin around with all these roms recently and been having massive issues with MMS and txting in general not sending them to certain people/ Not receviceing from certain people.
Soooo I went and got access to a default XT720 and installed APN manager to figure out what they actually have in there by default....
theres 5... But anyways heres the APN's i just copied out of the XML from the backup. Even when i called wind they only said 2. and i know i had both of them in there when my TXT was messing up. So i really dont know whats going on cause im a noob at all this.
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
-<apns> <apn mmsc="null" server="*" password="*" user="*" apn="internet" mnc="995" mcc="310" carrier="Android"/>
<apn apn="internet.windmobile.ca" mnc="490" mcc="302" carrier="Internet" preferred="true" type="default"/>
<apn apn="internet.windmobile.ca" mnc="01" mcc="222" carrier="Internet R" type="default"/>
<apn mmsc="http://mms.windmobile.ca" apn="mms.windmobile.ca" mnc="490" mcc="302" carrier="MMS" type="mms" mmsport="8080" mmsproxy="74.115.197.70"/>
<apn mmsc="http://mms.windmobile.ca" apn="mms.windmobile.ca" mnc="01" mcc="222" carrier="MMS R" type="mms" mmsport="8080" mmsproxy="74.115.197.70"/>
</apns>
Click to expand...
Click to collapse
But after putting this on 2 different roms its fixed all my MMS/TXT sending/receving issues so far.
Heres the XML if anyone wants it...
http://s7icky.com/WindApnBackup.zip

[Q] Androd intent filter for notes

Hi, im searching for the internt-filter that my Note App can catch if, for example Google now want to save a Note. I know that Google Keep and GTask kann catch these, but witch is it?
EDIT:
got it:
<intent-filter>
<action android:name="com.google.android.gm.action.AUTO_SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
Click to expand...
Click to collapse
and in code with
String str = getIntent().getStringExtra("android.intent.extra.TEXT");
Click to expand...
Click to collapse

Categories

Resources