×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    53

    Start application when a call is ending

    Hi all,

    I try to make an application that when a call is ending, it must work. How can I this application?

    Thank you all.

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

    Re: Start application when a call is ending

    just make an application that monitors the call status, and then runs the other application when the call is ending, or simply do the stuff in the monitoring application itself.

    Wiki would be a good point on starting, for example you could look for exmaples using CTelephony API.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Start application when a call is ending

    Quote Originally Posted by honour88 View Post
    Hi all,

    I try to make an application that when a call is ending, it must work. How can I this application?

    Thank you all.
    A good start would be looking into CTelephony API to observe ongoing calls. See this article: Monitoring_call_status_with_CTelephony

    Then look into this article: How to start and stop exe
    Nokia Developer Wiki Moderation team

  4. #4
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    53

    Re: Start application when a call is ending

    Okey but I didn't understand just one point. will My call detect application run automaticly when ı install on device or must I do something like registration to the device?

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Start application when a call is ending

    Quote Originally Posted by honour88 View Post
    Okey but I didn't understand just one point. will My call detect application run automaticly when ı install on device or must I do something like registration to the device?
    You can use FILERUN, RUNINSTALL options to start your application as soon as it gets installed. Search for the keywords on SDK help or Wiki.
    Nokia Developer Wiki Moderation team

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

    Re: Start application when a call is ending

    Also search for autostart etc. for starting the app on boot time.

  7. #7
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    53

    Re: Start application when a call is ending

    Hi again,

    I used callsmonitor function but it doesn't detect. Here is my observer class code;


    void CdetectContainerView::CallStatusChangedL(CTelephony::TCallStatus& aStatus, TInt aError)
    {
    if(aStatus == CTelephony::EStatusDisconnecting)
    {
    getfunction();
    }
    }


    Can you help?

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Start application when a call is ending

    Does it really go to CallStatusChangedL ? And which way the call is terminated? From Caller side or from callee side?
    Nokia Developer Wiki Moderation team

  9. #9
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,086

    Re: Start application when a call is ending

    are you implemeting active objects for all these telephony functions, i mean are you deriving your class from CActive & implemeting all active objects like RunL() etc..

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

    Re: Start application when a call is ending

    I wouls also debug to see what events are really detected..

  11. #11
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    53

    Re: Start application when a call is ending

    I don't know go to CallStatusChangedL . I can't debug this code. kiran10182 :both sides. I install it my phone.

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

    Re: Start application when a call is ending

    you could for example use RFile, and write some debugging infomration into the file while running the app..

  13. #13
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Start application when a call is ending

    Quote Originally Posted by honour88 View Post
    I don't know go to CallStatusChangedL . I can't debug this code. kiran10182 :both sides. I install it my phone.
    One quick check. Do you have NetworkServices capability in your .mmp file? If not then please add it and rebuild your application.
    Nokia Developer Wiki Moderation team

  14. #14
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    53

    Re: Start application when a call is ending

    It's okey, I detected. Now I must do that the application must start automaticly.

    Thank you all.

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

    Re: Start application when a call is ending

    for the one you could search for autostart etc. in this forum..

Similar Threads

  1. Initiate a phone call from a Flash Lite application 3.0
    By narender_raul in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2009-03-09, 16:11
  2. Device Error Exception in player application when call is in progress.
    By prakashvs in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2009-03-09, 06:10
  3. My application should call
    By mayankkedia in forum Symbian
    Replies: 1
    Last Post: 2006-11-28, 04:34
  4. Replies: 1
    Last Post: 2006-03-08, 04:41
  5. How to start an application via Bluetooth on Nokia 6670?
    By anummiah in forum Mobile Java General
    Replies: 3
    Last Post: 2006-01-05, 11: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
  •  
×