Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7196795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:50:45+00:00 2026-05-28T20:50:45+00:00

I am working on an app that will allow a user to take quick

  • 0

I am working on an app that will allow a user to take quick click and forget snapshots. Most of the app is done except for the camera working that way I would like. Right now I have the camera working but I can’t seem to find a way to disable the shutter sound and I cant find a way to disable displaying the preview. I was able to cover the preview up with a control but I would rather just not have it displayed if possible.

To sum things up, these are the items that I would like to disable while utilizing the built in Camera controls.

  1. Shutter sound
  2. Camera screen display
  3. Image preview onPictureTaken

Does anyone know of a resource that could point me in the right direction, I would greatly appreciate it. I have been following CommonsWare’s example from this sample fairly closely.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:50:46+00:00Added an answer on May 28, 2026 at 8:50 pm

    This is actually a property in the build.prop of a phone. I’m unsure if its possible to change this. Unless you completely override it and use your own camera code. Using what you can that is available in the SDK.

    Take a look at this:

    CameraService.cpp
    . . .

    CameraService::Client::Client(const sp<CameraService>& cameraService,
            const sp<ICameraClient>& cameraClient,
            const sp<CameraHardwareInterface>& hardware,
            int cameraId, int cameraFacing, int clientPid) {
            mPreviewCallbackFlag = FRAME_CALLBACK_FLAG_NOOP;
                mOrientation = getOrientation(0, mCameraFacing == CAMERA_FACING_FRONT);
                mOrientationChanged = false;
                cameraService->setCameraBusy(cameraId);
                cameraService->loadSound();
                LOG1("Client::Client X (pid %d)", callingPid)
        }
    
        void CameraService::loadSound() {
            Mutex::Autolock lock(mSoundLock);
            LOG1("CameraService::loadSound ref=%d", mSoundRef);
            if (mSoundRef++) return;
    
            mSoundPlayer[SOUND_SHUTTER] = newMediaPlayer("/system/media/audio/ui/camera_click.ogg");
            mSoundPlayer[SOUND_RECORDING] = newMediaPlayer("/system/media/audio/ui/VideoRecord.ogg");
        }
    

    As can be noted, the click sound is started without your interaction.

    This is the service used in the Gingerbread Source code.

    The reason they DON’T allow this is because it is illegal is some countries. Only way to achieve what you want is to have a custom ROM.

    Update

    If what being said here: http://androidforums.com/t-mobile-g1/6371-camera-shutter-sound-effect-off.html

    still applies, then you could write a timer that turns off the sound (Silent Mode) for a couple of seconds and then turn it back on each time you take a picture.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a web app that will allow the user to do a
I'm working on a small app that will allow the user to login to
I'm working on an App that will allow user's to edit the same database
I am currently working on a simple Silverlight app that will allow people to
I'm working on a web app that can allow the user to input some
I'm working on an app that will be using https, but we wanted to
I am working on creating a web app that will query event logs on
I'm working on a little WPF app that will run fullscreen and I'd like
I am working on releasing an app that will greatly benefit from using the
I'm working on a Rails app that will contain information on a bunch of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.