Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2008

    HttpConnection problem on Nokia N80

    Hi all,
    I'm having trouble when I attempt to open an HttpConnection on my Nokia N80. I want to download an image from the internet so the first thing i do is:

    HttpConnection hc = (HttpConnection)Connector.open(URL);

    to open the connection. When i try it on my Nokia N80 it retrieves "Unhandled exception. Close application?".
    I know the exception is on that line of code because i commented all the code after that and it still retrieved the exception.
    Before that the application connects to the internet as a web service client (i'm using a framework called kSOAP2 to do that so i don't have to explicitely open the connection because the framework does that in some way) and it works fine.

    The code works good on the Nokia emulator that i use (6230i) and also works well when I try it on a Pocket PC. It seems to be a Nokia N80 problem (or maybe a S60 3rd edition problem?)
    Do someone know what's wrong here or had the same issue?


  2. #2
    Registered User
    Join Date
    Feb 2008
    Russia, Samara

    Re: HttpConnection problem on Nokia N80

    Use somthing like this

      HttpConnection hc = (HttpConnection)Connector.open(URL);
    }catch(Exception e){
    mainForm is form shown this moment. You will see what Unhandled exception is.

Similar Threads

  1. ###Upgrading Firmware###
    By zahid44 in forum General Development Questions
    Replies: 27
    Last Post: 2008-10-21, 07:17
  2. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  3. What is the real problem to receive data calls with Nokia TDMA cell modem?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-12-04, 16:05

Posting Permissions

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