BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-25-2008, 01:01 AM   #21
nanika
Knows Where the Search Button Is
 
Join Date: Mar 2008
Location: Paris, France
Model: None
PIN: N/A
Carrier: None
Posts: 36
Default

Please Login to Remove!

What's important is whether you connect through a BES, a BIS or a WAP gateway, not over which kind of network...
Offline  
Old 08-25-2008, 01:27 AM   #22
arunk
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
Question

Is there a way to Identify that?

I am developing a blackberry application which reads an xml file from a website.

I want to know which type of internet connection is available and according to that connect to the internet .. Is it possible to do this programatically?



In the case TCP (requiring a correct WAP configuration)= ";deviceside=true"

how can we get the wap configuration (apn and gateway) programatically?

Last edited by arunk; 08-25-2008 at 01:39 AM..
Offline  
Old 12-04-2008, 01:09 AM   #23
ggovind
New Member
 
Join Date: Dec 2008
Model: Bold
PIN: N/A
Carrier: ATT
Posts: 7
Default BIS-B actually helped

Nanika,
your suggestion to use BIS-B really helped my with the Connector.open(url) timed out issue. thanks for that.

now I'm getting the error code 411 which is HTTP_LENGTH_REQUIRED. I'm setting it with
conn.setRequestProperty("Content-Length", Integer.toString(data.length()));

but still it complains. Any help?

thanks,
G


Quote:
Originally Posted by nanika View Post
In case this is helpful, here are the parameters I add to the URL for various configurations, which appear to be all working correctly:
  • Default (BES) = no string
  • MDS (to force use of an MDS on the BES) = ";deviceside=false"
  • WiFi = ";deviceside=true;ConnectionUID=S TCP-WiFi;ConnectionSetup=delayed;retrynocontext=true" or simply ";deviceside=true;interface=wifi"
  • BIS-B = ";deviceside=false;ConnectionType=mds-public"
  • TCP (requiring a correct WAP configuration)= ";deviceside=true"
I guess the configuration for "BIS-B" is the one you're looking for.

Now, I wish I could determine the right configuration programmatically instead of having the user select his/her configuration.
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


OEM  IBM Type 5441 WheelWriter 3 1356658 1362400-02 Main Boards Tested Working picture

OEM IBM Type 5441 WheelWriter 3 1356658 1362400-02 Main Boards Tested Working

$49.99



IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259 picture

IBM Genuine OEM Printer Filler Wide Credit Card Holder 10N1259

$24.79



IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM picture

IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM

$2.99



IBM CASH DRAWER KEY'S #9960 SET OF 2 KEYS. AFTERMARKET KEY'S SAME AS OEM 33G3360 picture

IBM CASH DRAWER KEY'S #9960 SET OF 2 KEYS. AFTERMARKET KEY'S SAME AS OEM 33G3360

$18.00



IBM Selectric Part OEM 1141763 13

IBM Selectric Part OEM 1141763 13" Velocity Cable

$13.45



OEM IBM 2210 2210-12E Switch 16MD DRAM picture

OEM IBM 2210 2210-12E Switch 16MD DRAM

$175.00







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