×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Nov 2008
    Location
    Cairo-Egypt
    Posts
    80

    Smile application close when i make a call !!!

    hi every one.
    i make an application for making calls.
    by the way mentioned in WIKI at this link
    http://wiki.forum.nokia.com/index.ph...ith_CTelephony

    i make the following exactly:-
    1-.h file
    2-.cpp file
    3-in container view i make a function
    void CCallContainerView:iall(const TDesC& aNumber)
    {
    iCallDialer = new (ELeave)CCallDialer(*this);
    iCallDialer->ConstructL(aNumber);


    }
    4-i implement Virtual function as follow

    void CCallContainerView::CallDialedL(TInt aError)
    {

    delete iCallDialer;
    iCallDialer = NULL;


    }
    5-i inherit in container view.h
    ass CCallContainerView : public CAknView,MDialObserver

    6-include Makecall.h
    7-i call function to make my call
    TBool CCallContainerView::HandleCall_0128221752MenuItemSelectedL( TInt aCommand )
    {
    _LIT(n,"0128221752");

    CCallContainerView:iall(n);

    // TODO: implement selected event handler
    return ETrue;
    }

    when i launch my application and choose menu item to call
    but on real device the call is done successfully but the application is closed once i start call by pressing menu item!! can i face this problem
    i want this call in the background we can say silent call i don't need to hear or talk.
    thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: application close when i make a call !!!

    check the reason for the crash with this one: http://wiki.forum.nokia.com/index.ph...ded_panic_code

  3. #3
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: application close when i make a call !!!

    My suggestion to you is first of all tell us what panic you are getting when your application is crashing. Debug your app and see on which line it's crashing.

    For making call in background you have to do some tricks. Make your own window and show it on foreground to suppress telephony UI.

  4. #4
    Registered User
    Join Date
    Nov 2008
    Location
    Cairo-Egypt
    Posts
    80

    Re: application close when i make a call !!!

    Quote Originally Posted by symbianyucca View Post
    check the reason for the crash with this one: http://wiki.forum.nokia.com/index.ph...ded_panic_code
    on emulator i get Etel Server 1 Panic! but i know that Network Services didn't work properly on emulator so i tried it on Real Device and get this result!
    any suggestion?

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

    Re: application close when i make a call !!!

    Hi,

    When call placed, your application will be send to background; the application get closed after call might be because you have not listen your voice line again after, call get disconnected.
    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]

  6. #6
    Registered User
    Join Date
    Nov 2008
    Location
    Cairo-Egypt
    Posts
    80

    Re: application close when i make a call !!!

    Quote Originally Posted by kkrish View Post
    Hi,

    When call placed, your application will be send to background; the application get closed after call might be because you have not listen your voice line again after, call get disconnected.
    ok that is true but what can i do to avoid this.
    i will tell you something my application want to call some number for 2 minutes and during this minutes i make some measurements and call is ended and initiated again and so on,
    what can i do?

  7. #7
    Registered User
    Join Date
    Nov 2008
    Location
    Cairo-Egypt
    Posts
    80

    Re: application close when i make a call !!!

    how can i make it?
    and make a call in the background?

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: application close when i make a call !!!

    What is the panic in Real Device ?

    And what are you excatly doing (what part of code is executed) when you get the error ?

  9. #9
    Registered User
    Join Date
    Nov 2008
    Location
    Cairo-Egypt
    Posts
    80

    Re: application close when i make a call !!!

    there is no any panics or errors on real device

    my problem is the application closed from itself while making call!!!!
    i want it to still work and call is in the background

  10. #10
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: application close when i make a call !!!

    it is closing itself because it is crashing. So check the link given to catch the panic code. If you fail to get it in any othr way, they try out my Y-Tasks::Crash monitor, it will always get the process exit code.

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

    Re: application close when i make a call !!!

    Quote Originally Posted by zohirey2 View Post
    how can i make it?
    and make a call in the background?
    For backgroung application, you can develop an exe that has no UI. so it will not be shown in tasklist to the user.
    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]

Similar Threads

  1. Can not make call, please help!
    By stone_cheng in forum Symbian
    Replies: 3
    Last Post: 2008-08-21, 16:11
  2. errors when building?
    By neilxp in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-04-18, 14:10
  3. Replies: 5
    Last Post: 2006-09-27, 17:33
  4. Replies: 1
    Last Post: 2006-03-08, 04:41

Posting Permissions

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