×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Location
    Pune, India
    Posts
    75

    Automatic Launching Application When Their is incomming call

    Hi,

    I am developing an application which should be launched when their is an incoming call. (Example could be ring tone player which gets launches when their is call and plays a tone.)

    My application is also of similar kind. A traditional approach would be to launch a application in background at the boot time which continue sly poll for incoming call.
    But as Profile engine launches the tone player so their should be some mechanism to launch my application or dll and receive the notification (using ecom or anything else) which launch my application.


    I am using S60 2nd ed Fp2 SDK.

    Ashfaq Ghori
    Last edited by ashfaq.ghori; 2006-09-27 at 11:44.
    Ashfaq Ghori
    Symbian Developer
    Mumbia - India

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Karlsruhe, Germany
    Posts
    8

    Re: Automatic Launching Application When Their is incomming call

    Hi,

    make your program running in the background, listen for a call and pop to front.

    Regards,
    /holgi.

  3. #3
    Regular Contributor
    Join Date
    Mar 2006
    Location
    Pune, India
    Posts
    75

    Re: Automatic Launching Application When Their is incomming call

    Thanks 4 ur quick reply.

    But, this is a basic technique that u are describing and mentioned in my post. I am interested in a technique in which my application only launches when there is a call, else it should not use very expensive ram.

    I am elaborating my requirement:

    When there is call then phone gets that notification. this signals the profiler and profiler launches the tone player. now my player could be any player. If I develop a player that understand the some specific audio format, than how should I plug-in this player into existing framework

    Thanks In Advance

    Ashfaq Ghori
    Ashfaq Ghori
    Symbian Developer
    Mumbia - India

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

    Re: Automatic Launching Application When Their is incomming call

    you need to use NotifyIncomingCall whenever the call comes you will find the notification and then you can do what ever you want.

    but you need a app/exe that runs in background to notifyIncomingCall.

    read teh following call:
    RCall
    RPhone
    RLine

    Regards,
    KKrish

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Automatic Launching Application When Their is incomming call

    Create tiny exe, which would wait for incoming call and launch your normal app

    Sergey

  6. #6
    Registered User
    Join Date
    May 2003
    Location
    London
    Posts
    40

    Re: Automatic Launching Application When Their is incomming call

    Well you could either have a loader application that uses very little ram and just waits for the incoming call (not polling but gets notified) and when a call does happen it then starts your main application

    or

    have your main application sit idle and not use much ram, wait for the incoming call event, then do whatever you need to do (increasing your ram usage as needed) then clean up after yourself and go back to idle state

Similar Threads

  1. automatic sms sending application
    By jason_rency in forum General Messaging
    Replies: 7
    Last Post: 2010-01-09, 02:36
  2. Replies: 4
    Last Post: 2006-06-19, 07:30
  3. Register incomming call with Python
    By mgade in forum Symbian
    Replies: 4
    Last Post: 2006-02-27, 10:51
  4. Launching application with the highest ordinal priority.
    By Shaikuny in forum Symbian User Interface
    Replies: 2
    Last Post: 2004-12-01, 18:27
  5. call an application from inside another
    By smallfish_ntu in forum Symbian
    Replies: 1
    Last Post: 2003-05-19, 05:54

Posting Permissions

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