Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor silviuccia's Avatar
    Join Date
    Aug 2006
    Posts
    252
    Hi,
    how to data call?
    More example? for more sdk.
    Tanks a lot
    SIlvia

  2. #2

  3. #3
    Regular Contributor silviuccia's Avatar
    Join Date
    Aug 2006
    Posts
    252
    Hi write this code:
    /* Define the client class */
    #include <Etel3rdParty.h>
    #include "Client.h"
    #include <eikenv.h>
    #include <etel.h>


    CClientApp::CClientApp(TInt aPriority ) : CActive( aPriority )
    {
    ConstructL();
    }


    void CClientApp::ConstructL()
    {
    CEikonEnv::Static()->AlertWin(_L("inizio costruttore"));
    iTelephony = CTelephony::NewL();
    CActiveScheduler::Add(this);
    CEikonEnv::Static()->AlertWin(_L("fine costruttore"));
    }

    CClientApp::~CClientApp()
    {
    /* Cancel(); // if any request outstanding, calls DoCancel() to cleanup
    delete iTelephony;*/
    }

    void CClientApp::MakeCall()
    {
    _LIT(KNumberToDial, "+393282512955");
    /*iTelephony->EstablishDataCall(iStatus,iDataPort,KNumberToDial);
    iState = EEstablishing;
    SetActive();*/
    }

    void CClientApp::RunL()
    {
    _LIT8(KDataToWrite,"1234567890");
    /* if ( (iStatus == KErrNone) && (iState = EEstablishing) )
    {
    iDataPort.Write(iStatus,KDataToWrite);
    iState = EWriting;
    SetActive();
    }
    else
    iTelephony->TerminateDataCall();*/
    }

    void CClientApp:oCancel()
    {
    /*iDataPort.Cancel();
    iTelephony->CancelEstablishDataCall();*/
    }
    In my phone thi Applycation crach (nokia 6680).
    In emulator done thi error : "system error (-2017)

    What is the problem??
    Thank
    Silvia

Similar Threads

  1. Establishing a data call
    By aljaz24 in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2009-08-04, 14:41
  2. Nokia 6680: Concurrent data and voice call
    By magiconair in forum General Development Questions
    Replies: 0
    Last Post: 2006-04-08, 23:35
  3. Replies: 0
    Last Post: 2004-12-20, 21:48
  4. Data Call, Voice Call & LoanDataPort()
    By tektronic in forum Symbian C++
    Replies: 1
    Last Post: 2004-12-01, 21:47
  5. How can I catch a Data Call?
    By kangtk in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-05-15, 03:21

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