×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    1

    Smile I would turn off the sound when I make a ( videoControl.getSnapshot (null); )

    Hello everyone,

    in fact I would turn off the sound when I make a (videoControl.getSnapshot (null)
    to retrieve the image from the camera.

    I board try with:

    import javax.microedition.media.control.VolumeControl;
    import javax.microedition.media.Player;
    import javax.microedition.media.control.VideoControl;
    import javax.microedition.media.Manager;
    ...

    private Player player = null;
    private VideoControl videoControl = null;
    private VolumeControl vc = null;
    ...
    player = Manager.createPlayer("capture://video");
    player.realize();
    videoControl = (VideoControl) (player.getControl("VideoControl"));
    vc = (VolumeControl) player.getControl ("VolumeControl");


    vc.setMute (true);

    but vc == null and therefore does not work for mute

    if someone had a solution,

    (The monitor is a Nokia 5530 Symbian S60 5th)

    Thank you
    Last edited by masteraph; 2011-06-05 at 19:04.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: I would turn off the sound when I make a ( videoControl.getSnapshot (null); )

    Try to play a silent file in background while you fire the snapshot.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    2

    Re: I would turn off the sound when I make a ( videoControl.getSnapshot (null); )

    have u solved this problem ??

Similar Threads

  1. Poor Image Quality using JSR 135 MMAPI VideoControl.getSnapshot(null)
    By giovannyvelez@hotmail.com in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2010-08-08, 10:51
  2. How to turn off the sound camera in Java ME?
    By lordtao in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2010-03-07, 16:16
  3. VideoControl.getSnapshot(null) returns null-value
    By cipherovski in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2010-01-11, 07:31
  4. How to turn off the shutter sound for the camera in the NOKIA n73?
    By PixelLTU in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-11-19, 16:58
  5. Turn off the Sound of Rining Tone ..
    By mudhahka in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2004-08-11, 08:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •