×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Portland, OR
    Posts
    152

    Nokia 7270 HTTP Connection

    Hi everyone,

    Everytime I try and open an HTTP connection on a Nokia 7260/7270 I get an IOException.toString = "Error in HTTP connection". It works fine on any other Nokia phone (6010, 6230, 3120, 6630, etc), just not on 7270.

    Does anyone know of any issues with this phone?

    Here is how I open it (in a seperate thread):
    Code:
    try {
       conn = (HttpConnection)Connector.open(URL);
       conn.setRequestMethod(HttpConnection.GET);
       conn.setRequestProperty("Content-Type","//text plain");
       conn.setRequestProperty("Connection","close");
    Any help will be very much appreciated. I am going nuts over this problem!!

    Mounir

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    103

    Re: Nokia 7270 HTTP Connection

    Perhaps you can delete :

    conn.setRequestProperty("Content-Type","//text plain");
    conn.setRequestProperty("Connection","close");

    and try it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •