This is mainly a back-end app. When the user sends a particular SMS to the phone i.e. ‘RECORD_APP_10‘, the app blocks the SMS notification and records a 10 sec audio. This audio is then uploaded to an FTP server.
Refer to my tutorial here : http://www.arjunsk.com/android/android-sms-controlled-app-to-upload-10-sec-audio/