BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-06-2009, 12:26 AM   #1
sandesh3
New Member
 
Join Date: May 2009
Model: 8700
PIN: N/A
Carrier: GPRS
Posts: 2
Unhappy Can APN setting be ignored ?

Please Login to Remove!

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
Offline  
Old 05-06-2009, 06:32 AM   #2
dc/dc
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,524
Default

Please check the Developers section.
__________________
I h8 txtspk.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


DCI FOOT SWITCH PEDAL 2 POSITION 1/PK. SELECT SPS # 9406 picture

DCI FOOT SWITCH PEDAL 2 POSITION 1/PK. SELECT SPS # 9406

$132.99



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$19.95



WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch picture

WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch

$110.19



40A Manual Transfer Switch Line-Off-Gen for (2)120V or (1)240V Device, UL Listed picture

40A Manual Transfer Switch Line-Off-Gen for (2)120V or (1)240V Device, UL Listed

$69.25



1/8-1/2 INCH NPT ELECTRIC RADIATOR FAN THERMOSTAT TEMP-ERATURE SENSOR SWITCH KIT picture

1/8-1/2 INCH NPT ELECTRIC RADIATOR FAN THERMOSTAT TEMP-ERATURE SENSOR SWITCH KIT

$19.95



Generac PWRcell CXSW200A3 Automatic Transfer Switch NEW -- Free Returns picture

Generac PWRcell CXSW200A3 Automatic Transfer Switch NEW -- Free Returns

$629.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.