I am developing one application in which i want to know how to retrieve APN name so please help me.Thanks in advance
Asked
Active
Viewed 785 times
4
-
Why you need this...?? Please provide more information... – V.J. Mar 29 '12 at 09:08
-
AS i am having 2 Wi Fi in my area so currently I am using which wi fi that i want to know about...please help me – 1001 Mar 29 '12 at 10:08
-
Try this http://stackoverflow.com/questions/1443946/how-to-detect-available-apn-settings – Rince Thomas Mar 29 '12 at 10:58
1 Answers
1
You can get Apn setting as following code:
ServiceRecord st = new net.rim.device.api.servicebook.ServiceRecord();
System.out.println("APN Setting: "+st.getAPN());

Suresh Kerai
- 891
- 1
- 6
- 20
-
`st.getAPN()` is returning null even though I've set the name in TCP/IP configuration. – Mudassir Jul 05 '12 at 03:39
-
http://supportforums.blackberry.com/t5/Java-Development/Access-and-Obtain-Service-Books-on-a-device/ta-p/444756 – Suresh Kerai Jul 07 '12 at 08:38