You can create a broadcast Receiver which will listen to
ACTION_PHONE_STATE_CHANGED<http://developer.android.com/reference/android/telephony/TelephonyManager.html#ACTION_PHONE_STATE_CHANGED>
 
andNEW_OUTGOING_CALL<http://developer.android.com/reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL>
 broadcast intents.

In your receiver class write the code to create an intent which will
activate your app.

Let me know if its not clear.

Regards,
Santosh
MComputing Lab


On Mon, Aug 29, 2011 at 4:46 PM, GopalaKrishnan D <[email protected]>wrote:

>
> How to run an app while incoming or outgoing call starts  and the app end
> with while call end.
> --
> ~* Regards*
> *GopalaKrishnan D*
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to