Volume in blaackberry slider

Hi all

I need to create the volume slider in my application. My basic requirement is to get the noise level. (10 to 70) no matter what user defined.

Please someone tell me how to create the volume slider in blackberry?

Thanks in advance

You can check that the sider field provided here http://supportforums.blackberry.com/t5/Java-Development/Implement-advanced-buttons-fields-and-manage...

You can specify values Max - min and interval according to your requirement.

Tags: BlackBerry Developers

Similar Questions

  • Change the Volume using the Slider component

    I am using the slider (aSlider) to control the volume for mySound, which is a class called PlaySound. Created an addEventListener for aSlider with an execution of a function called changeVolume SlideEvent.CHANGE. All other works, but I can't get the cursor to control the volume for mySound. Need help. Here's the current code. TY in advance.


    import flash.events.Event;
    Import fl.controls.Slider;
    Import fl.events.SliderEvent;
    Import fl.controls.Label;

    var mySound:PlaySound = new PlaySound;

    stage.addEventListener (Event.ENTER_FRAME, clock);

    var OFF: Boolean = true;

    function clock(event:Event):void
    {
    var currentdate:Date = new Date();

    arc_mc. Visible = false;
    secondHand_mc.rotation = currentdate.seconds * 6;
    minuteHand_mc.rotation = currentdate.minutes * currentdate.seconds + 6 / 10;
    hourHand_mc.rotation = currentdate.hours * 30 + currentdate.minutes / 2;

    If (secondHand_mc.rotation >-60 & & secondHand_mc.rotation < 0)
    {
    arc_mc. Visible = true;
    If (OFF)
    {
    OFF = false;
    mySound.play ();
    }

    }
    on the other
    {
    arc_mc. Visible = false;
    SoundMixer.stopAll ();
    OFF = true;

    }


    }


    aSlider.addEventListener (SliderEvent.CHANGE, changeVolume);

    function changeVolume(event:SliderEvent):void
    {
    var volumeLevel:Number = 5;
    volumeLevel = event.target.value / 100;
    valueLabel.text = event.target.value + 'percent';
    }

    you follow all the instructions.  use:

    import flash.events.Event;
    Import fl.controls.Slider;
    Import fl.events.SliderEvent;
    Import fl.controls.Label;
    import flash.media.SoundTransform;

    import flash.media.SoundChannel;

    var mySound:PlaySound = new PlaySound();

    var mySoundChannel:SoundChannel;

    stage.addEventListener (Event.ENTER_FRAME, clock);

    var OFF: Boolean = true;

    function clock(event:Event):void
    {
    var currentdate:Date = new Date();

    arc_mc. Visible = false;
    secondHand_mc.rotation = currentdate.seconds * 6;
    minuteHand_mc.rotation = currentdate.minutes * currentdate.seconds + 6 / 10;
    hourHand_mc.rotation = currentdate.hours * 30 + currentdate.minutes / 2;

    If (secondHand_mc.rotation >-60 & secondHand_mc.rotation)<>
    {
    arc_mc. Visible = true;

    If (OFF)
    {
    OFF = false;
    mySoundChannel = mySound.play ();  delcare mySoundChannel outside all functions
    mySound.play ();
    }
    }
    on the other
    {
    arc_mc. Visible = false;
    SoundMixer.stopAll ();
    OFF = true;
    }
    }

    aSlider.addEventListener (SliderEvent.CHANGE, changeVolume);

    function changeVolume(event:SliderEvent):void
    {
    valueLabel.text = event.target.value + 'percent';
    var st:SoundTransform = mySoundChannel.soundTransform;
    St.volume =(event.target.value-event.target.minimum) / (event.target.maximum - event.target.minimum);
    mySoundChannel.soundTransform = m;
    }

    TX 1 million

  • That gray box that indicates the volume (not the slider) does not, either made the caps lock notification.

    I don't know what it's called, or I would have probably been able to know how to solve this problem, already, but this is the box that appears momentarily on the screen when I press the volume buttons; It does not appear.  Also when lock shift was there was (before my relocation at all, I think) was a notification similar to the volume box that is not displayed.  I thought that these two things might be related, so I wonder about the two.  Thank you.

    MichiCat,

    It is likely that you have not installed a software suite that came with your computer because these are 3rd party features.
    You must contact the manufacturer of your system for the drivers and the software or if you need assistance you can to your system and model and we will do the best to help you made in the right direction.

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Where my speaker volume icon / go go to the notifications bar, how do I get back that I can adjust my volume with the slider?

    My "speaker" icon is no longer on the bottom right of my screen.  How can I get that back so that I can click on it to adjust my volume?

    See the following items if they would help to:

    Missing in Vista notification area icons
    http://www.Winhelponline.com/blog/notification-area-icons-missing-in-Vista/

    Difficulty for clock when, Volume, power or network icons are missing and Grayed Out in Windows Vista
    http://www.howtogeek.com/HOWTO/Windows-Vista/fix-for-when-clock-volume-power-or-network-icons-are-missing-and-grayed-out-in-Windows-Vista/

  • above my keyboard volume slider doesn't work anymore,

    original title: Volume
    Have my slider volume above, my keyboard no longer works, I watched by chance? any suggestions would be helpful.

    Hello

    -Are you referring to the volume key in the keyboard?
    -What is the brand of your computer?
    -Did you change on your computer due to which the question has begun?

    If the problem occurred recently, perform the System Restore to the point that the key was working normally.

    If this does not work, contact the manufacturer of the computer.

  • HP Pavilion dv7-3170ez: volume indicator not showing when the volume control

    Hello

    I own a Pavilion dv7-3170ez and when I change the volume using the slider button in the volume on top of the keyboard, the volume is adjusted accordingly, but no volume indicator appears on the display.

    Previously, when you adjust the volume, a speaker icon with a cursor jumped in the middle of the screen showing the current volume level.

    I use Windows 7 Home Premium and Windows Update and HP update shows that I have the latest version of the software. Also, I have the latest version of the BIOS installed.

    Note: the touch buttons on top (volume, speaker and enable wireless, etc) stopped working a few days after the disappearance of the sound meter, I have fixed that by connecting battery power and disconnectiong for awhile. However, the indicator is still not displayed. Don't know if this is related (I guess not).

    Thank you

    The Volume OSD is a HP MediaSmart Menu function. He has to load at startup. To do this, go to msconfig and make sure that it is enabled under the Startup tab...

    If she is not there, you can download it here... ftp://ftp.HP.com/pub/SoftPaq/sp48501-49000/sp48552.exe

  • HOW TO TELL (MULTIPLE TRACKS) ON A MUSIC AUDIO PLAYING IN THE SAME SCENE? AND WHAT I NEED TO ADJUST THE VOLUME DURING PLAYBACK OF THE TRACK - OR WHO WILL BE AUTOMATIC AS SOON AS I START THE NARRATION?

    ON MOVIE MAKER - I'M TELLING ON A TRACK THAT PLAYS WHILE THE PHOTOS ARE DISPLAYED.

    1. HOW DO I TELL ON THE MUSIC TRACK PLAYING?

    2. DO I HAVE TO SET THE COLUME ON THE MUSIC TRACK - OR - THE MUSIC WILL AUTOMATICALLY ADJUST ONCE I HAVE START THE NARRATION?

    3. WHEN I FINISH a SEGMENT OF THE MOVIE - AND "SAVE THE PROJECT" - HOW DO I INSERT IT IN THE FILM COMPLETE?

    I HAVE TO SAVE AS WINDOWS MEDIA? WHAT I HAVE TO PUT IT ON A DVD? ... AND THEN INSERT IN MY COLLECTION AND THEN ADD THE FINAL MOVIE?

    PLEASE NOTIFY

    1. HOW DO I TELL ON THE MUSIC TRACK PLAYING?
    =================================================
    Apparently you have imported a file of music to your slide show and you
    want to add narration also. I think would be best to delete
    the music file for now, create your narration, and then replace it
    music file.

    The problem of having two audio tracks playing simultaneously?

    You must save the slide show / narrative as one. WMV Movie file...
    File / save movie file. Then reimport them saved. Just the WMV video file
    as you would for any other video and audio music will be
    clear for you to add your music files. The volume of the tracks can be
    adjusted to... Right click / Volume, drag the slider.

    =================================================
    2 CAN I ADJUST THE VOLUME ON THE PIECE OF MUSIC
    -OR - THE MUSIC WILL AUTOMATICALLY ADJUST ONCE I HAVE START
    NARRATION?
    =================================================
    The removal of the music file will clear this up.
    =================================================
    3. WHEN I FINISH a SEGMENT OF THE MOVIE - AND
    'SAVE PROJECT' - HOW DO I INSERT IN FULLY
    FILM?
    =================================================
    In addition to "Saving The Project" (for the future edition)...
    Save the movie file in the... WMV format.

    Then you can import the saved. WMV video file and
    Use it in a project as you would for any other... WMV
    video file.

    =================================================
    I HAVE TO SAVE AS WINDOWS MEDIA?
    =================================================
    . WMV would be the format of the recorded movie.

    DV - AVI is also an option, but the file size will be much larger.
    I'll add options at the end of this registration message.

    =================================================
    WHAT I HAVE TO PUT IT ON A DVD? ...
    =================================================
    No, just save to a folder on your hard drive.
    =================================================
    AND THEN INSERT IN MY COLLECTION AND THEN ADD
    FOR THE FINAL MOVIE?
    =================================================
    As stated previously, just reimport him. WMV video and use it
    as you would for any other video clip.
    =================================================
    The following article is maybe worth a visit:

    Record a narration in Movie Maker 2 and some of the
    You may encounter problems of microphne.
    http://www.mightycoach.com/articles/mm2/narration-moviemaker2.html

    the following video tutorials may be worth a visit:

    Windows Movie Maker 2 tutorials
    http://www.atomiclearning.com/moviemaker2
    (in the 'I' section there is a clip called: "Narrating your")
    film project")

    More tutorials:

    Articles and tutorials for Windows Movie Maker
    http://www.windowsmoviemakers.NET/tutorials/
    (#2 is Audio / Narration)

    And Movie Makers Forums may be worth a visit:

    Movie Makers Forums

     
    =================================================
    info on savings:
    To save in a .wmv movie file...
    Type of... CTRL + P (or go to...) File / save movie file)
    to open the wizard movie recording.

    Choose... My computer.
    Next /.
    Enter a name and a location.
    Next /.
    ICT... "Best quality for my computer.
    Next /.
    Wait while the movie is saved.
    Finishing...

    To save a DV - AVI movie file...
    (and other options)
    Type of... CTRL + P (or go to...) File / save movie file)
    to open the wizard movie recording.
    Choose... My computer.
    Next /.
    Enter a name and a location.
    Next /.
    Show more choices.
    Other parameters.
    Open the window of the droplet and choose... DV - AVI.
    Next /.
    Wait while the movie is saved.
    Finishing...

    In addition, you may find it useful to use
    a custom profile:

    Movie Maker 2 - Save movies - custom WMV profile
    http://www.Papajohn.org/mm2-SavingMovies-CustomProfiles.html

  • dv4-21 45dx volume pop up

    Whenever I change the volume on my laptop, with the volume level bar appears and essentially alt-tabs me from any program I'm running. I would remove the pop up, but would change the volume using the slider. I looked for a solution and none have them have worked. The pop-up allows to change the volume while playing a game or another unbearable program. It is sometimes very annoying when the volume varies and I need to put the volume upwards or downwards.  Any help would be greatly appreciated.

    Hello

    Uninstall MediaSmart SmartMenu of your system or delete it from the list of startup as shown here.

  • Behavior very stange Photosmart B9180, prints with a huge amount of ink

    Today, I have a huge problem (ink) with my photosmart B9180

    I noticed that the prints come out almost dripping black ink. The ink flows paper and consists of all kinds of ink colors

    I tried HP paper glossy advanced photo

    When I select plain paper, (the best) it works OK

    When choosing among other documents, the problem occurs.

    I tried settings such as (printer / mac color management), (settings of photo paper / glossy, mast... etc)

    I tried advanced options - volume of ink slider to the left

    I have tried electric bike/off voltage

    I tried to reinstall the printer with the HP website software

    Then I made an A4 composition in photoshop all white with a colored bar little degraded in the middle (not to waste ink during the test)

    The stange thing I noticed, is that the print head sweeps on all the white parts as well as printing something?

    Can someone explain what is happening here?

    I lost too much paper and ink...

    My system

    IMac - intel

    i5

    OS x 10.7 Lion

    B9180 with LAN connected

    Hi all

    the problem is caused by Apple update for HP Printer Drivers Version 2.7.

    This isn't the only failure in this package. (I'm not sure if it's great to use this same update for Mac OS 10.6 and 10.7).

    Of course to restore the folder 'hp' in/library/printers/to using Time Machine should solve the problem.

    Clearer to solve the problem is to do following steps:

    -Remove from the list of printers HP printers (System Preferences > print and fax (MacOS 10.6) / print and scan (Mac OS 10.7))

    -Move the entire folder "hp" / Library/Printers/in trash

    -Download and install HP drivers Update Version 2.6 from the following link:

    FTP://hppsu2_6:7iy * [email protected]/

    -Restart the Mac

    -Add the printer in system preferences...

    With regards MacFrk

  • outside speakers do not work

    I had everything ok my 2 speakers are Plug and now I no i hit something and do not work they are on but no sound I have a computer toshiba laptop wn7prohome I to the mixer voice I did something in the sound system, it works not so all I have now are the voice of the PC tinnie ugh please help

    Hi Maryannem,

    Welcome to the Microsoft Community Forum!

    According to the description, it looks like you are facing a problem with external speakers.

    First of all, I suggest you to make sure that the speaker volume is not set in muted or turned down too low.

    a. open the Volume control by clicking the Start button, click Control Panel configuration, hardware and sound, and then, under Audio devices and sound, clicking on the system volume.

    b. in the main Volume, move the slider upwards or downwards to increase or decrease the volume.

    I suggest you to run the tool and its material and check.

    Open the Audio playback problems troubleshooting: http://windows.microsoft.com/en-us/windows7/Open-the-Playing-Audio-troubleshooter

    Keep us informed on the status of the issue.

    If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • Dell in an ASUS sound Surround System

    I installed a Dell surround sound on an ASUS computer system, but he sees only two of the eight speakers...

    And when I try to adjust the volume on the speaker buttons, won't work, I need to go into Windows Media Player and adjust the volume via the volume control online slide.

    Please help, how can I download the appropriate drivers for the speakers and have them not in conflict with the ASUS system?

    Thank you

    Hello

    If I understand correctly you are facing problem with speaker Surround Dell in your Windows 7 computer. Do not worry, I'm here to help you with this question.

    I would like to know more information on the issue, so that we can help you better with this problem.

    1. What is the speaker of Dell model number?

    2. do you get any error code or error message?

    3. were you able to install the speakers successfully?

    Let us try the following methods and check if it works for you.

    Method 1:

    Run the troubleshooting of Windows Media Player settings in the open air

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2:

    Try to install the drivers in Windows Vista compatibility mode and check.

    Make older programs run in this version of Windows:

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    If the methods provided did not help, it would be better to contact Dell support for assistance, this can be due to a problem of setting.

    http://www.Dell.com/support/home/us/en/19?c=us&s=DHS&CS=19&l=en

    Please respond with the State of the question, so that we could help you better.

  • Still too loud sound

    More than a year ago the sound in the flash player was much too hard on 100%.

    Now it is still too strong. About 50% of the volume, it seems to be normal.

    But it seems that, when the system volume is not set to 100% (when I use a headset without a volume control).

    Cool, it's useful.

    There has been a bug since Flash Player 11.3 (when we have enabled sandbox for Firefox) where we were not able to adjust the volume of the slider in the mixer Volume of Windows.  Which should be fixed in Flash Player 11.7.

    When a Flash movie play, double-click the speaker icon in the taskbar.

    You should see a slider for Flash Player.  Adjust the slider.

    It was this preference would never stick.  It should stick now.  If you quit the browser, Flash must stay at the volume that you assign.

    If this does not work, please let me know.

  • volume on the keyboard slider does not work

    can someone help me please the slider for the volume on my laptop decided to stop working can anyone help

    Hello

    First of all, download and reinstall HP Quick Launch Buttons on the link below.

    http://ftp.HP.com/pub/SoftPaq/sp48001-48500/sp48159.exe

    After the installation is complete, restart the computer and verify if the volume slider works now.

    If it doesn't work, try the following.

    Download IDT Audio Installer on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp48501-49000/sp48830.exe

    One time finished, open windows control panel, open Device Manager and open sound, video and game controllers.  Right click on the IDT device and select uninstall - also, you should get a command prompt to delete the current driver, check the box allow this and then proceed to uninstall.

    When you're done, shut down the laptop, unplug the AC adapter and then remove the battery.  Press and hold the Power button for 30 seconds.  Reinsert the battery, connect the power adapter and start Notepad.

    Let windows load fully, then open your download folder, right-click on the IDT Installer and select "Run as Administrator" to launch the installation.

    When this has completed, restart the laptop.

    Kind regards

    DP - K

  • Volume slider is reset to zero at the start.

    I have a race HPE - 477c 64 bit Win 7. whenever I restart my PC, the volume control slider (Realtek High definition Audio Mixer) is zero.   After re-booting, I adjust the volumn cursor at halfway, but next time I reload is at a minimum.  Y at - it a fix for this?

    Hi kpdandjad,

    It's weird. I don't think I've seen this problem before. Obviously some audio software evolves your volume at startup or Windows is not "remember" where you set before closing. You can try to update to the latest driver from Realtek audio driver. Here is a link to their download site:

    http://152.104.125.41/downloads/

    Select "High Definition Audio Codecs", accept the agreement and then download and install the driver for your operating system.

    I hope this helps. Let us know how it goes.

  • volume slider is set at full volume, yet his is barely audible

    Same as above. Slider volume maximum volume, the value of even barely audible sound.

    I see two possibilities. First of all, you may need to increase the volume on the speakers themselves. Secondly, you accidentally plug the speakers in an output jack line instead of the speaker output jack?

Maybe you are looking for