All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 30-06-2003, 01:50 PM
c.oza c.oza is offline
Registered User
 
Join Date: Jun 2003
Posts: 4
c.oza is on a distinguished road
Http Connection Problem.

Hi Everyone,

I am using P800 and trying to make an Http connection using java.net.URL class.

the code looks like this,

..

URL url = new URL("someUrl");
URLConnection uc = url.openConnection();
uc.setDoOutput(true);
uc.setDoInput(true);
InputStream ip = uc.getInputStream();

..

The url which I am trying to get connected is reachable using the browser,
but when i am using in my personal java application, it gives me connection timed out exception..

Does any one have a clue about it ?

Thanks,

Chintan.

  #2  
Old 03-07-2003, 09:48 AM
Edgedale's Avatar
Edgedale Edgedale is offline
Moderator
 
Join Date: Sep 2002
Location: Coral Edge, Edgedale Plains, Singapore
Posts: 1,371
Edgedale is on a distinguished road
Malebuffy can answer you that.

Btw, i will help you to move this thread to Symbian Java group.
__________________
There's no stupid question just stupid answer

"Ask and you will get. Seek and you will find"
Ads
 

Bookmarks

Tags
connection, http, problem

Thread Tools
Display Modes

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



All times are GMT. The time now is 06:10 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy