How are you connect arduino to app ? With Bluetooth ? Maybe you could try to use PhoneCall component . A simple example is shown below when incoming call is coming from a specific phone. You should consider what you want to happen next time you receive an incoming call, send another command ?