Autoreject calls via predefined SMS message while away from phone On my Samsung Galaxy SIII Neo there is a neat feature where when you receive a call you can type on a predefined text message to send. I wonder whether the following scenario can be achieved on Android phones:


The user is away from the phone, perhaps having a shower or working out at the gym.
The user (sets up and then) selects a predefined text message (saved in a list of predefined text messages).
The user specifies that whenever a phone call is received, the corresponding text message will be sent to the caller's phone number automatically (and this could be set up either for everyone or just for a few phone numbers the user wants to share this info with).


If a caller rings twice from the same number, there would also be an option to send the SMS only the first time (so as to not have some malicious user deplete all your SMS credit).
With SL4A or Qpython (Python Script Engine) you can use android apps permission .(E.g With it you can send mesaages, take picture etc.)

If you have basic knowlege of python you can make a script that will help you to do that.

You will also need tasker etc. To launch script

[I think it will be hard task to do it.I just gave you the Base Idea.Hope you will make it]