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


Schneider Electric Inverter ATV320 7.5kW ATV320U75N4B New Sealed- picture

Schneider Electric Inverter ATV320 7.5kW ATV320U75N4B New Sealed-

$760.00



New original  inverter ATV320U22N4B Fast shipping  picture

New original inverter ATV320U22N4B Fast shipping

$308.00



NEW LS Inverter SV022iG5-2 picture

NEW LS Inverter SV022iG5-2

$540.00



New original  inverter ATV312H055N4 Fast shipping  picture

New original inverter ATV312H055N4 Fast shipping

$254.00



VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V picture

VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V

$159.99



Lenze EMZ8201BB Inverter Panel 358056 picture

Lenze EMZ8201BB Inverter Panel 358056

$165.33







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