12-20-2011 01:48 AM
I don't have a working code but basically, you should:
1. Implement the PhoneListener interface.
2. Catch the event of rejected call (my guess is that you would probably will have to use the 'CALL_ERROR_INCOMING_CALL_BARRED' flag).
3. Use the Invoke API to send the SMS.
Hope that helps,
12-20-2011 01:51 AM
I SET ALL THINGS ON REJECT BUT AUTO SEND IS NOT DONE.MESSAGE SEND ON CLICK BUTTON.I HAVE A LIST OF MESSAGE .
BUT I WANT TO SEND ONE MESSAGE TO BE SENT AUTOMATICALLY .