default volume in media player control

Hello

I'm developing an application which have an option to play video using http I play video successfully but I can't give the player default volume control. Please can someone tell me how to give to my Player default volume control...

Thanks in advance,

PAPI M

First of all, you need to get the VolumeControl of the Player object.

VolC VolumeControl = player.getControl ("VolumeControl") (VolumeControl);

Then put implement the KeyListener and in the KeyDown method check the Volume key.

public boolean keyDown (keycode, int, int times)
{
If (volC! = null)
{
Touch int = Keypad.key (keycode);
If (key is Keypad.KEY_VOLUME_UP)
volC.setLevel (volC.getLevel () + 10);
Else if (key == Keypad.KEY_VOLUME_DOWN)
volC.setLevel (volC.getLevel () - 10);

}

}

Tags: BlackBerry Developers

Similar Questions

  • Express on a Satellite M115-S3094 media player controls

    I have a Toshiba Satellite m115-s3094 notebook. It came with the express media player feature. It worked when I ordered my playlist in windows media player 11.

    Today, the controls do not work at all.
    The two buttons above the controls (Internet and Media player) are fine, but I can't control the media player with the express media player controls.

    I've switched back to wmp 10, but I can't control it yet. I don't know if the express media player controls can control Media Center or not because I never tried to use it in media center, but the controls don't work not in media center either.

    I use a lot of these controls, if anyone can tell me how I can solve this problem.

    @ Gethsemane
    Yes, you must use the drivers and the CD of tools & utilities applications delivered. You need all if you want to use all the features of Toshiba laptop.

    Have you received a recovery CD? This CD contains the operating system image that contains all the drivers, tools and additional software. Just starting this announcement from CD, you will get full functional OS.

  • Alienware 17 - TactX key as Media Player controls

    Is there a way to configure the TactX™ buttons on the new Alienware 17 to behave like Media Player controls? I miss my old M17x R3 buttons.

    Currently, they are only the installer as the pressures on the F1 - F4 keys.

    Thank you.

    I discovered that I can only attribute the function-key down arrow (etc.) for each TactX keys.

  • Fluctuation of Volume for Media Player

    I came at the end of my intelligence with volume of Media Player fluctuating from top down during playback.  It is a long-standing problem plaguing my systems since the days XP and persists through Vista and now seven.  I have built at least 5 personal pieces I remember the problem arise, which have completely different hardware configurations and speaker configurations.  ECS, Asus, Abit cards mothers, processors AMD and Intel, Harman-Kardon, Boston Acoustics and Altec-Lansing speakers, stereo systems, 5.1 and 7.1...

    When playing music or video from a file, the wah-wahs of volume up and down throughout the song and ONLY using WMP.  iTunes, Winamp and online streaming are all perfect.  Equalization of the volume does not help, in fact I can't even switch to silent mode does not help.  I have installed ANY additional codecs, I got in trouble with those in the past, so I stay away from 3rd party codec packs.  Please help me, it's a royal pain to keep the selection of alternative music players at the opening of the mp3 or video files, and I prefer Media Player for alternatives.

    Thank you!

    Ken C

    Hi Lottoman,

    Method 1

    To disable improvements audio speaker

    (a) Sound open by clicking theStart button, and then clickPanel. In the search box, type sound, and then clicksound.

    (b) on the playback tab, click speakers, and then click Properties.

    (c) click the enhancements tab, and then select the checkbox disable all improvements .

    If you do not see the tab improvements in the speakers Properties dialog box, these features are not available for your speakers, and this procedure is not applicable to your computer.

    Method 2

    If the previous step fails then try the step below and check out them.

    (a) go to the sound icon in the system tray, bar right click, clicksound

    (b) click the Communications tab. On this one, you will see:

    Windows can automatically adjust the volume of the different sounds when you use your PC to place or receive calls.

    When Windows detects the activity of communication:

    1. cut all the other sounds o reduce the volume of other sounds of 80%

    2 reduce the volume of other sounds by 50%

    3. do nothing

    (c) select 'do nothing', so try and check if it works.

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • setting the parental control on the volume on the media player control is possible?

    my daughter is maxing out the volume on windows media player using headsets is it a parental control on the volume controls

    Hello

    Unfortunately there is not this setting in Windows media player, but there could be some third-party programs that will help you accomplish your task. You can search for programs using your favorite search engine and check.

    Note: This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    However, you can post your suggestion in the link mentioned below so that we can improve Microsoft Products.

    https://Connect.Microsoft.com/continue.aspx?PAGETYPE=2®Type=2&cru=%2fdashboard%2F%3fwa%3dwsignin1.0&cu=

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • windows media player control in labview

    Hello

    I'm having trouble controlling a WMP in LabVIEW using ActiveX controls is... What I have to do is to have a control to go from image to image. I did something, but when I slide the crontroller, it suddenly crashes?

    Also: when I play the video in windows media player from mij, it opens normally, but when I open it in the labview activex control, the screen remains black? I have a compressed H.264 AVI file and I have installed the latest codec pack k - lite.

    I use a Node (activeX) property to adjust orders "IWMPPlayer4"-online "orders"-> IWMPControls-online 'common position '.

    Anyone have experience with this?

    Best regards

    Thijs Boeree


  • How to restore default settings in Media Player

    original title: how to restore the settings for multimedia features

    I turned off features of media by mistake, I should have stopped Media Player to erase the files corrupted, after turning on again, I did not know what settings to check so I chose only the music about points now my computer does not work as it did.

    How to restore the settings before this error I tried the system restore, but that did not help, my system seems to be grinding to a halt

    Hello

    1 What do you mean exactly by "grinding halt" and "computer does not work as it did?
    2. do you receive any error messages?
    3. has your computer becomes very slow?

    You can re-create the database of Windows Media Player and see if that fixes the problem.

    To do this, follow these steps:

    a. exit Windows Media Player.

    b. click Start , type%LOCALAPPDATA%\Microsoft\Media Player in the Start search box and press ENTER.

    c. Select all files in the folder, and then click delete on thefile menu.

    Note: You don't have to remove the folders that are in this folder.

    d. restart Windows Media Player.

    Note: Windows Media Player automatically rebuilds the database.

    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:

    -Exit Windows Media Player.

    -Click Start , type%LOCALAPPDATA%\Microsoft , in theStart search box and press ENTER.

    -Select the Media Player folder, and then clickdelete on the file menu.

    -Restart Windows Media Player.

    Note: Windows Media Player automatically rebuilds the database.

  • Media player controls

    Hello

    is there a way to implement the player controls (play, pause, stop,...) as those used in the drive multimedia blackberry shipped for use with the Player object?

    More in detail, how can I show/hide commands? Pushing another transparent screen containing the controls on the top of the screen causes gel video...

    Can someone show a code example?

    Thank you

    You can do with BlackBerry OS 7, but not in earlier versions.  In previous versions, you must change the video to be able to adapt the controls around him.

  • Separate Media Player control bar

    LayoutMetadata using how I would make the control bar vertically positioned below current MediaElement? I would that the media element to position itself in a given rectangle above the controlbar, as a player from YouTube for example. It would be very useful to answer this question with respect to the OSMFPlayer example. Thank you!

    It is on the PTO until Tuesday, hopefully he'll have an answer shortly after.

  • Satellite A500 - on the screen and the volume of media keys control the normal behavior

    Hello

    On my laptop Satellite A500, I have no screen 'volume bar' when I use the media keys of volume (located between the speakers). I find this odd, like many other phones that I use (including the Toshiba) have this feature. In addition, the volume bar between the - and + media symbols of the keys never lights upward.
    Could someone please confirm that those are normal behaviour? (Note that my Fn keys, utility eco work and so on).

    Records,

    ARAMYS

    Aramys salvation,
    I don't know if this is normal (showing no volume bar on screen)
    but as I read your message just the funktion is ok...

    Maybe you need to reinstall + keys +.
    Maybe some pictures are corrupted and therefore not included...

  • How to make the bluetooth headset with as default playback device in Windows Media Player

    How to make my bluetooth plantronics backbeat 903 headset to the default listening on windows media player device

    Original title: how my plantronics backbeat 903 bluetooth headset to the device of listening by default on windows media player

    Hello

    What is the operating system that you are using?

    Perform the steps:
    a. click Startand then click Control Panel.

    b. in Control Panel, click hardware and sound.

    c. under sound, click manage audio devices.

    d. in the sound box, click the read tab, select the Bluetooth device, click on set as defaultand then click OK.

    e. reboot all media programs including Windows Media Player that are running and check.

     
     
    I hope this helps.
  • How to set Windows Media Player as default program

    Windows by default on vista media player

    I had put the true player like defult and now I don't know how to set media player as default

    Thank you

    Gregg

    Check Control Panel - programs - default programs - set your default programs . Select Windows Media Player , and then click set this program as default . Tim Baets
    http://www.BM-productions.TK

  • How to set my default instead of Itunes Media Player

    How to set my default instead of Itunes Media Player

    1. click on:

    Start-> default programs-> set your default programs

    2. now simple left click on Windows Media Player on the left to select.

    3. you have two options at the bottom in the center of the screen. You can use Windows Media Player by default for all types of files it can use or choose file types that you want to default to Windows Media Player.

    4. follow the instructions up to the full, and then click OK.

  • Windows Media Player is missing in Set Program Access and Computer Defaults

    I recently discovered that when I wanted to install a default media player, Windows Media Player was absent from "Default programs". When I ran a search on this problem, I had the suggestion that I enable access to Windows Media Player with "Set Program Access and Computer Defaults." However, when I tried this, I found that Windows Media Player was also absent from "Set Program Access and Computer Defaults"! Now, what I want to know is, how to restore Windows Media Player in the list of Set Program Access and Computer Defaults?

    Here's a hint: I do not have full access to Windows Media Player via the start menu.

    Brandon Taylor

    Brandon Taylor

    Hello, Brandon Taylor,.

    We will try to reset the Windows Media Player by using the following steps:

    Uninstalling and reinstalling Windows Media Player:
    Step 1.
    Uninstalling Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. search for multimedia and uncheck the brand in the face of Windows Media Player.
    4 restart the computer
     
    Step 2.
    Reinstall Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. find the multimedia functions and place a check mark in front of the Windows Media Player.
    4 restart the computer.

    Now, go to default programs, Windows Media Player is displayed now?

    If please reply back and let us know if this can help, or if you still need help.

    Sincerely,.

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

  • Windows Media Player and Web browsing

    Hi all. I was wondering if it is possible to define a single output to WMP 11. I have a sound card with 10ins and 10outs and when I'm on the web or play an internet Explorer web game uses the same output as media player. It can be very annoying because the I'm listening the song can be really very loud or too quiet and I want to turn it upwards or downwards using my sound card mixer, but it also runs the volume of the web page, for example. MySpace poker. The volume control in the media player is not very useful to me because his Web site is at a highest possible setting and if I turn down media player to hear the audio web page, then media player is too quiet...

    Is this possible? If I change the default output in media player to say 1/2 she changes the default output for all sounds. I want to change the output by default for internet explore or WMP.

    Thanks for checking out my post

    Hello awyeah,.

    Yes, I completely agree with you that Media Player has the ability to change the default change device. However, the thing is, it displays the devices available on your computer and would change the default settings for all programs on your system.

    This is normal. I suggest that you post this question on our feedback site product if you want to make a suggestion on how you want to select the default device with the programs.

    You can follow the link below to make this suggestion:

    http://connect.Microsoft.com/

    Thank you

    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think

Maybe you are looking for