BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Carrier Specific Issues (http://www.blackberryforums.com/forumdisplay.php?f=131)
-   -   Can APN setting be ignored ? (http://www.blackberryforums.com/showthread.php?t=188871)

sandesh3 05-06-2009 12:26 AM

Can APN setting be ignored ?
 
I have a small application developed in RIM JDk and J2Me. The application simply trying to access the server URL using following code.

HttpConnection Myhc = null;
boolean MyResult = false;
String url = "http://SomeIP:Port/MyDirectory/index.jsp";
try{
Myhc = (HttpConnection) Connector.open(url);
MyResult = true;
}

The server is Sun Java Application Server 8.2. In order to work this code i have to configure the APN String. Since I want this code should work without defining APN string since the string will be different from provider to provider.
I when this code will deployed on any BB phone, it should work and the user dont have to configure APN setting.
is there any way that we can ignore APN setting and access remote machine ? Same as how mobile browser access internet without defining APN setting

dc/dc 05-06-2009 06:32 AM

Please check the Developers section.


All times are GMT -5. The time now is 03:00 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.