×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    3

    Application written for 5800 XM doesn't work on N97 Mini

    Hello everybody,
    I hope that someone could point me in the right direction to solve my problem, because I'm very new to Symbian programming.
    I have written a small C++ application, based on HTTPClient sample, which reads a HTML page, do some parsing and then displays some data.
    I've targeted this application to general S60 v5 SDK, and both on emulator and real device, in my case a 5800 XM, worked fine. Then I had to switch to a N97 Mini, and the same application don't work anymore.

    The problem is that after receiving the THTTPEvent::EResponseComplete notification through MHFRunL, on 5800 I receive the THTTPEvent::ESucceeded, and on N97 mini I receive the error -1 through MHFRunError, even if the web page read is ok.

    I have read that N97 (not mini) have it's own SDK, but apart from specific features of N97 (sensor API, homescreen widgets, etc), the SDK is fully compatible with general S60 v5 SDK.

    So, the first question is: do I have to install N97 specific SDK, even if I have the Mini version, or I have to look elsewhere to find the problem?

    Thanks in advance,
    Giuseppe

  2. #2
    Super Contributor
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: Application written for 5800 XM doesn't work on N97 Mini

    Is N97 having the internet connectivity?
    check it, it might not be there , due to this your application is getting -1 error.
    Regards
    $-Nitesh-$

  3. #3
    Registered User
    Join Date
    Oct 2010
    Posts
    3

    Re: Application written for 5800 XM doesn't work on N97 Mini

    Yes, it has, because he can read the whole page (I checked, because I save it on disk).
    Instead of a THTTPEvent::EResponseComplete, as in 5800, I receive a -1 error through MHFRunError.

  4. #4
    Super Contributor
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: Application written for 5800 XM doesn't work on N97 Mini

    Quote Originally Posted by peppedesonente View Post
    Yes, it has, because he can read the whole page (I checked, because I save it on disk).
    Instead of a THTTPEvent::EResponseComplete, as in 5800, I receive a -1 error through MHFRunError.
    then see the List for panics of Transport Framework Client you can see here:
    http://developer.symbian.org/main/do...B9652A172.html

    and -1 indicates KErrNotFound,Unable to find the specified object .
    Regards
    $-Nitesh-$

  5. #5
    Regular Contributor
    Join Date
    May 2010
    Posts
    362

    Re: Application written for 5800 XM doesn't work on N97 Mini

    Answer for your original question: No you don't need the N97 specific SDK. THe problem is most likely somewhere else.

  6. #6
    Registered User
    Join Date
    Oct 2010
    Posts
    3

    Re: Application written for 5800 XM doesn't work on N97 Mini

    Thanks for all the answers.
    But remains the strange thing that same code works in a different manner among two different devices...

Similar Threads

  1. System error in 5800 xm. Not able to remove some application.
    By amarmeena1992 in forum General Development Questions
    Replies: 3
    Last Post: 2010-10-01, 21:00
  2. Replies: 2
    Last Post: 2010-05-31, 09:59
  3. Flash application on 5800 can't use in N97/mini??
    By nuthon in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2010-05-24, 08:01
  4. Breakpoints do not work when debugging application on 5800 XM device from Carbide
    By viktor.burka in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 7
    Last Post: 2009-11-30, 19:28

Posting Permissions

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