×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    4

    Help! RConnection::Start doesn't work on s60 2nd fp3

    Pls help me!!

    I am trying to write a http client according to the Simple Http Example.

    However, the RConnection::Start doesn't return.
    There are a lot of meaningless package data printed on the debug window after I call Start() in the emulator.

    The build-in browser in the emulator could work.
    But the simple http example could not work.
    According to the debug output, the example fail for the same reason, that the start doesn't return.

    Who knows how to fix it?

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: Help! RConnection::Start doesn't work on s60 2nd fp3

    did you code like this or your emulator have ethernet settings?

    TCommDbConnPref connectPref;
    connectPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt);
    connectPref.SetDirection(ECommDbConnectionDirectionUnknown);
    connectPref.SetBearerSet(ECommDbBearerGPRS);
    connectPref.SetIapId(iapID);
    User::LeaveIfError(iConnection.Start(connectPref));
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    4

    Re: Help! RConnection::Start doesn't work on s60 2nd fp3

    Yes, I do have those code.

    I have set break point at the conn.Start() and I sure that the emulator does executed the function.

    I found the build-in browser load different plug-in dll when access the network.
    I wonder what does nokia use in their own program.

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Help! RConnection::Start doesn't work on s60 2nd fp3

    Can you please post the code seqence where you are setting up the connection preferences and start the connction ?

Similar Threads

  1. creating s60 2nd edition application launcher
    By puh_sk8@hotmail.com in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-01-09, 08:25
  2. Replies: 0
    Last Post: 2006-08-31, 20:52
  3. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29
  4. samples - 2nd edition s60 fp3
    By mikedibley in forum Symbian
    Replies: 0
    Last Post: 2006-06-03, 19:13
  5. "coetextdrawer.h" is missing in S60 2nd Ed. FP3
    By Ivey2006 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-05-29, 14: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
  •  
×