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


1747-M13/A ABoriginal packaging   SLC EEPROM Memory module 1747M13  Brand new GN picture

1747-M13/A ABoriginal packaging SLC EEPROM Memory module 1747M13 Brand new GN

$309.99



CH341A 24 25 Series EEPROM Flash BIOS USB Programmer Module + SOIC8 Test Clip picture

CH341A 24 25 Series EEPROM Flash BIOS USB Programmer Module + SOIC8 Test Clip

$5.88



10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs USA picture

10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs USA

$17.98



10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs US picture

10PCS W27C512-45Z W27C512 DIP IC EEPROM 512KBIT 45NS Winbond EEPROMs US

$19.59



5PCS EEPROM IC ATMEL DIP-28 AT28C256 AT28C256-15PU US picture

5PCS EEPROM IC ATMEL DIP-28 AT28C256 AT28C256-15PU US

$33.99



10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512 picture

10* DIP-28 Eeproms Programmable Flash Chip For SST27SF512-70-3C-PG SST 27SF512

$28.31







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