Eager to add shake feature in my android application
i m new to this android application development field  i went through the code that would provide shaking feature but i m unable to understand that for writing this shaking code  I have to create new project or i can add this code in my existing app like gallery (example given in tutorials of android development)  If so  then how??? plzzzz reply  
Eager to add shake feature in my android application
===

i m new to this android application development field  i went through the code that would provide shaking feature but i m unable to understand that for writing this shaking code  I have to create new project or i can add this code in my existing app like gallery (example given in tutorials of android development)  If so  then how??? plzzzz reply  