Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User Slavik.Norns's Avatar
    Join Date
    Jan 2007
    Posts
    4
    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
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    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));

  3. #3
    Registered User Slavik.Norns's Avatar
    Join Date
    Jan 2007
    Posts
    4
    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 ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved