Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
amardeepjaiman
Posts: 286
Registered: 02-25-2009

problem in https connection after switching to wifi network

[ Edited ]

Hi,

Hi,

 

 

Hi,

 

 

 

I am facing a problem related to https connection while switching to wifi network on device. Scnario is as described :

Hi,

 

 

 

I am facing a problem related to https connection while switching to wifi network on device. Scnario is as described :

 

Presently only operator networks is checked in manage connection, and i make an http request from my application, before completion of this request i switch on the wifi of device using Switch application feature. I have implemented the listeners to catch this event and i cancel/close/null the ongoing request. I am closing the connection/streams and rerequesting the same request using wifi network. But this time application gets hanged on Connecter.open() means device is not able to make connection object for me.

Hi,

 

 

 

I am facing a problem related to https connection while switching to wifi network on device. Scnario is as described :

 

Presently only operator networks is checked in manage connection, and i make an http request from my application, before completion of this request i switch on the wifi of device using Switch application feature. I have implemented the listeners to catch this event and i cancel/close/null the ongoing request. I am closing the connection/streams and rerequesting the same request using wifi network. But this time application gets hanged on Connecter.open() means device is not able to make connection object for me.

 

Please revert if anyone has any idea abt this scnario.

Please use plain text.
Developer
Rajat_10Sep
Posts: 684
Registered: 12-02-2008

Re: problem in https connection after switching to wifi network

Hi.

 

I am also facing same kind of problem.

 

If anyone has any solution or idea how to proceed forward , please let me know.

Regards,
Rajat Gupta.
--------------------------------------------------------------------------------
If your problem was get solved then please mark the thread as "Accepted solution" and kudos - your wish
Please use plain text.
Developer
amardeepjaiman
Posts: 286
Registered: 02-25-2009

Re: problem in https connection after switching to wifi network

@peter strange' I am waiting for your comments on this device behaviour. Please let me know if you dont get the problem from my statement as it became unformatted .

Please use plain text.
Regular Visitor
singhnavendra
Posts: 1
Registered: 10-21-2010

Re: problem in https connection after switching to wifi network

Hi,

I am also facing the same problem but in different scenerio.

 

In my application i am making a server request on WIFI network and in between I am switching to operator network,

On switching operator i am cancelling the ongoing server request and trying to send it over Opearator network again.

while debuggin i have found That the application gets hang while opening the connection i.e on "connector.Open";(Though vice versa is working fine i.e swithinc from operator to Wifi network)

 

But if i toggle the operator network setting  by going out side the app from Manage Connection it works fine:smileyhappy:

 

this is very strange that for same steps on Curve3 i am not getting any issues ...For me its coming on Curve2 only.

 

One solution i have tried which is working some how  but its not a  a preffered solution...

 

I have toggled the settings programmatically by providing sleep of 10 seconds using

Radio.deactivate (networkID) and Radio.activatate(networkId) and its working fine.

 

 

 

 

 

 

 

 

 

Please use plain text.
New Member
raj_J2ME
Posts: 1
Registered: 04-01-2011
My Carrier: Vodafone

Re: problem in https connection after switching to wifi network

Hi amardeepjaiman,

 

This is really interesting area of research for the mobile devices. Have you got any solution/updates on this thread?

 

Thanks with Regards,

Raj - The Kernel

 



Please use plain text.
Contributor
manojkbaghela
Posts: 14
Registered: 10-21-2010
My Carrier: no

Re: problem in https connection after switching to wifi network

Yes, I have also face this problem. If you resolve this problem then use the servicebook api and udiconnection concept in your http connection . Your application is search dynamically the network then http connection is success and get your data from output stream.

Please use plain text.