i used the code for camera activity defined here:
Android Save Image to SD Card
Can any one please help me how to change the default sound of camera, sounds are in raw folder.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think the sound is embedded in the systems source code for taking pictures. There doesn’t seem to be any public facing API that is meant to disable / change the sound, so I think you are S.O.L.
As a user though if you are on a rooted device you can find the sound file that it plays and rename it something so that it will be unable to find the correct file to play, and thus won’t make any sounds any time a picture is taken. If your app were running on a rooted device it could presumably just temporarily rename the file and fix it when done. But there would be a super user permission pop up when your app tries to do that.