BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-25-2010, 02:32 AM   #1
SachinKanade
New Member
 
Join Date: Mar 2010
Model: 8110
PIN: N/A
Carrier: vodafone
Posts: 11
Default Timed Out exception

Please Login to Remove!

Hi all,

I have developed j2me blackberry application.

In that application i am connecting to the server through the http connection.

On Black Berry Simulator it's working fine,but on blackberry device i am getting Timed Out exception.

How will handle this,please help me.
Offline  
Old 03-25-2010, 02:41 AM   #2
vivartpandey
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Default

Are you using a right connection string??
__________________
blog.vimviv.com
Offline  
Old 03-25-2010, 03:46 AM   #3
SachinKanade
New Member
 
Join Date: Mar 2010
Model: 8110
PIN: N/A
Carrier: vodafone
Posts: 11
Default

Not getting??
Offline  
Old 03-25-2010, 03:56 AM   #4
vivartpandey
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Default

in blackberry you should create http connection like this.
connection = (HttpConnection) Connector.open(url + ConnectionString);

because of that i was asking
are you using a right connection string.
__________________
blog.vimviv.com
Offline  
Old 03-25-2010, 04:19 AM   #5
SachinKanade
New Member
 
Join Date: Mar 2010
Model: 8110
PIN: N/A
Carrier: vodafone
Posts: 11
Default

I am not using any ConnectionString
what should i have to use for creating the connection
Offline  
Old 03-25-2010, 04:32 AM   #6
vivartpandey
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Default

because of that its running on simulator but you are getting error on real device.
read these articles.

How to reliably establish a network connection on any BlackBerry device
OR
How to programmatically connect to the internet in blackberry
__________________
blog.vimviv.com
Offline  
Old 03-26-2010, 02:07 AM   #7
SachinKanade
New Member
 
Join Date: Mar 2010
Model: 8110
PIN: N/A
Carrier: vodafone
Posts: 11
Default

Hi,
When i am making http connection to server through J2me in blackberry device, i am getting "Timed Out" exception every time.
How will i solve this issue?
Offline  
Old 03-26-2010, 02:51 AM   #8
karankatare
New Member
 
Join Date: Sep 2008
Model: 8820
PIN: N/A
Carrier: OB
Posts: 5
Default

If you test your application on the Blackberry activated on any BES it will work. If your device is not activated with any BES, then you have to identify the communication path. For example, if you are using BIS service, then you have to append the connection suffix for BIS; if you are using wifi connectivity, you have to append the connection suffix for wifi. If you need more info, search the Blackberry knowledge base articles for connectivity.
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


Jelenko Commodore LS VPF with Pump  picture

Jelenko Commodore LS VPF with Pump

$875.00



Vintage MOS 8502 8502R0 Commodore C64 very rare good condition x 1pc picture

Vintage MOS 8502 8502R0 Commodore C64 very rare good condition x 1pc

$22.00



6500/1 A 6502 VARIENT CPU COMMODORE USE IN AMIGA KB & 1520 PLOTTER NMOS NCR NOS picture

6500/1 A 6502 VARIENT CPU COMMODORE USE IN AMIGA KB & 1520 PLOTTER NMOS NCR NOS

$5.89



MCR 6003L Commodore PVC/Non-Woven Poly/Nylon RAIN Suit 3 PC YELLOW  SIZE LARGE picture

MCR 6003L Commodore PVC/Non-Woven Poly/Nylon RAIN Suit 3 PC YELLOW SIZE LARGE

$13.99



Windsor Commodore Duo 20

Windsor Commodore Duo 20" Carpet extractor w/Lester Charger 25900/Battery/99hour

$2519.95



POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4 picture

POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4

$178.04







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