title: Android Sound Verification
body: <p>I would like to create an application, which will response on "Clap" sound.</p>
  
  <p>Means, if I have kept my mobile somewhere in my room, and if a clap it will start ringing.</p>
  
  <p>I would like to know how can I compare two sound [incoming sound of clap] and already stored clap sound?</p>
  
  <p>I think I need to create a service which will keep on listening through mobile Microphone, and check for incoming sound.</p>
  
  <p>[If you think any other approach for this application is good/better then please suggest that also.]
  Please guys any pointer or any help will be very much appreciated.</p>
  
  <hr>
  
  <p>Thanks for your quick response.</p>
  
  <p>As i have create a service which will continuously record sound from Mic, which class should i use to record the sound MediaRecorder / AudioRecord . </p>
  
  <p>Other requirement is like user can record their own custom music also, to find their phone.
  So for eg: if user records some random sound, which will be stored in application.</p>
  
  <p>Now once again user plays the same sound, to find their phone, then how will i compare currently played sound with previously stored sound ?</p>
  
  <p>Regards.</p>