• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Application that starts working during call

uaeHamed

Newbie
Hi all,

If I would like to have an application(background or active) to start working when an incoming or outgoing call is started, how do I go about that?
I just need the basic idea no need for specifics(also it would be greatly appreciated). So basically does this application need to be a server that has a broadcast reciever or something?
 
It needs to be a service to be able to work in the background. And to start the service on incomming or outgoing calls, you can use broadcasts.
 
You can have a broadcast start the service via startService(), do the work and shut down the service.
 
Back
Top Bottom