Adding sounds to the Apps

My apologies if this has been covered in another thread, but I'm new

I'm developing an application using the BB JDE 4.7, y at - it a simple way to add a sound to a project?, I want to add a simple button click sound. I would prefer to build as part of the application, in the same way, you can add pictures, is there built-in sounds I can use, like the click of press button already on Blackberry (storm)?

Or should I import a small wav/mp3 file?

Any advice would be great, thanks.

You must include an audio file in your project. See the documentation for the API of the player interface.

See also this thread:

http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=13921&query.ID=18...

be advised, however, there is a bug out in the wild on 4.7.0.75 where audio is not audible on the speaker of the storm. This has apparently been fixed in a later version, but the broken 4.7.0.75 was pushed on existing phones by Verizon. No push update has been started (that I know).

Tags: BlackBerry Developers

Similar Questions

  • Adding sound to the video capture

    When I capture video on my Optiplex 780 I have to use an external microphone to get the sound on my speakers. The sound quality ends up ugly. Is there a way to capture the sound the computer internally?

    None

  • Problem with sound on sencha app

    Hello everyone, I hope that someone knows this problem.

    I recently posted an application built in sencha: http://appworld.blackberry.com/webstore/content/33239900/?lang=en

    I'm having a problem with the audio function, it seems that the sound crashes the app on some devices. I tested the app on the Blackberry Dev B Alpha and it worked perfectly, but a friend told me that the application crashes on Q10. I use audio to OGG format, the latest firmware for Dev Alpha B and the latest version of sencha.

    I found the audio should be longer than 300ms to play properly. If you use a sound less than 300 ms, then interference sound present and in some cases, she repeated two or three times in the same key.

    I can't reproduce the bug, because I have no Q10, sencha use HTML5 audio tags, so the behavior can be reproduced using the:

    document.getElementById('test').play ();

    Any ideas on this subject?

    Thank you for your time

    Hello, I have solved my problem, I share with you what I found:

    Question

    His cheek twice by pressing the button.

    Difficulty

    Use a sound like 300 milliseconds.

    Question

    His stuttering using tones.

    Difficulty

    Do not use the sine wave tones, use rather rectangular waves.

    Question

    DOMExceptions: DOM Exception 11: an attempt was made to use an object that is not or is no longer, usable. During playback of the sounds.

    Difficulty

    Create a new Audio object each time you want to play a sound. This fix may cause an impact on the performance of the application while playing sounds:

    Audio var = new Audio('path/to/audio.ogg');

    audio. Play();

  • App of Watch sounding abandons the connection to their iPhone app

    I used Smart sounding for about a year to control my hearing aid Linx2 with my iPhone and Apple Watch successfully. However, recently, the app shows interrupts the connection to the iPhone app. Hearing AIDS continue to work well with the iPhone, but they do not meet the application of the watch. Everyone knows about this problem? I reinstalled the apps and rebooted the on both devices. If! restart the watch, the app connects, but the connection is soon dropped. I don't know if the problem related to recent IOS upgrading or something else. Any thoughts on how to solve this problem will be appreciated. Thanks in advance!

    Have you tried devices pair the two UN - force to restart both of them and then re - pair again?

    Cancel the twinning of your iPhone - Apple and Apple Watch Support

    Restart your Apple Watch - Apple Support

    Apple Apple Watch support - Setup & matching-

  • Event QtQuick App cannot play the sound on the playbook + other problems

    Hello

    I wore a qtquick running on BB10-based application successfully. My long-term problem, it's that my applications cannot play the .wav sounds. He used the QtMobility on symbian. I am looking for a replacement and trying to adapt with open AL example in BlackBerry Github, but hopeless.

    Here is the source code: https://gist.github.com/fe1fcbbb6753bb7ff06b

    I'm lie the audio to the qtquick with the setcontextproperty method qml file. I checked with console.log () it is called.

    I wonder that the problem between the location of the file or the method is not called.

    my sounds is located under directory

    QML/stem/sounds/from the root.

    I also find that I don't see no output from qDebug.

    I use the Qt Creator for PlayBook. I wonder if I can use the momentics?

    Thanks for help. I expect to release my app before the release of BB10

    I have my solution for this problem. I opened my .pro via momentics IDE. I clicked the right mouse in the project > set up > add libraries > check list all libs > then follow the cheats provided to change the .pro files. Simple and it works.

  • What app do I need to make a movie and change the sound of the film? Thank you Michael

    What app do I need to make a movie and change the sound of the film? Thank you Michael

    Please check the first Pro CC 2015.

  • Why all the additional ads are added to the App updates?

    For IOS 9.3.1

    I also upgraded the application to the 'Dictionary of Meridian', and this update takes the screen with advertisements, as before.  Even at the point of a full page ad.  I would go back to the version back, but I can't?  It seems that all the App updates are not just improved to fix bugs?

    It would be a complaint directly with the supplier of app. But no, you can't downgrade to an earlier version. You may want to consider another approx. many dictionary are available.

  • Problem adding credit card in the App Store from HP

    I get the following error when I try to add my VISA credit card to my account in the app store:

    "Unable to add credit card."

    The credit card you are using may be fraudulent. Enter a different credit card accounts preferences & and try again. LOC02029. »

    Anyone have any suggestions to fix this error? I don't have only one credit card, so it's the only way I can buy apps.

    Thanks in advance!

    I found a solution. I tried to change the address (billing), as I walked in it that spans two lines. The program asked me to confirm my address, so I agreed, and that he knew very well...

    Weird bug, perhaps?

  • How to turn off the sound on my video clips so that my audio added media is the only sound I hear?

    I know this is probably simple, but I'm a novice!

    I have a lot of clips that I joined together to make a short film. I chose

    audio to go higher, but when I play the movie, I'm getting the audio more original sound on the clips. How to cut clips?

    teresak

    What version of Premiere Elements and on what operating system?

    In the absence of this information, I will generalize.

    If you want a sound to dominate the other automatically, and then examine the Smart Mix function where you can

    define a "foreground" and "background."

    Use the audio mixer of the program.

    Please see the document from Adobe on the volume controls

    https://helpx.Adobe.com/premiere-elements/using/mixing-audio-adjusting-volume.html

    With more details on the version of Premiere Elements and others, we can tailor a response.

    Feel free to ask questions and seek clarification.

    Thank you.

    RTA

  • Cannot get rid of update in the App Store

    My MacBook Air downloaded Digital Camera create updated 6.20, but in the App Store it's always appear as needing to be downloaded?

    Sounds on the right for the App Store, quite often you think you downloaded an update, but the App Store loses connection

    but still said it was installed in a list of 30 days.

    To check obtenu got to about this Mac, click reporting system then the software, then facilities, if the update is not listed it has failed to

    Download and install.

    Try to download from here instead.

    Digital Camera RAW Compatibility Update 6.20

  • my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    You may have installed one or more variants of the malware "VSearch' ad-injection. Please back up all data, and then take the steps below to disable it.

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Malware is constantly evolving to work around defenses against it. This procedure works now, I know. It will not work in the future. Anyone finding this comment a couple of days or more after it was published should look for a more recent discussion, or start a new one.

    Step 1

    VSearch malware tries to hide by varying names of the files it installs. It regenerates itself also if you try to remove it when it is run. To remove it, you must first start in safe mode temporarily disable the malware.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for other instructions.

    Step 2

    When running in safe mode, load the web page and then triple - click on the line below to select. Copy the text to the Clipboard by pressing Control-C key combination:

    /Library/LaunchDaemons

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    A folder named "LaunchDaemons" can open. If this is the case, press the combination of keys command-2 to select the display of the list, if it is not already selected.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. Please don't skip this step. Files that belong to an instance of VSearch will have the same date of change for a few minutes, then they will be grouped together when you sort the folder this way, which makes them easy to identify.

    Step 3

    In the LaunchDaemons folder, there may be one or more files with the name of this form:

    com Apple.something.plist

    When something is a random string, without the letters, different in each case.

    Note that the name consists of four words separated by dots. Typical examples are:

    com Apple.builins.plist

    com Apple.cereng.plist

    com Apple.nysgar.plist

    There may be one or more items with a name of the form:

    com.something.plist

    Yet once something is a random string, without meaning - not necessarily the same as that which appears in one of the other file names.

    These names consist of three words separated by dots. Typical examples are:

    com.semifasciaUpd.plist

    com.ubuiling.plist

    Sometimes there are items (usually not more than one) with the name of this form:

    com.something .net - preferences.plist

    This name consists of four words (the third hyphen) separated by periods. Typical example:

    com.jangly .net - preferences.plist

    Drag all items in the basket. You may be prompted for administrator login password.

    Restart the computer and empty the trash.

    Examples of legitimate files located in the same folder:

    com.apple.FinalCutServer.fcsvr_ldsd.plist

    com Apple.Installer.osmessagetracing.plist

    com Apple.Qmaster.qmasterd.plist

    com Apple.aelwriter.plist

    com Apple.SERVERD.plist

    com Tether.plist

    The first three are clearly not VSearch files because the names do not match the above models. The last three are not easy to distinguish by the name alone, but the modification date will be earlier than the date at which VSearch has been installed, perhaps several years. None of these files will be present in most installations of Mac OS X.

    Do not delete the folder 'LaunchDaemons' or anything else inside, unless you know you have another type of unwanted software and more VSearch. The file is a normal part of Mac OS X. The "demon" refers to a program that starts automatically. This is not inherently bad, but the mechanism is sometimes exploited by hackers for malicious software.

    If you are not sure whether a file is part of the malware, order the contents of the folder by date modified I wrote in step 2, no name. Malicious files will be grouped together. There could be more than one such group, if you attacked more than once. A file dated far in the past is not part of the malware. A folder in date dated Middle an obviously malicious cluster is almost certainly too malicious.

    If the files come back after you remove the, they are replaced by others with similar names, then either you didn't start in safe mode or you do not have all the. Return to step 1 and try again.

    Step 4

    Reset the home page in each of your browsers, if it has been modified. In Safari, first load the desired home page, then select

    ▹ Safari preferences... ▹ General

    and click on

    Set on the current Page

    If you use Firefox or Chrome web browser, remove the extensions or add-ons that you don't know that you need. When in doubt, remove all of them.

    The malware is now permanently inactivated, as long as you reinstall it never. A few small files will be left behind, but they have no effect, and trying to find all them is more trouble that it's worth.

    Step 5

    The malware lets the web proxy discovery in the network settings. If you know that the setting was already enabled for a reason, skip this step. Otherwise, you should undo the change.

    Open the network pane in system preferences. If there is a padlock icon in the lower left corner of the window, click it and authenticate to unlock the settings. Click the Advanced button, and then select Proxies in the sheet that drops down. Uncheck that Auto Discovery Proxy if it is checked. Click OK, and then apply.

    Step 6

    This step is optional. Open the users and groups in the system preferences and click on the lock icon to unlock the settings. In the list of users, there may be some with random names that have been added by the malware. You can remove these users. If you are not sure whether a user is legitimate, do not delete it.

  • What is the minimum required to show the "optional game controller" in the App Store?

    Game development with unity for the 4th generation Apple TV, we use a plugin that supports gamepads without need of any game controller from XCode framework.

    What configuration minimum necessary in XCode for the App Store to show that controllers are supported?

    The next page of Mac Developer Library doesn't say not big thing to this subject, but the screenshot shows that, at least the necessary key plist is added when you turn on "Game controllers", but seems to not be enough to appear:

    https://developer.Apple.com/library/Mac/documentation/IDEs/conceptual/AppDistrib utionGuide/AddingCapabilities/AddingCapa...

    you're not talking apple in these forums only use other users

    If development issues will probably receive a much better quality of responses if posted in the forum of developers Developer Forum

  • Please improve the interface of the app podcast

    The interface of podcast app needs improvement to make it more pleasant to use for IO 9.3.2 on my iPhone 5.

    Scrub bar is useless if you have a case on the device and the progress bar of the song/podcast is to the beginning or the end.  My finger can not raise the bar to move it forward.  Why don't I have to have my finger placed above the progress bar? What about allowing scouring forwards and backwards over anywhere on the line of scrub?  Cannot drag on the line to do something?

    What is, adding a 30 second skip? Keep the second 15 jump but add a 30. Podcasts sometimes long need more time to jump.   Add a way to jump so striking to swipe to skim long podcast.  Cleaning is not exact, but 30 seconds on the scrub line would be easier navigate through the content.

    Where the 'next' and 'Back' is passed? This isn't a big deal, but what about adding left/right/up sliding on the album art for next/back?

    Maybe reduce the album art for more controls?  Controls can be placed on the album art?

    Incorporating more features slide in the app to listen to several content would make for a nicer and more powerful experience.

    It is a forum for user help. You do not discuss Apple here, but you can through this link http://www.apple.com/feedback/

  • How to disable the App tabs (tablets should) start automatically?

    How to disable the App tabs (tablets should) start automatically?

    because the option [don't load the tabs up to choosing] dose does not work with her, and she keeps starts every time when I restart Firefox.

    Please help me!

    Don't bother, I arrived at the solution of my car, you can do the following:

    Type "subject: config" [without quotes!] in the location Bar (address bar) and press ENTER to display the list of preferences, as shown in the photo #1 in Firefox 17 under Windows 7.

    If you see a page with the warning as pictured #2, this might void your warranty!, click the "I'll be careful, I promise!" button to continue (in fact, there is no guarantee that it is, it's more a joke to ensure that users are aware of what they are about to do). Uncheck the box to avoid the warning in the future.

    Now to the search bar in the image #3 type: tab and search for it

    preference name:
    

    Browser.sessionstore.restore_pinned_tabs_on_demand

    or you can copy directly to the search bar.
    Then, follow the instructions in the photo n ° 3 .

    Just in case where if the photo appears, follow these steps:

    First: Right-click on the name of the preference that we sought.
    Then, click Toggle to change the value from false to true.
    Or, double-click it and it will change.
    Finally, restart Firefox, and you'll notice that they don't automatically load until you click on it.

    That's it, good luck to all. ;-)

    Note: the list of fonts preferences fat is the user changed, and the United Nations-fat is the default setting.

    Warning: change preferences can, in rare circumstances, break Firefox, Thunderbird or Mozilla Suite, or cause strange behavior. Only do if you know what you're doing or trustworthy tips.

    Additional INFORMATION:

    Subject: config is a feature of Mozilla applications which lists application settings (known as preferences) that are read from the profile files prefs.js and user.js and the default application. A lot of these preferences are not present in the preferences or Options dialog box. Using about: config is one of the many methods of changing the preferences and adding the other 'hidden '.

  • New iPhone SE no sound from the speaker of the brand

    I just bought a new iPhone SE and I'm getting no sound from the speaker. Does anyone have any ideas on a possible resolution?

    I restored from an iPhone 5 to the top, both phones are on the latest version of iOS.

    Once the synchronization is complete, I ejected the phone correctly. But there is no sound coming from the speaker:

    • Key "secret" in both positions, no sound from the speaker
    • The top volume, using the volume buttons and the sound, no sound from the speaker settings
    • Headset plugged in, sound comes from the helmet, remove them, the iPhone recognizes, but still no sound
    • I tried the music app, ringtone from another phone, videos, podcast app, no sound from the speaker
    • Past the phone power off & on again, no sound speaker
    • Reset iPhone (hold both buttons down for 10 seconds), no speaker sound
    • Reset iPhone settings, no speaker sound

    I begin to suspect it is a hardware problem, but as I am not near the Apple Store, I would try as much as I can before you go this route.

    Thank you

    Hello Andy,

    Thank you for using communities of Apple Support.

    I understand that you have restored your iPhone backup iPhone a precedent, and now there is no sound from the speaker.  Given the troubleshooting you have already done your next step is to restore the factory settings to see if the problem persists:

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod to factory settings

    If the problem persists, then please make an appointment with the Apple Store is close.

    http://www.Apple.com/retail/Geniusbar/

    Take care.

Maybe you are looking for

  • G7 Pavilion: Pavilion g7 won't boot afyer routinr 8.1 update

    I can't start my conputer, I was prompted to restart for the installation of the update and now stuck on a white background screen of purplr.  I need to keep my posting attached external display, my screen is broken on my computer laptop andhas Bern

  • Stream network between end myRIO PC

    I want to publish myRIO between variable and real Temp from PC. I try with the network data stream, but I couldn't. who can help me with a simple example and thanks

  • Vista - can not get updates, receive error code 80072efe

    Can't get updates

  • Security/virus issue

    For the last two weeks, I suspected that my computer has a virus due to the slow start/stop down, but no antivirus or antispyware programs I show anything.  I ran from F-secure, Malwarebytes, Ad-Aware and Microsoft malicious software removal tool.  D

  • Application does not not in Eclipse v1.1 Beta simulators

    Intention: I want to see my candidacy in the Simulator Problem: I am unable to view my request in the Simulator, most of the time. After that restart the Simulator a couple of times and make minor changes the settings, sometimes, the application is d